	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_vars
_read_vars:                             ## @read_vars
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -48(%rbp)
	movq	_efivars@GOTPCREL(%rip), %rdi
	callq	_LIST_INIT
	leaq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_efi_get_next_variable_name
	testl	%eax, %eax
	jle	LBB0_10
## %bb.1:
	movq	_EFI_GLOBAL_GUID@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r14
	leaq	-56(%rbp), %rbx
	leaq	-48(%rbp), %r15
	jmp	LBB0_2
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movq	-48(%rbp), %rdi
	addq	$4, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_strtoul
	movl	%eax, (%r12)
	movq	_entries@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_efivars@GOTPCREL(%rip), %rdi
	movq	%r12, %rsi
	callq	_LIST_INSERT_HEAD
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_efi_get_next_variable_name
	testl	%eax, %eax
	jle	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi
	movq	%r13, %rsi
	callq	_efi_guid_cmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi
	callq	_strlen
	cmpl	$8, %eax
	jne	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax
	movsbl	4(%rax), %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax
	movsbl	5(%rax), %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax
	movsbl	6(%rax), %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax
	movsbl	7(%rax), %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$24, %edi
	callq	_malloc
	movq	%rax, %r12
	movq	-48(%rbp), %rdi
	callq	_strdup
	movl	%eax, 20(%r12)
	movq	-56(%rbp), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rsi
	leaq	16(%r12), %rdx
	leaq	12(%r12), %rcx
	leaq	8(%r12), %r8
	callq	_efi_get_variable
	testl	%eax, %eax
	jns	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_err
	jmp	LBB0_13
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_efivars,4,2                    ## @efivars
	.comm	_EFI_GLOBAL_GUID,4,2            ## @EFI_GLOBAL_GUID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Boot"

L_.str.1:                               ## @.str.1
	.asciz	"efi_get_variable"

	.comm	_entries,4,2                    ## @entries
	.no_dead_strip	_read_vars
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_vars
_read_vars:                             ; @read_vars
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	str	xzr, [sp]
Lloh0:
	adrp	x0, _efivars@GOTPAGE
Lloh1:
	ldr	x0, [x0, _efivars@GOTPAGEOFF]
	bl	_LIST_INIT
	add	x0, sp, #8
	mov	x1, sp
	bl	_efi_get_next_variable_name
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.1:
Lloh2:
	adrp	x19, _EFI_GLOBAL_GUID@GOTPAGE
Lloh3:
	ldr	x19, [x19, _EFI_GLOBAL_GUID@GOTPAGEOFF]
Lloh4:
	adrp	x20, l_.str@PAGE
Lloh5:
	add	x20, x20, l_.str@PAGEOFF
Lloh6:
	adrp	x24, _entries@GOTPAGE
Lloh7:
	ldr	x24, [x24, _entries@GOTPAGEOFF]
Lloh8:
	adrp	x21, _efivars@GOTPAGE
Lloh9:
	ldr	x21, [x21, _efivars@GOTPAGEOFF]
Lloh10:
	adrp	x22, l_.str.1@PAGE
Lloh11:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	str	w8, [x23, #4]
	ldr	x8, [sp]
	add	x0, x8, #4
	mov	x1, #0
	mov	w2, #16
	bl	_strtoul
	str	w0, [x23]
	ldr	w2, [x24]
	mov	x0, x21
	mov	x1, x23
	bl	_LIST_INSERT_HEAD
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #8
	mov	x1, sp
	bl	_efi_get_next_variable_name
	cmp	w0, #0
	b.le	LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #8]
	mov	x1, x19
	bl	_efi_guid_cmp
	cbnz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp]
	bl	_strlen
	cmp	w0, #8
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp]
	mov	x1, x20
	mov	w2, #4
	bl	_strncmp
	cbnz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp]
	ldrsb	w0, [x8, #4]
	bl	_isxdigit
	cbz	w0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp]
	ldrsb	w0, [x8, #5]
	bl	_isxdigit
	cbz	w0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp]
	ldrsb	w0, [x8, #6]
	bl	_isxdigit
	cbz	w0, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp]
	ldrsb	w0, [x8, #7]
	bl	_isxdigit
	cbz	w0, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #24
	bl	_malloc
	mov	x23, x0
	ldr	x0, [sp]
	bl	_strdup
	str	w0, [x23, #20]
	ldp	x1, x8, [sp]
	ldr	w0, [x8]
	add	x2, x23, #16
	add	x3, x23, #12
	add	x4, x23, #8
	bl	_efi_get_variable
	tbz	w0, #31, LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	mov	x1, x22
	bl	_err
	b	LBB0_2
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_efivars,4,2                    ; @efivars
	.comm	_EFI_GLOBAL_GUID,4,2            ; @EFI_GLOBAL_GUID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Boot"

l_.str.1:                               ; @.str.1
	.asciz	"efi_get_variable"

	.comm	_entries,4,2                    ; @entries
	.no_dead_strip	_read_vars
.subsections_via_symbols
