	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efi_pstore_erase_func
_efi_pstore_erase_func:                 ## @efi_pstore_erase_func
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_LINUX_EFI_CRASH_GUID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rsi, %rdi
	callq	_ucs2_strlen
	movq	%rax, %r12
	movl	20(%r14), %edi
	movl	%ebx, %esi
	callq	_efi_guidcmp
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movl	16(%r14), %edi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_ucs2_strncmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	cmpq	$0, 8(%r14)
	je	LBB0_4
## %bb.3:
	movl	$1, (%r14)
	jmp	LBB0_5
LBB0_4:
	leaq	4(%r14), %rdi
	callq	_list_del
LBB0_5:
	movq	%r14, %rdi
	callq	___efivar_entry_delete
	movl	$1, %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LINUX_EFI_CRASH_GUID,4,2       ## @LINUX_EFI_CRASH_GUID
	.no_dead_strip	_efi_pstore_erase_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efi_pstore_erase_func
_efi_pstore_erase_func:                 ; @efi_pstore_erase_func
	.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	x19, x0
Lloh0:
	adrp	x8, _LINUX_EFI_CRASH_GUID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LINUX_EFI_CRASH_GUID@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	x0, x1
	bl	_ucs2_strlen
	mov	x21, x0
	ldr	w0, [x19, #20]
	mov	x1, x22
	bl	_efi_guidcmp
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #16]
	mov	x1, x20
	mov	x2, x21
	bl	_ucs2_strncmp
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	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
LBB0_4:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_7
LBB0_6:
	add	x0, x19, #4
	bl	_list_del
LBB0_7:
	mov	x0, x19
	bl	___efivar_entry_delete
	mov	w0, #1
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LINUX_EFI_CRASH_GUID,4,2       ; @LINUX_EFI_CRASH_GUID
	.no_dead_strip	_efi_pstore_erase_func
.subsections_via_symbols
