
;  GNU C 2.7.2 [AL 1.1, MM 40] RISC NEWS-OS compiled by CC

;  Cc1 defaults:
;  -mmemcpy

;  Cc1 arguments (-G value = 0, Cpu = 3000, ISA = 1):
;  -quiet -dumpbase -O2 -Wall -o

gcc2_compiled.:
__gnu_compiled_c:
	.code
	.align	2
__LC0:
	.ascii	"clipdmgi.$(%d)\000"
	.code
	.align	1
	.global	dmgop_ERROR
dmgop_ERROR:
;	.frame	%sp,12,$31		# vars= 0, regs= 1/0, args= 8, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	sub	%sp,0x2		; 	xsub	%sp,%sp,8
	ext	__LC0+0x0@h	; 	xld.w	%r10,__LC0
	ext	__LC0+0x0@m
	ld.w	%r10,__LC0+0x0@l
	ld.w	[%sp+0x0],%r10	; 	xld.w	[%sp],%r10
	ld.w	%r10,0x1d	; 	xld.w	%r10,0x0000001d		; 29
	ld.w	[%sp+0x1],%r10	; 	xld.w	[%sp+4],%r10
	ext	die@rm		; 	xcall	die
	call	die@rl
	add	%sp,0x2		; 	xadd	%sp,%sp,8
	ret
	.align	1
	.global	dmgop_LDI_IHLI_A
dmgop_LDI_IHLI_A:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x1		; 	xld.ub	%r14,[%r0+1]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x6		; 	xld.uh	%r10,[%r0+6]
	ld.uh	%r10,[%r0]
	add	%r10,0x1	; 	xadd	%r10,%r10,1
	ext	0x6		; 	xld.h	[%r0+6],%r10
	ld.h	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_LDI_A_IHLI
dmgop_LDI_A_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x1		; 	xld.b	[%r0+1],%r10
	ld.b	[%r0],%r10
	ext	0x6		; 	xld.uh	%r10,[%r0+6]
	ld.uh	%r10,[%r0]
	add	%r10,0x1	; 	xadd	%r10,%r10,1
	ext	0x6		; 	xld.h	[%r0+6],%r10
	ld.h	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_LDD_IHLI_A
dmgop_LDD_IHLI_A:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x1		; 	xld.ub	%r14,[%r0+1]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x6		; 	xld.uh	%r10,[%r0+6]
	ld.uh	%r10,[%r0]
	sub	%r10,0x1	; 	xsub	%r10,%r10,1
	ext	0x6		; 	xld.h	[%r0+6],%r10
	ld.h	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_LDD_A_IHLI
dmgop_LDD_A_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x1		; 	xld.b	[%r0+1],%r10
	ld.b	[%r0],%r10
	ext	0x6		; 	xld.uh	%r10,[%r0+6]
	ld.uh	%r10,[%r0]
	sub	%r10,0x1	; 	xsub	%r10,%r10,1
	ext	0x6		; 	xld.h	[%r0+6],%r10
	ld.h	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_LDH_InI_A
dmgop_LDH_InI_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.w	%r13,%r14
	ext	0x1ffc		; 	xoor	%r13,%r13,0xffffff00
	or	%r13,0x0
	ld.uh	%r13,%r13
	ext	0x1		; 	xld.ub	%r14,[%r12+1]
	ld.ub	%r14,[%r12]
	ext	0x1c		; 	xld.w	%r10,[%r12+28]
	ld.w	%r10,[%r12]
	call	%r10
	ret
	.align	1
	.global	dmgop_LDH_A_InI
dmgop_LDH_A_InI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ld.w	%r13,%r14
	ext	0x1ffc		; 	xoor	%r13,%r13,0xffffff00
	or	%r13,0x0
	ld.uh	%r13,%r13
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x1		; 	xld.b	[%r0+1],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_LD_ICI_A
dmgop_LD_ICI_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xld.ub	%r13,[%r12+2]
	ld.ub	%r13,[%r12]
	ext	0x1		; 	xld.ub	%r14,[%r12+1]
	ld.ub	%r14,[%r12]
	ext	0x1c		; 	xld.w	%r10,[%r12+28]
	ld.w	%r10,[%r12]
	ext	0x3fc		; 	xoor	%r13,%r13,0x0000ff00
	or	%r13,0x0
	call	%r10
	ret
	.align	1
	.global	dmgop_LD_A_ICI
dmgop_LD_A_ICI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x2		; 	xld.ub	%r13,[%r0+2]
	ld.ub	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	ext	0x3fc		; 	xoor	%r13,%r13,0x0000ff00
	or	%r13,0x0
	call	%r10
	ext	0x1		; 	xld.b	[%r0+1],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_LD_InnI_A
dmgop_LD_InnI_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.uh	%r13,%r14
	ext	0x1		; 	xld.ub	%r14,[%r12+1]
	ld.ub	%r14,[%r12]
	ext	0x1c		; 	xld.w	%r10,[%r12+28]
	ld.w	%r10,[%r12]
	call	%r10
	ret
	.align	1
	.global	dmgop_LD_A_InnI
dmgop_LD_A_InnI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ld.uh	%r13,%r14
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x1		; 	xld.b	[%r0+1],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_LD_InnI_SP
dmgop_LD_InnI_SP:
;	.frame	%sp,12,$31		# vars= 0, regs= 3/0, args= 0, extra= 0
;	.mask	0x80030000,-4
;	.fmask	0x00000000,0
	pushn	%r1
	ld.w	%r0,%r12
	ld.w	%r1,%r14
	ld.uh	%r13,%r1
	ext	0x8		; 	xld.ub	%r14,[%r0+8]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	call	%r10
	add	%r1,0x1		; 	xadd	%r1,%r1,1
	ld.uh	%r1,%r1
	ext	0x9		; 	xld.ub	%r14,[%r0+9]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	ld.w	%r13,%r1
	call	%r10
	popn	%r1
	ret
	.align	1
	.global	dmgop_LDHL_SP_e
dmgop_LDHL_SP_e:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.b	%r14,%r14
	ld.uh	%r14,%r14
	ext	0x8		; 	xld.uh	%r11,[%r12+8]
	ld.uh	%r11,[%r12]
	ld.uh	%r13,%r11
	add	%r13,%r14
	ext	0x3f		; 	xand	%r11,%r11,0x00000fff
	and	%r11,0x3f
	ext	0x3f		; 	xand	%r14,%r14,0x00000fff
	and	%r14,0x3f
	add	%r11,%r14
	sra	%r11,0x7	; 	xsra	%r11,7
	ext	0x0		; 	xand	%r11,%r11,0x00000020
	and	%r11,0x20
	ld.w	%r10,%r13
	sra	%r10,0x8	; 	xsra	%r10,12
	sra	%r10,0x4
	and	%r10,0x10	; 	xand	%r10,%r10,0x00000010
	or	%r11,%r10
	ld.b	[%r12],%r11	; 	xld.b	[%r12],%r11
	ext	0x6		; 	xld.h	[%r12+6],%r13
	ld.h	[%r12],%r13
	ret
	.align	1
	.global	dmgop_LD_SP_HL
dmgop_LD_SP_HL:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xld.uh	%r10,[%r12+6]
	ld.uh	%r10,[%r12]
	ext	0x8		; 	xld.h	[%r12+8],%r10
	ld.h	[%r12],%r10
	ret
	.align	1
	.global	dmgop_ADD_A_B
dmgop_ADD_A_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xld.ub	%r13,[%r12+3]
	ld.ub	%r13,[%r12]
	ext	dmg_ADD@rm	; 	xcall	dmg_ADD
	call	dmg_ADD@rl
	ret
	.align	1
	.global	dmgop_ADD_A_C
dmgop_ADD_A_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xld.ub	%r13,[%r12+2]
	ld.ub	%r13,[%r12]
	ext	dmg_ADD@rm	; 	xcall	dmg_ADD
	call	dmg_ADD@rl
	ret
	.align	1
	.global	dmgop_ADD_A_D
dmgop_ADD_A_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xld.ub	%r13,[%r12+5]
	ld.ub	%r13,[%r12]
	ext	dmg_ADD@rm	; 	xcall	dmg_ADD
	call	dmg_ADD@rl
	ret
	.align	1
	.global	dmgop_ADD_A_E
dmgop_ADD_A_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xld.ub	%r13,[%r12+4]
	ld.ub	%r13,[%r12]
	ext	dmg_ADD@rm	; 	xcall	dmg_ADD
	call	dmg_ADD@rl
	ret
	.align	1
	.global	dmgop_ADD_A_H
dmgop_ADD_A_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xld.ub	%r13,[%r12+7]
	ld.ub	%r13,[%r12]
	ext	dmg_ADD@rm	; 	xcall	dmg_ADD
	call	dmg_ADD@rl
	ret
	.align	1
	.global	dmgop_ADD_A_L
dmgop_ADD_A_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xld.ub	%r13,[%r12+6]
	ld.ub	%r13,[%r12]
	ext	dmg_ADD@rm	; 	xcall	dmg_ADD
	call	dmg_ADD@rl
	ret
	.align	1
	.global	dmgop_ADD_A_IHLI
dmgop_ADD_A_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r13,%r10
	ld.w	%r12,%r0
	ext	dmg_ADD@rm	; 	xcall	dmg_ADD
	call	dmg_ADD@rl
	popn	%r0
	ret
	.align	1
	.global	dmgop_ADD_A_A
dmgop_ADD_A_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r13,[%r12+1]
	ld.ub	%r13,[%r12]
	ext	dmg_ADD@rm	; 	xcall	dmg_ADD
	call	dmg_ADD@rl
	ret
	.align	1
	.global	dmgop_ADC_A_B
dmgop_ADC_A_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xld.ub	%r13,[%r12+3]
	ld.ub	%r13,[%r12]
	ext	dmg_ADC@rm	; 	xcall	dmg_ADC
	call	dmg_ADC@rl
	ret
	.align	1
	.global	dmgop_ADC_A_C
dmgop_ADC_A_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xld.ub	%r13,[%r12+2]
	ld.ub	%r13,[%r12]
	ext	dmg_ADC@rm	; 	xcall	dmg_ADC
	call	dmg_ADC@rl
	ret
	.align	1
	.global	dmgop_ADC_A_D
dmgop_ADC_A_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xld.ub	%r13,[%r12+5]
	ld.ub	%r13,[%r12]
	ext	dmg_ADC@rm	; 	xcall	dmg_ADC
	call	dmg_ADC@rl
	ret
	.align	1
	.global	dmgop_ADC_A_E
dmgop_ADC_A_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xld.ub	%r13,[%r12+4]
	ld.ub	%r13,[%r12]
	ext	dmg_ADC@rm	; 	xcall	dmg_ADC
	call	dmg_ADC@rl
	ret
	.align	1
	.global	dmgop_ADC_A_H
dmgop_ADC_A_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xld.ub	%r13,[%r12+7]
	ld.ub	%r13,[%r12]
	ext	dmg_ADC@rm	; 	xcall	dmg_ADC
	call	dmg_ADC@rl
	ret
	.align	1
	.global	dmgop_ADC_A_L
dmgop_ADC_A_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xld.ub	%r13,[%r12+6]
	ld.ub	%r13,[%r12]
	ext	dmg_ADC@rm	; 	xcall	dmg_ADC
	call	dmg_ADC@rl
	ret
	.align	1
	.global	dmgop_ADC_A_IHLI
dmgop_ADC_A_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r13,%r10
	ld.w	%r12,%r0
	ext	dmg_ADC@rm	; 	xcall	dmg_ADC
	call	dmg_ADC@rl
	popn	%r0
	ret
	.align	1
	.global	dmgop_ADC_A_A
dmgop_ADC_A_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r13,[%r12+1]
	ld.ub	%r13,[%r12]
	ext	dmg_ADC@rm	; 	xcall	dmg_ADC
	call	dmg_ADC@rl
	ret
	.align	1
	.global	dmgop_SUB_B
dmgop_SUB_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xld.ub	%r13,[%r12+3]
	ld.ub	%r13,[%r12]
	ext	dmg_SUB@rm	; 	xcall	dmg_SUB
	call	dmg_SUB@rl
	ret
	.align	1
	.global	dmgop_SUB_C
dmgop_SUB_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xld.ub	%r13,[%r12+2]
	ld.ub	%r13,[%r12]
	ext	dmg_SUB@rm	; 	xcall	dmg_SUB
	call	dmg_SUB@rl
	ret
	.align	1
	.global	dmgop_SUB_D
dmgop_SUB_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xld.ub	%r13,[%r12+5]
	ld.ub	%r13,[%r12]
	ext	dmg_SUB@rm	; 	xcall	dmg_SUB
	call	dmg_SUB@rl
	ret
	.align	1
	.global	dmgop_SUB_E
dmgop_SUB_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xld.ub	%r13,[%r12+4]
	ld.ub	%r13,[%r12]
	ext	dmg_SUB@rm	; 	xcall	dmg_SUB
	call	dmg_SUB@rl
	ret
	.align	1
	.global	dmgop_SUB_H
dmgop_SUB_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xld.ub	%r13,[%r12+7]
	ld.ub	%r13,[%r12]
	ext	dmg_SUB@rm	; 	xcall	dmg_SUB
	call	dmg_SUB@rl
	ret
	.align	1
	.global	dmgop_SUB_L
dmgop_SUB_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xld.ub	%r13,[%r12+6]
	ld.ub	%r13,[%r12]
	ext	dmg_SUB@rm	; 	xcall	dmg_SUB
	call	dmg_SUB@rl
	ret
	.align	1
	.global	dmgop_SUB_IHLI
dmgop_SUB_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r13,%r10
	ld.w	%r12,%r0
	ext	dmg_SUB@rm	; 	xcall	dmg_SUB
	call	dmg_SUB@rl
	popn	%r0
	ret
	.align	1
	.global	dmgop_SUB_A
dmgop_SUB_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r13,[%r12+1]
	ld.ub	%r13,[%r12]
	ext	dmg_SUB@rm	; 	xcall	dmg_SUB
	call	dmg_SUB@rl
	ret
	.align	1
	.global	dmgop_SBC_A_B
dmgop_SBC_A_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xld.ub	%r13,[%r12+3]
	ld.ub	%r13,[%r12]
	ext	dmg_SBC@rm	; 	xcall	dmg_SBC
	call	dmg_SBC@rl
	ret
	.align	1
	.global	dmgop_SBC_A_C
dmgop_SBC_A_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xld.ub	%r13,[%r12+2]
	ld.ub	%r13,[%r12]
	ext	dmg_SBC@rm	; 	xcall	dmg_SBC
	call	dmg_SBC@rl
	ret
	.align	1
	.global	dmgop_SBC_A_D
dmgop_SBC_A_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xld.ub	%r13,[%r12+5]
	ld.ub	%r13,[%r12]
	ext	dmg_SBC@rm	; 	xcall	dmg_SBC
	call	dmg_SBC@rl
	ret
	.align	1
	.global	dmgop_SBC_A_E
dmgop_SBC_A_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xld.ub	%r13,[%r12+4]
	ld.ub	%r13,[%r12]
	ext	dmg_SBC@rm	; 	xcall	dmg_SBC
	call	dmg_SBC@rl
	ret
	.align	1
	.global	dmgop_SBC_A_H
dmgop_SBC_A_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xld.ub	%r13,[%r12+7]
	ld.ub	%r13,[%r12]
	ext	dmg_SBC@rm	; 	xcall	dmg_SBC
	call	dmg_SBC@rl
	ret
	.align	1
	.global	dmgop_SBC_A_L
