	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __raid10_find_phys
___raid10_find_phys:                    ## @__raid10_find_phys
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	(%rdi), %r8d
	movl	4(%rdi), %r15d
	movl	%r8d, %eax
	cltd
	idivl	%r15d
	movl	%eax, %ebx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %r14d
	movb	8(%rdi), %cl
	movl	%r14d, %r13d
	sarl	%cl, %r13d
	andl	12(%rdi), %r14d
	imull	16(%rdi), %r13d
	movl	%r13d, %edi
	movl	%r8d, %esi
	callq	_sector_div
	movl	%eax, %edx
	cmpq	$0, 32(%r12)
	je	LBB0_2
## %bb.1:
	imull	20(%r12), %r13d
LBB0_2:
	movq	%r13, %r9
	movl	16(%r12), %r10d
	testl	%r10d, %r10d
	jle	LBB0_15
## %bb.3:
	decl	%ebx
	imull	%r15d, %ebx
	addl	%r15d, -44(%rbp)                ## 4-byte Folded Spill
	movb	8(%r12), %cl
	shll	%cl, %r9d
	addl	%r14d, %r9d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	movl	20(%r12), %r8d
	movl	(%r12), %eax
	leaq	4(%rdi), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leal	-1(%r8), %r13d
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%r14d
	cmpl	%r10d, %r14d
	je	LBB0_15
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ## kill: def $esi killed $esi def $rsi
	movslq	%esi, %rcx
	incl	%esi
	movl	%edx, (%rdi,%rcx,8)
	movl	%r9d, 4(%rdi,%rcx,8)
	cmpl	$2, %r8d
	jl	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r12), %r11d
	movl	24(%r12), %r12d
	movl	%edx, %ecx
	cltd
	idivl	%r11d
	movl	%edx, %edi
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	movslq	%esi, %rax
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rax,8), %r8
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	leal	(%r9,%r12), %r15d
	xorl	%r9d, %r9d
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	cltd
	idivl	%r11d
	movl	%edx, %esi
	movl	%ecx, %eax
	cltd
	idivl	%r11d
	addl	%ecx, %esi
	subl	%edx, %esi
	movl	%esi, %ecx
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	%ecx, -4(%r8,%r9,8)
	movl	%r15d, (%r8,%r9,8)
	incq	%r9
	addl	%r12d, %r15d
	cmpl	%r9d, %r13d
	je	LBB0_11
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	(%rcx,%r10), %eax
	testl	%edi, %edi
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	%eax, %edx
	subl	%ebx, %edx
	jle	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	%edx, %eax
	cltd
	idivl	-44(%rbp)                       ## 4-byte Folded Reload
	movl	%edx, %ecx
	addl	%ebx, %ecx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	addl	%r9d, %esi
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movl	-60(%rbp), %eax                 ## 4-byte Reload
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%edx
	cmpl	%eax, %edx
	jl	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	12(%r12), %ecx
	addl	%ecx, %r9d
	incl	%r9d
	xorl	%edx, %edx
	jmp	LBB0_14
LBB0_15:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___raid10_find_phys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __raid10_find_phys
___raid10_find_phys:                    ; @__raid10_find_phys
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	ldp	w21, w23, [x0]
	ldr	w24, [x1]
	ldp	w8, w25, [x0, #8]
	asr	w8, w24, w8
	ldr	w9, [x0, #16]
	mul	w22, w9, w8
	mov	x0, x22
	mov	x1, x21
	bl	_sector_div
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x19, #20]
	mul	w22, w8, w22
LBB0_2:
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.3:
	mov	w9, #0
	mov	w10, #0
	sdiv	w11, w21, w23
	sub	w12, w11, #1
	msub	w13, w11, w23, w21
	mul	w11, w12, w23
	add	w12, w13, w23
	and	w13, w25, w24
	ldr	w14, [x19, #8]
	lsl	w14, w22, w14
	add	w13, w14, w13
	ldr	x14, [x20, #8]
	ldr	w15, [x19, #20]
	ldr	w16, [x19]
	add	x17, x14, #4
	sub	w1, w15, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w9, w9, #1
	cmp	w9, w8
	b.eq	LBB0_14
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	add	x2, x14, w10, sxtw #3
	stp	w0, w13, [x2]
	add	w10, w10, #1
	cmp	w15, #2
	b.lt	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [x19, #4]
	sdiv	w3, w16, w2
	msub	w3, w3, w2, w16
	ldr	w4, [x19, #24]
	add	x5, x17, w10, sxtw #3
	add	w6, w13, w4
	mov	x7, x1
	mov	x20, x0
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	sdiv	w22, w21, w2
	msub	w21, w22, w2, w21
	neg	w22, w20
	sdiv	w23, w20, w2
	madd	w22, w23, w2, w22
	add	w20, w21, w20
	add	w20, w20, w22
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	stp	w20, w6, [x5, #-4]
	add	x5, x5, #8
	add	w10, w10, #1
	add	w6, w6, w4
	subs	w7, w7, #1
	b.eq	LBB0_12
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w21, w20, w8
	cbz	w3, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	subs	w22, w21, w11
	b.le	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	sdiv	w20, w22, w12
	msub	w20, w20, w12, w22
	add	w20, w20, w11
	b	LBB0_8
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w0, w0, #1
	cmp	w0, w16
	b.lt	LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #0
	ldr	w2, [x19, #12]
	add	w13, w13, w2
	add	w13, w13, #1
	b	LBB0_4
LBB0_14:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___raid10_find_phys
.subsections_via_symbols
