	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apply_lut10
_apply_lut10:                           ## @apply_lut10
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	32(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	%r8, %r13
	movslq	16(%rbp), %rbx
	movslq	%ecx, %rcx
	movl	24(%rbp), %r12d
	shlq	$2, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	shlq	$2, %rbx
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %rdx
	addq	%rax, %rsi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	addq	%rax, %r9
	addq	%rax, %r13
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	decl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$0, 24(%rbp)
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r13,%r15,4), %edi
	movq	%rsi, %rbx
	movl	$10, %esi
	callq	_av_clip_uintp2
	movl	%eax, %r14d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r15,4), %edi
	movl	$10, %esi
	callq	_av_clip_uintp2
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	8(%rdi), %rcx
	movslq	%r14d, %rdx
	movq	(%rcx,%rdx,8), %rcx
	cltq
	movl	(%rcx,%rax,4), %ecx
	movl	%ecx, (%rbx,%r15,4)
	movq	(%rdi), %rcx
	movq	(%rcx,%rdx,8), %rcx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %eax
	movl	%eax, (%rdx,%r15,4)
	incq	%r15
	cmpq	%r15, %r12
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_apply_lut10
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apply_lut10
_apply_lut10:                           ; @apply_lut10
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	w7, [sp, #12]                   ; 4-byte Folded Spill
                                        ; kill: def $w6 killed $w6 def $x6
                                        ; kill: def $w3 killed $w3 def $x3
	ldr	w26, [x29, #16]
	cbz	w26, LBB0_6
; %bb.1:
	mov	x20, x5
	mov	x21, x4
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	mov	w8, w8
	sbfiz	x9, x3, #2, #32
	str	x9, [sp]                        ; 8-byte Folded Spill
	sbfiz	x28, x6, #2, #32
	lsl	x19, x8, #2
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	add	x22, x22, x8
	add	x23, x23, x8
	add	x20, x20, x28
	add	x21, x21, x28
	cbz	w26, LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	sub	w26, w26, #1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, #0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x21, x27]
	mov	w1, #10
	bl	_av_clip_uintp2
	mov	x25, x0
	ldr	w0, [x20, x27]
	mov	w1, #10
	bl	_av_clip_uintp2
                                        ; kill: def $w0 killed $w0 def $x0
	sbfiz	x8, x25, #3, #32
	ldp	x10, x9, [x24]
	ldr	x9, [x9, x8]
	sbfiz	x11, x0, #2, #32
	ldr	w9, [x9, x11]
	str	w9, [x23, x27]
	ldr	x8, [x10, x8]
	ldr	w8, [x8, x11]
	str	w8, [x22, x27]
	add	x27, x27, #4
	cmp	x19, x27
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_apply_lut10
.subsections_via_symbols
