	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function badblocks_show
_badblocks_show:                        ## @badblocks_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%rdi)
	js	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movq	24(%rdi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	12(%rdi), %rbx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r12
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_read_seqretry
	testq	%rax, %rax
	je	LBB0_16
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	%rbx, %rdi
	callq	_read_seqbegin
	cmpq	$0, (%r12)
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15), %rdi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movzbl	(%rax), %ecx
	shlq	%cl, %r13
	subq	%r15, %rsi
	shll	%cl, %r14d
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rcx
	movl	%r14d, %r8d
	callq	_snprintf
	addq	%rax, %r15
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=2
	incq	%rbx
	cmpq	(%r12), %r15
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jae	LBB0_12
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	8(%r14), %rax
	cmpq	%rax, %rbx
	jge	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12,%rbx,4), %edi
	callq	_BB_OFFSET
	movq	%rax, %r13
	movl	(%r12,%rbx,4), %edi
	callq	_BB_LEN
	movl	%eax, %r14d
	movl	(%r12,%rbx,4), %edi
	callq	_BB_ACK
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r12
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r15d, %r15d
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	testq	%r15, %r15
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, 16(%r14)
	jmp	LBB0_15
LBB0_1:
	xorl	%r15d, %r15d
LBB0_16:
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%llu %u\n"

	.no_dead_strip	_badblocks_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function badblocks_show
_badblocks_show:                        ; @badblocks_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x0]
	tbnz	x8, #63, LBB0_14
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x28, [x0, #24]
	add	x23, x0, #12
Lloh0:
	adrp	x22, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PAGE_SIZE@GOTPAGEOFF]
	str	x23, [sp]                       ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [sp]                       ; 8-byte Folded Reload
	mov	x0, x23
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_read_seqretry
	cbz	x0, LBB0_15
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	mov	x0, x23
	bl	_read_seqbegin
	ldr	x8, [x22]
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	cbz	x8, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, #0
	mov	x24, #0
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x0, x20, x24
	ldr	x8, [x22]
	sub	x1, x8, x24
	ldr	x8, [x21]
	lsl	x3, x26, x8
	lsl	w4, w27, w8
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	bl	_snprintf
	add	x24, x0, x24
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x22]
	add	x25, x25, #1
	cmp	x24, x8
	b.hs	LBB0_11
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x8, [x21, #8]
	cmp	x25, x8
	b.ge	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	lsl	x23, x25, #2
	ldr	w0, [x28, x23]
	bl	_BB_OFFSET
	mov	x26, x0
	ldr	w0, [x28, x23]
	bl	_BB_LEN
	mov	x27, x0
	ldr	w0, [x28, x23]
	bl	_BB_ACK
	cbz	w19, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	cbnz	w0, LBB0_6
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, #0
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w19, LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	cbnz	x24, LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x21, #16]
	b	LBB0_2
LBB0_14:
	mov	x24, #0
LBB0_15:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%llu %u\n"

	.no_dead_strip	_badblocks_show
.subsections_via_symbols
