	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m68k_op_roxl_16_r
_m68k_op_roxl_16_r:                     ## @m68k_op_roxl_16_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
	je	LBB0_2
## %bb.1:
	imull	$241, %ebx, %eax
	shrl	$12, %eax
	movl	%eax, %ecx
	shll	$4, %ecx
	orl	%eax, %ecx
	movl	%ebx, %eax
	subb	%cl, %al
	movzbl	%al, %r14d
	movq	_DY@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_MASK_OUT_ABOVE_16
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_XFLAG_AS_1
	shll	$16, %eax
	orl	%eax, %r15d
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_ROL_17
	movl	%eax, %r14d
	movq	_CYC_SHIFT@GOTPCREL(%rip), %rax
	imull	(%rax), %ebx
	movl	%ebx, %edi
	callq	_USE_CYCLES
	movl	%r14d, %eax
	sarl	$8, %eax
	movq	_FLAG_X@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_FLAG_C@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%r14d, %edi
	callq	_MASK_OUT_ABOVE_16
	movq	%rax, %rbx
	movl	(%r12), %edi
	callq	_MASK_OUT_BELOW_16
	orl	%ebx, %eax
	movl	%eax, (%r12)
	movl	%ebx, %edi
	callq	_NFLAG_16
	movq	_FLAG_N@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_3
LBB0_2:
	movq	_FLAG_X@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FLAG_C@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_DY@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_NFLAG_16
	movq	_FLAG_N@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%rbx), %edi
	callq	_MASK_OUT_ABOVE_16
	movq	%rax, %rbx
LBB0_3:
	movq	_FLAG_Z@GOTPCREL(%rip), %rax
	movl	%ebx, (%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_X,4,2                     ## @FLAG_X
	.comm	_FLAG_C,4,2                     ## @FLAG_C
	.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
	.no_dead_strip	_m68k_op_roxl_16_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_roxl_16_r
_m68k_op_roxl_16_r:                     ; @m68k_op_roxl_16_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	w8, [x8]
	ands	w21, w8, #0x3f
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #241
	mul	w8, w21, w8
	lsr	w8, w8, #12
	bfi	w8, w8, #4, #2
	sub	w8, w21, w8
	and	w19, w8, #0xff
Lloh3:
	adrp	x22, _DY@GOTPAGE
Lloh4:
	ldr	x22, [x22, _DY@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_MASK_OUT_ABOVE_16
	mov	x20, x0
	bl	_XFLAG_AS_1
	orr	w0, w20, w0, lsl #16
	mov	x1, x19
	bl	_ROL_17
	mov	x19, x0
Lloh5:
	adrp	x8, _CYC_SHIFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CYC_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mul	w0, w8, w21
	bl	_USE_CYCLES
	asr	w8, w19, #8
Lloh8:
	adrp	x9, _FLAG_X@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FLAG_X@GOTPAGEOFF]
Lloh10:
	str	w8, [x9]
Lloh11:
	adrp	x9, _FLAG_C@GOTPAGE
Lloh12:
	ldr	x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh13:
	str	w8, [x9]
	mov	x0, x19
	bl	_MASK_OUT_ABOVE_16
	mov	x19, x0
	ldr	w0, [x22]
	bl	_MASK_OUT_BELOW_16
	orr	w8, w0, w19
	str	w8, [x22]
	mov	x0, x19
	bl	_NFLAG_16
Lloh14:
	adrp	x8, _FLAG_N@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh16:
	str	w0, [x8]
	b	LBB0_3
LBB0_2:
Lloh17:
	adrp	x8, _FLAG_X@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FLAG_X@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _FLAG_C@GOTPAGE
Lloh21:
	ldr	x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh22:
	str	w8, [x9]
Lloh23:
	adrp	x19, _DY@GOTPAGE
Lloh24:
	ldr	x19, [x19, _DY@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_NFLAG_16
Lloh25:
	adrp	x8, _FLAG_N@GOTPAGE
Lloh26:
	ldr	x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh27:
	str	w0, [x8]
	ldr	w0, [x19]
	bl	_MASK_OUT_ABOVE_16
	mov	x19, x0
LBB0_3:
Lloh28:
	adrp	x8, _FLAG_Z@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FLAG_Z@GOTPAGEOFF]
Lloh30:
	str	w19, [x8]
Lloh31:
	adrp	x8, _VFLAG_CLEAR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _VFLAG_CLEAR@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _FLAG_V@GOTPAGE
Lloh35:
	ldr	x9, [x9, _FLAG_V@GOTPAGEOFF]
Lloh36:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotStr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_DY,4,2                         ; @DY
	.comm	_DX,4,2                         ; @DX
	.comm	_CYC_SHIFT,4,2                  ; @CYC_SHIFT
	.comm	_FLAG_X,4,2                     ; @FLAG_X
	.comm	_FLAG_C,4,2                     ; @FLAG_C
	.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
	.no_dead_strip	_m68k_op_roxl_16_r
.subsections_via_symbols
