	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asv2_put_level
_asv2_put_level:                        ## @asv2_put_level
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	leal	31(%rbx), %ecx
	movq	_ff_asv2_level_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$62, %ecx
	ja	LBB0_1
## %bb.4:
	movl	%ecx, %ecx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_put_bits                       ## TAILCALL
LBB0_1:
	movq	%rdi, %r15
	movq	248(%rax), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r14, %rdi
	callq	_put_bits
	movsbl	%bl, %eax
	cmpl	%ebx, %eax
	je	LBB0_3
## %bb.2:
	movl	(%r15), %edi
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %ecx
	callq	_av_log
	movl	%ebx, %edi
	callq	_av_clip_int8
	movl	%eax, %ebx
LBB0_3:
	movzbl	%bl, %edx
	movq	%r14, %rdi
	movl	$8, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_asv2_put_bits                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_asv2_level_tab,8,3          ## @ff_asv2_level_tab
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Clipping level %d, increase qscale\n"

	.no_dead_strip	_asv2_put_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asv2_put_level
_asv2_put_level:                        ; @asv2_put_level
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	add	w8, w2, #31
Lloh0:
	adrp	x9, _ff_asv2_level_tab@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ff_asv2_level_tab@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	w8, #62
	b.hi	LBB0_2
; %bb.1:
	ldr	x8, [x9, w8, uxtw #3]
	ldp	w2, w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_put_bits
LBB0_2:
	mov	x20, x2
	mov	x21, x0
	ldr	x8, [x9, #248]
	ldp	w2, w1, [x8]
	mov	x0, x19
	bl	_put_bits
	cmp	w20, w20, sxtb
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x21]
Lloh3:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x20
	bl	_av_log
	mov	x0, x20
	bl	_av_clip_int8
	mov	x20, x0
LBB0_4:
	and	w2, w20, #0xff
	mov	x0, x19
	mov	w1, #8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_asv2_put_bits
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_asv2_level_tab,8,3          ; @ff_asv2_level_tab
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Clipping level %d, increase qscale\n"

	.no_dead_strip	_asv2_put_level
.subsections_via_symbols
