	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_syndrome_sources
_set_syndrome_sources:                  ## @set_syndrome_sources
	.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	%rsi, %rbx
	movq	%rdi, %r13
	movl	(%rsi), %r12d
	leal	-2(%r12), %r14d
	cmpq	$0, 16(%rsi)
	cmovnel	%r12d, %r14d
	movq	%rsi, %rdi
	callq	_raid6_d0
	testl	%r12d, %r12d
	jle	LBB0_2
## %bb.1:
	leaq	(,%r12,8), %rsi
	movq	%r13, %rdi
	movl	%eax, %r15d
	callq	___bzero
	movl	%r15d, %eax
LBB0_2:
	movl	$0, -44(%rbp)
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %r15
	movl	%eax, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	movq	%rbx, %rsi
	leaq	-44(%rbp), %rdx
	movl	%r14d, %ecx
	movl	%eax, %r12d
	callq	_raid6_idx_to_slot
	movq	8(%rbx), %rcx
	movslq	%r13d, %rdi
	movq	(%rcx,%rdi,8), %rcx
	cltq
	movq	%rcx, (%r15,%rax,8)
                                        ## kill: def $edi killed $edi killed $rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_raid6_next_disk
	movl	%eax, %r13d
	movl	%r12d, %eax
	cmpl	%r12d, %r13d
	jne	LBB0_3
## %bb.4:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_set_syndrome_sources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_syndrome_sources
_set_syndrome_sources:                  ; @set_syndrome_sources
	.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, x1
	mov	x20, x0
	ldr	w21, [x1]
	ldr	x8, [x1, #16]
	sub	w9, w21, #2
	cmp	x8, #0
	csel	w22, w9, w21, eq
	mov	x0, x1
	bl	_raid6_d0
	mov	x23, x0
	cmp	w21, #1
	b.lt	LBB0_2
; %bb.1:
	lsl	x1, x21, #3
	mov	x0, x20
	bl	_bzero
LBB0_2:
	str	wzr, [sp, #12]
	mov	x24, x23
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #12
	mov	x0, x24
	mov	x1, x19
	mov	x3, x22
	bl	_raid6_idx_to_slot
	ldr	x8, [x19, #8]
	ldr	x8, [x8, w24, sxtw #3]
	str	x8, [x20, w0, sxtw #3]
	mov	x0, x24
	mov	x1, x21
	bl	_raid6_next_disk
	mov	x24, x0
	cmp	w0, w23
	b.ne	LBB0_3
; %bb.4:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_set_syndrome_sources
.subsections_via_symbols
