	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m68k_op_abcd_8_rr              ## -- Begin function m68k_op_abcd_8_rr
	.p2align	4, 0x90
_m68k_op_abcd_8_rr:                     ## @m68k_op_abcd_8_rr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_DY@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_DX@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r15d, %edi
	callq	_LOW_NIBBLE
	movl	%eax, %r12d
	movl	%r14d, %edi
	callq	_LOW_NIBBLE
	movl	%eax, %ebx
	addl	%r12d, %ebx
	xorl	%eax, %eax
	callq	_XFLAG_AS_1
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rbx,%rax), %ecx
	cmpl	$10, %ecx
	leal	6(%rax,%rbx), %r13d
	cmovll	%ecx, %r13d
	notl	%ecx
	movq	_FLAG_V@GOTPCREL(%rip), %r12
	movl	%ecx, (%r12)
	movl	%r15d, %edi
	callq	_HIGH_NIBBLE
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	_HIGH_NIBBLE
	addl	%ebx, %eax
	leal	(%rax,%r13), %ecx
	xorl	%edx, %edx
	cmpl	$154, %ecx
	setge	%dl
	leal	-160(%r13,%rax), %ebx
	cmovll	%ecx, %ebx
	shll	$8, %edx
	movq	_FLAG_C@GOTPCREL(%rip), %rax
	movl	%edx, (%rax)
	movq	_FLAG_X@GOTPCREL(%rip), %rax
	movl	%edx, (%rax)
	andl	%ebx, (%r12)
	movl	%ebx, %edi
	callq	_NFLAG_8
	movq	_FLAG_N@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%ebx, %edi
	callq	_MASK_OUT_ABOVE_8
	movl	%eax, %ebx
	movq	_FLAG_Z@GOTPCREL(%rip), %rax
	orl	%ebx, (%rax)
	movq	_DX@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_MASK_OUT_BELOW_8
	orl	%ebx, %eax
	movl	%eax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DX,4,2                         ## @DX
	.comm	_DY,4,2                         ## @DY
	.comm	_FLAG_V,4,2                     ## @FLAG_V
	.comm	_FLAG_C,4,2                     ## @FLAG_C
	.comm	_FLAG_X,4,2                     ## @FLAG_X
	.comm	_FLAG_N,4,2                     ## @FLAG_N
	.comm	_FLAG_Z,4,2                     ## @FLAG_Z
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m68k_op_abcd_8_rr              ; -- Begin function m68k_op_abcd_8_rr
	.p2align	2
_m68k_op_abcd_8_rr:                     ; @m68k_op_abcd_8_rr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _DY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DY@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x22, _DX@GOTPAGE
Lloh4:
	ldr	x22, [x22, _DX@GOTPAGEOFF]
	ldr	w20, [x22]
	mov	x0, x19
	bl	_LOW_NIBBLE
	mov	x21, x0
	mov	x0, x20
	bl	_LOW_NIBBLE
	add	w21, w0, w21
	bl	_XFLAG_AS_1
	add	w8, w21, w0
	mvn	w9, w8
Lloh5:
	adrp	x21, _FLAG_V@GOTPAGE
Lloh6:
	ldr	x21, [x21, _FLAG_V@GOTPAGEOFF]
	str	w9, [x21]
	add	w9, w8, #6
	cmp	w8, #9
	csel	w23, w9, w8, gt
	mov	x0, x19
	bl	_HIGH_NIBBLE
	mov	x19, x0
	mov	x0, x20
	bl	_HIGH_NIBBLE
	add	w8, w0, w19
	add	w8, w23, w8
	sub	w9, w8, #160
	cmp	w8, #153
	csel	w19, w9, w8, gt
	cset	w8, gt
	lsl	w8, w8, #8
Lloh7:
	adrp	x9, _FLAG_C@GOTPAGE
Lloh8:
	ldr	x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh9:
	str	w8, [x9]
Lloh10:
	adrp	x9, _FLAG_X@GOTPAGE
Lloh11:
	ldr	x9, [x9, _FLAG_X@GOTPAGEOFF]
Lloh12:
	str	w8, [x9]
	ldr	w8, [x21]
	and	w8, w19, w8
	str	w8, [x21]
	mov	x0, x19
	bl	_NFLAG_8
Lloh13:
	adrp	x8, _FLAG_N@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh15:
	str	w0, [x8]
	mov	x0, x19
	bl	_MASK_OUT_ABOVE_8
	mov	x19, x0
Lloh16:
	adrp	x8, _FLAG_Z@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FLAG_Z@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, w0
	str	w9, [x8]
	ldr	w0, [x22]
	bl	_MASK_OUT_BELOW_8
	orr	w8, w0, w19
	str	w8, [x22]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DX,4,2                         ; @DX
	.comm	_DY,4,2                         ; @DY
	.comm	_FLAG_V,4,2                     ; @FLAG_V
	.comm	_FLAG_C,4,2                     ; @FLAG_C
	.comm	_FLAG_X,4,2                     ; @FLAG_X
	.comm	_FLAG_N,4,2                     ; @FLAG_N
	.comm	_FLAG_Z,4,2                     ; @FLAG_Z
.subsections_via_symbols