dmgop_SBC_A_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xld.ub	%r13,[%r12+6]
	ld.ub	%r13,[%r12]
	ext	dmg_SBC@rm	; 	xcall	dmg_SBC
	call	dmg_SBC@rl
	ret
	.align	1
	.global	dmgop_SBC_A_IHLI
dmgop_SBC_A_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r13,%r10
	ld.w	%r12,%r0
	ext	dmg_SBC@rm	; 	xcall	dmg_SBC
	call	dmg_SBC@rl
	popn	%r0
	ret
	.align	1
	.global	dmgop_SBC_A_A
dmgop_SBC_A_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r13,[%r12+1]
	ld.ub	%r13,[%r12]
	ext	dmg_SBC@rm	; 	xcall	dmg_SBC
	call	dmg_SBC@rl
	ret
	.align	1
	.global	dmgop_AND_B
dmgop_AND_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xld.ub	%r13,[%r12+3]
	ld.ub	%r13,[%r12]
	ext	dmg_AND@rm	; 	xcall	dmg_AND
	call	dmg_AND@rl
	ret
	.align	1
	.global	dmgop_AND_C
dmgop_AND_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xld.ub	%r13,[%r12+2]
	ld.ub	%r13,[%r12]
	ext	dmg_AND@rm	; 	xcall	dmg_AND
	call	dmg_AND@rl
	ret
	.align	1
	.global	dmgop_AND_D
dmgop_AND_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xld.ub	%r13,[%r12+5]
	ld.ub	%r13,[%r12]
	ext	dmg_AND@rm	; 	xcall	dmg_AND
	call	dmg_AND@rl
	ret
	.align	1
	.global	dmgop_AND_E
dmgop_AND_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xld.ub	%r13,[%r12+4]
	ld.ub	%r13,[%r12]
	ext	dmg_AND@rm	; 	xcall	dmg_AND
	call	dmg_AND@rl
	ret
	.align	1
	.global	dmgop_AND_H
dmgop_AND_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xld.ub	%r13,[%r12+7]
	ld.ub	%r13,[%r12]
	ext	dmg_AND@rm	; 	xcall	dmg_AND
	call	dmg_AND@rl
	ret
	.align	1
	.global	dmgop_AND_L
dmgop_AND_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xld.ub	%r13,[%r12+6]
	ld.ub	%r13,[%r12]
	ext	dmg_AND@rm	; 	xcall	dmg_AND
	call	dmg_AND@rl
	ret
	.align	1
	.global	dmgop_AND_IHLI
dmgop_AND_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r13,%r10
	ld.w	%r12,%r0
	ext	dmg_AND@rm	; 	xcall	dmg_AND
	call	dmg_AND@rl
	popn	%r0
	ret
	.align	1
	.global	dmgop_AND_A
dmgop_AND_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r13,[%r12+1]
	ld.ub	%r13,[%r12]
	ext	dmg_AND@rm	; 	xcall	dmg_AND
	call	dmg_AND@rl
	ret
	.align	1
	.global	dmgop_XOR_B
dmgop_XOR_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xld.ub	%r13,[%r12+3]
	ld.ub	%r13,[%r12]
	ext	dmg_XOR@rm	; 	xcall	dmg_XOR
	call	dmg_XOR@rl
	ret
	.align	1
	.global	dmgop_XOR_C
dmgop_XOR_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xld.ub	%r13,[%r12+2]
	ld.ub	%r13,[%r12]
	ext	dmg_XOR@rm	; 	xcall	dmg_XOR
	call	dmg_XOR@rl
	ret
	.align	1
	.global	dmgop_XOR_D
dmgop_XOR_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xld.ub	%r13,[%r12+5]
	ld.ub	%r13,[%r12]
	ext	dmg_XOR@rm	; 	xcall	dmg_XOR
	call	dmg_XOR@rl
	ret
	.align	1
	.global	dmgop_XOR_E
dmgop_XOR_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xld.ub	%r13,[%r12+4]
	ld.ub	%r13,[%r12]
	ext	dmg_XOR@rm	; 	xcall	dmg_XOR
	call	dmg_XOR@rl
	ret
	.align	1
	.global	dmgop_XOR_H
dmgop_XOR_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xld.ub	%r13,[%r12+7]
	ld.ub	%r13,[%r12]
	ext	dmg_XOR@rm	; 	xcall	dmg_XOR
	call	dmg_XOR@rl
	ret
	.align	1
	.global	dmgop_XOR_L
dmgop_XOR_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xld.ub	%r13,[%r12+6]
	ld.ub	%r13,[%r12]
	ext	dmg_XOR@rm	; 	xcall	dmg_XOR
	call	dmg_XOR@rl
	ret
	.align	1
	.global	dmgop_XOR_IHLI
dmgop_XOR_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r13,%r10
	ld.w	%r12,%r0
	ext	dmg_XOR@rm	; 	xcall	dmg_XOR
	call	dmg_XOR@rl
	popn	%r0
	ret
	.align	1
	.global	dmgop_XOR_A
dmgop_XOR_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r13,[%r12+1]
	ld.ub	%r13,[%r12]
	ext	dmg_XOR@rm	; 	xcall	dmg_XOR
	call	dmg_XOR@rl
	ret
	.align	1
	.global	dmgop_OR_B
dmgop_OR_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xld.ub	%r13,[%r12+3]
	ld.ub	%r13,[%r12]
	ext	dmg_OR@rm	; 	xcall	dmg_OR
	call	dmg_OR@rl
	ret
	.align	1
	.global	dmgop_OR_C
dmgop_OR_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xld.ub	%r13,[%r12+2]
	ld.ub	%r13,[%r12]
	ext	dmg_OR@rm	; 	xcall	dmg_OR
	call	dmg_OR@rl
	ret
	.align	1
	.global	dmgop_OR_D
dmgop_OR_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xld.ub	%r13,[%r12+5]
	ld.ub	%r13,[%r12]
	ext	dmg_OR@rm	; 	xcall	dmg_OR
	call	dmg_OR@rl
	ret
	.align	1
	.global	dmgop_OR_E
dmgop_OR_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xld.ub	%r13,[%r12+4]
	ld.ub	%r13,[%r12]
	ext	dmg_OR@rm	; 	xcall	dmg_OR
	call	dmg_OR@rl
	ret
	.align	1
	.global	dmgop_OR_H
dmgop_OR_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xld.ub	%r13,[%r12+7]
	ld.ub	%r13,[%r12]
	ext	dmg_OR@rm	; 	xcall	dmg_OR
	call	dmg_OR@rl
	ret
	.align	1
	.global	dmgop_OR_L
dmgop_OR_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xld.ub	%r13,[%r12+6]
	ld.ub	%r13,[%r12]
	ext	dmg_OR@rm	; 	xcall	dmg_OR
	call	dmg_OR@rl
	ret
	.align	1
	.global	dmgop_OR_IHLI
dmgop_OR_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r13,%r10
	ld.w	%r12,%r0
	ext	dmg_OR@rm	; 	xcall	dmg_OR
	call	dmg_OR@rl
	popn	%r0
	ret
	.align	1
	.global	dmgop_OR_A
dmgop_OR_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r13,[%r12+1]
	ld.ub	%r13,[%r12]
	ext	dmg_OR@rm	; 	xcall	dmg_OR
	call	dmg_OR@rl
	ret
	.align	1
	.global	dmgop_CP_B
dmgop_CP_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xld.ub	%r13,[%r12+3]
	ld.ub	%r13,[%r12]
	ext	dmg_CP@rm	; 	xcall	dmg_CP
	call	dmg_CP@rl
	ret
	.align	1
	.global	dmgop_CP_C
dmgop_CP_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xld.ub	%r13,[%r12+2]
	ld.ub	%r13,[%r12]
	ext	dmg_CP@rm	; 	xcall	dmg_CP
	call	dmg_CP@rl
	ret
	.align	1
	.global	dmgop_CP_D
dmgop_CP_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xld.ub	%r13,[%r12+5]
	ld.ub	%r13,[%r12]
	ext	dmg_CP@rm	; 	xcall	dmg_CP
	call	dmg_CP@rl
	ret
	.align	1
	.global	dmgop_CP_E
dmgop_CP_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xld.ub	%r13,[%r12+4]
	ld.ub	%r13,[%r12]
	ext	dmg_CP@rm	; 	xcall	dmg_CP
	call	dmg_CP@rl
	ret
	.align	1
	.global	dmgop_CP_H
dmgop_CP_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xld.ub	%r13,[%r12+7]
	ld.ub	%r13,[%r12]
	ext	dmg_CP@rm	; 	xcall	dmg_CP
	call	dmg_CP@rl
	ret
	.align	1
	.global	dmgop_CP_L
dmgop_CP_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xld.ub	%r13,[%r12+6]
	ld.ub	%r13,[%r12]
	ext	dmg_CP@rm	; 	xcall	dmg_CP
	call	dmg_CP@rl
	ret
	.align	1
	.global	dmgop_CP_IHLI
dmgop_CP_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r13,%r10
	ld.w	%r12,%r0
	ext	dmg_CP@rm	; 	xcall	dmg_CP
	call	dmg_CP@rl
	popn	%r0
	ret
	.align	1
	.global	dmgop_CP_A
dmgop_CP_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r13,[%r12+1]
	ld.ub	%r13,[%r12]
	ext	dmg_CP@rm	; 	xcall	dmg_CP
	call	dmg_CP@rl
	ret
	.align	1
	.global	dmgop_ADD_A_n
dmgop_ADD_A_n:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.ub	%r13,%r14
	ext	dmg_ADD@rm	; 	xcall	dmg_ADD
	call	dmg_ADD@rl
	ret
	.align	1
	.global	dmgop_ADC_A_n
dmgop_ADC_A_n:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.ub	%r13,%r14
	ext	dmg_ADC@rm	; 	xcall	dmg_ADC
	call	dmg_ADC@rl
	ret
	.align	1
	.global	dmgop_SUB_n
dmgop_SUB_n:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.ub	%r13,%r14
	ext	dmg_SUB@rm	; 	xcall	dmg_SUB
	call	dmg_SUB@rl
	ret
	.align	1
	.global	dmgop_SBC_A_n
dmgop_SBC_A_n:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.ub	%r13,%r14
	ext	dmg_SBC@rm	; 	xcall	dmg_SBC
	call	dmg_SBC@rl
	ret
	.align	1
	.global	dmgop_AND_n
dmgop_AND_n:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.ub	%r13,%r14
	ext	dmg_AND@rm	; 	xcall	dmg_AND
	call	dmg_AND@rl
	ret
	.align	1
	.global	dmgop_XOR_n
dmgop_XOR_n:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.ub	%r13,%r14
	ext	dmg_XOR@rm	; 	xcall	dmg_XOR
	call	dmg_XOR@rl
	ret
	.align	1
	.global	dmgop_OR_n
dmgop_OR_n:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.ub	%r13,%r14
	ext	dmg_OR@rm	; 	xcall	dmg_OR
	call	dmg_OR@rl
	ret
	.align	1
	.global	dmgop_CP_n
dmgop_CP_n:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.ub	%r13,%r14
	ext	dmg_CP@rm	; 	xcall	dmg_CP
	call	dmg_CP@rl
	ret
	.align	1
	.global	dmgop_INC_B
dmgop_INC_B:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x3		; 	xld.ub	%r13,[%r0+3]
	ld.ub	%r13,[%r0]
	ext	dmg_INC@rm	; 	xcall	dmg_INC
	call	dmg_INC@rl
	ext	0x3		; 	xld.b	[%r0+3],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_INC_C
dmgop_INC_C:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x2		; 	xld.ub	%r13,[%r0+2]
	ld.ub	%r13,[%r0]
	ext	dmg_INC@rm	; 	xcall	dmg_INC
	call	dmg_INC@rl
	ext	0x2		; 	xld.b	[%r0+2],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_INC_D
dmgop_INC_D:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x5		; 	xld.ub	%r13,[%r0+5]
	ld.ub	%r13,[%r0]
	ext	dmg_INC@rm	; 	xcall	dmg_INC
	call	dmg_INC@rl
	ext	0x5		; 	xld.b	[%r0+5],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_INC_E
dmgop_INC_E:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x4		; 	xld.ub	%r13,[%r0+4]
	ld.ub	%r13,[%r0]
	ext	dmg_INC@rm	; 	xcall	dmg_INC
	call	dmg_INC@rl
	ext	0x4		; 	xld.b	[%r0+4],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_INC_H
dmgop_INC_H:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x7		; 	xld.ub	%r13,[%r0+7]
	ld.ub	%r13,[%r0]
	ext	dmg_INC@rm	; 	xcall	dmg_INC
	call	dmg_INC@rl
	ext	0x7		; 	xld.b	[%r0+7],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_INC_L
dmgop_INC_L:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.ub	%r13,[%r0+6]
	ld.ub	%r13,[%r0]
	ext	dmg_INC@rm	; 	xcall	dmg_INC
	call	dmg_INC@rl
	ext	0x6		; 	xld.b	[%r0+6],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_INC_IHLI
dmgop_INC_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r13,%r10
	ld.w	%r12,%r0
	ext	dmg_INC@rm	; 	xcall	dmg_INC
	call	dmg_INC@rl
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ld.ub	%r14,%r10
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_INC_A
dmgop_INC_A:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x1		; 	xld.ub	%r13,[%r0+1]
	ld.ub	%r13,[%r0]
	ext	dmg_INC@rm	; 	xcall	dmg_INC
	call	dmg_INC@rl
	ext	0x1		; 	xld.b	[%r0+1],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_DEC_B
dmgop_DEC_B:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x3		; 	xld.ub	%r13,[%r0+3]
	ld.ub	%r13,[%r0]
	ext	dmg_DEC@rm	; 	xcall	dmg_DEC
	call	dmg_DEC@rl
	ext	0x3		; 	xld.b	[%r0+3],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_DEC_C
dmgop_DEC_C:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x2		; 	xld.ub	%r13,[%r0+2]
	ld.ub	%r13,[%r0]
	ext	dmg_DEC@rm	; 	xcall	dmg_DEC
	call	dmg_DEC@rl
	ext	0x2		; 	xld.b	[%r0+2],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_DEC_D
dmgop_DEC_D:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x5		; 	xld.ub	%r13,[%r0+5]
	ld.ub	%r13,[%r0]
	ext	dmg_DEC@rm	; 	xcall	dmg_DEC
	call	dmg_DEC@rl
	ext	0x5		; 	xld.b	[%r0+5],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_DEC_E
dmgop_DEC_E:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x4		; 	xld.ub	%r13,[%r0+4]
	ld.ub	%r13,[%r0]
	ext	dmg_DEC@rm	; 	xcall	dmg_DEC
	call	dmg_DEC@rl
	ext	0x4		; 	xld.b	[%r0+4],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_DEC_H
dmgop_DEC_H:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x7		; 	xld.ub	%r13,[%r0+7]
	ld.ub	%r13,[%r0]
	ext	dmg_DEC@rm	; 	xcall	dmg_DEC
	call	dmg_DEC@rl
	ext	0x7		; 	xld.b	[%r0+7],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_DEC_L
dmgop_DEC_L:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.ub	%r13,[%r0+6]
	ld.ub	%r13,[%r0]
	ext	dmg_DEC@rm	; 	xcall	dmg_DEC
	call	dmg_DEC@rl
	ext	0x6		; 	xld.b	[%r0+6],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_DEC_IHLI
