	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efivar_entry_size              ## -- Begin function efivar_entry_size
	.p2align	4, 0x90
_efivar_entry_size:                     ## @efivar_entry_size
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	$0, (%rsi)
	movq	_efivars_lock@GOTPCREL(%rip), %rdi
	callq	_down_interruptible
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_EINTR@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	___efivars@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	(%rax), %rax
	movl	4(%r15), %edi
	xorl	%ebx, %ebx
	movq	%r15, %rsi
	xorl	%edx, %edx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	callq	*(%rax)
	movq	%rax, %r14
	movq	_efivars_lock@GOTPCREL(%rip), %rdi
	callq	_up
	movq	_EFI_BUFFER_TOO_SMALL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	je	LBB0_6
## %bb.7:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_efi_status_to_err              ## TAILCALL
LBB0_4:
	movq	_efivars_lock@GOTPCREL(%rip), %rdi
	callq	_up
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_efivars_lock,4,2               ## @efivars_lock
	.comm	_EINTR,4,2                      ## @EINTR
	.comm	___efivars,8,3                  ## @__efivars
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EFI_BUFFER_TOO_SMALL,8,3       ## @EFI_BUFFER_TOO_SMALL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efivar_entry_size              ; -- Begin function efivar_entry_size
	.p2align	2
_efivar_entry_size:                     ; @efivar_entry_size
	.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
	mov	x19, x1
	mov	x20, x0
	str	xzr, [x1]
Lloh0:
	adrp	x0, _efivars_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _efivars_lock@GOTPAGEOFF]
	bl	_down_interruptible
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _EINTR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh4:
	adrp	x8, ___efivars@GOTPAGE
Lloh5:
	ldr	x8, [x8, ___efivars@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w0, [x20, #4]
	mov	x1, x20
	mov	x2, #0
	mov	x3, x19
	mov	x4, #0
	blr	x8
	mov	x19, x0
Lloh7:
	adrp	x0, _efivars_lock@GOTPAGE
Lloh8:
	ldr	x0, [x0, _efivars_lock@GOTPAGEOFF]
	bl	_up
Lloh9:
	adrp	x8, _EFI_BUFFER_TOO_SMALL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EFI_BUFFER_TOO_SMALL@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x19, x8
	b.ne	LBB0_8
; %bb.6:
	mov	w0, #0
	b	LBB0_3
LBB0_7:
Lloh12:
	adrp	x0, _efivars_lock@GOTPAGE
Lloh13:
	ldr	x0, [x0, _efivars_lock@GOTPAGEOFF]
	bl	_up
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_2
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_efi_status_to_err
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_efivars_lock,4,2               ; @efivars_lock
	.comm	_EINTR,4,2                      ; @EINTR
	.comm	___efivars,8,3                  ; @__efivars
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EFI_BUFFER_TOO_SMALL,8,3       ; @EFI_BUFFER_TOO_SMALL
.subsections_via_symbols
