	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_C68k_Set_Fetch                 ## -- Begin function C68k_Set_Fetch
	.p2align	4, 0x90
_C68k_Set_Fetch:                        ## @C68k_Set_Fetch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movl	%ecx, %r11d
	movq	_C68K_FETCH_SFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %esi
	movq	_C68K_FETCH_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%eax, %esi
	sarl	%cl, %edx
	andl	%eax, %edx
	movl	%esi, %eax
	shll	%cl, %eax
	movl	%edx, %r8d
	subl	%esi, %r8d
	jl	LBB0_13
## %bb.1:
	subl	%eax, %r11d
	movq	(%rdi), %rcx
	movslq	%esi, %rsi
	cmpl	$7, %r8d
	jb	LBB0_11
## %bb.2:
	incq	%r8
	movq	%r8, %r9
	andq	$-8, %r9
	movd	%r11d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%r9), %rax
	movq	%rax, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r10d
	andl	$3, %r10d
	cmpq	$24, %rax
	jae	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	andq	$-4, %rdi
	leaq	(%rcx,%rsi,4), %rbx
	addq	$112, %rbx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -112(%rbx,%rax,4)
	movdqu	%xmm0, -96(%rbx,%rax,4)
	movdqu	%xmm0, -80(%rbx,%rax,4)
	movdqu	%xmm0, -64(%rbx,%rax,4)
	movdqu	%xmm0, -48(%rbx,%rax,4)
	movdqu	%xmm0, -32(%rbx,%rax,4)
	movdqu	%xmm0, -16(%rbx,%rax,4)
	movdqu	%xmm0, (%rbx,%rax,4)
	addq	$32, %rax
	addq	$-4, %rdi
	jne	LBB0_5
LBB0_6:
	testq	%r10, %r10
	je	LBB0_9
## %bb.7:
	addq	%rsi, %rax
	leaq	(%rcx,%rax,4), %rax
	addq	$16, %rax
	shlq	$5, %r10
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -16(%rax,%rdi)
	movdqu	%xmm0, (%rax,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %r10
	jne	LBB0_8
LBB0_9:
	cmpq	%r9, %r8
	je	LBB0_13
## %bb.10:
	addq	%r9, %rsi
LBB0_11:
	incl	%edx
	movl	%edx, %eax
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	%r11d, (%rcx,%rsi,4)
	incq	%rsi
	cmpl	%esi, %eax
	jne	LBB0_12
LBB0_13:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_C68K_FETCH_SFT,4,2             ## @C68K_FETCH_SFT
	.comm	_C68K_FETCH_MASK,4,2            ## @C68K_FETCH_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_C68k_Set_Fetch                 ; -- Begin function C68k_Set_Fetch
	.p2align	2
_C68k_Set_Fetch:                        ; @C68k_Set_Fetch
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _C68K_FETCH_SFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _C68K_FETCH_SFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _C68K_FETCH_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _C68K_FETCH_MASK@GOTPAGEOFF]
	asr	w10, w1, w8
Lloh5:
	ldr	w9, [x9]
	and	w11, w10, w9
	asr	w10, w2, w8
	and	w9, w10, w9
	subs	w12, w9, w11
	b.lt	LBB0_7
; %bb.1:
	lsl	w8, w11, w8
	sub	w8, w3, w8
	ldr	x10, [x0]
	sxtw	x14, w11
	mov	x11, x14
	cmp	w12, #15
	b.lo	LBB0_5
; %bb.2:
	add	x12, x12, #1
	and	x13, x12, #0x1fffffff0
	add	x11, x13, x14
	dup.4s	v0, w8
	add	x14, x10, x14, lsl #2
	add	x14, x14, #32
	mov	x15, x13
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x14, #-32]
	stp	q0, q0, [x14], #64
	subs	x15, x15, #16
	b.ne	LBB0_3
; %bb.4:
	cmp	x12, x13
	b.eq	LBB0_7
LBB0_5:
	add	x10, x10, x11, lsl #2
	sub	w9, w9, w11
	add	w9, w9, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	str	w8, [x10], #4
	subs	w9, w9, #1
	b.ne	LBB0_6
LBB0_7:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_C68K_FETCH_SFT,4,2             ; @C68K_FETCH_SFT
	.comm	_C68K_FETCH_MASK,4,2            ; @C68K_FETCH_MASK
.subsections_via_symbols
