	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fixup_use_erase_chip
_fixup_use_erase_chip:                  ## @fixup_use_erase_chip
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	cmpl	$1, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	8(%rax), %rax
	cmpw	$0, (%rax)
	je	LBB0_2
LBB0_3:
	popq	%rbp
	retq
LBB0_2:
	movq	_cfi_amdstd_erase_chip@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cfi_amdstd_erase_chip,4,2      ## @cfi_amdstd_erase_chip
	.no_dead_strip	_fixup_use_erase_chip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fixup_use_erase_chip
_fixup_use_erase_chip:                  ; @fixup_use_erase_chip
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w9, [x8]
	cmp	w9, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x8, #8]
	ldrh	w8, [x8]
	cbz	w8, LBB0_3
LBB0_2:
	ret
LBB0_3:
Lloh0:
	adrp	x8, _cfi_amdstd_erase_chip@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cfi_amdstd_erase_chip@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cfi_amdstd_erase_chip,4,2      ; @cfi_amdstd_erase_chip
	.no_dead_strip	_fixup_use_erase_chip
.subsections_via_symbols
