	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efivars_sysfs_exit
_efivars_sysfs_exit:                    ## @efivars_sysfs_exit
	.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
	movq	_efivar_sysfs_destroy@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_efivar_sysfs_list@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	___efivar_entry_iter
	testl	%eax, %eax
	je	LBB0_1
## %bb.6:
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
LBB0_1:
	movq	_efivars_new_var@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	_efivars_kset@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_sysfs_remove_bin_file
LBB0_3:
	movq	_efivars_del_var@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	movq	_efivars_kset@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_sysfs_remove_bin_file
LBB0_5:
	movq	(%r14), %rdi
	callq	_kfree
	movq	(%rbx), %rdi
	callq	_kfree
	movq	_efivars_kset@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kset_unregister                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_efivar_sysfs_destroy,4,2       ## @efivar_sysfs_destroy
	.comm	_efivar_sysfs_list,4,2          ## @efivar_sysfs_list
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"efivars: Failed to destroy sysfs entries\n"

	.comm	_efivars_new_var,8,3            ## @efivars_new_var
	.comm	_efivars_kset,8,3               ## @efivars_kset
	.comm	_efivars_del_var,8,3            ## @efivars_del_var
	.no_dead_strip	_efivars_sysfs_exit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efivars_sysfs_exit
_efivars_sysfs_exit:                    ; @efivars_sysfs_exit
	.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
Lloh0:
	adrp	x8, _efivar_sysfs_destroy@GOTPAGE
Lloh1:
	ldr	x8, [x8, _efivar_sysfs_destroy@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, _efivar_sysfs_list@GOTPAGE
Lloh4:
	ldr	x1, [x1, _efivar_sysfs_list@GOTPAGEOFF]
	mov	x2, #0
	mov	x3, #0
	bl	___efivar_entry_iter
	cbz	w0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	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
	b	_pr_err
LBB0_2:
Lloh7:
	adrp	x20, _efivars_new_var@GOTPAGE
Lloh8:
	ldr	x20, [x20, _efivars_new_var@GOTPAGEOFF]
	ldr	x1, [x20]
Lloh9:
	adrp	x19, _efivars_kset@GOTPAGE
Lloh10:
	ldr	x19, [x19, _efivars_kset@GOTPAGEOFF]
	cbz	x1, LBB0_4
; %bb.3:
	ldr	x0, [x19]
	bl	_sysfs_remove_bin_file
LBB0_4:
Lloh11:
	adrp	x21, _efivars_del_var@GOTPAGE
Lloh12:
	ldr	x21, [x21, _efivars_del_var@GOTPAGEOFF]
	ldr	x1, [x21]
	cbz	x1, LBB0_6
; %bb.5:
	ldr	x0, [x19]
	bl	_sysfs_remove_bin_file
LBB0_6:
	ldr	x0, [x20]
	bl	_kfree
	ldr	x0, [x21]
	bl	_kfree
	ldr	x0, [x19]
	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
	b	_kset_unregister
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_efivar_sysfs_destroy,4,2       ; @efivar_sysfs_destroy
	.comm	_efivar_sysfs_list,4,2          ; @efivar_sysfs_list
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"efivars: Failed to destroy sysfs entries\n"

	.comm	_efivars_new_var,8,3            ; @efivars_new_var
	.comm	_efivars_kset,8,3               ; @efivars_kset
	.comm	_efivars_del_var,8,3            ; @efivars_del_var
	.no_dead_strip	_efivars_sysfs_exit
.subsections_via_symbols
