	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m68k_op_lsr_8_r
_m68k_op_lsr_8_r:                       ## @m68k_op_lsr_8_r
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_DX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	$63, %ebx
	movq	_DY@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_MASK_OUT_ABOVE_8
	movl	%eax, %r14d
	movl	%eax, %r15d
	movl	%ebx, %ecx
	sarl	%cl, %r15d
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.1:
	movq	_CYC_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	imull	%ebx, %edi
	callq	_USE_CYCLES
	movl	(%r12), %edi
	cmpl	$8, %ebx
	ja	LBB0_3
## %bb.2:
	callq	_MASK_OUT_BELOW_8
	orl	%r15d, %eax
	movl	%eax, (%r12)
	movb	$9, %cl
	subb	%bl, %cl
	shll	%cl, %r14d
	movq	_FLAG_C@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	movq	_FLAG_X@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	movq	_NFLAG_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FLAG_N@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_5
LBB0_4:
	movq	_CFLAG_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FLAG_C@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%r14d, %edi
	callq	_NFLAG_8
	movq	_FLAG_N@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%r14d, %r15d
	jmp	LBB0_5
LBB0_3:
	andl	$-256, %edi
	movl	%edi, (%r12)
	movq	_XFLAG_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FLAG_X@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_CFLAG_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FLAG_C@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_NFLAG_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FLAG_N@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_ZFLAG_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_5:
	movq	_FLAG_Z@GOTPCREL(%rip), %rax
	movl	%r15d, (%rax)
	movq	_VFLAG_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FLAG_V@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DY,4,2                         ## @DY
	.comm	_DX,4,2                         ## @DX
	.comm	_CYC_SHIFT,4,2                  ## @CYC_SHIFT
	.comm	_FLAG_C,4,2                     ## @FLAG_C
	.comm	_FLAG_X,4,2                     ## @FLAG_X
	.comm	_NFLAG_CLEAR,4,2                ## @NFLAG_CLEAR
	.comm	_FLAG_N,4,2                     ## @FLAG_N
	.comm	_FLAG_Z,4,2                     ## @FLAG_Z
	.comm	_VFLAG_CLEAR,4,2                ## @VFLAG_CLEAR
	.comm	_FLAG_V,4,2                     ## @FLAG_V
	.comm	_XFLAG_CLEAR,4,2                ## @XFLAG_CLEAR
	.comm	_CFLAG_CLEAR,4,2                ## @CFLAG_CLEAR
	.comm	_ZFLAG_SET,4,2                  ## @ZFLAG_SET
	.no_dead_strip	_m68k_op_lsr_8_r
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m68k_op_lsr_8_r
_m68k_op_lsr_8_r:                       ; @m68k_op_lsr_8_r
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _DX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DX@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	and	x20, x22, #0x3f
Lloh3:
	adrp	x21, _DY@GOTPAGE
Lloh4:
	ldr	x21, [x21, _DY@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_MASK_OUT_ABOVE_8
	mov	x19, x0
	cbz	w20, LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _CYC_SHIFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CYC_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mul	w0, w8, w20
	bl	_USE_CYCLES
	ldr	w0, [x21]
	cmp	w20, #8
	b.hi	LBB0_4
; %bb.2:
	asr	w22, w19, w22
	bl	_MASK_OUT_BELOW_8
	orr	w8, w0, w22
	str	w8, [x21]
	mov	w8, #9
	sub	w8, w8, w20
	lsl	w8, w19, w8
Lloh8:
	adrp	x9, _FLAG_C@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh10:
	str	w8, [x9]
Lloh11:
	adrp	x9, _FLAG_X@GOTPAGE
Lloh12:
	ldr	x9, [x9, _FLAG_X@GOTPAGEOFF]
Lloh13:
	str	w8, [x9]
Lloh14:
	adrp	x8, _NFLAG_CLEAR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NFLAG_CLEAR@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _FLAG_N@GOTPAGE
Lloh18:
	ldr	x9, [x9, _FLAG_N@GOTPAGEOFF]
Lloh19:
	str	w8, [x9]
	b	LBB0_5
LBB0_3:
Lloh20:
	adrp	x8, _CFLAG_CLEAR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CFLAG_CLEAR@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _FLAG_C@GOTPAGE
Lloh24:
	ldr	x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh25:
	str	w8, [x9]
	mov	x0, x19
	bl	_NFLAG_8
Lloh26:
	adrp	x8, _FLAG_N@GOTPAGE
Lloh27:
	ldr	x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh28:
	str	w0, [x8]
	mov	x22, x19
	b	LBB0_5
LBB0_4:
	and	w8, w0, #0xffffff00
	str	w8, [x21]
Lloh29:
	adrp	x8, _XFLAG_CLEAR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _XFLAG_CLEAR@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _FLAG_X@GOTPAGE
Lloh33:
	ldr	x9, [x9, _FLAG_X@GOTPAGEOFF]
Lloh34:
	str	w8, [x9]
Lloh35:
	adrp	x8, _CFLAG_CLEAR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _CFLAG_CLEAR@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	adrp	x9, _FLAG_C@GOTPAGE
Lloh39:
	ldr	x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh40:
	str	w8, [x9]
Lloh41:
	adrp	x8, _NFLAG_CLEAR@GOTPAGE
Lloh42:
	ldr	x8, [x8, _NFLAG_CLEAR@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
Lloh44:
	adrp	x9, _FLAG_N@GOTPAGE
Lloh45:
	ldr	x9, [x9, _FLAG_N@GOTPAGEOFF]
Lloh46:
	str	w8, [x9]
Lloh47:
	adrp	x8, _ZFLAG_SET@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ZFLAG_SET@GOTPAGEOFF]
Lloh49:
	ldr	w22, [x8]
LBB0_5:
Lloh50:
	adrp	x8, _FLAG_Z@GOTPAGE
Lloh51:
	ldr	x8, [x8, _FLAG_Z@GOTPAGEOFF]
Lloh52:
	str	w22, [x8]
Lloh53:
	adrp	x8, _VFLAG_CLEAR@GOTPAGE
Lloh54:
	ldr	x8, [x8, _VFLAG_CLEAR@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
Lloh56:
	adrp	x9, _FLAG_V@GOTPAGE
Lloh57:
	ldr	x9, [x9, _FLAG_V@GOTPAGEOFF]
Lloh58:
	str	w8, [x9]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotStr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotStr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotStr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotStr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_DY,4,2                         ; @DY
	.comm	_DX,4,2                         ; @DX
	.comm	_CYC_SHIFT,4,2                  ; @CYC_SHIFT
	.comm	_FLAG_C,4,2                     ; @FLAG_C
	.comm	_FLAG_X,4,2                     ; @FLAG_X
	.comm	_NFLAG_CLEAR,4,2                ; @NFLAG_CLEAR
	.comm	_FLAG_N,4,2                     ; @FLAG_N
	.comm	_FLAG_Z,4,2                     ; @FLAG_Z
	.comm	_VFLAG_CLEAR,4,2                ; @VFLAG_CLEAR
	.comm	_FLAG_V,4,2                     ; @FLAG_V
	.comm	_XFLAG_CLEAR,4,2                ; @XFLAG_CLEAR
	.comm	_CFLAG_CLEAR,4,2                ; @CFLAG_CLEAR
	.comm	_ZFLAG_SET,4,2                  ; @ZFLAG_SET
	.no_dead_strip	_m68k_op_lsr_8_r
.subsections_via_symbols
