	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r12d
	xorl	%eax, %eax
	callq	_efi_variables_supported
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_2:
	movq	_opts@GOTPCREL(%rip), %r14
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	%r12d, %edi
	movq	%r15, %rsi
	callq	_parse_args
	xorl	%eax, %eax
	callq	_read_vars
	cmpq	$0, 112(%r14)
	je	LBB0_4
## %bb.3:
	movq	(%r14), %rax
	movq	72(%r14), %r9
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rdi
	cmovneq	%rax, %rdi
	movl	108(%r14), %esi
	movl	104(%r14), %edx
	movl	100(%r14), %ecx
	movl	96(%r14), %r8d
	cmpq	$1, 88(%r14)
	sbbl	%ebx, %ebx
	orl	8(%r14), %ebx
	movq	%r9, (%rsp)
	movl	%ebx, %r9d
	callq	_make_boot_var
	jmp	LBB0_18
LBB0_4:
	movq	72(%r14), %rsi
	movq	80(%r14), %rax
	orq	%rsi, %rax
	je	LBB0_6
## %bb.5:
	movl	8(%r14), %edi
	callq	_handle_activity
	jmp	LBB0_18
LBB0_6:
	movq	64(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_set_boot_order
	jmp	LBB0_18
LBB0_8:
	cmpq	$0, 56(%r14)
	je	LBB0_10
## %bb.9:
	movl	8(%r14), %edi
	callq	_handle_bootnext
	jmp	LBB0_18
LBB0_10:
	cmpq	$0, 48(%r14)
	je	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	callq	_del_bootnext
	jmp	LBB0_18
LBB0_12:
	cmpq	$0, 40(%r14)
	je	LBB0_14
## %bb.13:
	movl	8(%r14), %edi
	callq	_delete_bootvar
	jmp	LBB0_18
LBB0_14:
	cmpq	$0, 32(%r14)
	je	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	callq	_delete_timeout
	jmp	LBB0_18
LBB0_16:
	cmpq	$0, 24(%r14)
	je	LBB0_18
## %bb.17:
	movl	16(%r14), %edi
	callq	_handle_timeout
LBB0_18:
	movl	12(%r14), %edi
	callq	_print_boot_vars
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"efi variables not supported on this system. root? kldload efirt?"

	.comm	_opts,120,3                     ## @opts
L_.str.1:                               ## @.str.1
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_efi_variables_supported
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
Lloh2:
	adrp	x19, _opts@GOTPAGE
Lloh3:
	ldr	x19, [x19, _opts@GOTPAGEOFF]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x21
	mov	x1, x20
	bl	_parse_args
	bl	_read_vars
	ldr	x8, [x19, #112]
	cbz	x8, LBB0_4
; %bb.3:
Lloh4:
	adrp	x8, l_.str.1@PAGE
Lloh5:
	add	x8, x8, l_.str.1@PAGEOFF
	ldr	x9, [x19]
	cmp	x9, #0
	csel	x0, x8, x9, eq
	ldp	w2, w1, [x19, #104]
	ldp	w4, w3, [x19, #96]
	ldr	x8, [x19, #88]
	ldr	w9, [x19, #8]
	cmp	x8, #0
	csinv	w5, w9, wzr, ne
	ldr	x6, [x19, #72]
	bl	_make_boot_var
	b	LBB0_18
LBB0_4:
	ldp	x1, x8, [x19, #72]
	orr	x8, x1, x8
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w0, [x19, #8]
	bl	_handle_activity
	b	LBB0_18
LBB0_6:
	ldr	x0, [x19, #64]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_set_boot_order
	b	LBB0_18
LBB0_8:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	w0, [x19, #8]
	bl	_handle_bootnext
	b	LBB0_18
LBB0_10:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_12
; %bb.11:
	bl	_del_bootnext
	b	LBB0_18
LBB0_12:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_14
; %bb.13:
	ldr	w0, [x19, #8]
	bl	_delete_bootvar
	b	LBB0_18
LBB0_14:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_16
; %bb.15:
	bl	_delete_timeout
	b	LBB0_18
LBB0_16:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_18
; %bb.17:
	ldr	w0, [x19, #16]
	bl	_handle_timeout
LBB0_18:
	ldr	w0, [x19, #12]
	bl	_print_boot_vars
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"efi variables not supported on this system. root? kldload efirt?"

	.comm	_opts,120,3                     ; @opts
l_.str.1:                               ; @.str.1
	.space	1

.subsections_via_symbols
