	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function carthw_ssf2_startup
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4                               ## 0x4
	.long	5                               ## 0x5
	.long	6                               ## 0x6
	.long	7                               ## 0x7
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_carthw_ssf2_startup
	.p2align	4, 0x90
_carthw_ssf2_startup:                   ## @carthw_ssf2_startup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EL_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elprintf
	movq	_ssf2_banks@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	movups	%xmm0, (%rax)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [4,5,6,7]
	movups	%xmm0, 16(%rax)
	movq	_carthw_ssf2_mem_setup@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PicoCartMemSetup@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_carthw_ssf2_statef@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PicoLoadStateHook@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_carthw_ssf2_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_carthw_chunks@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EL_STATUS,4,2                  ## @EL_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SSF2 mapper startup"

	.comm	_ssf2_banks,8,3                 ## @ssf2_banks
	.comm	_carthw_ssf2_mem_setup,4,2      ## @carthw_ssf2_mem_setup
	.comm	_PicoCartMemSetup,4,2           ## @PicoCartMemSetup
	.comm	_carthw_ssf2_statef,4,2         ## @carthw_ssf2_statef
	.comm	_PicoLoadStateHook,4,2          ## @PicoLoadStateHook
	.comm	_carthw_ssf2_state,4,2          ## @carthw_ssf2_state
	.comm	_carthw_chunks,4,2              ## @carthw_chunks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function carthw_ssf2_startup
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
lCPI0_1:
	.long	4                               ; 0x4
	.long	5                               ; 0x5
	.long	6                               ; 0x6
	.long	7                               ; 0x7
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_carthw_ssf2_startup
	.p2align	2
_carthw_ssf2_startup:                   ; @carthw_ssf2_startup
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _EL_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EL_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elprintf
Lloh5:
	adrp	x8, _ssf2_banks@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ssf2_banks@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, lCPI0_0@PAGE
Lloh9:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
Lloh10:
	adrp	x9, lCPI0_1@PAGE
Lloh11:
	ldr	q1, [x9, lCPI0_1@PAGEOFF]
	stp	q0, q1, [x8]
Lloh12:
	adrp	x8, _carthw_ssf2_mem_setup@GOTPAGE
Lloh13:
	ldr	x8, [x8, _carthw_ssf2_mem_setup@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _PicoCartMemSetup@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PicoCartMemSetup@GOTPAGEOFF]
Lloh17:
	str	w8, [x9]
Lloh18:
	adrp	x8, _carthw_ssf2_statef@GOTPAGE
Lloh19:
	ldr	x8, [x8, _carthw_ssf2_statef@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _PicoLoadStateHook@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PicoLoadStateHook@GOTPAGEOFF]
Lloh23:
	str	w8, [x9]
Lloh24:
	adrp	x8, _carthw_ssf2_state@GOTPAGE
Lloh25:
	ldr	x8, [x8, _carthw_ssf2_state@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _carthw_chunks@GOTPAGE
Lloh28:
	ldr	x9, [x9, _carthw_chunks@GOTPAGEOFF]
Lloh29:
	str	w8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdrp	Lloh10, Lloh15
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpAdrp	Lloh8, Lloh10
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EL_STATUS,4,2                  ; @EL_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SSF2 mapper startup"

	.comm	_ssf2_banks,8,3                 ; @ssf2_banks
	.comm	_carthw_ssf2_mem_setup,4,2      ; @carthw_ssf2_mem_setup
	.comm	_PicoCartMemSetup,4,2           ; @PicoCartMemSetup
	.comm	_carthw_ssf2_statef,4,2         ; @carthw_ssf2_statef
	.comm	_PicoLoadStateHook,4,2          ; @PicoLoadStateHook
	.comm	_carthw_ssf2_state,4,2          ; @carthw_ssf2_state
	.comm	_carthw_chunks,4,2              ; @carthw_chunks
.subsections_via_symbols
