	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efi_free                       ## -- Begin function efi_free
	.p2align	4, 0x90
_efi_free:                              ## @efi_free
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	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	%rdx, %rbx
	movq	_EFI_ALLOC_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rsi, %rdi
	movl	%eax, %esi
	callq	_round_up
	movq	_EFI_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_2
## %bb.3:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_4
LBB0_5:
	retq
LBB0_2:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_4:
	movq	_free_pages@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_efi_call_early                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EFI_ALLOC_ALIGN,4,2            ## @EFI_ALLOC_ALIGN
	.comm	_EFI_PAGE_SIZE,8,3              ## @EFI_PAGE_SIZE
	.comm	_free_pages,4,2                 ## @free_pages
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efi_free                       ; -- Begin function efi_free
	.p2align	2
_efi_free:                              ; @efi_free
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_2
; %bb.1:
	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, x2
Lloh0:
	adrp	x8, _EFI_ALLOC_ALIGN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFI_ALLOC_ALIGN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	x0, x1
	mov	x1, x8
	bl	_round_up
Lloh3:
	adrp	x8, _EFI_PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFI_PAGE_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	udiv	x2, x0, x8
Lloh6:
	adrp	x8, _free_pages@GOTPAGE
Lloh7:
	ldr	x8, [x8, _free_pages@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_efi_call_early
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EFI_ALLOC_ALIGN,4,2            ; @EFI_ALLOC_ALIGN
	.comm	_EFI_PAGE_SIZE,8,3              ; @EFI_PAGE_SIZE
	.comm	_free_pages,4,2                 ; @free_pages
.subsections_via_symbols
