	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_init_qscale_tab             ## -- Begin function ff_init_qscale_tab
	.p2align	4, 0x90
_ff_init_qscale_tab:                    ## @ff_init_qscale_tab
	.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
	pushq	%rax
	.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_3
## %bb.1:
	movq	%rdi, %r15
	movq	32(%rdi), %r14
	movq	16(%rdi), %rcx
	xorl	%ebx, %ebx
	movq	_FF_LAMBDA_SCALE@GOTPCREL(%rip), %r12
	movq	_FF_LAMBDA_SHIFT@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rbx,8), %rax
	movq	8(%r15), %rcx
	imull	$139, (%rcx,%rax,4), %eax
	movl	(%r12), %edi
	shll	$6, %edi
	addl	%eax, %edi
	movzbl	(%r13), %ecx
	addb	$7, %cl
	shrl	%cl, %edi
	movq	24(%r15), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	callq	_av_clip
	movq	16(%r15), %rcx
	movq	(%rcx,%rbx,8), %rdx
	movl	%eax, (%r14,%rdx,4)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_LAMBDA_SCALE,4,2            ## @FF_LAMBDA_SCALE
	.comm	_FF_LAMBDA_SHIFT,4,2            ## @FF_LAMBDA_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_init_qscale_tab             ; -- Begin function ff_init_qscale_tab
	.p2align	2
_ff_init_qscale_tab:                    ; @ff_init_qscale_tab
	.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_3
; %bb.1:
	mov	x19, x0
	mov	x20, #0
	ldr	x21, [x0, #32]
	ldr	x8, [x0, #16]
	mov	w22, #139
Lloh0:
	adrp	x23, _FF_LAMBDA_SCALE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _FF_LAMBDA_SCALE@GOTPAGEOFF]
Lloh2:
	adrp	x24, _FF_LAMBDA_SHIFT@GOTPAGE
Lloh3:
	ldr	x24, [x24, _FF_LAMBDA_SHIFT@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x25, x20, #3
	ldr	x8, [x8, x25]
	ldr	x9, [x19, #8]
	ldr	w8, [x9, x8, lsl #2]
	mul	w8, w8, w22
	ldr	w9, [x23]
	add	w8, w8, w9, lsl #6
	ldr	w9, [x24]
	add	w9, w9, #7
	lsr	w0, w8, w9
	ldr	x8, [x19, #24]
	ldp	w2, w1, [x8]
	bl	_av_clip
	ldr	x8, [x19, #16]
	ldr	x9, [x8, x25]
	str	w0, [x21, x9, lsl #2]
	add	x20, x20, #1
	ldrsw	x9, [x19]
	cmp	x20, x9
	b.lt	LBB0_2
LBB0_3:
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_LAMBDA_SCALE,4,2            ; @FF_LAMBDA_SCALE
	.comm	_FF_LAMBDA_SHIFT,4,2            ; @FF_LAMBDA_SHIFT
.subsections_via_symbols
