	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efi_copyout                    ## -- Begin function efi_copyout
	.p2align	4, 0x90
_efi_copyout:                           ## @efi_copyout
	.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	%rdx, %rbx
	movq	%rdi, %rax
	movq	_stage_offset@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	leaq	(%rax,%rdx), %rcx
	movq	_staging_end@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jbe	LBB0_2
## %bb.1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %ebx
	jmp	LBB0_3
LBB0_2:
	movq	%rsi, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_memmove
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stage_offset,8,3               ## @stage_offset
	.comm	_staging_end,8,3                ## @staging_end
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efi_copyout                    ; -- Begin function efi_copyout
	.p2align	2
_efi_copyout:                           ; @efi_copyout
	.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	x8, _stage_offset@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stage_offset@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, x0
	add	x9, x8, x2
Lloh3:
	adrp	x10, _staging_end@GOTPAGE
Lloh4:
	ldr	x10, [x10, _staging_end@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ls	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _errno@GOTPAGE
Lloh10:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	mov	w19, #-1
	b	LBB0_3
LBB0_2:
	mov	x19, x2
	mov	x0, x1
	mov	x1, x8
	bl	_memmove
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_stage_offset,8,3               ; @stage_offset
	.comm	_staging_end,8,3                ; @staging_end
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
