	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unstripe_ctr
_unstripe_ctr:                          ## @unstripe_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	cmpl	$5, %esi
	jne	LBB0_1
## %bb.2:
	movq	%rdx, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movq	(%rbx), %rdi
	movl	$10, %esi
	movq	%rax, %rdx
	callq	_kstrtouint
	leaq	L_.str.2(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_5
LBB0_24:
	movq	%rcx, (%r12)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_cleanup_unstripe
	jmp	LBB0_25
LBB0_1:
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r12)
LBB0_25:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_26:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_27:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%r12)
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_26
LBB0_5:
	cmpl	$0, (%r14)
	je	LBB0_24
## %bb.6:
	movq	8(%rbx), %rdi
	leaq	4(%r14), %r15
	movl	$10, %esi
	movq	%r15, %rdx
	callq	_kstrtouint
	leaq	L_.str.3(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_24
## %bb.7:
	cmpl	$0, (%r15)
	je	LBB0_24
## %bb.8:
	movq	16(%rbx), %rdi
	leaq	8(%r14), %rdx
	movl	$10, %esi
	callq	_kstrtouint
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.4(%rip), %rcx
	jmp	LBB0_24
LBB0_10:
	movl	(%r14), %eax
	cmpl	%eax, 8(%r14)
	jle	LBB0_13
## %bb.11:
	cmpl	$1, %eax
	jle	LBB0_13
## %bb.12:
	leaq	L_.str.5(%rip), %rcx
	jmp	LBB0_24
LBB0_13:
	movq	24(%rbx), %r13
	movl	24(%r12), %edi
	callq	_dm_table_get_mode
	movq	%r14, %rcx
	addq	$40, %rcx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_dm_get_device
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	L_.str.6(%rip), %rcx
	jmp	LBB0_24
LBB0_15:
	movq	32(%rbx), %rdi
	leaq	L_.str.7(%rip), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-41(%rbp), %rcx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_16
## %bb.17:
	movq	-56(%rbp), %rax
	movq	%rax, 16(%r14)
	movl	(%r14), %eax
	movl	4(%r14), %edi
	movl	8(%r14), %ecx
	imull	%edi, %ecx
	movl	%ecx, 24(%r14)
	decl	%eax
	imull	%edi, %eax
	movl	%eax, 28(%r14)
	callq	_is_power_of_2
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	movl	(%r15), %edi
	callq	_fls
	decq	%rax
	jmp	LBB0_20
LBB0_16:
	leaq	L_.str.8(%rip), %rcx
	jmp	LBB0_24
LBB0_18:
	xorl	%eax, %eax
LBB0_20:
	movq	%rax, 32(%r14)
	movq	8(%r12), %rdi
	movl	4(%r14), %esi
	callq	_sector_div
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	leaq	L_.str.9(%rip), %rcx
	jmp	LBB0_24
LBB0_22:
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_dm_set_target_max_io_len
	testq	%rax, %rax
	je	LBB0_28
## %bb.23:
	leaq	L_.str.10(%rip), %rcx
	jmp	LBB0_24
LBB0_28:
	movq	%r14, 16(%r12)
	xorl	%eax, %eax
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid number of arguments"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"Memory allocation for unstriped context failed"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"Invalid stripe count"

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

L_.str.4:                               ## @.str.4
	.asciz	"Invalid stripe number"

L_.str.5:                               ## @.str.5
	.asciz	"Please provide stripe between [0, # of stripes]"

L_.str.6:                               ## @.str.6
	.asciz	"Couldn't get striped device"

L_.str.7:                               ## @.str.7
	.asciz	"%llu%c"

L_.str.8:                               ## @.str.8
	.asciz	"Invalid striped device offset"

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

L_.str.10:                              ## @.str.10
	.asciz	"Failed to set max io len"

	.no_dead_strip	_unstripe_ctr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unstripe_ctr
_unstripe_ctr:                          ; @unstripe_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, #5
	b.ne	LBB0_5
; %bb.1:
	mov	x22, x2
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kzalloc
	cbz	x0, LBB0_9
; %bb.2:
	mov	x20, x0
	ldr	x0, [x22]
	mov	w1, #10
	mov	x2, x20
	bl	_kstrtouint
	cbz	x0, LBB0_10
LBB0_3:
Lloh3:
	adrp	x8, l_.str.2@PAGE
Lloh4:
	add	x8, x8, l_.str.2@PAGEOFF
LBB0_4:
	str	x8, [x19]
	mov	x0, x20
	mov	x1, x19
	bl	_cleanup_unstripe
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, l_.str@PAGE
Lloh6:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x19]
LBB0_6:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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_9:
Lloh9:
	adrp	x8, l_.str.1@PAGE