dmgop_DEC_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r13,%r10
	ld.w	%r12,%r0
	ext	dmg_DEC@rm	; 	xcall	dmg_DEC
	call	dmg_DEC@rl
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ld.ub	%r14,%r10
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_DEC_A
dmgop_DEC_A:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x1		; 	xld.ub	%r13,[%r0+1]
	ld.ub	%r13,[%r0]
	ext	dmg_DEC@rm	; 	xcall	dmg_DEC
	call	dmg_DEC@rl
	ext	0x1		; 	xld.b	[%r0+1],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_ADD_HL_BC
dmgop_ADD_HL_BC:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xld.uh	%r13,[%r12+2]
	ld.uh	%r13,[%r12]
	ext	dmg_ADDW@rm	; 	xcall	dmg_ADDW
	call	dmg_ADDW@rl
	ret
	.align	1
	.global	dmgop_ADD_HL_DE
dmgop_ADD_HL_DE:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xld.uh	%r13,[%r12+4]
	ld.uh	%r13,[%r12]
	ext	dmg_ADDW@rm	; 	xcall	dmg_ADDW
	call	dmg_ADDW@rl
	ret
	.align	1
	.global	dmgop_ADD_HL_HL
dmgop_ADD_HL_HL:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xld.uh	%r13,[%r12+6]
	ld.uh	%r13,[%r12]
	ext	dmg_ADDW@rm	; 	xcall	dmg_ADDW
	call	dmg_ADDW@rl
	ret
	.align	1
	.global	dmgop_ADD_HL_SP
dmgop_ADD_HL_SP:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x8		; 	xld.uh	%r13,[%r12+8]
	ld.uh	%r13,[%r12]
	ext	dmg_ADDW@rm	; 	xcall	dmg_ADDW
	call	dmg_ADDW@rl
	ret
	.align	1
	.global	dmgop_ADD_SP_e
dmgop_ADD_SP_e:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.b	%r14,%r14
	ld.uh	%r14,%r14
	ext	0x8		; 	xld.uh	%r11,[%r12+8]
	ld.uh	%r11,[%r12]
	ld.uh	%r13,%r11
	add	%r13,%r14
	ext	0x3f		; 	xand	%r11,%r11,0x00000fff
	and	%r11,0x3f
	ext	0x3f		; 	xand	%r14,%r14,0x00000fff
	and	%r14,0x3f
	add	%r11,%r14
	sra	%r11,0x7	; 	xsra	%r11,7
	ext	0x0		; 	xand	%r11,%r11,0x00000020
	and	%r11,0x20
	ld.w	%r10,%r13
	sra	%r10,0x8	; 	xsra	%r10,12
	sra	%r10,0x4
	and	%r10,0x10	; 	xand	%r10,%r10,0x00000010
	or	%r11,%r10
	ld.b	[%r12],%r11	; 	xld.b	[%r12],%r11
	ext	0x8		; 	xld.h	[%r12+8],%r13
	ld.h	[%r12],%r13
	ret
	.align	1
	.global	dmg_SWAP
dmg_SWAP:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.ub	%r10,%r13
	srl	%r10,0x4	; 	xsrl	%r10,4
	sll	%r13,0x4	; 	xsll	%r13,4
	ld.w	%r11,%r10
	or	%r11,%r13
	ld.ub	%r10,%r11
	cmp	%r10,0x0
	jrne	__LX586		; 	xjrne	__L586
	ext	0x2		; 	xld.w	%r10,0x00000080		; 128
	ld.w	%r10,0x0
	ld.b	[%r12],%r10	; 	xld.b	[%r12],%r10
	jp	__LX587		; 	xjp	__L587
__LX586:				; __L586:
	ld.w	%r14,0x0
	ld.b	[%r12],%r14	; 	xld.b	[%r12],%r14
__LX587:				; __L587:
	ld.ub	%r10,%r11
	ret
	.align	1
	.global	dmgop_NOP
dmgop_NOP:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ret
	.align	1
	.global	dmgop_STOP
dmgop_STOP:
;	.frame	%sp,12,$31		# vars= 0, regs= 1/0, args= 8, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	sub	%sp,0x2		; 	xsub	%sp,%sp,8
	ext	__LC0+0x0@h	; 	xld.w	%r10,__LC0
	ext	__LC0+0x0@m
	ld.w	%r10,__LC0+0x0@l
	ld.w	[%sp+0x0],%r10	; 	xld.w	[%sp],%r10
	ext	0x8		; 	xld.w	%r10,0x00000210		; 528
	ld.w	%r10,0x10
	ld.w	[%sp+0x1],%r10	; 	xld.w	[%sp+4],%r10
	ext	die@rm		; 	xcall	die
	call	die@rl
	add	%sp,0x2		; 	xadd	%sp,%sp,8
	ret
	.align	1
	.global	dmgop_HALT
dmgop_HALT:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.w	%r10,0x1	; 	xld.w	%r10,0x00000001		; 1
	ext	0xd		; 	xld.b	[%r12+13],%r10
	ld.b	[%r12],%r10
	ret
	.align	1
	.global	dmgop_DI
dmgop_DI:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.w	%r10,0x0
	ext	0xc		; 	xld.b	[%r12+12],%r10
	ld.b	[%r12],%r10
	ret
	.align	1
	.global	dmgop_EI
dmgop_EI:
;	.frame	%sp,24,$31		# vars= 4, regs= 5/0, args= 0, extra= 0
;	.mask	0x800f0000,-4
;	.fmask	0x00000000,0
	pushn	%r3
	sub	%sp,0x1		; 	xsub	%sp,%sp,4
	ld.w	%r0,%r12
	ld.w	%r1,%r14
	ext	0xa		; 	xld.uh	%r13,[%r0+10]
	ld.uh	%r13,[%r0]
	ext	0x1		; 	xadd	%r10,%r13,1
	add	%r10,%r13
	ext	0xa		; 	xld.h	[%r0+10],%r10
	ld.h	[%r0],%r10
	ld.uh	%r13,%r13
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.w	%r3,%r10
	ld.ub	%r10,%r3
	sll	%r10,0x3	; 	xsll	%r10,3
	ext	dmg_op_table+0x0@h	; 	xld.w	%r11,dmg_op_table
	ext	dmg_op_table+0x0@m
	ld.w	%r11,dmg_op_table+0x0@l
	ld.w	%r2,%r10
	add	%r2,%r11
	ext	0x4		; 	xld.ub	%r15,[%r2+4]
	ld.ub	%r15,[%r2]
	ld.w	[%sp+0x0],%r15	; 	xld.w	[%sp],%r15
	cmp	%r15,0x0
	jreq	__LX597		; 	xjreq	__L597
	ext	0xa		; 	xld.uh	%r13,[%r0+10]
	ld.uh	%r13,[%r0]
	ext	0x1		; 	xadd	%r10,%r13,1
	add	%r10,%r13
	ext	0xa		; 	xld.h	[%r0+10],%r10
	ld.h	[%r0],%r10
	ld.uh	%r13,%r13
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	ld.ub	%r1,%r10
	ld.w	%r15,[%sp+0x0]	; 	xld.w	%r15,[%sp]
	cmp	%r15,0x1	; 	xcmp	%r15,1
	jrule	__LX597		; 	xjrule	__L597
	ext	0xa		; 	xld.uh	%r13,[%r0+10]
	ld.uh	%r13,[%r0]
	ext	0x1		; 	xadd	%r10,%r13,1
	add	%r10,%r13
	ext	0xa		; 	xld.h	[%r0+10],%r10
	ld.h	[%r0],%r10
	ld.uh	%r13,%r13
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	ld.ub	%r10,%r10
	sll	%r10,0x8	; 	xsll	%r10,8
	or	%r1,%r10
__LX597:				; __L597:
	ld.ub	%r13,%r3
	ld.w	%r10,[%r2]	; 	xld.w	%r10,[%r2]
	ld.w	%r12,%r0
	ld.w	%r14,%r1
	call	%r10
	ext	0x5		; 	xld.ub	%r11,[%r2+5]
	ld.ub	%r11,[%r2]
	ext	0x14		; 	xld.w	%r10,[%r0+20]
	ld.w	%r10,[%r0]
	sub	%r10,%r11
	ext	0x14		; 	xld.w	[%r0+20],%r10
	ld.w	[%r0],%r10
	ld.w	%r10,0x1	; 	xld.w	%r10,0x00000001		; 1
	ext	0xc		; 	xld.b	[%r0+12],%r10
	ld.b	[%r0],%r10
	ld.w	%r12,%r0
	ext	dmg_check_pending@rm	; 	xcall	dmg_check_pending
	call	dmg_check_pending@rl
	add	%sp,0x1		; 	xadd	%sp,%sp,4
	popn	%r3
	ret
	.align	1
	.global	dmgop_DAA
dmgop_DAA:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r11,[%r12+1]
	ld.ub	%r11,[%r12]
	ld.ub	%r10,%r11
	ld.w	%r15,%r10
	srl	%r15,0x4	; 	xsrl	%r15,4
	and	%r11,0xf	; 	xand	%r11,%r11,0x0000000f
	ld.ub	%r10,[%r12]	; 	xld.ub	%r10,[%r12]
	ld.w	%r14,%r10
	and	%r14,0x10	; 	xand	%r14,%r14,0x00000010
	ld.w	%r13,%r10
	ext	0x0		; 	xand	%r13,%r13,0x00000020
	and	%r13,0x20
	ext	0x1		; 	xand	%r10,%r10,0x00000040
	and	%r10,0x0
	jrne	__LX612		; 	xjrne	__L612
	cmp	%r14,0x0
	jrne	__LX613		; 	xjrne	__L613
	cmp	%r13,0x0
	jrne	__LX614		; 	xjrne	__L614
	cmp	%r11,0x9	; 	xcmp	%r11,9
	jrgt	__LX615		; 	xjrgt	__L615
	cmp	%r15,0x9	; 	xcmp	%r15,9
	jrle	__LX638		; 	xjrle	__L638
	ext	0x1		; 	xld.w	%r10,0x00000060		; 96
	ld.w	%r10,0x20
	jp	__LX639		; 	xjp	__L639
__LX615:				; __L615:
	cmp	%r15,0x8	; 	xcmp	%r15,8
	jrle	__LX640		; 	xjrle	__L640
	ext	0x1		; 	xld.w	%r10,0x00000066		; 102
	ld.w	%r10,0x26
	jp	__LX639		; 	xjp	__L639
__LX614:				; __L614:
	cmp	%r15,0x9	; 	xcmp	%r15,9
	jrgt	__LX622		; 	xjrgt	__L622
__LX640:				; __L640:
	ld.w	%r10,0x6	; 	xld.w	%r10,0x00000006		; 6
	ld.w	%r11,0x0
	jp	__LX629		; 	xjp	__L629
__LX622:				; __L622:
	ext	0x1		; 	xld.w	%r10,0x00000066		; 102
	ld.w	%r10,0x26
	jp	__LX639		; 	xjp	__L639
__LX613:				; __L613:
	cmp	%r13,0x0
	jrne	__LX625		; 	xjrne	__L625
	ext	0x1		; 	xld.w	%r10,0x00000066		; 102
	ld.w	%r10,0x26
	cmp	%r11,0x9	; 	xcmp	%r11,9
	jrgt	__LX639		; 	xjrgt	__L639
	ext	0x1		; 	xld.w	%r10,0x00000060		; 96
	ld.w	%r10,0x20
	jp	__LX639		; 	xjp	__L639
__LX625:				; __L625:
	ext	0x1		; 	xld.w	%r10,0x00000066		; 102
	ld.w	%r10,0x26
	jp	__LX639		; 	xjp	__L639
__LX612:				; __L612:
	cmp	%r14,0x0
	jrne	__LX630		; 	xjrne	__L630
	cmp	%r13,0x0
	jrne	__LX631		; 	xjrne	__L631
__LX638:				; __L638:
	ld.w	%r11,%r13
	ld.w	%r10,%r11
	jp	__LX629		; 	xjp	__L629
__LX631:				; __L631:
	ext	0x3		; 	xld.w	%r10,0x000000fa		; 250
	ld.w	%r10,0x3a
	ld.w	%r11,0x0
	jp	__LX629		; 	xjp	__L629
__LX630:				; __L630:
	ext	0x2		; 	xld.w	%r10,0x0000009a		; 154
	ld.w	%r10,0x1a
	cmp	%r13,0x0
	jrne	__LX634		; 	xjrne	__L634
	ext	0x2		; 	xld.w	%r10,0x000000a0		; 160
	ld.w	%r10,0x20
__LX634:				; __L634:
__LX639:				; __L639:
	ld.w	%r11,0x1	; 	xld.w	%r11,0x00000001		; 1
__LX629:				; __L629:
	ext	0x1		; 	xld.ub	%r4,[%r12+1]
	ld.ub	%r4,[%r12]
	add	%r4,%r10
	ld.w	%r10,%r4
	ext	0x1		; 	xld.b	[%r12+1],%r10
	ld.b	[%r12],%r10
	ld.ub	%r10,[%r12]	; 	xld.ub	%r10,[%r12]
	ext	0x1		; 	xand	%r10,%r10,0x00000040
	and	%r10,0x0
	ld.b	[%r12],%r10	; 	xld.b	[%r12],%r10
	ld.w	%r13,%r11
	sll	%r13,0x4	; 	xsll	%r13,4
	ld.w	%r11,%r10
	ext	0x1		; 	xld.ub	%r10,[%r12+1]
	ld.ub	%r10,[%r12]
	cmp	%r10,0x0
	jrne	__LX636		; 	xjrne	__L636
	ld.w	%r10,%r11
	ext	0x2		; 	xoor	%r10,%r10,0x00000080
	or	%r10,0x0
	jp	__LX641		; 	xjp	__L641
__LX636:				; __L636:
	ld.w	%r10,%r11
__LX641:				; __L641:
	or	%r10,%r13
	ld.b	[%r12],%r10	; 	xld.b	[%r12],%r10
	ret
	.align	1
	.global	dmgop_CPL
dmgop_CPL:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r11,[%r12+1]
	ld.ub	%r11,[%r12]
	not	%r10,%r11
	ext	0x1		; 	xld.b	[%r12+1],%r10
	ld.b	[%r12],%r10
	ld.ub	%r10,[%r12]	; 	xld.ub	%r10,[%r12]
	ext	0x2		; 	xand	%r10,%r10,0x00000090
	and	%r10,0x10
	ext	0x1		; 	xoor	%r10,%r10,0x00000060
	or	%r10,0x20
	ld.b	[%r12],%r10	; 	xld.b	[%r12],%r10
	ret
	.align	1
	.global	dmgop_SCF
dmgop_SCF:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.ub	%r10,[%r12]	; 	xld.ub	%r10,[%r12]
	ext	0x2		; 	xand	%r10,%r10,0x00000080
	and	%r10,0x0
	or	%r10,0x10	; 	xoor	%r10,%r10,0x00000010
	ld.b	[%r12],%r10	; 	xld.b	[%r12],%r10
	ret
	.align	1
	.global	dmgop_CCF
dmgop_CCF:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.ub	%r10,[%r12]	; 	xld.ub	%r10,[%r12]
	ld.w	%r11,%r10
	ext	0x2		; 	xand	%r11,%r11,0x00000080
	and	%r11,0x0
	and	%r10,0x10	; 	xand	%r10,%r10,0x00000010
	xor	%r10,0x10	; 	xxor	%r10,%r10,0x00000010
	or	%r11,%r10
	ld.b	[%r12],%r11	; 	xld.b	[%r12],%r11
	ret
	.align	1
	.global	dmgop_SWAP_B
