	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_raid5_compute_blocknr          ## -- Begin function raid5_compute_blocknr
	.p2align	4, 0x90
_raid5_compute_blocknr:                 ## @raid5_compute_blocknr
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	16(%rdi), %r12
	movl	(%rdi), %ebx
	movl	4(%rdi), %r14d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
                                        ## kill: def $ebx killed $ebx killed $rbx def $rbx
	subl	(%r12), %ebx
	xorl	%eax, %eax
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	testl	%edx, %edx
	sete	%al
	movl	4(%r12,%rax,4), %r13d
	movl	12(%r12,%rax,4), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%r14d, %edi
	movl	%r13d, %esi
	callq	_sector_div
	movq	-96(%rbp), %r11                 ## 8-byte Reload
	movl	%eax, %r8d
	movl	8(%r15), %eax
	xorl	%esi, %esi
	cmpl	%r11d, %eax
	je	LBB0_29
## %bb.1:
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	movq	-64(%rbp), %r10                 ## 8-byte Reload
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movl	20(%r12), %edx
	cmpl	$6, %edx
	je	LBB0_6
## %bb.2:
	movl	%r11d, %ecx
	cmpl	$5, %edx
	movl	%r14d, %r13d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	jne	LBB0_24
## %bb.3:
	addl	$-132, %r9d
	cmpl	$9, %r9d
	ja	LBB0_12
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%r9,4), %rdx
	addq	%rcx, %rdx
	movl	%r11d, %ecx
	jmpq	*%rdx
LBB0_5:
	xorl	%ecx, %ecx
	cmpl	%r11d, %eax
	cmovgl	%r10d, %ecx
	notl	%eax
	addl	%r11d, %eax
	addl	%ecx, %eax
	movl	%eax, %ecx
	jmp	LBB0_24
LBB0_6:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpl	%r11d, 12(%rcx)
	je	LBB0_29
## %bb.7:
	addl	$-128, %r9d
	cmpl	$13, %r9d
	movl	%r14d, %r13d
	ja	LBB0_18
## %bb.8:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%r9,4), %rdx
	addq	%rcx, %rdx
	movl	%r11d, %ecx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	jmpq	*%rdx
LBB0_9:
	decl	%r10d
	cmpl	%r10d, %eax
	je	LBB0_13
## %bb.17:
	leal	-2(%r11), %ecx
	cmpl	%r11d, %eax
	cmovgel	%r11d, %ecx
	jmp	LBB0_24
LBB0_11:
	xorl	%edx, %edx
	cmpl	%r11d, %eax
	setl	%dl
	movl	%r11d, %ecx
	subl	%edx, %ecx
	jmp	LBB0_24
LBB0_12:
	xorl	%eax, %eax
	movq	%r11, %rbx
	movl	%r8d, -64(%rbp)                 ## 4-byte Spill
	callq	_BUG
	movl	-64(%rbp), %r8d                 ## 4-byte Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %r11
	movl	%r11d, %ecx
	jmp	LBB0_24
LBB0_14:
	leal	1(%r14), %ecx
	xorl	%edx, %edx
	cmpl	%r11d, %eax
	cmovgl	%ecx, %edx
	notl	%eax
	addl	%r11d, %eax
	addl	%edx, %eax
	movl	%eax, %ecx
	jmp	LBB0_24
LBB0_15:
	leal	-1(%r10), %ecx
	cmpl	%ecx, %eax
	je	LBB0_13
## %bb.23:
	xorl	%ecx, %ecx
	movl	%r11d, %edx
	subl	%eax, %edx
	cmovll	%r10d, %ecx
	addl	%edx, %ecx
	addl	$-2, %ecx
	jmp	LBB0_24
LBB0_18:
	xorl	%eax, %eax
	movq	%r11, %rbx
	movq	%r12, %r15
	movl	%r8d, %r12d
	callq	_BUG
	movl	%r12d, %r8d
	movq	%r15, %r12
	movq	%rbx, %r11
	movl	%r11d, %ecx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_24
LBB0_19:
	testl	%eax, %eax
	jne	LBB0_5
LBB0_13:
	leal	-1(%r11), %ecx
LBB0_24:
	movq	%r11, %rbx
	imull	%r14d, %r13d
	addl	%ecx, %r13d
	imull	%edi, %r13d
	addl	%r8d, %r13d
	leaq	-72(%rbp), %rcx
	leaq	-120(%rbp), %r8
	movq	%r12, %r15
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	callq	_raid5_compute_sector
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpl	4(%rcx), %eax
	jne	LBB0_28
## %bb.25:
	cmpl	%ebx, -72(%rbp)
	jne	LBB0_28
## %bb.26:
	movl	-112(%rbp), %eax
	cmpl	8(%rcx), %eax
	jne	LBB0_28
## %bb.27:
	movl	%r13d, %esi
	movl	-108(%rbp), %eax
	cmpl	12(%rcx), %eax
	je	LBB0_29
LBB0_28:
	movl	24(%r15), %edi
	callq	_mdname
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_warn
	xorl	%esi, %esi
LBB0_29:
	movl	%esi, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	leal	-2(%r11), %ecx
	jmp	LBB0_24
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_24
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_12
	.long	L0_0_set_5
	.long	L0_0_set_12
	.long	L0_0_set_11
