	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcxhr_config_pipes
_pcxhr_config_pipes:                    ## @pcxhr_config_pipes
	.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
	cmpl	$0, (%rdi)
	jle	LBB0_21
## %bb.1:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	incq	%r15
	movslq	(%rdi), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	$2, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %r15
	jge	LBB0_21
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
	movq	8(%rdi), %rax
	movq	(%rax,%r15,8), %r12
	cmpl	$0, (%r12)
	je	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	32(%r12), %r14
	leal	(%r15,%r15), %ecx
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_pcxhr_dsp_allocate_pipe
	testl	%eax, %eax
	jne	LBB0_22
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %eax
	testl	%eax, %eax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jle	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r12), %rcx
	cmpl	$4, %eax
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edx
	andl	$-4, %edx
	movq	%r14, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	leaq	-4(%rdx), %rsi
	movq	%rsi, %rbx
	shrq	$2, %rbx
	incq	%rbx
	movl	%ebx, %r8d
	andl	$7, %r8d
	cmpq	$28, %rsi
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%esi, %esi
	jmp	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	andq	$-8, %rbx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, (%rcx,%rsi,8)
	movdqu	%xmm0, 16(%rcx,%rsi,8)
	movdqu	%xmm0, 32(%rcx,%rsi,8)
	movdqu	%xmm0, 48(%rcx,%rsi,8)
	movdqu	%xmm0, 64(%rcx,%rsi,8)
	movdqu	%xmm0, 80(%rcx,%rsi,8)
	movdqu	%xmm0, 96(%rcx,%rsi,8)
	movdqu	%xmm0, 112(%rcx,%rsi,8)
	movdqu	%xmm0, 128(%rcx,%rsi,8)
	movdqu	%xmm0, 144(%rcx,%rsi,8)
	movdqu	%xmm0, 160(%rcx,%rsi,8)
	movdqu	%xmm0, 176(%rcx,%rsi,8)
	movdqu	%xmm0, 192(%rcx,%rsi,8)
	movdqu	%xmm0, 208(%rcx,%rsi,8)
	movdqu	%xmm0, 224(%rcx,%rsi,8)
	movdqu	%xmm0, 240(%rcx,%rsi,8)
	addq	$32, %rsi
	addq	$-8, %rbx
	jne	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%r8, %r8
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rcx,%rsi,8), %rsi
	addq	$16, %rsi
	shlq	$5, %r8
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -16(%rsi,%rbx)
	movdqu	%xmm0, (%rsi,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r8
	jne	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rax, %rdx
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, (%rcx,%rdx,8)
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, 4(%r12)
	jle	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r13d, %r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r15d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r12), %rbx
	addq	%r13, %rbx
	movq	%rbx, %rsi
	movl	$1, %edx
	movl	%r15d, %ecx
	callq	_pcxhr_dsp_allocate_pipe
	testl	%eax, %eax
	jne	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	8(%r12), %rax
	movq	%rbx, (%rax,%r13,2)
	incq	%r14
	movslq	4(%r12), %rax
	incl	%r15d
	addq	$4, %r13
	cmpq	%rax, %r14
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jl	LBB0_18
	jmp	LBB0_20
LBB0_21:
	xorl	%eax, %eax
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pcxhr_config_pipes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcxhr_config_pipes
_pcxhr_config_pipes:                    ; @pcxhr_config_pipes
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.1:
	mov	x19, x0
	mov	x21, #0
	mov	x22, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19]
	add	x21, x21, #2
	cmp	x22, x8
	b.ge	LBB0_17
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
	ldr	x8, [x19, #8]
	ldr	x23, [x8, x22, lsl #3]
	ldr	w8, [x23]
	cbz	w8, LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x23, #32
	lsl	w3, w22, #1
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_pcxhr_dsp_allocate_pipe
	cbnz	w0, LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x23, #24]
	cmp	w8, #8
	b.hs	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x10, #0
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	and	x10, x8, #0xfffffff8
	dup.2d	v0, x20
	add	x11, x9, #32
	mov	x12, x10
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	q0, q0, [x11, #-32]
	stp	q0, q0, [x11], #64
	subs	x12, x12, #8
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	x10, x8
	b.eq	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, x10, lsl #3
	sub	x8, x8, x10
LBB0_12:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	x20, [x9], #8
	subs	x8, x8, #1
	b.ne	LBB0_12
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23, #4]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, #0
	mov	x25, #0
LBB0_15:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x23, #16]
	add	x20, x8, x24
	add	w3, w21, w25
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	bl	_pcxhr_dsp_allocate_pipe
	cbnz	w0, LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	x8, [x23, #8]
	str	x20, [x8, x25, lsl #3]
	add	x25, x25, #1
	ldrsw	x8, [x23, #4]
	add	x24, x24, #4
	cmp	x25, x8
	b.lt	LBB0_15
	b	LBB0_2
LBB0_17:
	mov	w0, #0
LBB0_18:
	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	_pcxhr_config_pipes
.subsections_via_symbols
