	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoUnload32x                  ## -- Begin function PicoUnload32x
	.p2align	4, 0x90
_PicoUnload32x:                         ## @PicoUnload32x
	.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	_Pico32xMem@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movl	$4, %esi
	callq	_plat_munmap
LBB0_2:
	movq	$0, (%rbx)
	movq	_msh2@GOTPCREL(%rip), %rdi
	callq	_sh2_finish
	movq	_ssh2@GOTPCREL(%rip), %rdi
	callq	_sh2_finish
	movq	_PAHW_32X@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_PicoAHW@GOTPCREL(%rip), %rcx
	andl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Pico32xMem,8,3                 ## @Pico32xMem
	.comm	_msh2,4,2                       ## @msh2
	.comm	_ssh2,4,2                       ## @ssh2
	.comm	_PAHW_32X,4,2                   ## @PAHW_32X
	.comm	_PicoAHW,4,2                    ## @PicoAHW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoUnload32x                  ; -- Begin function PicoUnload32x
	.p2align	2
_PicoUnload32x:                         ; @PicoUnload32x
	.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
Lloh0:
	adrp	x19, _Pico32xMem@GOTPAGE
Lloh1:
	ldr	x19, [x19, _Pico32xMem@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	mov	w1, #4
	bl	_plat_munmap
LBB0_2:
	str	xzr, [x19]
Lloh2:
	adrp	x0, _msh2@GOTPAGE
Lloh3:
	ldr	x0, [x0, _msh2@GOTPAGEOFF]
	bl	_sh2_finish
Lloh4:
	adrp	x0, _ssh2@GOTPAGE
Lloh5:
	ldr	x0, [x0, _ssh2@GOTPAGEOFF]
	bl	_sh2_finish
Lloh6:
	adrp	x8, _PAHW_32X@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PAHW_32X@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _PicoAHW@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PicoAHW@GOTPAGEOFF]
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_Pico32xMem,8,3                 ; @Pico32xMem
	.comm	_msh2,4,2                       ; @msh2
	.comm	_ssh2,4,2                       ; @ssh2
	.comm	_PAHW_32X,4,2                   ; @PAHW_32X
	.comm	_PicoAHW,4,2                    ; @PicoAHW
.subsections_via_symbols
