	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mapper_64k_w
LCPI0_0:
	.quad	262144                          ## 0x40000
	.quad	524288                          ## 0x80000
LCPI0_1:
	.quad	786432                          ## 0xc0000
	.quad	1048576                         ## 0x100000
LCPI0_2:
	.quad	1310720                         ## 0x140000
	.quad	1572864                         ## 0x180000
LCPI0_3:
	.quad	1835008                         ## 0x1c0000
	.quad	2097152                         ## 0x200000
LCPI0_4:
	.quad	2359296                         ## 0x240000
	.quad	2621440                         ## 0x280000
LCPI0_5:
	.quad	2883584                         ## 0x2c0000
	.quad	3145728                         ## 0x300000
LCPI0_6:
	.quad	3407872                         ## 0x340000
	.quad	3670016                         ## 0x380000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mapper_64k_w:                          ## @mapper_64k_w
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movq	_cart@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	andl	$15, %edi
	shll	$16, %edi
	leaq	(%rax,%rdi,4), %rax
	movq	_m68k@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx)
	movq	%rax, 8(%rcx)
	movq	%rax, 16(%rcx)
	movq	%rax, 24(%rcx)
	movq	%rax, 32(%rcx)
	movq	%rax, 40(%rcx)
	movq	%rax, 48(%rcx)
	movq	%rax, 56(%rcx)
	movq	%rax, 64(%rcx)
	movq	%rax, 72(%rcx)
	movq	%rax, 80(%rcx)
	movq	%rax, 88(%rcx)
	movq	%rax, 96(%rcx)
	movq	%rax, 104(%rcx)
	movq	%rax, 112(%rcx)
	jmp	LBB0_3
LBB0_2:
	movq	_m68k@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx)
	movq	%rax, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [262144,524288]
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, 8(%rcx)
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [786432,1048576]
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, 24(%rcx)
	movdqa	LCPI0_2(%rip), %xmm1            ## xmm1 = [1310720,1572864]
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, 40(%rcx)
	movdqa	LCPI0_3(%rip), %xmm1            ## xmm1 = [1835008,2097152]
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, 56(%rcx)
	movdqa	LCPI0_4(%rip), %xmm1            ## xmm1 = [2359296,2621440]
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, 72(%rcx)
	movdqa	LCPI0_5(%rip), %xmm1            ## xmm1 = [2883584,3145728]
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, 88(%rcx)
	paddq	LCPI0_6(%rip), %xmm0
	movdqu	%xmm0, 104(%rcx)
	addq	$3932160, %rax                  ## imm = 0x3C0000
LBB0_3:
	movq	%rax, 120(%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cart,8,3                       ## @cart
	.comm	_m68k,8,3                       ## @m68k
	.no_dead_strip	_mapper_64k_w
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mapper_64k_w
_mapper_64k_w:                          ; @mapper_64k_w
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _cart@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cart@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	cbz	w0, LBB0_2
; %bb.1:
	ubfiz	w8, w0, #16, #4
	add	x9, x9, w8, uxtw #2
Lloh3:
	adrp	x8, _m68k@GOTPAGE
Lloh4:
	ldr	x8, [x8, _m68k@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	stp	x9, x9, [x8]
	stp	x9, x9, [x8, #16]
	stp	x9, x9, [x8, #32]
	stp	x9, x9, [x8, #48]
	stp	x9, x9, [x8, #64]
	stp	x9, x9, [x8, #80]
	stp	x9, x9, [x8, #96]
	stp	x9, x9, [x8, #112]
	ret
LBB0_2:
Lloh6:
	adrp	x8, _m68k@GOTPAGE
Lloh7:
	ldr	x8, [x8, _m68k@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x10, x9, #64, lsl #12           ; =262144
	stp	x9, x10, [x8]
	add	x10, x9, #128, lsl #12          ; =524288
	add	x11, x9, #192, lsl #12          ; =786432
	stp	x10, x11, [x8, #16]
	add	x10, x9, #256, lsl #12          ; =1048576
	add	x11, x9, #320, lsl #12          ; =1310720
	stp	x10, x11, [x8, #32]
	add	x10, x9, #384, lsl #12          ; =1572864
	add	x11, x9, #448, lsl #12          ; =1835008
	stp	x10, x11, [x8, #48]
	add	x10, x9, #512, lsl #12          ; =2097152
	add	x11, x9, #576, lsl #12          ; =2359296
	stp	x10, x11, [x8, #64]
	add	x10, x9, #640, lsl #12          ; =2621440
	add	x11, x9, #704, lsl #12          ; =2883584
	stp	x10, x11, [x8, #80]
	add	x10, x9, #768, lsl #12          ; =3145728
	add	x11, x9, #832, lsl #12          ; =3407872
	stp	x10, x11, [x8, #96]
	add	x10, x9, #896, lsl #12          ; =3670016
	add	x9, x9, #960, lsl #12           ; =3932160
	stp	x10, x9, [x8, #112]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_cart,8,3                       ; @cart
	.comm	_m68k,8,3                       ; @m68k
	.no_dead_strip	_mapper_64k_w
.subsections_via_symbols
