	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfi_check_err_status
_cfi_check_err_status:                  ## @cfi_check_err_status
	.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	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	8(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_cfi_use_status_reg
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movl	(%rbx), %r9d
	movl	4(%rbx), %esi
	movl	(%r12), %edx
	movq	$0, (%rsp)
	movl	$112, %edi
	movq	%r15, %rcx
	movq	%rbx, %r8
	callq	_cfi_send_gen_cmd
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_map_read
	movl	%eax, %ebx
	movl	$58, %edi
	callq	_CMD
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_map_word_bitsset
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movl	%ebx, %edi
	callq	_MERGESTATUS
	movq	%rax, %r14
	movq	_CFI_SR_ESB@GOTPCREL(%rip), %rax
	testq	%r14, (%rax)
	je	LBB0_4
## %bb.3:
	movl	(%r15), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rdx
	callq	_pr_err
LBB0_4:
	movq	_CFI_SR_PSB@GOTPCREL(%rip), %rax
	testq	%r14, (%rax)
	je	LBB0_6
## %bb.5:
	movl	(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rdx
	callq	_pr_err
LBB0_6:
	movq	_CFI_SR_WBASB@GOTPCREL(%rip), %rax
	testq	%r14, (%rax)
	je	LBB0_8
## %bb.7:
	movl	(%r15), %esi
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rdx
	callq	_pr_err
LBB0_8:
	movq	_CFI_SR_SLSB@GOTPCREL(%rip), %rax
	testq	%r14, (%rax)
	je	LBB0_9
## %bb.10:
	movl	(%r15), %esi
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rdx
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CFI_SR_ESB,8,3                 ## @CFI_SR_ESB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s erase operation failed, status %lx\n"

	.comm	_CFI_SR_PSB,8,3                 ## @CFI_SR_PSB
L_.str.1:                               ## @.str.1
	.asciz	"%s program operation failed, status %lx\n"

	.comm	_CFI_SR_WBASB,8,3               ## @CFI_SR_WBASB
L_.str.2:                               ## @.str.2
	.asciz	"%s buffer program command aborted, status %lx\n"

	.comm	_CFI_SR_SLSB,8,3                ## @CFI_SR_SLSB
L_.str.3:                               ## @.str.3
	.asciz	"%s sector write protected, status %lx\n"

	.no_dead_strip	_cfi_check_err_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfi_check_err_status
_cfi_check_err_status:                  ; @cfi_check_err_status
	.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, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x21, [x0, #8]
	mov	x0, x21
	bl	_cfi_use_status_reg
	cbz	w0, LBB0_10
; %bb.1:
	ldr	w2, [x22]
	ldp	w5, w1, [x21]
	mov	w0, #112
	mov	x3, x19
	mov	x4, x21
	mov	x6, #0
	bl	_cfi_send_gen_cmd
	mov	x0, x19
	mov	x1, x20
	bl	_map_read
	mov	x20, x0
	mov	w0, #58
	bl	_CMD
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_map_word_bitsset
	cbz	x0, LBB0_10
; %bb.2:
	mov	x0, x20
	bl	_MERGESTATUS
	mov	x20, x0
Lloh0:
	adrp	x8, _CFI_SR_ESB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CFI_SR_ESB@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	tst	x8, x0
	b.eq	LBB0_4
; %bb.3:
	ldr	w1, [x19]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_pr_err
LBB0_4:
Lloh5:
	adrp	x8, _CFI_SR_PSB@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CFI_SR_PSB@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	tst	x8, x20
	b.eq	LBB0_6
; %bb.5:
	ldr	w1, [x19]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_pr_err
LBB0_6:
Lloh10:
	adrp	x8, _CFI_SR_WBASB@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CFI_SR_WBASB@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	tst	x8, x20
	b.eq	LBB0_8
; %bb.7:
	ldr	w1, [x19]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_pr_err
LBB0_8:
Lloh15:
	adrp	x8, _CFI_SR_SLSB@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CFI_SR_SLSB@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	tst	x8, x20
	b.eq	LBB0_10
; %bb.9:
	ldr	w1, [x19]
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x2, x20
	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_10:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_CFI_SR_ESB,8,3                 ; @CFI_SR_ESB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s erase operation failed, status %lx\n"

	.comm	_CFI_SR_PSB,8,3                 ; @CFI_SR_PSB
l_.str.1:                               ; @.str.1
	.asciz	"%s program operation failed, status %lx\n"

	.comm	_CFI_SR_WBASB,8,3               ; @CFI_SR_WBASB
l_.str.2:                               ; @.str.2
	.asciz	"%s buffer program command aborted, status %lx\n"

	.comm	_CFI_SR_SLSB,8,3                ; @CFI_SR_SLSB
l_.str.3:                               ; @.str.3
	.asciz	"%s sector write protected, status %lx\n"

	.no_dead_strip	_cfi_check_err_status
.subsections_via_symbols
