	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function restore_ac_coeffs
_restore_ac_coeffs:                     ## @restore_ac_coeffs
	.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	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	32(%rdi), %edi
	movq	%r8, %rsi
	movl	$24, %edx
	callq	_memcpy
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	24(%rbx), %rdx
	movq	(%rdx), %rsi
	movq	(%rbx), %rdx
	movq	16(%rbx), %rdi
	movslq	(%rdx,%rax), %rdx
	shlq	$6, %rdx
	addq	(%rsi), %rdx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rdi, (%rsi,%rax,2)
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi,%rax), %esi
	movq	8(%rbx), %rdi
	leaq	384(%rdi), %r10
	leaq	56(%rdi), %rbx
	leaq	448(%rdi), %r8
	testl	%esi, %esi
	cmovneq	%rbx, %r8
	leaq	48(%rdi), %r9
	testl	%esi, %esi
	cmoveq	%r10, %r9
	leaq	320(%rdi), %rbx
	leaq	40(%rdi), %r10
	testl	%esi, %esi
	cmoveq	%rbx, %r10
	leaq	256(%rdi), %rbx
	leaq	32(%rdi), %r11
	testl	%esi, %esi
	cmoveq	%rbx, %r11
	leaq	192(%rdi), %rbx
	leaq	24(%rdi), %r14
	testl	%esi, %esi
	cmoveq	%rbx, %r14
	leaq	128(%rdi), %rbx
	leaq	16(%rdi), %r15
	testl	%esi, %esi
	cmoveq	%rbx, %r15
	leaq	8(%rdi), %r12
	addq	$64, %rdi
	xorl	%ebx, %ebx
	testl	%esi, %esi
	setne	%bl
	cmovneq	%r12, %rdi
	shlq	$5, %rbx
	movl	4(%rbx,%rdx), %esi
	movq	(%rdi), %rdi
	leaq	(,%rdi,4), %rdi
	addq	%r13, %rdi
	movl	%esi, (%rcx,%rdi)
	movl	8(%rbx,%rdx), %esi
	movq	(%r15), %rdi
	leaq	(%r13,%rdi,4), %rdi
	movl	%esi, (%rcx,%rdi)
	movl	12(%rbx,%rdx), %esi
	movq	(%r14), %rdi
	leaq	(%r13,%rdi,4), %rdi
	movl	%esi, (%rcx,%rdi)
	movl	16(%rbx,%rdx), %esi
	movq	(%r11), %rdi
	leaq	(%r13,%rdi,4), %rdi
	movl	%esi, (%rcx,%rdi)
	movl	20(%rbx,%rdx), %esi
	movq	(%r10), %rdi
	leaq	(%r13,%rdi,4), %rdi
	movl	%esi, (%rcx,%rdi)
	movl	24(%rbx,%rdx), %esi
	movq	(%r9), %rdi
	leaq	(%r13,%rdi,4), %rdi
	movl	%esi, (%rcx,%rdi)
	movl	28(%rbx,%rdx), %edx
	movq	(%r8), %rsi
	leaq	(,%rsi,4), %rsi
	addq	%r13, %rsi
	movl	%edx, (%rcx,%rsi)
	addq	$256, %rcx                      ## imm = 0x100
	addq	$4, %rax
	cmpq	$1536, %rcx                     ## imm = 0x600
	jne	LBB0_1
## %bb.2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_restore_ac_coeffs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function restore_ac_coeffs
_restore_ac_coeffs:                     ; @restore_ac_coeffs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	w0, [x0, #32]
	mov	w23, #24
	mov	x1, x4
	mov	w2, #24
	bl	_memcpy
	mov	x8, #0
	mov	x9, #0
	mov	w12, #8
	mov	w14, #40
	mov	w15, #16
	mov	w16, #128
	mov	w17, #44
	mov	w0, #12
	mov	w1, #192
	mov	w2, #48
	mov	w3, #32
	mov	w4, #256
	mov	w5, #52
	mov	w6, #20
	mov	w7, #320
	mov	w24, #56
	mov	w25, #384
	mov	w26, #60
	mov	w27, #28
	mov	w28, #448
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x10, x30, [x22, #16]
	ldr	x30, [x30]
	ldr	x30, [x30]
	ldr	x11, [x22]
	lsl	x13, x9, #2
	ldrsw	x11, [x11, x13]
	add	x11, x30, x11, lsl #6
	str	x10, [x19, x9, lsl #3]
	ldr	w10, [x20, x13]
	ldr	x13, [x22, #8]
	cmp	w10, #0
	mov	w10, #36
	mov	w30, #4
	csel	x10, x30, x10, eq
	mov	w30, #64
	csel	x30, x30, x12, eq
	ldr	w10, [x11, x10]
	ldr	x30, [x13, x30]
	add	x30, x21, x30, lsl #2
	str	w10, [x30, x8]
	csel	x10, x12, x14, eq
	ldr	w10, [x11, x10]
	csel	x30, x16, x15, eq
	ldr	x30, [x13, x30]
	add	x30, x21, x30, lsl #2
	str	w10, [x30, x8]
	csel	x10, x0, x17, eq
	csel	x30, x1, x23, eq
	ldr	w10, [x11, x10]
	ldr	x30, [x13, x30]
	add	x30, x21, x30, lsl #2
	str	w10, [x30, x8]
	csel	x10, x15, x2, eq
	ldr	w10, [x11, x10]
	csel	x30, x4, x3, eq
	ldr	x30, [x13, x30]
	add	x30, x21, x30, lsl #2
	str	w10, [x30, x8]
	csel	x10, x6, x5, eq
	csel	x30, x7, x14, eq
	ldr	w10, [x11, x10]
	ldr	x30, [x13, x30]
	add	x30, x21, x30, lsl #2
	str	w10, [x30, x8]
	csel	x10, x23, x24, eq
	ldr	w10, [x11, x10]
	csel	x30, x25, x2, eq
	ldr	x30, [x13, x30]
	add	x30, x21, x30, lsl #2
	str	w10, [x30, x8]
	csel	x10, x27, x26, eq
	ldr	w10, [x11, x10]
	csel	x11, x28, x24, eq
	ldr	x11, [x13, x11]
	add	x11, x21, x11, lsl #2
	str	w10, [x11, x8]
	add	x9, x9, #1
	add	x8, x8, #256
	cmp	x8, #1536
	b.ne	LBB0_1
; %bb.2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_restore_ac_coeffs
.subsections_via_symbols
