	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pico_state_internal
_pico_state_internal:                   ## @pico_state_internal
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	testl	%esi, %esi
	je	LBB0_1
## %bb.5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_state_save                     ## TAILCALL
LBB0_1:
	movq	%rbx, %rdi
	callq	_state_load
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_areaSeek
	movq	%rbx, %rdi
	callq	_state_load_legacy
	movl	%eax, %ebx
	jmp	LBB0_4
LBB0_2:
	xorl	%ebx, %ebx
LBB0_4:
	xorl	%eax, %eax
	callq	_PicoLoadStateHook
	movq	_Pico@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_Pico,4,2                       ## @Pico
	.no_dead_strip	_pico_state_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pico_state_internal
_pico_state_internal:                   ; @pico_state_internal
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cbz	w1, LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_state_save
LBB0_2:
	mov	x0, x19
	bl	_state_load
	cbz	w0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_areaSeek
	mov	x0, x19
	bl	_state_load_legacy
	mov	x19, x0
	b	LBB0_5
LBB0_4:
	mov	w19, #0
LBB0_5:
	bl	_PicoLoadStateHook
Lloh3:
	adrp	x8, _Pico@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Pico@GOTPAGEOFF]
	mov	w9, #1
Lloh5:
	str	w9, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_Pico,4,2                       ; @Pico
	.no_dead_strip	_pico_state_internal
.subsections_via_symbols
