	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m68k_op_lsr_16_ai
_m68k_op_lsr_16_ai:                     ## @m68k_op_lsr_16_ai
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_EA_AY_AI_16
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_m68ki_read_16
	movl	%eax, %ebx
	movl	%eax, %r15d
	sarl	%r15d
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_m68ki_write_16
	movq	_NFLAG_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FLAG_N@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_FLAG_Z@GOTPCREL(%rip), %rax
	movl	%r15d, (%rax)
	shll	$8, %ebx
	movq	_FLAG_X@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movq	_FLAG_C@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movq	_VFLAG_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FLAG_V@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NFLAG_CLEAR,4,2                ## @NFLAG_CLEAR
	.comm	_FLAG_N,4,2                     ## @FLAG_N
	.comm	_FLAG_Z,4,2                     ## @FLAG_Z
	.comm	_FLAG_X,4,2                     ## @FLAG_X
	.comm	_FLAG_C,4,2                     ## @FLAG_C
	.comm	_VFLAG_CLEAR,4,2                ## @VFLAG_CLEAR
	.comm	_FLAG_V,4,2                     ## @FLAG_V
	.no_dead_strip	_m68k_op_lsr_16_ai
.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_16_ai
_m68k_op_lsr_16_ai:                     ; @m68k_op_lsr_16_ai
	.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
	bl	_EA_AY_AI_16
	mov	x19, x0
	bl	_m68ki_read_16
	mov	x20, x0
	asr	w21, w0, #1
	mov	x0, x19
	mov	x1, x21
	bl	_m68ki_write_16
Lloh0:
	adrp	x8, _NFLAG_CLEAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NFLAG_CLEAR@GOTPAGEOFF]
Lloh2:
	adrp	x9, _FLAG_N@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FLAG_N@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	str	w8, [x9]
Lloh6:
	adrp	x8, _FLAG_Z@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FLAG_Z@GOTPAGEOFF]
Lloh8:
	str	w21, [x8]
	lsl	w8, w20, #8
Lloh9:
	adrp	x9, _FLAG_X@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FLAG_X@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
Lloh12:
	adrp	x9, _FLAG_C@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh14:
	str	w8, [x9]
Lloh15:
	adrp	x8, _VFLAG_CLEAR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VFLAG_CLEAR@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _FLAG_V@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FLAG_V@GOTPAGEOFF]
Lloh20:
	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 AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NFLAG_CLEAR,4,2                ; @NFLAG_CLEAR
	.comm	_FLAG_N,4,2                     ; @FLAG_N
	.comm	_FLAG_Z,4,2                     ; @FLAG_Z
	.comm	_FLAG_X,4,2                     ; @FLAG_X
	.comm	_FLAG_C,4,2                     ; @FLAG_C
	.comm	_VFLAG_CLEAR,4,2                ; @VFLAG_CLEAR
	.comm	_FLAG_V,4,2                     ; @FLAG_V
	.no_dead_strip	_m68k_op_lsr_16_ai
.subsections_via_symbols
