	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_log2_i                      ## -- Begin function av_log2_i
	.p2align	4, 0x90
_av_log2_i:                             ## @av_log2_i
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_AV_INTEGER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %ebx
	shll	$4, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ecx, %ecx
	jle	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-8(%rdi,%rcx,8), %rax
	decq	%rcx
	addl	$-16, %ebx
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, %rdi
	callq	_av_log2_16bit
	addl	%ebx, %eax
	jmp	LBB0_5
LBB0_2:
	movl	$-1, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_INTEGER_SIZE,4,2            ## @AV_INTEGER_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_log2_i                      ; -- Begin function av_log2_i
	.p2align	2
_av_log2_i:                             ; @av_log2_i
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _AV_INTEGER_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_INTEGER_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w19, w8, #4
	sub	x9, x0, #8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x9, x8, lsl #3]
	sub	x8, x8, #1
	sub	w19, w19, #16
	cbz	x0, LBB0_1
; %bb.3:
	bl	_av_log2_16bit
	add	w0, w0, w19
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_INTEGER_SIZE,4,2            ; @AV_INTEGER_SIZE
.subsections_via_symbols
