	.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_ssf2_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
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mapper_ssf2_w:                         ## @mapper_ssf2_w
	.cfi_startproc
## %bb.0:
                                        ## kill: def $edi killed $edi def $rdi
	testb	$14, %dil
	je	LBB0_2
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_cart@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shll	$19, %esi
	movslq	%esi, %rcx
	leaq	(%rax,%rcx,4), %rdx
	movq	_m68k@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	shll	$2, %edi
	andl	$56, %edi
	movq	%rdx, (%rsi,%rdi,8)
	movq	%rdx, %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(%rsi,%rdi,8)
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [786432,1048576]
	paddq	%xmm0, %xmm1
	paddq	LCPI0_2(%rip), %xmm0
	movdqu	%xmm1, 24(%rsi,%rdi,8)
	movdqu	%xmm0, 40(%rsi,%rdi,8)
	leaq	(%rax,%rcx,4), %rax
	addq	$1835008, %rax                  ## imm = 0x1C0000
	movq	%rax, 56(%rsi,%rdi,8)
	popq	%rbp
LBB0_2:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cart,8,3                       ## @cart
	.comm	_m68k,8,3                       ## @m68k
	.no_dead_strip	_mapper_ssf2_w
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mapper_ssf2_w
_mapper_ssf2_w:                         ; @mapper_ssf2_w
	.cfi_startproc
; %bb.0:
	tst	w0, #0xe
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _cart@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cart@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	lsl	w9, w1, #19
	add	x8, x8, w9, sxtw #2
Lloh3:
	adrp	x9, _m68k@GOTPAGE
Lloh4:
	ldr	x9, [x9, _m68k@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	lsl	w10, w0, #2
	and	w10, w10, #0x38
	add	x9, x9, w10, uxtw #3
	add	x10, x8, #64, lsl #12           ; =262144
	stp	x8, x10, [x9]
	add	x10, x8, #128, lsl #12          ; =524288
	add	x11, x8, #192, lsl #12          ; =786432
	stp	x10, x11, [x9, #16]
	add	x10, x8, #256, lsl #12          ; =1048576
	add	x11, x8, #320, lsl #12          ; =1310720
	stp	x10, x11, [x9, #32]
	add	x10, x8, #384, lsl #12          ; =1572864
	add	x8, x8, #448, lsl #12           ; =1835008
	stp	x10, x8, [x9, #48]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cart,8,3                       ; @cart
	.comm	_m68k,8,3                       ; @m68k
	.no_dead_strip	_mapper_ssf2_w
.subsections_via_symbols
