	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efivar_attr_read
_efivar_attr_read:                      ## @efivar_attr_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.4:
	movl	$1024, (%rdi)                   ## imm = 0x400
	leaq	4(%rdi), %r14
	movl	8(%rdi), %ecx
	movq	%r14, %rsi
	movq	%rdi, %rdx
	callq	_efivar_entry_get
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_EIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_21:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movl	(%r14), %ecx
	movq	_EFI_VARIABLE_NON_VOLATILE@GOTPCREL(%rip), %rdx
	movq	%rbx, %rax
	testl	%ecx, (%rdx)
	je	LBB0_8
## %bb.7:
	movups	L_.str+11(%rip), %xmm0
	movups	%xmm0, 11(%rbx)
	movups	L_.str(%rip), %xmm0
	movups	%xmm0, (%rbx)
	leaq	26(%rbx), %rax
	movl	(%r14), %ecx
LBB0_8:
	movq	_EFI_VARIABLE_BOOTSERVICE_ACCESS@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_10
## %bb.9:
	movups	L_.str.1+16(%rip), %xmm0
	movups	%xmm0, 16(%rax)
	movups	L_.str.1(%rip), %xmm0
	movups	%xmm0, (%rax)
	movb	$0, 32(%rax)
	addq	$32, %rax
	movl	(%r14), %ecx
LBB0_10:
	movq	_EFI_VARIABLE_RUNTIME_ACCESS@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_12
## %bb.11:
	movups	L_.str.2+13(%rip), %xmm0
	movups	%xmm0, 13(%rax)
	movups	L_.str.2(%rip), %xmm0
	movups	%xmm0, (%rax)
	addq	$28, %rax
	movl	(%r14), %ecx
LBB0_12:
	movq	_EFI_VARIABLE_HARDWARE_ERROR_RECORD@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_14
## %bb.13:
	movups	L_.str.3+16(%rip), %xmm0
	movups	%xmm0, 16(%rax)
	movups	L_.str.3(%rip), %xmm0
	movups	%xmm0, (%rax)
	movl	$672850, 32(%rax)               ## imm = 0xA4452
	addq	$35, %rax
	movl	(%r14), %ecx
LBB0_14:
	movq	_EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_16
## %bb.15:
	movups	L_.str.4+25(%rip), %xmm0
	movups	%xmm0, 25(%rax)
	movups	L_.str.4+16(%rip), %xmm0
	movups	%xmm0, 16(%rax)
	movups	L_.str.4(%rip), %xmm0
	movups	%xmm0, (%rax)
	addq	$40, %rax
	movl	(%r14), %ecx
LBB0_16:
	movq	_EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_18
## %bb.17:
	movups	L_.str.5+32(%rip), %xmm0
	movups	%xmm0, 32(%rax)
	movups	L_.str.5+16(%rip), %xmm0
	movups	%xmm0, 16(%rax)
	movups	L_.str.5(%rip), %xmm0
	movups	%xmm0, (%rax)
	movl	$676691, 48(%rax)               ## imm = 0xA5353
	addq	$51, %rax
	movl	(%r14), %ecx
LBB0_18:
	movq	_EFI_VARIABLE_APPEND_WRITE@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_20
## %bb.19:
	movups	L_.str.6+11(%rip), %xmm0
	movups	%xmm0, 11(%rax)
	movups	L_.str.6(%rip), %xmm0
	movups	%xmm0, (%rax)
	addq	$26, %rax
LBB0_20:
	subl	%ebx, %eax
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EIO,4,2                        ## @EIO
	.comm	_EFI_VARIABLE_NON_VOLATILE,4,2  ## @EFI_VARIABLE_NON_VOLATILE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EFI_VARIABLE_NON_VOLATILE\n"

	.comm	_EFI_VARIABLE_BOOTSERVICE_ACCESS,4,2 ## @EFI_VARIABLE_BOOTSERVICE_ACCESS
L_.str.1:                               ## @.str.1
	.asciz	"EFI_VARIABLE_BOOTSERVICE_ACCESS\n"

	.comm	_EFI_VARIABLE_RUNTIME_ACCESS,4,2 ## @EFI_VARIABLE_RUNTIME_ACCESS
L_.str.2:                               ## @.str.2
	.asciz	"EFI_VARIABLE_RUNTIME_ACCESS\n"

	.comm	_EFI_VARIABLE_HARDWARE_ERROR_RECORD,4,2 ## @EFI_VARIABLE_HARDWARE_ERROR_RECORD
L_.str.3:                               ## @.str.3
	.asciz	"EFI_VARIABLE_HARDWARE_ERROR_RECORD\n"

	.comm	_EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS,4,2 ## @EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS
L_.str.4:                               ## @.str.4
	.asciz	"EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS\n"

	.comm	_EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS,4,2 ## @EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS
L_.str.5:                               ## @.str.5
	.asciz	"EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS\n"

	.comm	_EFI_VARIABLE_APPEND_WRITE,4,2  ## @EFI_VARIABLE_APPEND_WRITE
L_.str.6:                               ## @.str.6
	.asciz	"EFI_VARIABLE_APPEND_WRITE\n"

	.no_dead_strip	_efivar_attr_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efivar_attr_read
