	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_opt_next                    ## -- Begin function av_opt_next
	.p2align	4, 0x90
_av_opt_next:                           ## @av_opt_next
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	testq	%rsi, %rsi
	jne	LBB0_5
## %bb.2:
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	cmoveq	%rcx, %rax
	popq	%rbp
	retq
LBB0_5:
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.6:
	movq	8(%rsi), %rax
	addq	$8, %rsi
	testq	%rax, %rax
	cmoveq	%rax, %rsi
	movq	%rsi, %rax
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_opt_next                    ; -- Begin function av_opt_next
	.p2align	2
_av_opt_next:                           ; @av_opt_next
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_7
; %bb.1:
	cbnz	x1, LBB0_5
; %bb.2:
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x9, [x8]
	cmp	x9, #0
	csel	x0, xzr, x8, eq
	ret
LBB0_5:
	cbz	x1, LBB0_8
; %bb.6:
	ldr	x8, [x1, #8]!
	cmp	x8, #0
	csel	x0, xzr, x1, eq
LBB0_7:
	ret
LBB0_8:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
