	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stripe_ctr
_stripe_ctr:                            ## @stripe_ctr
	.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
	cmpl	$1, %esi
	ja	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	%rdx, %r12
	movl	%esi, %ebx
	movq	(%rdx), %rdi
	leaq	-44(%rbp), %rdx
	movl	$10, %esi
	callq	_kstrtouint
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	cmpl	$0, -44(%rbp)
	je	LBB0_6
## %bb.7:
	movq	8(%r12), %rdi
	leaq	-48(%rbp), %rdx
	movl	$10, %esi
	callq	_kstrtouint
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	cmpl	$0, -48(%rbp)
	je	LBB0_9
## %bb.10:
	movl	40(%r14), %r13d
	movl	-44(%rbp), %esi
	movl	%r13d, %edi
	callq	_sector_div
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.3(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_2
LBB0_9:
	leaq	L_.str.2(%rip), %rax
LBB0_2:
	movq	%rax, (%r14)
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_32:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	-48(%rbp), %esi
	movl	%r13d, %edi
	callq	_sector_div
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.4(%rip), %rax
	jmp	LBB0_2
LBB0_14:
	movl	-44(%rbp), %edi
	leal	(%rdi,%rdi), %eax
	addl	$2, %eax
	cmpl	%ebx, %eax
	jne	LBB0_15
## %bb.16:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_alloc_context
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$40, %rdi
	movq	_trigger_event@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	%r14, 32(%rbx)
	movl	-44(%rbp), %eax
	movl	%eax, (%rbx)
	movl	%r13d, 24(%rbx)
	movl	-44(%rbp), %edi
	leal	-1(%rdi), %ecx
	movl	$-1, %eax
	testl	%ecx, %edi
	jne	LBB0_20
## %bb.19:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	___ffs
LBB0_20:
	movl	%eax, 4(%rbx)
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
	callq	_dm_set_target_max_io_len
	movq	%rbx, %rsi
	testl	%eax, %eax
	je	LBB0_22
## %bb.21:
	movl	%eax, %ebx
	movq	%rsi, %rdi
	callq	_kfree
	jmp	LBB0_32
LBB0_15:
	leaq	L_.str.5(%rip), %rax
	jmp	LBB0_2
LBB0_17:
	leaq	L_.str.6(%rip), %rax
	movq	%rax, (%r14)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_22:
	movl	-44(%rbp), %ecx
	movd	%ecx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqu	%xmm0, 8(%r14)
	movl	%ecx, 24(%r14)
	movl	-48(%rbp), %edi
	movl	%edi, 8(%rsi)
	leal	-1(%rdi), %edx
	movl	$-1, %eax
	testl	%edx, %edi
	movq	%rsi, %rbx
	jne	LBB0_24
## %bb.23:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	___ffs
	movl	-44(%rbp), %ecx
LBB0_24:
	movl	%eax, 12(%rbx)
	testl	%ecx, %ecx
	je	LBB0_31
## %bb.25:
	addq	$16, %r12
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movq	%r12, %rcx
	callq	_get_stripe
	movq	%rbx, %rcx
	testl	%eax, %eax
	js	LBB0_27
## %bb.30:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	16(%rcx), %rdi
	addq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rcx, %rbx
	callq	_atomic_set
	incq	%r13
	movl	-44(%rbp), %eax
	addq	$8, %r15
	addq	$16, %r12
	cmpq	%rax, %r13
	jb	LBB0_26
LBB0_31:
	movq	%rbx, 32(%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_32
LBB0_27:
	movl	%eax, %ebx
	leaq	L_.str.7(%rip), %rax
	movq	%rax, (%r14)
	testl	%r13d, %r13d
	movq	%rcx, %r12
	je	LBB0_29
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movl	-4(%rax,%r15), %esi
	movq	%r14, %rdi
	callq	_dm_put_device
	addq	$-8, %r15
	jne	LBB0_28
LBB0_29:
	movq	%r12, %rdi
	callq	_kfree
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not enough arguments"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Invalid stripe count"

L_.str.2:                               ## @.str.2
	.asciz	"Invalid chunk_size"

L_.str.3:                               ## @.str.3
	.asciz	"Target length not divisible by number of stripes"

L_.str.4:                               ## @.str.4
	.asciz	"Target length not divisible by chunk size"

L_.str.5:                               ## @.str.5
	.asciz	"Not enough destinations specified"

L_.str.6:                               ## @.str.6
	.asciz	"Memory allocation for striped context failed"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_trigger_event,4,2              ## @trigger_event
L_.str.7:                               ## @.str.7
	.asciz	"Couldn't parse stripe destination"

	.no_dead_strip	_stripe_ctr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stripe_ctr
_stripe_ctr:                            ; @stripe_ctr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	cmp	w1, #1
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	b	LBB0_15
LBB0_2:
	mov	x21, x2
	mov	x20, x1
	ldr	x0, [x2]
	add	x2, sp, #12
	mov	w1, #10
	bl	_kstrtouint
	ldr	w8, [sp, #12]
	cmp	x0, #0
	ccmp	w8, #0, #4, eq
	b.ne	LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_4:
	ldr	x0, [x21, #8]
	add	x2, sp, #8
	mov	w1, #10
	bl	_kstrtouint
	ldr	w8, [sp, #8]
	cmp	x0, #0
	ccmp	w8, #0, #4, eq
	b.ne	LBB0_6
; %bb.5:
Lloh4:
	adrp	x8, l_.str.2@PAGE
Lloh5:
	add	x8, x8, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_6:
	ldr	w22, [x19, #40]
	ldr	w1, [sp, #12]
	mov	x0, x22
	bl	_sector_div
	cbz	x0, LBB0_8
; %bb.7:
Lloh6:
	adrp	x8, l_.str.3@PAGE
Lloh7:
	add	x8, x8, l_.str.3@PAGEOFF
	b	LBB0_15
LBB0_8:
	ldr	w1, [sp, #8]
	mov	x0, x22
	bl	_sector_div
	cbz	x0, LBB0_10
; %bb.9:
Lloh8:
	adrp	x8, l_.str.4@PAGE
Lloh9:
	add	x8, x8, l_.str.4@PAGEOFF
	b	LBB0_15
LBB0_10:
	ldr	w0, [sp, #12]
	lsl	w8, w0, #1
	add	w8, w8, #2
	cmp	w8, w20
	b.ne	LBB0_14
; %bb.11:
	bl	_alloc_context
	cbz	x0, LBB0_18
; %bb.12:
	mov	x20, x0
	add	x0, x0, #40
Lloh10:
	adrp	x8, _trigger_event@GOTPAGE
Lloh11:
	ldr	x8, [x8, _trigger_event@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_INIT_WORK
	str	x19, [x20, #32]
	ldr	w8, [sp, #12]
	str	w8, [x20]
	str	w22, [x20, #24]
	ldr	w0, [sp, #12]
	sub	w8, w0, #1
	tst	w0, w8
	b.ne	LBB0_19
; %bb.13:
	bl	___ffs
	b	LBB0_20
LBB0_14:
Lloh13:
	adrp	x8, l_.str.5@PAGE
Lloh14:
	add	x8, x8, l_.str.5@PAGEOFF
LBB0_15:
	str	x8, [x19]
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_17:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_18:
Lloh17:
	adrp	x8, l_.str.6@PAGE
Lloh18:
	add	x8, x8, l_.str.6@PAGEOFF
	str	x8, [x19]
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_16
LBB0_19:
	mov	w0, #-1
LBB0_20:
	str	w0, [x20, #4]
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_dm_set_target_max_io_len
	cbz	w0, LBB0_23
; %bb.21:
	mov	x22, x0
LBB0_22:
	mov	x0, x20
	bl	_kfree
	b	LBB0_17
LBB0_23:
	ldp	w0, w8, [sp, #8]
	dup.4s	v0, w8
	stur	q0, [x19, #8]
	str	w8, [x19, #24]
	str	w0, [x20, #8]
	sub	w9, w0, #1
	tst	w0, w9
	b.ne	LBB0_25
; %bb.24:
	bl	___ffs
	ldr	w8, [sp, #12]
	b	LBB0_26
LBB0_25:
	mov	w0, #-1
LBB0_26:
	str	w0, [x20, #12]
	cbz	w8, LBB0_30
; %bb.27:
	mov	x23, #0
	add	x21, x21, #16
	mov	x24, #-4
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	x3, x21
	bl	_get_stripe
	tbnz	w0, #31, LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x8, [x20, #16]
	add	x8, x8, x24
	add	x0, x8, #4
	mov	w1, #0
	bl	_atomic_set
	add	x23, x23, #1
	ldr	w8, [sp, #12]
	add	x24, x24, #8
	add	x21, x21, #16
	cmp	x23, x8
	b.lo	LBB0_28
LBB0_30:
	mov	w22, #0
	str	x20, [x19, #32]
	b	LBB0_17
LBB0_31:
	mov	x22, x0
Lloh21:
	adrp	x8, l_.str.7@PAGE
Lloh22:
	add	x8, x8, l_.str.7@PAGEOFF
	str	x8, [x19]
	cbz	w23, LBB0_22
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	w1, [x8, x24]
	mov	x0, x19
	bl	_dm_put_device
	sub	x24, x24, #8
	cmn	x24, #4
	b.ne	LBB0_32
	b	LBB0_22
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not enough arguments"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Invalid stripe count"

l_.str.2:                               ; @.str.2
	.asciz	"Invalid chunk_size"

l_.str.3:                               ; @.str.3
	.asciz	"Target length not divisible by number of stripes"

l_.str.4:                               ; @.str.4
	.asciz	"Target length not divisible by chunk size"

l_.str.5:                               ; @.str.5
	.asciz	"Not enough destinations specified"

l_.str.6:                               ; @.str.6
	.asciz	"Memory allocation for striped context failed"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_trigger_event,4,2              ; @trigger_event
l_.str.7:                               ; @.str.7
	.asciz	"Couldn't parse stripe destination"

	.no_dead_strip	_stripe_ctr
.subsections_via_symbols
