	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_matrix_params
_copy_matrix_params:                    ## @copy_matrix_params
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	32(%rsi), %rax
	movq	%rax, 32(%rdi)
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_MAX_CHANNELS@GOTPCREL(%rip), %r8
	cmpl	$0, (%r8)
	je	LBB0_2
## %bb.7:
	movq	16(%rsi), %r9
	movq	24(%rsi), %r10
	movq	16(%rdi), %r11
	movq	24(%rdi), %r14
	xorl	%edx, %edx
	movq	_MAX_MATRICES@GOTPCREL(%rip), %r15
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rdx
	movl	(%r8), %eax
	cmpq	%rax, %rdx
	jae	LBB0_3
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movl	(%r10,%rdx,4), %eax
	movl	%eax, (%r14,%rdx,4)
	movl	(%r9,%rdx,4), %eax
	movl	%eax, (%r11,%rdx,4)
	cmpl	$0, (%r15)
	movl	$0, %ebx
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%rsi), %r12
	movq	8(%rdi), %r13
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12,%rcx,8), %rbx
	movl	(%rbx,%rdx,4), %ebx
	movq	(%r13,%rcx,8), %rax
	movl	%ebx, (%rax,%rdx,4)
	incq	%rcx
	movl	(%r15), %ebx
	cmpq	%rbx, %rcx
	jb	LBB0_10
	jmp	LBB0_11
LBB0_2:
	movq	_MAX_MATRICES@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_3:
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.4:
	movq	(%rsi), %rax
	movq	(%rdi), %rcx
	xorl	%edx, %edx
	movq	_MAX_MATRICES@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rdx,4), %edi
	movl	%edi, (%rcx,%rdx,4)
	incq	%rdx
	movl	(%rsi), %edi
	cmpq	%rdi, %rdx
	jb	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_CHANNELS,4,2               ## @MAX_CHANNELS
	.comm	_MAX_MATRICES,4,2               ## @MAX_MATRICES
	.no_dead_strip	_copy_matrix_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_matrix_params
_copy_matrix_params:                    ; @copy_matrix_params
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1, #32]
	str	x8, [x0, #32]
	cbz	x8, LBB0_11
; %bb.1:
Lloh0:
	adrp	x9, _MAX_CHANNELS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_CHANNELS@GOTPAGEOFF]
	ldr	w10, [x9]
Lloh2:
	adrp	x8, _MAX_MATRICES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAX_MATRICES@GOTPAGEOFF]
	cbz	w10, LBB0_7
; %bb.2:
	mov	x10, #0
	ldp	x12, x11, [x1, #16]
	ldp	x14, x13, [x0, #16]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #1
	ldr	w15, [x9]
	cmp	x10, x15
	b.hs	LBB0_8
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	lsl	x15, x10, #2
	ldr	w16, [x11, x15]
	str	w16, [x13, x15]
	ldr	w16, [x12, x15]
	str	w16, [x14, x15]
	ldr	w16, [x8]
	cbz	w16, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x17, #0
	ldr	x2, [x1, #8]
	ldr	x3, [x0, #8]
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x16, x17, #3
	ldr	x4, [x2, x16]
	ldr	w4, [x4, x15]
	ldr	x16, [x3, x16]
	str	w4, [x16, x15]
	add	x17, x17, #1
	ldr	w16, [x8]
	cmp	x17, x16
	b.lo	LBB0_6
	b	LBB0_3
LBB0_7:
	ldr	w16, [x8]
LBB0_8:
	cbz	w16, LBB0_11
; %bb.9:
	mov	x9, #0
	ldr	x10, [x1]
	ldr	x11, [x0]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	lsl	x12, x9, #2
	ldr	w13, [x10, x12]
	str	w13, [x11, x12]
	add	x9, x9, #1
	ldr	w12, [x8]
	cmp	x9, x12
	b.lo	LBB0_10
LBB0_11:
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_CHANNELS,4,2               ; @MAX_CHANNELS
	.comm	_MAX_MATRICES,4,2               ; @MAX_MATRICES
	.no_dead_strip	_copy_matrix_params
.subsections_via_symbols
