	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efi_exit                       ## -- Begin function efi_exit
	.p2align	4, 0x90
_efi_exit:                              ## @efi_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_BS@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	8(%rax), %r12
	movq	_heap@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_heapsize@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_EFI_SIZE_TO_PAGES
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	*%r12
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	_IH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%r14d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BS,8,3                         ## @BS
	.comm	_heap,4,2                       ## @heap
	.comm	_heapsize,4,2                   ## @heapsize
	.comm	_IH,4,2                         ## @IH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efi_exit                       ; -- Begin function efi_exit
	.p2align	2
_efi_exit:                              ; @efi_exit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x21, _BS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BS@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x22, [x8, #8]
Lloh2:
	adrp	x8, _heap@GOTPAGE
Lloh3:
	ldr	x8, [x8, _heap@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
Lloh5:
	adrp	x8, _heapsize@GOTPAGE
Lloh6:
	ldr	x8, [x8, _heapsize@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_EFI_SIZE_TO_PAGES
	mov	x1, x0
	mov	x0, x20
	blr	x22
	ldr	x8, [x21]
Lloh8:
	adrp	x9, _IH@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IH@GOTPAGEOFF]
	ldr	x4, [x8]
Lloh10:
	ldr	w0, [x9]
	mov	x1, x19
	mov	w2, #0
	mov	x3, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BS,8,3                         ; @BS
	.comm	_heap,4,2                       ; @heap
	.comm	_heapsize,4,2                   ; @heapsize
	.comm	_IH,4,2                         ; @IH
.subsections_via_symbols