dmgop_SWAP_B:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x3		; 	xld.ub	%r13,[%r0+3]
	ld.ub	%r13,[%r0]
	ext	dmg_SWAP@rm	; 	xcall	dmg_SWAP
	call	dmg_SWAP@rl
	ext	0x3		; 	xld.b	[%r0+3],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SWAP_C
dmgop_SWAP_C:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x2		; 	xld.ub	%r13,[%r0+2]
	ld.ub	%r13,[%r0]
	ext	dmg_SWAP@rm	; 	xcall	dmg_SWAP
	call	dmg_SWAP@rl
	ext	0x2		; 	xld.b	[%r0+2],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SWAP_D
dmgop_SWAP_D:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x5		; 	xld.ub	%r13,[%r0+5]
	ld.ub	%r13,[%r0]
	ext	dmg_SWAP@rm	; 	xcall	dmg_SWAP
	call	dmg_SWAP@rl
	ext	0x5		; 	xld.b	[%r0+5],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SWAP_E
dmgop_SWAP_E:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x4		; 	xld.ub	%r13,[%r0+4]
	ld.ub	%r13,[%r0]
	ext	dmg_SWAP@rm	; 	xcall	dmg_SWAP
	call	dmg_SWAP@rl
	ext	0x4		; 	xld.b	[%r0+4],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SWAP_H
dmgop_SWAP_H:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x7		; 	xld.ub	%r13,[%r0+7]
	ld.ub	%r13,[%r0]
	ext	dmg_SWAP@rm	; 	xcall	dmg_SWAP
	call	dmg_SWAP@rl
	ext	0x7		; 	xld.b	[%r0+7],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SWAP_L
dmgop_SWAP_L:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.ub	%r13,[%r0+6]
	ld.ub	%r13,[%r0]
	ext	dmg_SWAP@rm	; 	xcall	dmg_SWAP
	call	dmg_SWAP@rl
	ext	0x6		; 	xld.b	[%r0+6],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SWAP_IHLI
dmgop_SWAP_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r13,%r10
	ld.w	%r12,%r0
	ext	dmg_SWAP@rm	; 	xcall	dmg_SWAP
	call	dmg_SWAP@rl
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ld.ub	%r14,%r10
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SWAP_A
dmgop_SWAP_A:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x1		; 	xld.ub	%r13,[%r0+1]
	ld.ub	%r13,[%r0]
	ext	dmg_SWAP@rm	; 	xcall	dmg_SWAP
	call	dmg_SWAP@rl
	ext	0x1		; 	xld.b	[%r0+1],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmg_RLC
dmg_RLC:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.ub	%r10,%r13
	ld.w	%r11,%r10
	srl	%r11,0x7	; 	xsrl	%r11,7
	sll	%r13,0x1	; 	xsll	%r13,1
	or	%r11,%r13
	srl	%r10,0x3	; 	xsrl	%r10,3
	ld.w	%r13,%r10
	and	%r13,0x10	; 	xand	%r13,%r13,0x00000010
	ld.ub	%r10,%r11
	cmp	%r10,0x0
	jrne	__LX690		; 	xjrne	__L690
	ld.w	%r10,%r13
	ext	0x2		; 	xoor	%r10,%r10,0x00000080
	or	%r10,0x0
	ld.b	[%r12],%r10	; 	xld.b	[%r12],%r10
	jp	__LX691		; 	xjp	__L691
__LX690:				; __L690:
	ld.b	[%r12],%r13	; 	xld.b	[%r12],%r13
__LX691:				; __L691:
	ld.ub	%r10,%r11
	ret
	.align	1
	.global	dmg_RRC
dmg_RRC:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.ub	%r10,%r13
	ld.w	%r11,%r10
	srl	%r11,0x1	; 	xsrl	%r11,1
	sll	%r13,0x7	; 	xsll	%r13,7
	or	%r11,%r13
	sll	%r10,0x4	; 	xsll	%r10,4
	ld.w	%r13,%r10
	and	%r13,0x10	; 	xand	%r13,%r13,0x00000010
	ld.ub	%r10,%r11
	cmp	%r10,0x0
	jrne	__LX693		; 	xjrne	__L693
	ld.w	%r10,%r13
	ext	0x2		; 	xoor	%r10,%r10,0x00000080
	or	%r10,0x0
	ld.b	[%r12],%r10	; 	xld.b	[%r12],%r10
	jp	__LX694		; 	xjp	__L694
__LX693:				; __L693:
	ld.b	[%r12],%r13	; 	xld.b	[%r12],%r13
__LX694:				; __L694:
	ld.ub	%r10,%r11
	ret
	.align	1
	.global	dmg_RL
dmg_RL:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.w	%r11,%r13
	sll	%r11,0x1	; 	xsll	%r11,1
	ld.ub	%r10,[%r12]	; 	xld.ub	%r10,[%r12]
	and	%r10,0x10	; 	xand	%r10,%r10,0x00000010
	srl	%r10,0x4	; 	xsrl	%r10,4
	or	%r11,%r10
	ld.ub	%r13,%r13
	srl	%r13,0x3	; 	xsrl	%r13,3
	and	%r13,0x10	; 	xand	%r13,%r13,0x00000010
	ld.ub	%r10,%r11
	cmp	%r10,0x0
	jrne	__LX696		; 	xjrne	__L696
	ld.w	%r10,%r13
	ext	0x2		; 	xoor	%r10,%r10,0x00000080
	or	%r10,0x0
	ld.b	[%r12],%r10	; 	xld.b	[%r12],%r10
	jp	__LX697		; 	xjp	__L697
__LX696:				; __L696:
	ld.b	[%r12],%r13	; 	xld.b	[%r12],%r13
__LX697:				; __L697:
	ld.ub	%r10,%r11
	ret
	.align	1
	.global	dmg_RR
dmg_RR:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.ub	%r13,%r13
	ld.w	%r11,%r13
	srl	%r11,0x1	; 	xsrl	%r11,1
	ld.ub	%r10,[%r12]	; 	xld.ub	%r10,[%r12]
	and	%r10,0x10	; 	xand	%r10,%r10,0x00000010
	sll	%r10,0x3	; 	xsll	%r10,3
	or	%r11,%r10
	sll	%r13,0x4	; 	xsll	%r13,4
	and	%r13,0x10	; 	xand	%r13,%r13,0x00000010
	ld.ub	%r10,%r11
	cmp	%r10,0x0
	jrne	__LX699		; 	xjrne	__L699
	ld.w	%r10,%r13
	ext	0x2		; 	xoor	%r10,%r10,0x00000080
	or	%r10,0x0
	ld.b	[%r12],%r10	; 	xld.b	[%r12],%r10
	jp	__LX700		; 	xjp	__L700
__LX699:				; __L699:
	ld.b	[%r12],%r13	; 	xld.b	[%r12],%r13
__LX700:				; __L700:
	ld.ub	%r10,%r11
	ret
	.align	1
	.global	dmg_SLA
dmg_SLA:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.w	%r11,%r13
	sll	%r11,0x1	; 	xsll	%r11,1
	ld.ub	%r13,%r13
	srl	%r13,0x3	; 	xsrl	%r13,3
	and	%r13,0x10	; 	xand	%r13,%r13,0x00000010
	ld.ub	%r10,%r11
	cmp	%r10,0x0
	jrne	__LX702		; 	xjrne	__L702
	ld.w	%r10,%r13
	ext	0x2		; 	xoor	%r10,%r10,0x00000080
	or	%r10,0x0
	ld.b	[%r12],%r10	; 	xld.b	[%r12],%r10
	jp	__LX703		; 	xjp	__L703
__LX702:				; __L702:
	ld.b	[%r12],%r13	; 	xld.b	[%r12],%r13
__LX703:				; __L703:
	ld.ub	%r10,%r11
	ret
	.align	1
	.global	dmg_SRA
dmg_SRA:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.b	%r10,%r13
	ld.w	%r11,%r10
	srl	%r11,0x1	; 	xsrl	%r11,1
	ld.ub	%r13,%r13
	sll	%r13,0x4	; 	xsll	%r13,4
	and	%r13,0x10	; 	xand	%r13,%r13,0x00000010
	ld.ub	%r10,%r11
	cmp	%r10,0x0
	jrne	__LX705		; 	xjrne	__L705
	ld.w	%r10,%r13
	ext	0x2		; 	xoor	%r10,%r10,0x00000080
	or	%r10,0x0
	ld.b	[%r12],%r10	; 	xld.b	[%r12],%r10
	jp	__LX706		; 	xjp	__L706
__LX705:				; __L705:
	ld.b	[%r12],%r13	; 	xld.b	[%r12],%r13
__LX706:				; __L706:
	ld.ub	%r10,%r11
	ret
	.align	1
	.global	dmg_SRL
dmg_SRL:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.ub	%r13,%r13
	ld.w	%r11,%r13
	srl	%r11,0x1	; 	xsrl	%r11,1
	sll	%r13,0x4	; 	xsll	%r13,4
	and	%r13,0x10	; 	xand	%r13,%r13,0x00000010
	ld.ub	%r10,%r11
	cmp	%r10,0x0
	jrne	__LX708		; 	xjrne	__L708
	ld.w	%r10,%r13
	ext	0x2		; 	xoor	%r10,%r10,0x00000080
	or	%r10,0x0
	ld.b	[%r12],%r10	; 	xld.b	[%r12],%r10
	jp	__LX709		; 	xjp	__L709
__LX708:				; __L708:
	ld.b	[%r12],%r13	; 	xld.b	[%r12],%r13
__LX709:				; __L709:
	ld.ub	%r10,%r11
	ret
	.align	1
	.global	dmgop_RLCA
dmgop_RLCA:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r10,[%r12+1]
	ld.ub	%r10,[%r12]
	ld.ub	%r11,%r10
	ld.w	%r13,%r11
	srl	%r13,0x7	; 	xsrl	%r13,7
	sll	%r10,0x1	; 	xsll	%r10,1
	or	%r13,%r10
	srl	%r11,0x3	; 	xsrl	%r11,3
	and	%r11,0x10	; 	xand	%r11,%r11,0x00000010
	ld.b	[%r12],%r11	; 	xld.b	[%r12],%r11
	ext	0x1		; 	xld.b	[%r12+1],%r13
	ld.b	[%r12],%r13
	ret
	.align	1
	.global	dmgop_RRCA
dmgop_RRCA:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r10,[%r12+1]
	ld.ub	%r10,[%r12]
	ld.ub	%r13,%r10
	srl	%r13,0x1	; 	xsrl	%r13,1
	ld.w	%r11,%r10
	sll	%r11,0x7	; 	xsll	%r11,7
	or	%r13,%r11
	sll	%r10,0x4	; 	xsll	%r10,4
	and	%r10,0x10	; 	xand	%r10,%r10,0x00000010
	ld.b	[%r12],%r10	; 	xld.b	[%r12],%r10
	ext	0x1		; 	xld.b	[%r12+1],%r13
	ld.b	[%r12],%r13
	ret
	.align	1
	.global	dmgop_RLA
dmgop_RLA:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r11,[%r12+1]
	ld.ub	%r11,[%r12]
	ld.w	%r13,%r11
	sll	%r13,0x1	; 	xsll	%r13,1
	ld.ub	%r10,[%r12]	; 	xld.ub	%r10,[%r12]
	and	%r10,0x10	; 	xand	%r10,%r10,0x00000010
	srl	%r10,0x4	; 	xsrl	%r10,4
	or	%r13,%r10
	ld.ub	%r11,%r11
	srl	%r11,0x3	; 	xsrl	%r11,3
	and	%r11,0x10	; 	xand	%r11,%r11,0x00000010
	ld.b	[%r12],%r11	; 	xld.b	[%r12],%r11
	ext	0x1		; 	xld.b	[%r12+1],%r13
	ld.b	[%r12],%r13
	ret
	.align	1
	.global	dmgop_RRA
dmgop_RRA:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r11,[%r12+1]
	ld.ub	%r11,[%r12]
	ld.ub	%r13,%r11
	srl	%r13,0x1	; 	xsrl	%r13,1
	ld.ub	%r10,[%r12]	; 	xld.ub	%r10,[%r12]
	and	%r10,0x10	; 	xand	%r10,%r10,0x00000010
	sll	%r10,0x3	; 	xsll	%r10,3
	or	%r13,%r10
	sll	%r11,0x4	; 	xsll	%r11,4
	and	%r11,0x10	; 	xand	%r11,%r11,0x00000010
	ld.b	[%r12],%r11	; 	xld.b	[%r12],%r11
	ext	0x1		; 	xld.b	[%r12+1],%r13
	ld.b	[%r12],%r13
	ret
	.align	1
	.global	dmgop_RLC_B
dmgop_RLC_B:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x3		; 	xld.ub	%r13,[%r0+3]
	ld.ub	%r13,[%r0]
	ext	dmg_RLC@rm	; 	xcall	dmg_RLC
	call	dmg_RLC@rl
	ext	0x3		; 	xld.b	[%r0+3],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RLC_C
dmgop_RLC_C:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x2		; 	xld.ub	%r13,[%r0+2]
	ld.ub	%r13,[%r0]
	ext	dmg_RLC@rm	; 	xcall	dmg_RLC
	call	dmg_RLC@rl
	ext	0x2		; 	xld.b	[%r0+2],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RLC_D
dmgop_RLC_D:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x5		; 	xld.ub	%r13,[%r0+5]
	ld.ub	%r13,[%r0]
	ext	dmg_RLC@rm	; 	xcall	dmg_RLC
	call	dmg_RLC@rl
	ext	0x5		; 	xld.b	[%r0+5],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RLC_E
dmgop_RLC_E:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x4		; 	xld.ub	%r13,[%r0+4]
	ld.ub	%r13,[%r0]
	ext	dmg_RLC@rm	; 	xcall	dmg_RLC
	call	dmg_RLC@rl
	ext	0x4		; 	xld.b	[%r0+4],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RLC_H
dmgop_RLC_H:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x7		; 	xld.ub	%r13,[%r0+7]
	ld.ub	%r13,[%r0]
	ext	dmg_RLC@rm	; 	xcall	dmg_RLC
	call	dmg_RLC@rl
	ext	0x7		; 	xld.b	[%r0+7],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RLC_L
dmgop_RLC_L:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.ub	%r13,[%r0+6]
	ld.ub	%r13,[%r0]
	ext	dmg_RLC@rm	; 	xcall	dmg_RLC
	call	dmg_RLC@rl
	ext	0x6		; 	xld.b	[%r0+6],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RLC_IHLI
dmgop_RLC_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r13,%r10
	ld.w	%r12,%r0
	ext	dmg_RLC@rm	; 	xcall	dmg_RLC
	call	dmg_RLC@rl
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ld.ub	%r14,%r10
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RLC_A
dmgop_RLC_A:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x1		; 	xld.ub	%r13,[%r0+1]
	ld.ub	%r13,[%r0]
	ext	dmg_RLC@rm	; 	xcall	dmg_RLC
	call	dmg_RLC@rl
	ext	0x1		; 	xld.b	[%r0+1],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RRC_B
dmgop_RRC_B:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x3		; 	xld.ub	%r13,[%r0+3]
	ld.ub	%r13,[%r0]
	ext	dmg_RRC@rm	; 	xcall	dmg_RRC
	call	dmg_RRC@rl
	ext	0x3		; 	xld.b	[%r0+3],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RRC_C
