	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eraseblk_count_seq_show
_eraseblk_count_seq_show:               ## @eraseblk_count_seq_show
	.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	%rdi, %r14
	movq	_SEQ_START_TOKEN@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r15
	movq	(%r14), %r12
	movl	(%rsi), %esi
	movq	%r12, %rdi
	callq	_ubi_io_is_bad
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	movq	%r12, %rdi
	callq	_spin_lock
	movq	8(%r12), %rax
	movslq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movl	(%rax), %r13d
	movq	%r12, %rdi
	callq	_spin_unlock
	xorl	%ebx, %ebx
	testl	%r13d, %r13d
	js	LBB0_8
## %bb.4:
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%r13d, %ecx
	callq	_seq_printf
	jmp	LBB0_8
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_seq_puts
	jmp	LBB0_7
LBB0_6:
	movq	%r12, %rdi
	callq	_spin_unlock
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEQ_START_TOKEN,8,3            ## @SEQ_START_TOKEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"physical_block_number\terase_count\tblock_status\tread_status\n"

L_.str.1:                               ## @.str.1
	.asciz	"%-22d\t%-11d\n"

	.no_dead_strip	_eraseblk_count_seq_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eraseblk_count_seq_show
_eraseblk_count_seq_show:               ; @eraseblk_count_seq_show
	.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	x19, x0
Lloh0:
	adrp	x8, _SEQ_START_TOKEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEQ_START_TOKEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.eq	LBB0_5
; %bb.1:
	mov	x20, x1
	ldr	x21, [x19]
	ldr	w1, [x1]
	mov	x0, x21
	bl	_ubi_io_is_bad
	cbnz	w0, LBB0_8
; %bb.2:
	mov	x0, x21
	bl	_spin_lock
	ldr	x8, [x21, #8]
	ldrsw	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_spin_unlock
	tbnz	w22, #31, LBB0_7
; %bb.4:
	ldr	w2, [x20]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, x22
	bl	_seq_printf
	b	LBB0_7
LBB0_5:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_seq_puts
	b	LBB0_7
LBB0_6:
	mov	x0, x21
	bl	_spin_unlock
LBB0_7:
	mov	w0, #0
LBB0_8:
	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 AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SEQ_START_TOKEN,8,3            ; @SEQ_START_TOKEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"physical_block_number\terase_count\tblock_status\tread_status\n"

l_.str.1:                               ; @.str.1
	.asciz	"%-22d\t%-11d\n"

	.no_dead_strip	_eraseblk_count_seq_show
.subsections_via_symbols