_efivar_attr_read:                      ; @efivar_attr_read
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_4
; %bb.2:
	mov	w8, #1024
	str	w8, [x0]
	add	x20, x0, #4
	ldr	w3, [x0, #8]
	mov	x1, x20
	mov	x2, x0
	bl	_efivar_entry_get
	cbz	x0, LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w9, [x20]
Lloh4:
	adrp	x8, _EFI_VARIABLE_NON_VOLATILE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EFI_VARIABLE_NON_VOLATILE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_9
; %bb.8:
Lloh7:
	adrp	x8, l_.str@PAGE
Lloh8:
	add	x8, x8, l_.str@PAGEOFF
	ldr	q0, [x8]
	ldur	q1, [x8, #11]
	stur	q1, [x19, #11]
	str	q0, [x19]
	add	x8, x19, #26
	ldr	w9, [x20]
	b	LBB0_10
LBB0_9:
	mov	x8, x19
LBB0_10:
Lloh9:
	adrp	x10, _EFI_VARIABLE_BOOTSERVICE_ACCESS@GOTPAGE
Lloh10:
	ldr	x10, [x10, _EFI_VARIABLE_BOOTSERVICE_ACCESS@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_12
; %bb.11:
Lloh12:
	adrp	x9, l_.str.1@PAGE
Lloh13:
	add	x9, x9, l_.str.1@PAGEOFF
	ldp	q0, q1, [x9]
	stp	q0, q1, [x8]
	strb	wzr, [x8, #32]!
	ldr	w9, [x20]
LBB0_12:
Lloh14:
	adrp	x10, _EFI_VARIABLE_RUNTIME_ACCESS@GOTPAGE
Lloh15:
	ldr	x10, [x10, _EFI_VARIABLE_RUNTIME_ACCESS@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_14
; %bb.13:
Lloh17:
	adrp	x9, l_.str.2@PAGE
Lloh18:
	add	x9, x9, l_.str.2@PAGEOFF
	ldr	q0, [x9]
	ldur	q1, [x9, #13]
	stur	q1, [x8, #13]
	str	q0, [x8], #28
	ldr	w9, [x20]
LBB0_14:
Lloh19:
	adrp	x10, _EFI_VARIABLE_HARDWARE_ERROR_RECORD@GOTPAGE
Lloh20:
	ldr	x10, [x10, _EFI_VARIABLE_HARDWARE_ERROR_RECORD@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_16
; %bb.15:
	mov	w9, #17490
	movk	w9, #10, lsl #16
	str	w9, [x8, #32]
Lloh22:
	adrp	x9, l_.str.3@PAGE
Lloh23:
	add	x9, x9, l_.str.3@PAGEOFF
	ldp	q0, q1, [x9]
	stp	q0, q1, [x8]
	add	x8, x8, #35
	ldr	w9, [x20]
LBB0_16:
Lloh24:
	adrp	x10, _EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS@GOTPAGE
Lloh25:
	ldr	x10, [x10, _EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_18
; %bb.17:
Lloh27:
	adrp	x9, l_.str.4@PAGE
Lloh28:
	add	x9, x9, l_.str.4@PAGEOFF
	ldp	q0, q1, [x9]
	ldur	q2, [x9, #25]
	stur	q2, [x8, #25]
	stp	q0, q1, [x8]
	add	x8, x8, #40
	ldr	w9, [x20]
LBB0_18:
Lloh29:
	adrp	x10, _EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS@GOTPAGE
Lloh30:
	ldr	x10, [x10, _EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_20
; %bb.19:
	mov	w9, #21331
	movk	w9, #10, lsl #16
	str	w9, [x8, #48]
Lloh32:
	adrp	x9, l_.str.5@PAGE
Lloh33:
	add	x9, x9, l_.str.5@PAGEOFF
	ldp	q0, q1, [x9]
	ldr	q2, [x9, #32]
	stp	q1, q2, [x8, #16]
	str	q0, [x8], #51
	ldr	w9, [x20]
LBB0_20:
Lloh34:
	adrp	x10, _EFI_VARIABLE_APPEND_WRITE@GOTPAGE
Lloh35:
	ldr	x10, [x10, _EFI_VARIABLE_APPEND_WRITE@GOTPAGEOFF]
Lloh36:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_22
; %bb.21:
Lloh37:
	adrp	x9, l_.str.6@PAGE
Lloh38:
	add	x9, x9, l_.str.6@PAGEOFF
	ldr	q0, [x9]
	ldur	q1, [x9, #11]
	stur	q1, [x8, #11]
	str	q0, [x8], #26
LBB0_22:
	sub	w0, w8, w19
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EIO,4,2                        ; @EIO
	.comm	_EFI_VARIABLE_NON_VOLATILE,4,2  ; @EFI_VARIABLE_NON_VOLATILE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EFI_VARIABLE_NON_VOLATILE\n"

	.comm	_EFI_VARIABLE_BOOTSERVICE_ACCESS,4,2 ; @EFI_VARIABLE_BOOTSERVICE_ACCESS
l_.str.1:                               ; @.str.1
	.asciz	"EFI_VARIABLE_BOOTSERVICE_ACCESS\n"

	.comm	_EFI_VARIABLE_RUNTIME_ACCESS,4,2 ; @EFI_VARIABLE_RUNTIME_ACCESS
l_.str.2:                               ; @.str.2
	.asciz	"EFI_VARIABLE_RUNTIME_ACCESS\n"

	.comm	_EFI_VARIABLE_HARDWARE_ERROR_RECORD,4,2 ; @EFI_VARIABLE_HARDWARE_ERROR_RECORD
l_.str.3:                               ; @.str.3
	.asciz	"EFI_VARIABLE_HARDWARE_ERROR_RECORD\n"

	.comm	_EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS,4,2 ; @EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS
l_.str.4:                               ; @.str.4
	.asciz	"EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS\n"

	.comm	_EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS,4,2 ; @EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS
l_.str.5:                               ; @.str.5
	.asciz	"EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS\n"

	.comm	_EFI_VARIABLE_APPEND_WRITE,4,2  ; @EFI_VARIABLE_APPEND_WRITE
l_.str.6:                               ; @.str.6
	.asciz	"EFI_VARIABLE_APPEND_WRITE\n"

	.no_dead_strip	_efivar_attr_read
.subsections_via_symbols