dmgop_RRC_C:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x2		; 	xld.ub	%r13,[%r0+2]
	ld.ub	%r13,[%r0]
	ext	dmg_RRC@rm	; 	xcall	dmg_RRC
	call	dmg_RRC@rl
	ext	0x2		; 	xld.b	[%r0+2],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RRC_D
dmgop_RRC_D:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x5		; 	xld.ub	%r13,[%r0+5]
	ld.ub	%r13,[%r0]
	ext	dmg_RRC@rm	; 	xcall	dmg_RRC
	call	dmg_RRC@rl
	ext	0x5		; 	xld.b	[%r0+5],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RRC_E
dmgop_RRC_E:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x4		; 	xld.ub	%r13,[%r0+4]
	ld.ub	%r13,[%r0]
	ext	dmg_RRC@rm	; 	xcall	dmg_RRC
	call	dmg_RRC@rl
	ext	0x4		; 	xld.b	[%r0+4],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RRC_H
dmgop_RRC_H:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x7		; 	xld.ub	%r13,[%r0+7]
	ld.ub	%r13,[%r0]
	ext	dmg_RRC@rm	; 	xcall	dmg_RRC
	call	dmg_RRC@rl
	ext	0x7		; 	xld.b	[%r0+7],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RRC_L
dmgop_RRC_L:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.ub	%r13,[%r0+6]
	ld.ub	%r13,[%r0]
	ext	dmg_RRC@rm	; 	xcall	dmg_RRC
	call	dmg_RRC@rl
	ext	0x6		; 	xld.b	[%r0+6],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RRC_IHLI
dmgop_RRC_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r13,%r10
	ld.w	%r12,%r0
	ext	dmg_RRC@rm	; 	xcall	dmg_RRC
	call	dmg_RRC@rl
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ld.ub	%r14,%r10
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RRC_A
dmgop_RRC_A:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x1		; 	xld.ub	%r13,[%r0+1]
	ld.ub	%r13,[%r0]
	ext	dmg_RRC@rm	; 	xcall	dmg_RRC
	call	dmg_RRC@rl
	ext	0x1		; 	xld.b	[%r0+1],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RL_B
dmgop_RL_B:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x3		; 	xld.ub	%r13,[%r0+3]
	ld.ub	%r13,[%r0]
	ext	dmg_RL@rm	; 	xcall	dmg_RL
	call	dmg_RL@rl
	ext	0x3		; 	xld.b	[%r0+3],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RL_C
dmgop_RL_C:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x2		; 	xld.ub	%r13,[%r0+2]
	ld.ub	%r13,[%r0]
	ext	dmg_RL@rm	; 	xcall	dmg_RL
	call	dmg_RL@rl
	ext	0x2		; 	xld.b	[%r0+2],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RL_D
dmgop_RL_D:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x5		; 	xld.ub	%r13,[%r0+5]
	ld.ub	%r13,[%r0]
	ext	dmg_RL@rm	; 	xcall	dmg_RL
	call	dmg_RL@rl
	ext	0x5		; 	xld.b	[%r0+5],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RL_E
dmgop_RL_E:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x4		; 	xld.ub	%r13,[%r0+4]
	ld.ub	%r13,[%r0]
	ext	dmg_RL@rm	; 	xcall	dmg_RL
	call	dmg_RL@rl
	ext	0x4		; 	xld.b	[%r0+4],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RL_H
dmgop_RL_H:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x7		; 	xld.ub	%r13,[%r0+7]
	ld.ub	%r13,[%r0]
	ext	dmg_RL@rm	; 	xcall	dmg_RL
	call	dmg_RL@rl
	ext	0x7		; 	xld.b	[%r0+7],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RL_L
dmgop_RL_L:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.ub	%r13,[%r0+6]
	ld.ub	%r13,[%r0]
	ext	dmg_RL@rm	; 	xcall	dmg_RL
	call	dmg_RL@rl
	ext	0x6		; 	xld.b	[%r0+6],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RL_IHLI
dmgop_RL_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r13,%r10
	ld.w	%r12,%r0
	ext	dmg_RL@rm	; 	xcall	dmg_RL
	call	dmg_RL@rl
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ld.ub	%r14,%r10
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RL_A
dmgop_RL_A:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x1		; 	xld.ub	%r13,[%r0+1]
	ld.ub	%r13,[%r0]
	ext	dmg_RL@rm	; 	xcall	dmg_RL
	call	dmg_RL@rl
	ext	0x1		; 	xld.b	[%r0+1],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RR_B
dmgop_RR_B:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x3		; 	xld.ub	%r13,[%r0+3]
	ld.ub	%r13,[%r0]
	ext	dmg_RR@rm	; 	xcall	dmg_RR
	call	dmg_RR@rl
	ext	0x3		; 	xld.b	[%r0+3],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RR_C
dmgop_RR_C:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x2		; 	xld.ub	%r13,[%r0+2]
	ld.ub	%r13,[%r0]
	ext	dmg_RR@rm	; 	xcall	dmg_RR
	call	dmg_RR@rl
	ext	0x2		; 	xld.b	[%r0+2],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RR_D
dmgop_RR_D:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x5		; 	xld.ub	%r13,[%r0+5]
	ld.ub	%r13,[%r0]
	ext	dmg_RR@rm	; 	xcall	dmg_RR
	call	dmg_RR@rl
	ext	0x5		; 	xld.b	[%r0+5],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RR_E
dmgop_RR_E:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x4		; 	xld.ub	%r13,[%r0+4]
	ld.ub	%r13,[%r0]
	ext	dmg_RR@rm	; 	xcall	dmg_RR
	call	dmg_RR@rl
	ext	0x4		; 	xld.b	[%r0+4],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RR_H
dmgop_RR_H:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x7		; 	xld.ub	%r13,[%r0+7]
	ld.ub	%r13,[%r0]
	ext	dmg_RR@rm	; 	xcall	dmg_RR
	call	dmg_RR@rl
	ext	0x7		; 	xld.b	[%r0+7],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RR_L
dmgop_RR_L:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.ub	%r13,[%r0+6]
	ld.ub	%r13,[%r0]
	ext	dmg_RR@rm	; 	xcall	dmg_RR
	call	dmg_RR@rl
	ext	0x6		; 	xld.b	[%r0+6],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RR_IHLI
dmgop_RR_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r13,%r10
	ld.w	%r12,%r0
	ext	dmg_RR@rm	; 	xcall	dmg_RR
	call	dmg_RR@rl
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ld.ub	%r14,%r10
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RR_A
dmgop_RR_A:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x1		; 	xld.ub	%r13,[%r0+1]
	ld.ub	%r13,[%r0]
	ext	dmg_RR@rm	; 	xcall	dmg_RR
	call	dmg_RR@rl
	ext	0x1		; 	xld.b	[%r0+1],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SLA_B
dmgop_SLA_B:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x3		; 	xld.ub	%r13,[%r0+3]
	ld.ub	%r13,[%r0]
	ext	dmg_SLA@rm	; 	xcall	dmg_SLA
	call	dmg_SLA@rl
	ext	0x3		; 	xld.b	[%r0+3],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SLA_C
dmgop_SLA_C:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x2		; 	xld.ub	%r13,[%r0+2]
	ld.ub	%r13,[%r0]
	ext	dmg_SLA@rm	; 	xcall	dmg_SLA
	call	dmg_SLA@rl
	ext	0x2		; 	xld.b	[%r0+2],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SLA_D
dmgop_SLA_D:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x5		; 	xld.ub	%r13,[%r0+5]
	ld.ub	%r13,[%r0]
	ext	dmg_SLA@rm	; 	xcall	dmg_SLA
	call	dmg_SLA@rl
	ext	0x5		; 	xld.b	[%r0+5],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SLA_E
dmgop_SLA_E:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x4		; 	xld.ub	%r13,[%r0+4]
	ld.ub	%r13,[%r0]
	ext	dmg_SLA@rm	; 	xcall	dmg_SLA
	call	dmg_SLA@rl
	ext	0x4		; 	xld.b	[%r0+4],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SLA_H
dmgop_SLA_H:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x7		; 	xld.ub	%r13,[%r0+7]
	ld.ub	%r13,[%r0]
	ext	dmg_SLA@rm	; 	xcall	dmg_SLA
	call	dmg_SLA@rl
	ext	0x7		; 	xld.b	[%r0+7],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SLA_L
dmgop_SLA_L:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.ub	%r13,[%r0+6]
	ld.ub	%r13,[%r0]
	ext	dmg_SLA@rm	; 	xcall	dmg_SLA
	call	dmg_SLA@rl
	ext	0x6		; 	xld.b	[%r0+6],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SLA_IHLI
dmgop_SLA_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r13,%r10
	ld.w	%r12,%r0
	ext	dmg_SLA@rm	; 	xcall	dmg_SLA
	call	dmg_SLA@rl
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ld.ub	%r14,%r10
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SLA_A
dmgop_SLA_A:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x1		; 	xld.ub	%r13,[%r0+1]
	ld.ub	%r13,[%r0]
	ext	dmg_SLA@rm	; 	xcall	dmg_SLA
	call	dmg_SLA@rl
	ext	0x1		; 	xld.b	[%r0+1],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SRA_B
dmgop_SRA_B:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x3		; 	xld.ub	%r13,[%r0+3]
	ld.ub	%r13,[%r0]
	ext	dmg_SRA@rm	; 	xcall	dmg_SRA
	call	dmg_SRA@rl
	ext	0x3		; 	xld.b	[%r0+3],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SRA_C
dmgop_SRA_C:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x2		; 	xld.ub	%r13,[%r0+2]
	ld.ub	%r13,[%r0]
	ext	dmg_SRA@rm	; 	xcall	dmg_SRA
	call	dmg_SRA@rl
	ext	0x2		; 	xld.b	[%r0+2],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SRA_D
dmgop_SRA_D:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x5		; 	xld.ub	%r13,[%r0+5]
	ld.ub	%r13,[%r0]
	ext	dmg_SRA@rm	; 	xcall	dmg_SRA
	call	dmg_SRA@rl
	ext	0x5		; 	xld.b	[%r0+5],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SRA_E
dmgop_SRA_E:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x4		; 	xld.ub	%r13,[%r0+4]
	ld.ub	%r13,[%r0]
	ext	dmg_SRA@rm	; 	xcall	dmg_SRA
	call	dmg_SRA@rl
	ext	0x4		; 	xld.b	[%r0+4],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SRA_H
dmgop_SRA_H:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x7		; 	xld.ub	%r13,[%r0+7]
	ld.ub	%r13,[%r0]
	ext	dmg_SRA@rm	; 	xcall	dmg_SRA
	call	dmg_SRA@rl
	ext	0x7		; 	xld.b	[%r0+7],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SRA_L
dmgop_SRA_L:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.ub	%r13,[%r0+6]
	ld.ub	%r13,[%r0]
	ext	dmg_SRA@rm	; 	xcall	dmg_SRA
	call	dmg_SRA@rl
	ext	0x6		; 	xld.b	[%r0+6],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SRA_IHLI
dmgop_SRA_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r13,%r10
	ld.w	%r12,%r0
	ext	dmg_SRA@rm	; 	xcall	dmg_SRA
	call	dmg_SRA@rl
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ld.ub	%r14,%r10
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SRA_A
dmgop_SRA_A:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x1		; 	xld.ub	%r13,[%r0+1]
	ld.ub	%r13,[%r0]
	ext	dmg_SRA@rm	; 	xcall	dmg_SRA
	call	dmg_SRA@rl
	ext	0x1		; 	xld.b	[%r0+1],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SRL_B
dmgop_SRL_B:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x3		; 	xld.ub	%r13,[%r0+3]
	ld.ub	%r13,[%r0]
	ext	dmg_SRL@rm	; 	xcall	dmg_SRL
	call	dmg_SRL@rl
	ext	0x3		; 	xld.b	[%r0+3],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SRL_C
dmgop_SRL_C:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x2		; 	xld.ub	%r13,[%r0+2]
	ld.ub	%r13,[%r0]
	ext	dmg_SRL@rm	; 	xcall	dmg_SRL
	call	dmg_SRL@rl
	ext	0x2		; 	xld.b	[%r0+2],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SRL_D
dmgop_SRL_D:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x5		; 	xld.ub	%r13,[%r0+5]
	ld.ub	%r13,[%r0]
	ext	dmg_SRL@rm	; 	xcall	dmg_SRL
	call	dmg_SRL@rl
	ext	0x5		; 	xld.b	[%r0+5],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SRL_E
dmgop_SRL_E:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x4		; 	xld.ub	%r13,[%r0+4]
	ld.ub	%r13,[%r0]
	ext	dmg_SRL@rm	; 	xcall	dmg_SRL
	call	dmg_SRL@rl
	ext	0x4		; 	xld.b	[%r0+4],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SRL_H
dmgop_SRL_H:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x7		; 	xld.ub	%r13,[%r0+7]
	ld.ub	%r13,[%r0]
	ext	dmg_SRL@rm	; 	xcall	dmg_SRL
	call	dmg_SRL@rl
	ext	0x7		; 	xld.b	[%r0+7],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SRL_L
dmgop_SRL_L:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.ub	%r13,[%r0+6]
	ld.ub	%r13,[%r0]
	ext	dmg_SRL@rm	; 	xcall	dmg_SRL
	call	dmg_SRL@rl
	ext	0x6		; 	xld.b	[%r0+6],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SRL_IHLI
dmgop_SRL_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r13,%r10
	ld.w	%r12,%r0
	ext	dmg_SRL@rm	; 	xcall	dmg_SRL
	call	dmg_SRL@rl
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ld.ub	%r14,%r10
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_SRL_A
dmgop_SRL_A:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x1		; 	xld.ub	%r13,[%r0+1]
	ld.ub	%r13,[%r0]
	ext	dmg_SRL@rm	; 	xcall	dmg_SRL
	call	dmg_SRL@rl
	ext	0x1		; 	xld.b	[%r0+1],%r10
	ld.b	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmg_BIT
dmg_BIT:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ld.ub	%r13,%r13
	ld.w	%r10,0x1	; 	xld.w	%r10,0x00000001		; 1
	ld.w	%r9,%r13	; 	xsll	%r10,%r13
	and	%r9,0x1f
	cmp	%r9,0x8
	jrle	4
	sll	%r10,0x8
	jp.d	-3
	sub	%r9,0x8
	sll	%r10,%r9
	and	%r14,%r10
	ld.ub	%r10,[%r12]	; 	xld.ub	%r10,[%r12]
	and	%r10,0x10	; 	xand	%r10,%r10,0x00000010
	ld.ub	%r14,%r14
	cmp	%r14,0x0
	jrne	__LX1023	; 	xjrne	__L1023
	ext	0x2		; 	xoor	%r10,%r10,0x000000a0
	or	%r10,0x20
	jp	__LX1025	; 	xjp	__L1025
__LX1023:				; __L1023:
	ext	0x0		; 	xoor	%r10,%r10,0x00000020
	or	%r10,0x20
__LX1025:				; __L1025:
	ld.b	[%r12],%r10	; 	xld.b	[%r12],%r10
	ret
	.align	1
	.global	dmgop_BIT_0_B
dmgop_BIT_0_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xld.ub	%r14,[%r12+3]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x0
	call	dmg_BIT		; 	xcall	dmg_BIT
	ret
	.align	1
	.global	dmgop_BIT_0_C