.set L0_1_set_9, LBB0_9-LJTI0_1
.set L0_1_set_19, LBB0_19-LJTI0_1
.set L0_1_set_14, LBB0_14-LJTI0_1
.set L0_1_set_15, LBB0_15-LJTI0_1
.set L0_1_set_11, LBB0_11-LJTI0_1
.set L0_1_set_24, LBB0_24-LJTI0_1
.set L0_1_set_13, LBB0_13-LJTI0_1
.set L0_1_set_22, LBB0_22-LJTI0_1
LJTI0_1:
	.long	L0_1_set_9
	.long	L0_1_set_9
	.long	L0_1_set_19
	.long	L0_1_set_14
	.long	L0_1_set_15
	.long	L0_1_set_11
	.long	L0_1_set_9
	.long	L0_1_set_24
	.long	L0_1_set_13
	.long	L0_1_set_22
	.long	L0_1_set_14
	.long	L0_1_set_15
	.long	L0_1_set_11
	.long	L0_1_set_9
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"md/raid:%s: compute_blocknr: map not correct\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_raid5_compute_blocknr          ; -- Begin function raid5_compute_blocknr
	.p2align	2
_raid5_compute_blocknr:                 ; @raid5_compute_blocknr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x19, [x0, #16]
	ldr	w26, [x19]
	cmp	w2, #0
	mov	w8, #4
	mov	w9, #8
	csel	x8, x9, x8, eq
	ldr	w23, [x19, x8]
	ldp	w27, w24, [x0]
	mov	w8, #12
	mov	w9, #16
	csel	x8, x9, x8, eq
	ldr	w28, [x19, x8]
	mov	x0, x24
	mov	x1, x23
	bl	_sector_div
	ldr	w8, [x20, #8]
	cmp	w8, w21
	b.eq	LBB0_21
; %bb.1:
	mov	x25, x0
	sub	w26, w27, w26
	ldr	w10, [x19, #20]
	cmp	w10, #6
	b.eq	LBB0_7
; %bb.2:
	mov	x9, x21
	cmp	w10, #5
	b.ne	LBB0_17
; %bb.3:
	sub	w9, w28, #132
	cmp	w9, #9
	b.hi	LBB0_12
; %bb.4:
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_5
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	mov	x9, x21
	br	x11
LBB0_5:
	cmp	w8, w21
	csel	w9, w27, wzr, gt
LBB0_6:
	mvn	w8, w8
	add	w8, w8, w21
	add	w9, w8, w9
	b	LBB0_17
LBB0_7:
	ldr	w9, [x20, #12]
	cmp	w9, w21
	b.eq	LBB0_21
; %bb.8:
	sub	w9, w28, #128
	cmp	w9, #13
	b.hi	LBB0_12
; %bb.9:
Lloh2:
	adrp	x10, lJTI0_1@PAGE
Lloh3:
	add	x10, x10, lJTI0_1@PAGEOFF
	adr	x11, LBB0_10
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	mov	x9, x21
	br	x11
LBB0_10:
	sub	w9, w27, #1
	sub	w10, w21, #2
	cmp	w8, w21
	csel	w10, w10, w21, lt
	b	LBB0_16
LBB0_11:
	cmp	w8, w21
	cset	w8, lt
	sub	w9, w21, w8
	b	LBB0_17
LBB0_12:
	bl	_BUG
	mov	x9, x21
	b	LBB0_17
LBB0_13:
	sub	w9, w21, #1
	b	LBB0_17
LBB0_14:
	cmp	w8, w21
	csinc	w9, wzr, w26, le
	b	LBB0_6
LBB0_15:
	sub	w9, w27, #1
	subs	w10, w21, w8
	csel	w11, w27, wzr, lt
	add	w10, w10, w11
	sub	w10, w10, #2
LBB0_16:
	sub	w11, w21, #1
	cmp	w8, w9
	csel	w9, w10, w11, ne
LBB0_17:
	madd	w8, w24, w26, w9
	madd	w23, w8, w23, w25
	add	x3, sp, #28
	mov	x4, sp
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	bl	_raid5_compute_sector
	ldr	w8, [x20, #4]
	ldr	w9, [sp, #28]
	cmp	w0, w8
	ccmp	w9, w21, #0, eq
	b.ne	LBB0_20
; %bb.18:
	ldr	w8, [sp, #8]
	ldr	w9, [x20, #8]
	cmp	w8, w9
	b.ne	LBB0_20
; %bb.19:
	ldr	w8, [sp, #12]
	ldr	w9, [x20, #12]
	cmp	w8, w9
	b.eq	LBB0_22
LBB0_20:
	ldr	w0, [x19, #24]
	bl	_mdname
	mov	x1, x0
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
LBB0_21:
	mov	w23, #0
LBB0_22:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_23:
	cmp	w8, w21
	csel	w9, w27, wzr, gt
	mvn	w10, w8
	add	w10, w10, w21
	add	w9, w10, w9
	sub	w10, w21, #1
	cmp	w8, #0
	csel	w9, w9, w10, ne
	b	LBB0_17
LBB0_24:
	sub	w9, w21, #2
	b	LBB0_17
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
lJTI0_1:
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_23-LBB0_10)>>2
	.byte	(LBB0_14-LBB0_10)>>2
	.byte	(LBB0_15-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_17-LBB0_10)>>2
	.byte	(LBB0_13-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_14-LBB0_10)>>2
	.byte	(LBB0_15-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"md/raid:%s: compute_blocknr: map not correct\n"

.subsections_via_symbols