Lloh10:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x19]
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_7
LBB0_10:
	ldr	w8, [x20]
	cbz	w8, LBB0_3
; %bb.11:
	ldr	x0, [x22, #8]
	add	x21, x20, #4
	mov	w1, #10
	mov	x2, x21
	bl	_kstrtouint
	cbz	x0, LBB0_13
LBB0_12:
Lloh13:
	adrp	x8, l_.str.3@PAGE
Lloh14:
	add	x8, x8, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_13:
	ldr	w8, [x21]
	cbz	w8, LBB0_12
; %bb.14:
	ldr	x0, [x22, #16]
	add	x2, x20, #8
	mov	w1, #10
	bl	_kstrtouint
	cbz	x0, LBB0_16
; %bb.15:
Lloh15:
	adrp	x8, l_.str.4@PAGE
Lloh16:
	add	x8, x8, l_.str.4@PAGEOFF
	b	LBB0_4
LBB0_16:
	ldr	w8, [x20, #8]
	ldr	w9, [x20]
	cmp	w8, w9
	ccmp	w9, #1, #4, gt
	b.gt	LBB0_19
; %bb.17:
	ldr	x23, [x22, #24]
	ldr	w0, [x19, #24]
	bl	_dm_table_get_mode
	mov	x2, x0
	add	x3, x20, #40
	mov	x0, x19
	mov	x1, x23
	bl	_dm_get_device
	cbz	x0, LBB0_20
; %bb.18:
Lloh17:
	adrp	x8, l_.str.6@PAGE
Lloh18:
	add	x8, x8, l_.str.6@PAGEOFF
	b	LBB0_4
LBB0_19:
Lloh19:
	adrp	x8, l_.str.5@PAGE
Lloh20:
	add	x8, x8, l_.str.5@PAGEOFF
	b	LBB0_4
LBB0_20:
	ldr	x0, [x22, #32]
Lloh21:
	adrp	x1, l_.str.7@PAGE
Lloh22:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x2, sp, #8
	add	x3, sp, #7
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_23
; %bb.21:
	ldr	x8, [sp, #8]
	str	x8, [x20, #16]
	ldp	w0, w8, [x20, #4]
	ldr	w9, [x20]
	mul	w8, w0, w8
	sub	w9, w9, #1
	mul	w9, w9, w0
	stp	w8, w9, [x20, #24]
	bl	_is_power_of_2
	cbz	x0, LBB0_24
; %bb.22:
	ldr	w0, [x21]
	bl	_fls
	sub	x8, x0, #1
	b	LBB0_25
LBB0_23:
Lloh23:
	adrp	x8, l_.str.8@PAGE
Lloh24:
	add	x8, x8, l_.str.8@PAGEOFF
	b	LBB0_4
LBB0_24:
	mov	x8, #0
LBB0_25:
	str	x8, [x20, #32]
	ldr	x0, [x19, #8]
	ldr	w1, [x20, #4]
	bl	_sector_div
	cbz	x0, LBB0_27
; %bb.26:
Lloh25:
	adrp	x8, l_.str.9@PAGE
Lloh26:
	add	x8, x8, l_.str.9@PAGEOFF
	b	LBB0_4
LBB0_27:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_dm_set_target_max_io_len
	cbz	x0, LBB0_29
; %bb.28:
Lloh27:
	adrp	x8, l_.str.10@PAGE
Lloh28:
	add	x8, x8, l_.str.10@PAGEOFF
	b	LBB0_4
LBB0_29:
	str	x20, [x19, #16]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid number of arguments"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"Memory allocation for unstriped context failed"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"Invalid stripe count"

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

l_.str.4:                               ; @.str.4
	.asciz	"Invalid stripe number"

l_.str.5:                               ; @.str.5
	.asciz	"Please provide stripe between [0, # of stripes]"

l_.str.6:                               ; @.str.6
	.asciz	"Couldn't get striped device"

l_.str.7:                               ; @.str.7
	.asciz	"%llu%c"

l_.str.8:                               ; @.str.8
	.asciz	"Invalid striped device offset"

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

l_.str.10:                              ; @.str.10
	.asciz	"Failed to set max io len"

	.no_dead_strip	_unstripe_ctr
.subsections_via_symbols