dmgop_BIT_0_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xld.ub	%r14,[%r12+2]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x0
	call	dmg_BIT		; 	xcall	dmg_BIT
	ret
	.align	1
	.global	dmgop_BIT_0_D
dmgop_BIT_0_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xld.ub	%r14,[%r12+5]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x0
	call	dmg_BIT		; 	xcall	dmg_BIT
	ret
	.align	1
	.global	dmgop_BIT_0_E
dmgop_BIT_0_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xld.ub	%r14,[%r12+4]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x0
	call	dmg_BIT		; 	xcall	dmg_BIT
	ret
	.align	1
	.global	dmgop_BIT_0_H
dmgop_BIT_0_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xld.ub	%r14,[%r12+7]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x0
	call	dmg_BIT		; 	xcall	dmg_BIT
	ret
	.align	1
	.global	dmgop_BIT_0_L
dmgop_BIT_0_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xld.ub	%r14,[%r12+6]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x0
	call	dmg_BIT		; 	xcall	dmg_BIT
	ret
	.align	1
	.global	dmgop_BIT_0_IHLI
dmgop_BIT_0_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r14,%r10
	ld.w	%r12,%r0
	ld.w	%r13,0x0
	call	dmg_BIT		; 	xcall	dmg_BIT
	popn	%r0
	ret
	.align	1
	.global	dmgop_BIT_0_A
dmgop_BIT_0_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r14,[%r12+1]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x0
	call	dmg_BIT		; 	xcall	dmg_BIT
	ret
	.align	1
	.global	dmgop_BIT_1_B
dmgop_BIT_1_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xld.ub	%r14,[%r12+3]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x1	; 	xld.w	%r13,0x00000001		; 1
	call	dmg_BIT		; 	xcall	dmg_BIT
	ret
	.align	1
	.global	dmgop_BIT_1_C
dmgop_BIT_1_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xld.ub	%r14,[%r12+2]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x1	; 	xld.w	%r13,0x00000001		; 1
	call	dmg_BIT		; 	xcall	dmg_BIT
	ret
	.align	1
	.global	dmgop_BIT_1_D
dmgop_BIT_1_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xld.ub	%r14,[%r12+5]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x1	; 	xld.w	%r13,0x00000001		; 1
	call	dmg_BIT		; 	xcall	dmg_BIT
	ret
	.align	1
	.global	dmgop_BIT_1_E
dmgop_BIT_1_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xld.ub	%r14,[%r12+4]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x1	; 	xld.w	%r13,0x00000001		; 1
	call	dmg_BIT		; 	xcall	dmg_BIT
	ret
	.align	1
	.global	dmgop_BIT_1_H
dmgop_BIT_1_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xld.ub	%r14,[%r12+7]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x1	; 	xld.w	%r13,0x00000001		; 1
	call	dmg_BIT		; 	xcall	dmg_BIT
	ret
	.align	1
	.global	dmgop_BIT_1_L
dmgop_BIT_1_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xld.ub	%r14,[%r12+6]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x1	; 	xld.w	%r13,0x00000001		; 1
	call	dmg_BIT		; 	xcall	dmg_BIT
	ret
	.align	1
	.global	dmgop_BIT_1_IHLI
dmgop_BIT_1_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r14,%r10
	ld.w	%r12,%r0
	ld.w	%r13,0x1	; 	xld.w	%r13,0x00000001		; 1
	call	dmg_BIT		; 	xcall	dmg_BIT
	popn	%r0
	ret
	.align	1
	.global	dmgop_BIT_1_A
dmgop_BIT_1_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r14,[%r12+1]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x1	; 	xld.w	%r13,0x00000001		; 1
	call	dmg_BIT		; 	xcall	dmg_BIT
	ret
	.align	1
	.global	dmgop_BIT_2_B
dmgop_BIT_2_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xld.ub	%r14,[%r12+3]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x2	; 	xld.w	%r13,0x00000002		; 2
	call	dmg_BIT		; 	xcall	dmg_BIT
	ret
	.align	1
	.global	dmgop_BIT_2_C
dmgop_BIT_2_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xld.ub	%r14,[%r12+2]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x2	; 	xld.w	%r13,0x00000002		; 2
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_2_D
dmgop_BIT_2_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xld.ub	%r14,[%r12+5]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x2	; 	xld.w	%r13,0x00000002		; 2
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_2_E
dmgop_BIT_2_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xld.ub	%r14,[%r12+4]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x2	; 	xld.w	%r13,0x00000002		; 2
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_2_H
dmgop_BIT_2_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xld.ub	%r14,[%r12+7]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x2	; 	xld.w	%r13,0x00000002		; 2
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_2_L
dmgop_BIT_2_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xld.ub	%r14,[%r12+6]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x2	; 	xld.w	%r13,0x00000002		; 2
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_2_IHLI
dmgop_BIT_2_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r14,%r10
	ld.w	%r12,%r0
	ld.w	%r13,0x2	; 	xld.w	%r13,0x00000002		; 2
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	popn	%r0
	ret
	.align	1
	.global	dmgop_BIT_2_A
dmgop_BIT_2_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r14,[%r12+1]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x2	; 	xld.w	%r13,0x00000002		; 2
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_3_B
dmgop_BIT_3_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xld.ub	%r14,[%r12+3]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x3	; 	xld.w	%r13,0x00000003		; 3
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_3_C
dmgop_BIT_3_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xld.ub	%r14,[%r12+2]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x3	; 	xld.w	%r13,0x00000003		; 3
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_3_D
dmgop_BIT_3_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xld.ub	%r14,[%r12+5]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x3	; 	xld.w	%r13,0x00000003		; 3
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_3_E
dmgop_BIT_3_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xld.ub	%r14,[%r12+4]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x3	; 	xld.w	%r13,0x00000003		; 3
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_3_H
dmgop_BIT_3_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xld.ub	%r14,[%r12+7]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x3	; 	xld.w	%r13,0x00000003		; 3
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_3_L
dmgop_BIT_3_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xld.ub	%r14,[%r12+6]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x3	; 	xld.w	%r13,0x00000003		; 3
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_3_IHLI
dmgop_BIT_3_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r14,%r10
	ld.w	%r12,%r0
	ld.w	%r13,0x3	; 	xld.w	%r13,0x00000003		; 3
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	popn	%r0
	ret
	.align	1
	.global	dmgop_BIT_3_A
dmgop_BIT_3_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r14,[%r12+1]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x3	; 	xld.w	%r13,0x00000003		; 3
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_4_B
dmgop_BIT_4_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xld.ub	%r14,[%r12+3]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x4	; 	xld.w	%r13,0x00000004		; 4
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_4_C
dmgop_BIT_4_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xld.ub	%r14,[%r12+2]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x4	; 	xld.w	%r13,0x00000004		; 4
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_4_D
dmgop_BIT_4_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xld.ub	%r14,[%r12+5]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x4	; 	xld.w	%r13,0x00000004		; 4
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_4_E
dmgop_BIT_4_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xld.ub	%r14,[%r12+4]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x4	; 	xld.w	%r13,0x00000004		; 4
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_4_H
dmgop_BIT_4_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xld.ub	%r14,[%r12+7]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x4	; 	xld.w	%r13,0x00000004		; 4
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_4_L
dmgop_BIT_4_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xld.ub	%r14,[%r12+6]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x4	; 	xld.w	%r13,0x00000004		; 4
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_4_IHLI
dmgop_BIT_4_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r14,%r10
	ld.w	%r12,%r0
	ld.w	%r13,0x4	; 	xld.w	%r13,0x00000004		; 4
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	popn	%r0
	ret
	.align	1
	.global	dmgop_BIT_4_A
dmgop_BIT_4_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r14,[%r12+1]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x4	; 	xld.w	%r13,0x00000004		; 4
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_5_B
dmgop_BIT_5_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xld.ub	%r14,[%r12+3]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x5	; 	xld.w	%r13,0x00000005		; 5
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_5_C
dmgop_BIT_5_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xld.ub	%r14,[%r12+2]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x5	; 	xld.w	%r13,0x00000005		; 5
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_5_D
dmgop_BIT_5_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xld.ub	%r14,[%r12+5]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x5	; 	xld.w	%r13,0x00000005		; 5
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_5_E
dmgop_BIT_5_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xld.ub	%r14,[%r12+4]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x5	; 	xld.w	%r13,0x00000005		; 5
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_5_H
dmgop_BIT_5_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xld.ub	%r14,[%r12+7]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x5	; 	xld.w	%r13,0x00000005		; 5
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_5_L
dmgop_BIT_5_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xld.ub	%r14,[%r12+6]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x5	; 	xld.w	%r13,0x00000005		; 5
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_5_IHLI
dmgop_BIT_5_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r14,%r10
	ld.w	%r12,%r0
	ld.w	%r13,0x5	; 	xld.w	%r13,0x00000005		; 5
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	popn	%r0
	ret
	.align	1
	.global	dmgop_BIT_5_A
dmgop_BIT_5_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r14,[%r12+1]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x5	; 	xld.w	%r13,0x00000005		; 5
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_6_B
dmgop_BIT_6_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xld.ub	%r14,[%r12+3]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x6	; 	xld.w	%r13,0x00000006		; 6
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_6_C
dmgop_BIT_6_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xld.ub	%r14,[%r12+2]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x6	; 	xld.w	%r13,0x00000006		; 6
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_6_D
dmgop_BIT_6_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xld.ub	%r14,[%r12+5]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x6	; 	xld.w	%r13,0x00000006		; 6
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_6_E
dmgop_BIT_6_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xld.ub	%r14,[%r12+4]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x6	; 	xld.w	%r13,0x00000006		; 6
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_6_H
dmgop_BIT_6_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xld.ub	%r14,[%r12+7]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x6	; 	xld.w	%r13,0x00000006		; 6
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_6_L
dmgop_BIT_6_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xld.ub	%r14,[%r12+6]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x6	; 	xld.w	%r13,0x00000006		; 6
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_6_IHLI
dmgop_BIT_6_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r14,%r10
	ld.w	%r12,%r0
	ld.w	%r13,0x6	; 	xld.w	%r13,0x00000006		; 6
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	popn	%r0
	ret
	.align	1
	.global	dmgop_BIT_6_A
dmgop_BIT_6_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r14,[%r12+1]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x6	; 	xld.w	%r13,0x00000006		; 6
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_7_B
dmgop_BIT_7_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xld.ub	%r14,[%r12+3]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x7	; 	xld.w	%r13,0x00000007		; 7
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_7_C
dmgop_BIT_7_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xld.ub	%r14,[%r12+2]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x7	; 	xld.w	%r13,0x00000007		; 7
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_7_D
dmgop_BIT_7_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xld.ub	%r14,[%r12+5]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x7	; 	xld.w	%r13,0x00000007		; 7
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_7_E
dmgop_BIT_7_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xld.ub	%r14,[%r12+4]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x7	; 	xld.w	%r13,0x00000007		; 7
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_7_H
dmgop_BIT_7_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xld.ub	%r14,[%r12+7]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x7	; 	xld.w	%r13,0x00000007		; 7
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_7_L
dmgop_BIT_7_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xld.ub	%r14,[%r12+6]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x7	; 	xld.w	%r13,0x00000007		; 7
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_BIT_7_IHLI
dmgop_BIT_7_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.ub	%r14,%r10
	ld.w	%r12,%r0
	ld.w	%r13,0x7	; 	xld.w	%r13,0x00000007		; 7
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	popn	%r0
	ret
	.align	1
	.global	dmgop_BIT_7_A
dmgop_BIT_7_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xld.ub	%r14,[%r12+1]
	ld.ub	%r14,[%r12]
	ld.w	%r13,0x7	; 	xld.w	%r13,0x00000007		; 7
	ext	dmg_BIT@rm	; 	xcall	dmg_BIT
	call	dmg_BIT@rl
	ret
	.align	1
	.global	dmgop_SET_0_B
dmgop_SET_0_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xbset	[%r12+3],0x0
	bset	[%r12],0x0
	ret
	.align	1
	.global	dmgop_SET_0_C
dmgop_SET_0_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xbset	[%r12+2],0x0
	bset	[%r12],0x0
	ret
	.align	1
	.global	dmgop_SET_0_D
dmgop_SET_0_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xbset	[%r12+5],0x0
	bset	[%r12],0x0
	ret
	.align	1
	.global	dmgop_SET_0_E
dmgop_SET_0_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xbset	[%r12+4],0x0
	bset	[%r12],0x0
	ret
	.align	1
	.global	dmgop_SET_0_H
dmgop_SET_0_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xbset	[%r12+7],0x0
	bset	[%r12],0x0
	ret
	.align	1
	.global	dmgop_SET_0_L
dmgop_SET_0_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xbset	[%r12+6],0x0
	bset	[%r12],0x0
	ret
	.align	1
	.global	dmgop_SET_0_IHLI
dmgop_SET_0_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	or	%r10,0x1	; 	xoor	%r10,%r10,0x00000001
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ld.ub	%r10,%r10
	ext	0x1c		; 	xld.w	%r11,[%r0+28]
	ld.w	%r11,[%r0]
	ld.w	%r12,%r0
	ld.w	%r14,%r10
	call	%r11
	popn	%r0
	ret
	.align	1
	.global	dmgop_SET_0_A
dmgop_SET_0_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xbset	[%r12+1],0x0
	bset	[%r12],0x0
	ret
	.align	1
	.global	dmgop_SET_1_B
dmgop_SET_1_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xbset	[%r12+3],0x1
	bset	[%r12],0x1
	ret
	.align	1
	.global	dmgop_SET_1_C
dmgop_SET_1_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xbset	[%r12+2],0x1
	bset	[%r12],0x1
	ret
	.align	1
	.global	dmgop_SET_1_D
dmgop_SET_1_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xbset	[%r12+5],0x1
	bset	[%r12],0x1
	ret
	.align	1
	.global	dmgop_SET_1_E
dmgop_SET_1_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xbset	[%r12+4],0x1
	bset	[%r12],0x1
	ret
	.align	1
	.global	dmgop_SET_1_H
dmgop_SET_1_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xbset	[%r12+7],0x1
	bset	[%r12],0x1
	ret
	.align	1
	.global	dmgop_SET_1_L
dmgop_SET_1_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xbset	[%r12+6],0x1
	bset	[%r12],0x1
	ret
	.align	1
	.global	dmgop_SET_1_IHLI
dmgop_SET_1_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	or	%r10,0x2	; 	xoor	%r10,%r10,0x00000002
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ld.ub	%r10,%r10
	ext	0x1c		; 	xld.w	%r11,[%r0+28]
	ld.w	%r11,[%r0]
	ld.w	%r12,%r0
	ld.w	%r14,%r10
	call	%r11
	popn	%r0
	ret
	.align	1
	.global	dmgop_SET_1_A
dmgop_SET_1_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xbset	[%r12+1],0x1
	bset	[%r12],0x1
	ret
	.align	1
	.global	dmgop_SET_2_B
dmgop_SET_2_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xbset	[%r12+3],0x2
	bset	[%r12],0x2
	ret
	.align	1
	.global	dmgop_SET_2_C
dmgop_SET_2_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xbset	[%r12+2],0x2
	bset	[%r12],0x2
	ret
	.align	1
	.global	dmgop_SET_2_D
dmgop_SET_2_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xbset	[%r12+5],0x2
	bset	[%r12],0x2
	ret
	.align	1
	.global	dmgop_SET_2_E
