	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m68k_op_sbcd_8_mm_ay7
_m68k_op_sbcd_8_mm_ay7:                 ## @m68k_op_sbcd_8_mm_ay7
	.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
	xorl	%eax, %eax
	callq	_OPER_A7_PD_8
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_EA_AX_PD_8
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_m68ki_read_8
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_LOW_NIBBLE
	movl	%eax, %r13d
	movl	%r15d, %edi
	callq	_LOW_NIBBLE
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_XFLAG_AS_1
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	movl	%r13d, %ecx
	subl	%eax, %ecx
	movq	_VFLAG_CLEAR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_FLAG_V@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
	negl	%eax
	cmpl	$10, %ecx
	leal	-6(%r13,%rax), %r13d
	cmovll	%ecx, %r13d
	movl	%r12d, %edi
	callq	_HIGH_NIBBLE
	movq	%rax, %rbx
	movl	%r15d, %edi
	callq	_HIGH_NIBBLE
	subl	%eax, %ebx
	addl	%r13d, %ebx
	cmpl	$154, %ebx
	jl	LBB0_2
## %bb.1:
	addl	$160, %ebx
	movq	_CFLAG_SET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FLAG_C@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_FLAG_X@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_NFLAG_SET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_FLAG_C@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_FLAG_X@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
LBB0_3:
	movq	_FLAG_N@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	%ebx, %edi
	callq	_MASK_OUT_ABOVE_8
	movq	_FLAG_Z@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
	movl	%r14d, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_m68ki_write_8                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VFLAG_CLEAR,4,2                ## @VFLAG_CLEAR
	.comm	_FLAG_V,4,2                     ## @FLAG_V
	.comm	_CFLAG_SET,8,3                  ## @CFLAG_SET
	.comm	_FLAG_C,8,3                     ## @FLAG_C
	.comm	_FLAG_X,8,3                     ## @FLAG_X
	.comm	_NFLAG_SET,8,3                  ## @NFLAG_SET
	.comm	_FLAG_N,8,3                     ## @FLAG_N
	.comm	_FLAG_Z,4,2                     ## @FLAG_Z
	.no_dead_strip	_m68k_op_sbcd_8_mm_ay7
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m68k_op_sbcd_8_mm_ay7
_m68k_op_sbcd_8_mm_ay7:                 ; @m68k_op_sbcd_8_mm_ay7
	.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
	bl	_OPER_A7_PD_8
	mov	x20, x0
	bl	_EA_AX_PD_8
	mov	x19, x0
	bl	_m68ki_read_8
	mov	x21, x0
	bl	_LOW_NIBBLE
	mov	x22, x0
	mov	x0, x20
	bl	_LOW_NIBBLE
	mov	x23, x0
	bl	_XFLAG_AS_1
	add	w8, w23, w0
	sub	w8, w22, w8
Lloh0:
	adrp	x9, _VFLAG_CLEAR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VFLAG_CLEAR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _FLAG_V@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FLAG_V@GOTPAGEOFF]
Lloh5:
	str	w9, [x10]
	sub	w9, w8, #6
	cmp	w8, #9
	csel	w22, w9, w8, gt
	mov	x0, x21
	bl	_HIGH_NIBBLE
	mov	x21, x0
	mov	x0, x20
	bl	_HIGH_NIBBLE
	sub	w8, w21, w0
	add	w0, w22, w8
	cmp	w0, #154
	b.lt	LBB0_2
; %bb.1:
	add	w0, w0, #160
Lloh6:
	adrp	x8, _CFLAG_SET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CFLAG_SET@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _FLAG_C@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh11:
	str	x8, [x9]
Lloh12:
	adrp	x9, _FLAG_X@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FLAG_X@GOTPAGEOFF]
Lloh14:
	str	x8, [x9]
Lloh15:
	adrp	x8, _NFLAG_SET@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NFLAG_SET@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	b	LBB0_3
LBB0_2:
	mov	x8, #0
Lloh18:
	adrp	x9, _FLAG_C@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh20:
	str	xzr, [x9]
Lloh21:
	adrp	x9, _FLAG_X@GOTPAGE
Lloh22:
	ldr	x9, [x9, _FLAG_X@GOTPAGEOFF]
Lloh23:
	str	xzr, [x9]
LBB0_3:
Lloh24:
	adrp	x9, _FLAG_N@GOTPAGE
Lloh25:
	ldr	x9, [x9, _FLAG_N@GOTPAGEOFF]
Lloh26:
	str	x8, [x9]
	bl	_MASK_OUT_ABOVE_8
	mov	x1, x0
Lloh27:
	adrp	x8, _FLAG_Z@GOTPAGE
Lloh28:
	ldr	x8, [x8, _FLAG_Z@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, w0
	str	w9, [x8]
	mov	x0, x19
	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
	b	_m68ki_write_8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_VFLAG_CLEAR,4,2                ; @VFLAG_CLEAR
	.comm	_FLAG_V,4,2                     ; @FLAG_V
	.comm	_CFLAG_SET,8,3                  ; @CFLAG_SET
	.comm	_FLAG_C,8,3                     ; @FLAG_C
	.comm	_FLAG_X,8,3                     ; @FLAG_X
	.comm	_NFLAG_SET,8,3                  ; @NFLAG_SET
	.comm	_FLAG_N,8,3                     ; @FLAG_N
	.comm	_FLAG_Z,4,2                     ; @FLAG_Z
	.no_dead_strip	_m68k_op_sbcd_8_mm_ay7
.subsections_via_symbols
