	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_md_ack_all_badblocks           ## -- Begin function md_ack_all_badblocks
	.p2align	4, 0x90
_md_ack_all_badblocks:                  ## @md_ack_all_badblocks
	.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
	cmpq	$0, 24(%rdi)
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r13
	cmpq	$0, (%rdi)
	je	LBB0_2
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	12(%r13), %r14
	movq	%r14, %rdi
	callq	_write_seqlock_irq
	cmpq	$0, (%r13)
	jne	LBB0_10
## %bb.3:
	cmpq	$0, 16(%r13)
	je	LBB0_10
## %bb.4:
	cmpl	$0, 8(%r13)
	jle	LBB0_9
## %bb.5:
	movq	24(%r13), %r12
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	8(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rbx,4), %edi
	callq	_BB_ACK
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r12,%rbx,4), %edi
	callq	_BB_OFFSET
	movl	%eax, %r15d
	movl	(%r12,%rbx,4), %edi
	callq	_BB_LEN
	movl	%r15d, %edi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_BB_MAKE
	movl	%eax, (%r12,%rbx,4)
	jmp	LBB0_8
LBB0_9:
	movq	$0, 16(%r13)
LBB0_10:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_sequnlock_irq            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_md_ack_all_badblocks           ; -- Begin function md_ack_all_badblocks
	.p2align	2
_md_ack_all_badblocks:                  ; @md_ack_all_badblocks
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	add	x20, x19, #12
	mov	x0, x20
	bl	_write_seqlock_irq
	ldr	x8, [x19]
	cbnz	x8, LBB0_11
; %bb.4:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_11
; %bb.5:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x22, #0
	ldr	x23, [x19, #24]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19, #8]
	cmp	x22, x8
	b.ge	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23, x22, lsl #2]
	bl	_BB_ACK
	cbnz	w0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	lsl	x24, x22, #2
	ldr	w0, [x23, x24]
	bl	_BB_OFFSET
	mov	x21, x0
	ldr	w0, [x23, x24]
	bl	_BB_LEN
	mov	x1, x0
	mov	x0, x21
	mov	w2, #1
	bl	_BB_MAKE
	str	w0, [x23, x24]
	b	LBB0_7
LBB0_10:
	str	xzr, [x19, #16]
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_write_sequnlock_irq
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