dmgop_SET_2_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xbset	[%r12+4],0x2
	bset	[%r12],0x2
	ret
	.align	1
	.global	dmgop_SET_2_H
dmgop_SET_2_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xbset	[%r12+7],0x2
	bset	[%r12],0x2
	ret
	.align	1
	.global	dmgop_SET_2_L
dmgop_SET_2_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xbset	[%r12+6],0x2
	bset	[%r12],0x2
	ret
	.align	1
	.global	dmgop_SET_2_IHLI
dmgop_SET_2_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	or	%r10,0x4	; 	xoor	%r10,%r10,0x00000004
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ld.ub	%r10,%r10
	ext	0x1c		; 	xld.w	%r11,[%r0+28]
	ld.w	%r11,[%r0]
	ld.w	%r12,%r0
	ld.w	%r14,%r10
	call	%r11
	popn	%r0
	ret
	.align	1
	.global	dmgop_SET_2_A
dmgop_SET_2_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xbset	[%r12+1],0x2
	bset	[%r12],0x2
	ret
	.align	1
	.global	dmgop_SET_3_B
dmgop_SET_3_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xbset	[%r12+3],0x3
	bset	[%r12],0x3
	ret
	.align	1
	.global	dmgop_SET_3_C
dmgop_SET_3_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xbset	[%r12+2],0x3
	bset	[%r12],0x3
	ret
	.align	1
	.global	dmgop_SET_3_D
dmgop_SET_3_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xbset	[%r12+5],0x3
	bset	[%r12],0x3
	ret
	.align	1
	.global	dmgop_SET_3_E
dmgop_SET_3_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xbset	[%r12+4],0x3
	bset	[%r12],0x3
	ret
	.align	1
	.global	dmgop_SET_3_H
dmgop_SET_3_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xbset	[%r12+7],0x3
	bset	[%r12],0x3
	ret
	.align	1
	.global	dmgop_SET_3_L
dmgop_SET_3_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xbset	[%r12+6],0x3
	bset	[%r12],0x3
	ret
	.align	1
	.global	dmgop_SET_3_IHLI
dmgop_SET_3_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	or	%r10,0x8	; 	xoor	%r10,%r10,0x00000008
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ld.ub	%r10,%r10
	ext	0x1c		; 	xld.w	%r11,[%r0+28]
	ld.w	%r11,[%r0]
	ld.w	%r12,%r0
	ld.w	%r14,%r10
	call	%r11
	popn	%r0
	ret
	.align	1
	.global	dmgop_SET_3_A
dmgop_SET_3_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xbset	[%r12+1],0x3
	bset	[%r12],0x3
	ret
	.align	1
	.global	dmgop_SET_4_B
dmgop_SET_4_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xbset	[%r12+3],0x4
	bset	[%r12],0x4
	ret
	.align	1
	.global	dmgop_SET_4_C
dmgop_SET_4_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xbset	[%r12+2],0x4
	bset	[%r12],0x4
	ret
	.align	1
	.global	dmgop_SET_4_D
dmgop_SET_4_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xbset	[%r12+5],0x4
	bset	[%r12],0x4
	ret
	.align	1
	.global	dmgop_SET_4_E
dmgop_SET_4_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xbset	[%r12+4],0x4
	bset	[%r12],0x4
	ret
	.align	1
	.global	dmgop_SET_4_H
dmgop_SET_4_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xbset	[%r12+7],0x4
	bset	[%r12],0x4
	ret
	.align	1
	.global	dmgop_SET_4_L
dmgop_SET_4_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xbset	[%r12+6],0x4
	bset	[%r12],0x4
	ret
	.align	1
	.global	dmgop_SET_4_IHLI
dmgop_SET_4_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	or	%r10,0x10	; 	xoor	%r10,%r10,0x00000010
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ld.ub	%r10,%r10
	ext	0x1c		; 	xld.w	%r11,[%r0+28]
	ld.w	%r11,[%r0]
	ld.w	%r12,%r0
	ld.w	%r14,%r10
	call	%r11
	popn	%r0
	ret
	.align	1
	.global	dmgop_SET_4_A
dmgop_SET_4_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xbset	[%r12+1],0x4
	bset	[%r12],0x4
	ret
	.align	1
	.global	dmgop_SET_5_B
dmgop_SET_5_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xbset	[%r12+3],0x5
	bset	[%r12],0x5
	ret
	.align	1
	.global	dmgop_SET_5_C
dmgop_SET_5_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xbset	[%r12+2],0x5
	bset	[%r12],0x5
	ret
	.align	1
	.global	dmgop_SET_5_D
dmgop_SET_5_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xbset	[%r12+5],0x5
	bset	[%r12],0x5
	ret
	.align	1
	.global	dmgop_SET_5_E
dmgop_SET_5_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xbset	[%r12+4],0x5
	bset	[%r12],0x5
	ret
	.align	1
	.global	dmgop_SET_5_H
dmgop_SET_5_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xbset	[%r12+7],0x5
	bset	[%r12],0x5
	ret
	.align	1
	.global	dmgop_SET_5_L
dmgop_SET_5_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xbset	[%r12+6],0x5
	bset	[%r12],0x5
	ret
	.align	1
	.global	dmgop_SET_5_IHLI
dmgop_SET_5_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x0		; 	xoor	%r10,%r10,0x00000020
	or	%r10,0x20
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ld.ub	%r10,%r10
	ext	0x1c		; 	xld.w	%r11,[%r0+28]
	ld.w	%r11,[%r0]
	ld.w	%r12,%r0
	ld.w	%r14,%r10
	call	%r11
	popn	%r0
	ret
	.align	1
	.global	dmgop_SET_5_A
dmgop_SET_5_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xbset	[%r12+1],0x5
	bset	[%r12],0x5
	ret
	.align	1
	.global	dmgop_SET_6_B
dmgop_SET_6_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xbset	[%r12+3],0x6
	bset	[%r12],0x6
	ret
	.align	1
	.global	dmgop_SET_6_C
dmgop_SET_6_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xbset	[%r12+2],0x6
	bset	[%r12],0x6
	ret
	.align	1
	.global	dmgop_SET_6_D
dmgop_SET_6_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xbset	[%r12+5],0x6
	bset	[%r12],0x6
	ret
	.align	1
	.global	dmgop_SET_6_E
dmgop_SET_6_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xbset	[%r12+4],0x6
	bset	[%r12],0x6
	ret
	.align	1
	.global	dmgop_SET_6_H
dmgop_SET_6_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xbset	[%r12+7],0x6
	bset	[%r12],0x6
	ret
	.align	1
	.global	dmgop_SET_6_L
dmgop_SET_6_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xbset	[%r12+6],0x6
	bset	[%r12],0x6
	ret
	.align	1
	.global	dmgop_SET_6_IHLI
dmgop_SET_6_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x1		; 	xoor	%r10,%r10,0x00000040
	or	%r10,0x0
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ld.ub	%r10,%r10
	ext	0x1c		; 	xld.w	%r11,[%r0+28]
	ld.w	%r11,[%r0]
	ld.w	%r12,%r0
	ld.w	%r14,%r10
	call	%r11
	popn	%r0
	ret
	.align	1
	.global	dmgop_SET_6_A
dmgop_SET_6_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xbset	[%r12+1],0x6
	bset	[%r12],0x6
	ret
	.align	1
	.global	dmgop_SET_7_B
dmgop_SET_7_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xbset	[%r12+3],0x7
	bset	[%r12],0x7
	ret
	.align	1
	.global	dmgop_SET_7_C
dmgop_SET_7_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xbset	[%r12+2],0x7
	bset	[%r12],0x7
	ret
	.align	1
	.global	dmgop_SET_7_D
dmgop_SET_7_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xbset	[%r12+5],0x7
	bset	[%r12],0x7
	ret
	.align	1
	.global	dmgop_SET_7_E
dmgop_SET_7_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xbset	[%r12+4],0x7
	bset	[%r12],0x7
	ret
	.align	1
	.global	dmgop_SET_7_H
dmgop_SET_7_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xbset	[%r12+7],0x7
	bset	[%r12],0x7
	ret
	.align	1
	.global	dmgop_SET_7_L
dmgop_SET_7_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xbset	[%r12+6],0x7
	bset	[%r12],0x7
	ret
	.align	1
	.global	dmgop_SET_7_IHLI
dmgop_SET_7_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x2		; 	xoor	%r10,%r10,0x00000080
	or	%r10,0x0
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ld.ub	%r10,%r10
	ext	0x1c		; 	xld.w	%r11,[%r0+28]
	ld.w	%r11,[%r0]
	ld.w	%r12,%r0
	ld.w	%r14,%r10
	call	%r11
	popn	%r0
	ret
	.align	1
	.global	dmgop_SET_7_A
dmgop_SET_7_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xbset	[%r12+1],0x7
	bset	[%r12],0x7
	ret
	.align	1
	.global	dmgop_RES_0_B
dmgop_RES_0_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xbclr	[%r12+3],0x0
	bclr	[%r12],0x0
	ret
	.align	1
	.global	dmgop_RES_0_C
dmgop_RES_0_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xbclr	[%r12+2],0x0
	bclr	[%r12],0x0
	ret
	.align	1
	.global	dmgop_RES_0_D
dmgop_RES_0_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xbclr	[%r12+5],0x0
	bclr	[%r12],0x0
	ret
	.align	1
	.global	dmgop_RES_0_E
dmgop_RES_0_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xbclr	[%r12+4],0x0
	bclr	[%r12],0x0
	ret
	.align	1
	.global	dmgop_RES_0_H
dmgop_RES_0_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xbclr	[%r12+7],0x0
	bclr	[%r12],0x0
	ret
	.align	1
	.global	dmgop_RES_0_L
dmgop_RES_0_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xbclr	[%r12+6],0x0
	bclr	[%r12],0x0
	ret
	.align	1
	.global	dmgop_RES_0_IHLI
dmgop_RES_0_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x1c		; 	xld.w	%r11,[%r0+28]
	ld.w	%r11,[%r0]
	ld.w	%r12,%r0
	ld.w	%r14,%r10
	ext	0x3		; 	xand	%r14,%r14,0x000000fe
	and	%r14,0x3e
	call	%r11
	popn	%r0
	ret
	.align	1
	.global	dmgop_RES_0_A
dmgop_RES_0_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xbclr	[%r12+1],0x0
	bclr	[%r12],0x0
	ret
	.align	1
	.global	dmgop_RES_1_B
dmgop_RES_1_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xbclr	[%r12+3],0x1
	bclr	[%r12],0x1
	ret
	.align	1
	.global	dmgop_RES_1_C
dmgop_RES_1_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xbclr	[%r12+2],0x1
	bclr	[%r12],0x1
	ret
	.align	1
	.global	dmgop_RES_1_D
dmgop_RES_1_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xbclr	[%r12+5],0x1
	bclr	[%r12],0x1
	ret
	.align	1
	.global	dmgop_RES_1_E
dmgop_RES_1_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xbclr	[%r12+4],0x1
	bclr	[%r12],0x1
	ret
	.align	1
	.global	dmgop_RES_1_H
dmgop_RES_1_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xbclr	[%r12+7],0x1
	bclr	[%r12],0x1
	ret
	.align	1
	.global	dmgop_RES_1_L
dmgop_RES_1_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xbclr	[%r12+6],0x1
	bclr	[%r12],0x1
	ret
	.align	1
	.global	dmgop_RES_1_IHLI
dmgop_RES_1_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x1c		; 	xld.w	%r11,[%r0+28]
	ld.w	%r11,[%r0]
	ld.w	%r12,%r0
	ld.w	%r14,%r10
	ext	0x3		; 	xand	%r14,%r14,0x000000fd
	and	%r14,0x3d
	call	%r11
	popn	%r0
	ret
	.align	1
	.global	dmgop_RES_1_A
dmgop_RES_1_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xbclr	[%r12+1],0x1
	bclr	[%r12],0x1
	ret
	.align	1
	.global	dmgop_RES_2_B
dmgop_RES_2_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xbclr	[%r12+3],0x2
	bclr	[%r12],0x2
	ret
	.align	1
	.global	dmgop_RES_2_C
dmgop_RES_2_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xbclr	[%r12+2],0x2
	bclr	[%r12],0x2
	ret
	.align	1
	.global	dmgop_RES_2_D
dmgop_RES_2_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xbclr	[%r12+5],0x2
	bclr	[%r12],0x2
	ret
	.align	1
	.global	dmgop_RES_2_E
dmgop_RES_2_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xbclr	[%r12+4],0x2
	bclr	[%r12],0x2
	ret
	.align	1
	.global	dmgop_RES_2_H
dmgop_RES_2_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xbclr	[%r12+7],0x2
	bclr	[%r12],0x2
	ret
	.align	1
	.global	dmgop_RES_2_L
dmgop_RES_2_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xbclr	[%r12+6],0x2
	bclr	[%r12],0x2
	ret
	.align	1
	.global	dmgop_RES_2_IHLI
dmgop_RES_2_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x1c		; 	xld.w	%r11,[%r0+28]
	ld.w	%r11,[%r0]
	ld.w	%r12,%r0
	ld.w	%r14,%r10
	ext	0x3		; 	xand	%r14,%r14,0x000000fb
	and	%r14,0x3b
	call	%r11
	popn	%r0
	ret
	.align	1
	.global	dmgop_RES_2_A
dmgop_RES_2_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xbclr	[%r12+1],0x2
	bclr	[%r12],0x2
	ret
	.align	1
	.global	dmgop_RES_3_B
dmgop_RES_3_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xbclr	[%r12+3],0x3
	bclr	[%r12],0x3
	ret
	.align	1
	.global	dmgop_RES_3_C
dmgop_RES_3_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xbclr	[%r12+2],0x3
	bclr	[%r12],0x3
	ret
	.align	1
	.global	dmgop_RES_3_D
dmgop_RES_3_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xbclr	[%r12+5],0x3
	bclr	[%r12],0x3
	ret
	.align	1
	.global	dmgop_RES_3_E
dmgop_RES_3_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xbclr	[%r12+4],0x3
	bclr	[%r12],0x3
	ret
	.align	1
	.global	dmgop_RES_3_H
dmgop_RES_3_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xbclr	[%r12+7],0x3
	bclr	[%r12],0x3
	ret
	.align	1
	.global	dmgop_RES_3_L
dmgop_RES_3_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xbclr	[%r12+6],0x3
	bclr	[%r12],0x3
	ret
	.align	1
	.global	dmgop_RES_3_IHLI
dmgop_RES_3_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x1c		; 	xld.w	%r11,[%r0+28]
	ld.w	%r11,[%r0]
	ld.w	%r12,%r0
	ld.w	%r14,%r10
	ext	0x3		; 	xand	%r14,%r14,0x000000f7
	and	%r14,0x37
	call	%r11
	popn	%r0
	ret
	.align	1
	.global	dmgop_RES_3_A
dmgop_RES_3_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xbclr	[%r12+1],0x3
	bclr	[%r12],0x3
	ret
	.align	1
	.global	dmgop_RES_4_B
dmgop_RES_4_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xbclr	[%r12+3],0x4
	bclr	[%r12],0x4
	ret
	.align	1
	.global	dmgop_RES_4_C
dmgop_RES_4_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xbclr	[%r12+2],0x4
	bclr	[%r12],0x4
	ret
	.align	1
	.global	dmgop_RES_4_D
dmgop_RES_4_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xbclr	[%r12+5],0x4
	bclr	[%r12],0x4
	ret
	.align	1
	.global	dmgop_RES_4_E
