	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m68k_op_rol_16_r               ## -- Begin function m68k_op_rol_16_r
	.p2align	4, 0x90
_m68k_op_rol_16_r:                      ## @m68k_op_rol_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	%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	_DX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %r12d
	andl	$15, %r12d
	movq	_DY@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_MASK_OUT_ABOVE_16
	movl	%eax, %r14d
	movl	%eax, %edi
	movl	%r12d, %esi
	callq	_ROL_16
	movl	%eax, %edi
	callq	_MASK_OUT_ABOVE_16
	andl	$63, %ebx
	je	LBB0_4
## %bb.1:
	movl	%eax, %r15d
	movq	_CYC_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	movl	%ebx, %edi
	callq	_USE_CYCLES
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.2:
	movl	(%r13), %edi
	callq	_MASK_OUT_BELOW_16
	orl	%r15d, %eax
	movl	%eax, (%r13)
	movl	%r12d, %ecx
	shll	%cl, %r14d
	sarl	$8, %r14d
	movl	%r14d, %eax
	movl	%r15d, %r14d
	jmp	LBB0_5
LBB0_4:
	movq	_CFLAG_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_3:
	movl	%r14d, %eax
	andl	$1, %eax
	shll	$8, %eax
LBB0_5:
	movq	_FLAG_C@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%r14d, %edi
	callq	_NFLAG_16
	movq	_FLAG_N@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_FLAG_Z@GOTPCREL(%rip), %rax
	movl	%r14d, (%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	%r12
	popq	%r13
	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_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	_CFLAG_CLEAR,4,2                ## @CFLAG_CLEAR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_m68k_op_rol_16_r               ; -- Begin function m68k_op_rol_16_r
	.p2align	2
_m68k_op_rol_16_r:                      ; @m68k_op_rol_16_r
	.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, _DX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w23, w8, #0x3f
	and	w20, w8, #0xf
Lloh3:
	adrp	x22, _DY@GOTPAGE
Lloh4:
	ldr	x22, [x22, _DY@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_MASK_OUT_ABOVE_16
	mov	x19, x0
	mov	x1, x20
	bl	_ROL_16
	bl	_MASK_OUT_ABOVE_16
	cbz	w23, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh5:
	adrp	x8, _CYC_SHIFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CYC_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	lsl	w0, w23, w8
	bl	_USE_CYCLES
	cbz	w20, LBB0_4
; %bb.2:
	ldr	w0, [x22]
	bl	_MASK_OUT_BELOW_16
	orr	w8, w0, w21
	str	w8, [x22]
	lsl	w8, w19, w20
	asr	w8, w8, #8
	mov	x19, x21
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x8, _CFLAG_CLEAR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CFLAG_CLEAR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	b	LBB0_5
LBB0_4:
	ubfiz	w8, w19, #8, #1
LBB0_5:
Lloh11:
	adrp	x9, _FLAG_C@GOTPAGE
Lloh12:
	ldr	x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh13:
	str	w8, [x9]
	mov	x0, x19
	bl	_NFLAG_16
Lloh14:
	adrp	x8, _FLAG_N@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh16:
	str	w0, [x8]
Lloh17:
	adrp	x8, _FLAG_Z@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FLAG_Z@GOTPAGEOFF]
Lloh19:
	str	w19, [x8]
Lloh20:
	adrp	x8, _VFLAG_CLEAR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _VFLAG_CLEAR@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _FLAG_V@GOTPAGE
Lloh24:
	ldr	x9, [x9, _FLAG_V@GOTPAGEOFF]
Lloh25:
	str	w8, [x9]
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.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_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	_CFLAG_CLEAR,4,2                ; @CFLAG_CLEAR
.subsections_via_symbols
