	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PBI_XLD_Exit                   ## -- Begin function PBI_XLD_Exit
	.p2align	4, 0x90
_PBI_XLD_Exit:                          ## @PBI_XLD_Exit
	.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	_xld_d_enabled@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_diskrom@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_free
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_2:
	movq	_PBI_XLD_v_enabled@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.4:
	movq	_voicerom@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_free
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_5
LBB0_3:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_5:
	movq	_PBI_XLD_enabled@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xld_d_enabled,8,3              ## @xld_d_enabled
	.comm	_diskrom,4,2                    ## @diskrom
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_PBI_XLD_v_enabled,8,3          ## @PBI_XLD_v_enabled
	.comm	_voicerom,4,2                   ## @voicerom
	.comm	_PBI_XLD_enabled,8,3            ## @PBI_XLD_enabled
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PBI_XLD_Exit                   ; -- Begin function PBI_XLD_Exit
	.p2align	2
_PBI_XLD_Exit:                          ; @PBI_XLD_Exit
	.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	x20, _xld_d_enabled@GOTPAGE
Lloh1:
	ldr	x20, [x20, _xld_d_enabled@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x19, _FALSE@GOTPAGE
Lloh3:
	ldr	x19, [x19, _FALSE@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _diskrom@GOTPAGE
Lloh5:
	ldr	x8, [x8, _diskrom@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_free
	ldr	x8, [x19]
	str	x8, [x20]
LBB0_2:
Lloh7:
	adrp	x20, _PBI_XLD_v_enabled@GOTPAGE
Lloh8:
	ldr	x20, [x20, _PBI_XLD_v_enabled@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _voicerom@GOTPAGE
Lloh10:
	ldr	x8, [x8, _voicerom@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_free
	ldr	x8, [x19]
	str	x8, [x20]
	b	LBB0_5
LBB0_4:
	ldr	x8, [x19]
LBB0_5:
Lloh12:
	adrp	x9, _PBI_XLD_enabled@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PBI_XLD_enabled@GOTPAGEOFF]
Lloh14:
	str	x8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_xld_d_enabled,8,3              ; @xld_d_enabled
	.comm	_diskrom,4,2                    ; @diskrom
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_PBI_XLD_v_enabled,8,3          ; @PBI_XLD_v_enabled
	.comm	_voicerom,4,2                   ; @voicerom
	.comm	_PBI_XLD_enabled,8,3            ; @PBI_XLD_enabled
.subsections_via_symbols
