	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raid_set_free
_raid_set_free:                         ## @raid_set_free
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpq	$0, 24(%rdi)
	je	LBB0_2
## %bb.1:
	leaq	32(%r14), %rdi
	callq	_md_rdev_clear
	movl	16(%r14), %edi
	movq	24(%r14), %rsi
	callq	_dm_put_device
LBB0_2:
	cmpl	$0, (%r14)
	jle	LBB0_9
## %bb.3:
	movl	$8, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	movslq	(%r14), %rax
	addq	$24, %rbx
	cmpq	%rax, %r15
	jge	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdi
	movq	8(%rdi,%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%r14), %edi
	callq	_dm_put_device
	movq	8(%r14), %rdi
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	%rbx, %rdi
	callq	_md_rdev_clear
	movq	8(%r14), %rax
	movq	-8(%rax,%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%r14), %edi
	callq	_dm_put_device
	jmp	LBB0_8
LBB0_9:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_raid_set_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raid_set_free
_raid_set_free:                         ; @raid_set_free
	.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
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
	add	x0, x19, #32
	bl	_md_rdev_clear
	ldr	w0, [x19, #16]
	ldr	x1, [x19, #24]
	bl	_dm_put_device
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x20, #0
	mov	x21, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #24
	cmp	x21, x8
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x9, x8, x20
	ldr	x1, [x9, #16]
	cbz	x1, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19, #16]
	bl	_dm_put_device
	ldr	x8, [x19, #8]
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, x20
	add	x0, x8, #8
	bl	_md_rdev_clear
	ldr	x8, [x19, #8]
	ldr	x1, [x8, x20]
	cbz	x1, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19, #16]
	bl	_dm_put_device
	b	LBB0_4
LBB0_9:
	mov	x0, x19
	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	_kfree
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_raid_set_free
.subsections_via_symbols
