	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CARTRIDGE_ColdStart            ## -- Begin function CARTRIDGE_ColdStart
	.p2align	4, 0x90
_CARTRIDGE_ColdStart:                   ## @CARTRIDGE_ColdStart
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CARTRIDGE_main@GOTPCREL(%rip), %rdi
	movq	_active_cart@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	callq	_ResetCartState
	movq	_CARTRIDGE_piggyback@GOTPCREL(%rip), %rdi
	callq	_ResetCartState
	xorl	%eax, %eax
	popq	%rbp
	jmp	_MapActiveCart                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CARTRIDGE_main,4,2             ## @CARTRIDGE_main
	.comm	_active_cart,8,3                ## @active_cart
	.comm	_CARTRIDGE_piggyback,4,2        ## @CARTRIDGE_piggyback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CARTRIDGE_ColdStart            ; -- Begin function CARTRIDGE_ColdStart
	.p2align	2
_CARTRIDGE_ColdStart:                   ; @CARTRIDGE_ColdStart
	.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, _active_cart@GOTPAGE
Lloh1:
	ldr	x8, [x8, _active_cart@GOTPAGEOFF]
Lloh2:
	adrp	x0, _CARTRIDGE_main@GOTPAGE
Lloh3:
	ldr	x0, [x0, _CARTRIDGE_main@GOTPAGEOFF]
Lloh4:
	str	x0, [x8]
	bl	_ResetCartState
Lloh5:
	adrp	x0, _CARTRIDGE_piggyback@GOTPAGE
Lloh6:
	ldr	x0, [x0, _CARTRIDGE_piggyback@GOTPAGEOFF]
	bl	_ResetCartState
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_MapActiveCart
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CARTRIDGE_main,4,2             ; @CARTRIDGE_main
	.comm	_active_cart,8,3                ; @active_cart
	.comm	_CARTRIDGE_piggyback,4,2        ; @CARTRIDGE_piggyback
.subsections_via_symbols
