	.file	"extr_m68kopnz.c_m68k_op_nbcd_8_d.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	m68k_op_nbcd_8_d
	.type	m68k_op_nbcd_8_d, @function
m68k_op_nbcd_8_d:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	eax, eax
	mov	ebp, 154
	sub	ebp, DWORD PTR DY[rip]
	call	XFLAG_AS_1@PLT
	mov	edi, ebp
	sub	edi, eax
	call	MASK_OUT_ABOVE_8@PLT
	mov	ebp, eax
	cmp	eax, 154
	je	.L2
	not	eax
	mov	edx, ebp
	mov	DWORD PTR FLAG_V[rip], eax
	mov	eax, ebp
	and	edx, 15
	and	eax, 240
	add	eax, 16
	cmp	edx, 10
	cmove	ebp, eax
	mov	edi, ebp
	call	MASK_OUT_ABOVE_8@PLT
	mov	edi, DWORD PTR DY[rip]
	and	DWORD PTR FLAG_V[rip], eax
	mov	ebp, eax
	call	MASK_OUT_BELOW_8@PLT
	mov	edi, ebp
	or	DWORD PTR FLAG_Z[rip], ebp
	or	eax, ebp
	mov	DWORD PTR DY[rip], eax
	mov	eax, DWORD PTR CFLAG_SET[rip]
	mov	DWORD PTR FLAG_C[rip], eax
	mov	eax, DWORD PTR XFLAG_SET[rip]
	mov	DWORD PTR FLAG_X[rip], eax
	call	NFLAG_8@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	DWORD PTR FLAG_N[rip], eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR VFLAG_CLEAR[rip]
	mov	edi, ebp
	mov	DWORD PTR FLAG_V[rip], eax
	mov	eax, DWORD PTR CFLAG_CLEAR[rip]
	mov	DWORD PTR FLAG_C[rip], eax
	mov	eax, DWORD PTR XFLAG_CLEAR[rip]
	mov	DWORD PTR FLAG_X[rip], eax
	call	NFLAG_8@PLT
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	DWORD PTR FLAG_N[rip], eax
	ret
	.cfi_endproc
.LFE0:
	.size	m68k_op_nbcd_8_d, .-m68k_op_nbcd_8_d
	.comm	XFLAG_SET,4,4
	.comm	XFLAG_CLEAR,4,4
	.comm	VFLAG_CLEAR,4,4
	.comm	FLAG_Z,4,4
	.comm	FLAG_X,4,4
	.comm	FLAG_V,4,4
	.comm	FLAG_N,4,4
	.comm	FLAG_C,4,4
	.comm	DY,4,4
	.comm	CFLAG_SET,4,4
	.comm	CFLAG_CLEAR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_m68kopnz.c_m68k_op_nbcd_8_d.c"
	.text
	.align	2
	.global	m68k_op_nbcd_8_d
	.syntax unified
	.arm
	.fpu softvfp
	.type	m68k_op_nbcd_8_d, %function
m68k_op_nbcd_8_d:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L7
	ldr	r4, [r5]
	bl	XFLAG_AS_1
	rsb	r4, r4, #154
	sub	r0, r4, r0
	bl	MASK_OUT_ABOVE_8
	cmp	r0, #154
	mov	r4, r0
	beq	.L2
	mvn	r3, r0
	and	r2, r0, #15
	cmp	r2, #10
	andeq	r4, r0, #240
	addeq	r4, r4, #16
	ldr	r6, .L7+4
	mov	r0, r4
	str	r3, [r6]
	bl	MASK_OUT_ABOVE_8
	mov	r4, r0
	ldr	r3, [r6]
	ldr	r0, [r5]
	and	r3, r3, r4
	str	r3, [r6]
	bl	MASK_OUT_BELOW_8
	ldr	r2, .L7+8
	ldr	r1, .L7+12
	ldr	r3, .L7+16
	ldr	ip, [r1]
	ldr	r1, [r3]
	ldr	r3, [r2]
	orr	r0, r0, r4
	orr	r3, r3, r4
	str	r0, [r5]
	str	r3, [r2]
	ldr	r0, .L7+20
	ldr	r3, .L7+24
	str	ip, [r0]
	str	r1, [r3]
.L4:
	mov	r0, r4
	bl	NFLAG_8
	ldr	r3, .L7+28
	str	r0, [r3]
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L7+32
	ldr	r1, .L7+36
	ldr	ip, [r3]
	ldr	r2, .L7+40
	ldr	r3, .L7+4
	ldr	r0, [r1]
	str	ip, [r3]
	ldr	r2, [r2]
	ldr	r1, .L7+20
	ldr	r3, .L7+24
	str	r0, [r1]
	str	r2, [r3]
	b	.L4
.L8:
	.align	2
.L7:
	.word	DY
	.word	FLAG_V
	.word	FLAG_Z
	.word	CFLAG_SET
	.word	XFLAG_SET
	.word	FLAG_C
	.word	FLAG_X
	.word	FLAG_N
	.word	VFLAG_CLEAR
	.word	CFLAG_CLEAR
	.word	XFLAG_CLEAR
	.size	m68k_op_nbcd_8_d, .-m68k_op_nbcd_8_d
	.comm	XFLAG_SET,4,4
	.comm	XFLAG_CLEAR,4,4
	.comm	VFLAG_CLEAR,4,4
	.comm	FLAG_Z,4,4
	.comm	FLAG_X,4,4
	.comm	FLAG_V,4,4
	.comm	FLAG_N,4,4
	.comm	FLAG_C,4,4
	.comm	DY,4,4
	.comm	CFLAG_SET,4,4
	.comm	CFLAG_CLEAR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
