	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_restart_frame_params
_copy_restart_frame_params:             ## @copy_restart_frame_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
	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)
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r15
	movl	%esi, %eax
	xorl	%r12d, %r12d
	shlq	$4, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_NUM_FILTERS@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	cmpl	(%r15), %r12d
	jae	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
	movl	4(%r15), %ebx
	imull	%r12d, %ebx
	movq	40(%r15), %rax
	addq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	shlq	$4, %rbx
	addq	%rax, %rbx
	movq	16(%r15), %rsi
	movq	%rbx, %rdi
	callq	_copy_matrix_params
	movq	24(%r15), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=2
	incq	%r14
	movl	(%rax), %ecx
	cmpq	%rcx, %r14
	jae	LBB0_10
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
	imull	%r12d, %ecx
	shlq	$2, %rcx
	addq	32(%r15), %rcx
	movq	16(%r15), %rdx
	movq	8(%rdx), %rsi
	movl	(%rsi,%r14,4), %esi
	movq	8(%rbx), %rdi
	movl	%esi, (%rdi,%r14,4)
	movq	(%rdx), %rdx
	movl	(%rdx,%r14,4), %edx
	movq	(%rbx), %rsi
	movl	%edx, (%rsi,%r14,4)
	testl	%r12d, %r12d
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$0, (%r13)
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	leaq	(%rcx,%r14,4), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leaq	(,%r14,4), %rsi
	addq	8(%r15), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_copy_filter_params
	incl	%ebx
	cmpl	(%r13), %ebx
	jb	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	24(%r15), %rax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_FILTERS,4,2                ## @NUM_FILTERS
	.no_dead_strip	_copy_restart_frame_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_restart_frame_params
_copy_restart_frame_params:             ; @copy_restart_frame_params
	.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]
	cbz	w8, LBB0_11
; %bb.1:
	mov	x19, x0
	mov	w23, #0
	mov	w24, w1
Lloh0:
	adrp	x25, _NUM_FILTERS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _NUM_FILTERS@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w23, #1
	ldr	w8, [x19]
	cmp	w23, w8
	b.hs	LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
	ldr	x8, [x19, #40]
	ldr	w9, [x19, #4]
	mul	w9, w9, w23
	add	x8, x8, x24, lsl #4
	add	x20, x8, w9, uxtw #4
	ldr	x1, [x19, #16]
	mov	x0, x20
	bl	_copy_matrix_params
	ldr	x8, [x19, #24]
	ldr	w9, [x8]
	cbz	w9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x26, x26, #1
	ldr	w9, [x8]
	cmp	x26, x9
	b.hs	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
	ldr	x10, [x19, #32]
	lsl	x11, x26, #2
	ldr	x12, [x19, #16]
	ldp	x12, x13, [x12]
	ldr	w13, [x13, x11]
	ldp	x15, x14, [x20]
	str	w13, [x14, x11]
	ldr	w12, [x12, x11]
	str	w12, [x15, x11]
	cbz	w23, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w12, [x25]
	cbz	w12, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	w21, #0
	mul	w8, w9, w23
	add	x8, x10, w8, uxtw #2
	add	x22, x8, x11
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x8, [x19, #8]
	add	x1, x8, x26, lsl #2
	mov	x0, x22
	mov	x2, x21
	bl	_copy_filter_params
	add	w21, w21, #1
	ldr	w8, [x25]
	cmp	w21, w8
	b.lo	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=2
	ldr	x8, [x19, #24]
	b	LBB0_5
LBB0_11:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_FILTERS,4,2                ; @NUM_FILTERS
	.no_dead_strip	_copy_restart_frame_params
.subsections_via_symbols