dmgop_RES_4_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xbclr	[%r12+4],0x4
	bclr	[%r12],0x4
	ret
	.align	1
	.global	dmgop_RES_4_H
dmgop_RES_4_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xbclr	[%r12+7],0x4
	bclr	[%r12],0x4
	ret
	.align	1
	.global	dmgop_RES_4_L
dmgop_RES_4_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xbclr	[%r12+6],0x4
	bclr	[%r12],0x4
	ret
	.align	1
	.global	dmgop_RES_4_IHLI
dmgop_RES_4_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x1c		; 	xld.w	%r11,[%r0+28]
	ld.w	%r11,[%r0]
	ld.w	%r12,%r0
	ld.w	%r14,%r10
	ext	0x3		; 	xand	%r14,%r14,0x000000ef
	and	%r14,0x2f
	call	%r11
	popn	%r0
	ret
	.align	1
	.global	dmgop_RES_4_A
dmgop_RES_4_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xbclr	[%r12+1],0x4
	bclr	[%r12],0x4
	ret
	.align	1
	.global	dmgop_RES_5_B
dmgop_RES_5_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xbclr	[%r12+3],0x5
	bclr	[%r12],0x5
	ret
	.align	1
	.global	dmgop_RES_5_C
dmgop_RES_5_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xbclr	[%r12+2],0x5
	bclr	[%r12],0x5
	ret
	.align	1
	.global	dmgop_RES_5_D
dmgop_RES_5_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xbclr	[%r12+5],0x5
	bclr	[%r12],0x5
	ret
	.align	1
	.global	dmgop_RES_5_E
dmgop_RES_5_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xbclr	[%r12+4],0x5
	bclr	[%r12],0x5
	ret
	.align	1
	.global	dmgop_RES_5_H
dmgop_RES_5_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xbclr	[%r12+7],0x5
	bclr	[%r12],0x5
	ret
	.align	1
	.global	dmgop_RES_5_L
dmgop_RES_5_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xbclr	[%r12+6],0x5
	bclr	[%r12],0x5
	ret
	.align	1
	.global	dmgop_RES_5_IHLI
dmgop_RES_5_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x1c		; 	xld.w	%r11,[%r0+28]
	ld.w	%r11,[%r0]
	ld.w	%r12,%r0
	ld.w	%r14,%r10
	ext	0x3		; 	xand	%r14,%r14,0x000000df
	and	%r14,0x1f
	call	%r11
	popn	%r0
	ret
	.align	1
	.global	dmgop_RES_5_A
dmgop_RES_5_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xbclr	[%r12+1],0x5
	bclr	[%r12],0x5
	ret
	.align	1
	.global	dmgop_RES_6_B
dmgop_RES_6_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xbclr	[%r12+3],0x6
	bclr	[%r12],0x6
	ret
	.align	1
	.global	dmgop_RES_6_C
dmgop_RES_6_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xbclr	[%r12+2],0x6
	bclr	[%r12],0x6
	ret
	.align	1
	.global	dmgop_RES_6_D
dmgop_RES_6_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xbclr	[%r12+5],0x6
	bclr	[%r12],0x6
	ret
	.align	1
	.global	dmgop_RES_6_E
dmgop_RES_6_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xbclr	[%r12+4],0x6
	bclr	[%r12],0x6
	ret
	.align	1
	.global	dmgop_RES_6_H
dmgop_RES_6_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xbclr	[%r12+7],0x6
	bclr	[%r12],0x6
	ret
	.align	1
	.global	dmgop_RES_6_L
dmgop_RES_6_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xbclr	[%r12+6],0x6
	bclr	[%r12],0x6
	ret
	.align	1
	.global	dmgop_RES_6_IHLI
dmgop_RES_6_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x1c		; 	xld.w	%r11,[%r0+28]
	ld.w	%r11,[%r0]
	ld.w	%r12,%r0
	ld.w	%r14,%r10
	ext	0x2		; 	xand	%r14,%r14,0x000000bf
	and	%r14,0x3f
	call	%r11
	popn	%r0
	ret
	.align	1
	.global	dmgop_RES_6_A
dmgop_RES_6_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xbclr	[%r12+1],0x6
	bclr	[%r12],0x6
	ret
	.align	1
	.global	dmgop_RES_7_B
dmgop_RES_7_B:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x3		; 	xbclr	[%r12+3],0x7
	bclr	[%r12],0x7
	ret
	.align	1
	.global	dmgop_RES_7_C
dmgop_RES_7_C:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x2		; 	xbclr	[%r12+2],0x7
	bclr	[%r12],0x7
	ret
	.align	1
	.global	dmgop_RES_7_D
dmgop_RES_7_D:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x5		; 	xbclr	[%r12+5],0x7
	bclr	[%r12],0x7
	ret
	.align	1
	.global	dmgop_RES_7_E
dmgop_RES_7_E:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x4		; 	xbclr	[%r12+4],0x7
	bclr	[%r12],0x7
	ret
	.align	1
	.global	dmgop_RES_7_H
dmgop_RES_7_H:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x7		; 	xbclr	[%r12+7],0x7
	bclr	[%r12],0x7
	ret
	.align	1
	.global	dmgop_RES_7_L
dmgop_RES_7_L:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x6		; 	xbclr	[%r12+6],0x7
	bclr	[%r12],0x7
	ret
	.align	1
	.global	dmgop_RES_7_IHLI
dmgop_RES_7_IHLI:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x6		; 	xld.uh	%r13,[%r0+6]
	ld.uh	%r13,[%r0]
	ext	0x1c		; 	xld.w	%r11,[%r0+28]
	ld.w	%r11,[%r0]
	ld.w	%r12,%r0
	ld.w	%r14,%r10
	ext	0x1		; 	xand	%r14,%r14,0x0000007f
	and	%r14,0x3f
	call	%r11
	popn	%r0
	ret
	.align	1
	.global	dmgop_RES_7_A
dmgop_RES_7_A:
;	.frame	%sp,4,$31		# vars= 0, regs= 1/0, args= 0, extra= 0
;	.mask	0x80000000,-4
;	.fmask	0x00000000,0
	ext	0x1		; 	xbclr	[%r12+1],0x7
	bclr	[%r12],0x7
	ret
	.align	1
	.global	dmgop_RST_00H
dmgop_RST_00H:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x8		; 	xld.uh	%r13,[%r0+8]
	ld.uh	%r13,[%r0]
	sub	%r13,0x2	; 	xsub	%r13,%r13,2
	ext	0x8		; 	xld.h	[%r0+8],%r13
	ld.h	[%r0],%r13
	ld.uh	%r13,%r13
	ext	0xa		; 	xld.ub	%r14,[%r0+10]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x8		; 	xld.uh	%r13,[%r0+8]
	ld.uh	%r13,[%r0]
	add	%r13,0x1	; 	xadd	%r13,%r13,1
	ld.uh	%r13,%r13
	ext	0xb		; 	xld.ub	%r14,[%r0+11]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	ld.w	%r11,0x0
	ext	0xa		; 	xld.h	[%r0+10],%r11
	ld.h	[%r0],%r11
	popn	%r0
	ret
	.align	1
	.global	dmgop_RST_08H
dmgop_RST_08H:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x8		; 	xld.uh	%r13,[%r0+8]
	ld.uh	%r13,[%r0]
	sub	%r13,0x2	; 	xsub	%r13,%r13,2
	ext	0x8		; 	xld.h	[%r0+8],%r13
	ld.h	[%r0],%r13
	ld.uh	%r13,%r13
	ext	0xa		; 	xld.ub	%r14,[%r0+10]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x8		; 	xld.uh	%r13,[%r0+8]
	ld.uh	%r13,[%r0]
	add	%r13,0x1	; 	xadd	%r13,%r13,1
	ld.uh	%r13,%r13
	ext	0xb		; 	xld.ub	%r14,[%r0+11]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	ld.w	%r10,0x8	; 	xld.w	%r10,0x00000008		; 8
	ext	0xa		; 	xld.h	[%r0+10],%r10
	ld.h	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RST_10H
dmgop_RST_10H:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x8		; 	xld.uh	%r13,[%r0+8]
	ld.uh	%r13,[%r0]
	sub	%r13,0x2	; 	xsub	%r13,%r13,2
	ext	0x8		; 	xld.h	[%r0+8],%r13
	ld.h	[%r0],%r13
	ld.uh	%r13,%r13
	ext	0xa		; 	xld.ub	%r14,[%r0+10]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x8		; 	xld.uh	%r13,[%r0+8]
	ld.uh	%r13,[%r0]
	add	%r13,0x1	; 	xadd	%r13,%r13,1
	ld.uh	%r13,%r13
	ext	0xb		; 	xld.ub	%r14,[%r0+11]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	ld.w	%r10,0x10	; 	xld.w	%r10,0x00000010		; 16
	ext	0xa		; 	xld.h	[%r0+10],%r10
	ld.h	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RST_18H
dmgop_RST_18H:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x8		; 	xld.uh	%r13,[%r0+8]
	ld.uh	%r13,[%r0]
	sub	%r13,0x2	; 	xsub	%r13,%r13,2
	ext	0x8		; 	xld.h	[%r0+8],%r13
	ld.h	[%r0],%r13
	ld.uh	%r13,%r13
	ext	0xa		; 	xld.ub	%r14,[%r0+10]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x8		; 	xld.uh	%r13,[%r0+8]
	ld.uh	%r13,[%r0]
	add	%r13,0x1	; 	xadd	%r13,%r13,1
	ld.uh	%r13,%r13
	ext	0xb		; 	xld.ub	%r14,[%r0+11]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	ld.w	%r10,0x18	; 	xld.w	%r10,0x00000018		; 24
	ext	0xa		; 	xld.h	[%r0+10],%r10
	ld.h	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RST_20H
dmgop_RST_20H:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x8		; 	xld.uh	%r13,[%r0+8]
	ld.uh	%r13,[%r0]
	sub	%r13,0x2	; 	xsub	%r13,%r13,2
	ext	0x8		; 	xld.h	[%r0+8],%r13
	ld.h	[%r0],%r13
	ld.uh	%r13,%r13
	ext	0xa		; 	xld.ub	%r14,[%r0+10]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x8		; 	xld.uh	%r13,[%r0+8]
	ld.uh	%r13,[%r0]
	add	%r13,0x1	; 	xadd	%r13,%r13,1
	ld.uh	%r13,%r13
	ext	0xb		; 	xld.ub	%r14,[%r0+11]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	ext	0x0		; 	xld.w	%r10,0x00000020		; 32
	ld.w	%r10,0x20
	ext	0xa		; 	xld.h	[%r0+10],%r10
	ld.h	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RST_28H
dmgop_RST_28H:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x8		; 	xld.uh	%r13,[%r0+8]
	ld.uh	%r13,[%r0]
	sub	%r13,0x2	; 	xsub	%r13,%r13,2
	ext	0x8		; 	xld.h	[%r0+8],%r13
	ld.h	[%r0],%r13
	ld.uh	%r13,%r13
	ext	0xa		; 	xld.ub	%r14,[%r0+10]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x8		; 	xld.uh	%r13,[%r0+8]
	ld.uh	%r13,[%r0]
	add	%r13,0x1	; 	xadd	%r13,%r13,1
	ld.uh	%r13,%r13
	ext	0xb		; 	xld.ub	%r14,[%r0+11]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	ext	0x0		; 	xld.w	%r10,0x00000028		; 40
	ld.w	%r10,0x28
	ext	0xa		; 	xld.h	[%r0+10],%r10
	ld.h	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RST_30H
dmgop_RST_30H:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x8		; 	xld.uh	%r13,[%r0+8]
	ld.uh	%r13,[%r0]
	sub	%r13,0x2	; 	xsub	%r13,%r13,2
	ext	0x8		; 	xld.h	[%r0+8],%r13
	ld.h	[%r0],%r13
	ld.uh	%r13,%r13
	ext	0xa		; 	xld.ub	%r14,[%r0+10]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x8		; 	xld.uh	%r13,[%r0+8]
	ld.uh	%r13,[%r0]
	add	%r13,0x1	; 	xadd	%r13,%r13,1
	ld.uh	%r13,%r13
	ext	0xb		; 	xld.ub	%r14,[%r0+11]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	ext	0x0		; 	xld.w	%r10,0x00000030		; 48
	ld.w	%r10,0x30
	ext	0xa		; 	xld.h	[%r0+10],%r10
	ld.h	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RST_38H
dmgop_RST_38H:
;	.frame	%sp,8,$31		# vars= 0, regs= 2/0, args= 0, extra= 0
;	.mask	0x80010000,-4
;	.fmask	0x00000000,0
	pushn	%r0
	ld.w	%r0,%r12
	ext	0x8		; 	xld.uh	%r13,[%r0+8]
	ld.uh	%r13,[%r0]
	sub	%r13,0x2	; 	xsub	%r13,%r13,2
	ext	0x8		; 	xld.h	[%r0+8],%r13
	ld.h	[%r0],%r13
	ld.uh	%r13,%r13
	ext	0xa		; 	xld.ub	%r14,[%r0+10]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	call	%r10
	ext	0x8		; 	xld.uh	%r13,[%r0+8]
	ld.uh	%r13,[%r0]
	add	%r13,0x1	; 	xadd	%r13,%r13,1
	ld.uh	%r13,%r13
	ext	0xb		; 	xld.ub	%r14,[%r0+11]
	ld.ub	%r14,[%r0]
	ext	0x1c		; 	xld.w	%r10,[%r0+28]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	ext	0x0		; 	xld.w	%r10,0x00000038		; 56
	ld.w	%r10,0x38
	ext	0xa		; 	xld.h	[%r0+10],%r10
	ld.h	[%r0],%r10
	popn	%r0
	ret
	.align	1
	.global	dmgop_RETI
dmgop_RETI:
;	.frame	%sp,12,$31		# vars= 0, regs= 3/0, args= 0, extra= 0
;	.mask	0x80030000,-4
;	.fmask	0x00000000,0
	pushn	%r1
	ld.w	%r0,%r12
	ext	0x8		; 	xld.uh	%r13,[%r0+8]
	ld.uh	%r13,[%r0]
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	call	%r10
	ld.w	%r1,%r10
	ext	0x8		; 	xld.uh	%r13,[%r0+8]
	ld.uh	%r13,[%r0]
	add	%r13,0x1	; 	xadd	%r13,%r13,1
	ld.uh	%r13,%r13
	ext	0x18		; 	xld.w	%r10,[%r0+24]
	ld.w	%r10,[%r0]
	ld.w	%r12,%r0
	call	%r10
	ld.ub	%r1,%r1
	ld.ub	%r10,%r10
	sll	%r10,0x8	; 	xsll	%r10,8
	or	%r1,%r10
	ext	0xa		; 	xld.h	[%r0+10],%r1
	ld.h	[%r0],%r1
	ext	0x8		; 	xld.uh	%r10,[%r0+8]
	ld.uh	%r10,[%r0]
	add	%r10,0x2	; 	xadd	%r10,%r10,2
	ext	0x8		; 	xld.h	[%r0+8],%r10
	ld.h	[%r0],%r10
	ld.w	%r10,0x1	; 	xld.w	%r10,0x00000001		; 1
	ext	0xc		; 	xld.b	[%r0+12],%r10
	ld.b	[%r0],%r10
	ld.w	%r12,%r0
	ext	dmg_check_pending@rm	; 	xcall	dmg_check_pending
	call	dmg_check_pending@rl
	popn	%r1
	ret

