	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function trace_headers_init
_trace_headers_init:                    ## @trace_headers_init
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %r14
	movl	8(%rax), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_ff_cbs_init
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	movq	(%r14), %rcx
	movl	$1, (%rcx)
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movl	%esi, 4(%rcx)
	movq	(%rbx), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_3
## %bb.2:
	leaq	8(%r14), %r15
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_av_log
	movq	(%r14), %rdi
	movq	(%rbx), %rdx
	movq	%r15, %rsi
	callq	_ff_cbs_read_extradata
	movl	%eax, %ebx
	movq	(%r14), %rdi
	movq	%r15, %rsi
	callq	_ff_cbs_fragment_reset
	movl	%ebx, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Extradata\n"

	.no_dead_strip	_trace_headers_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function trace_headers_init
_trace_headers_init:                    ; @trace_headers_init
	.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	x20, x0
	ldp	x8, x19, [x0]
	ldr	w1, [x8, #8]
	mov	x0, x19
	mov	x2, x20
	bl	_ff_cbs_init
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	mov	w9, #1
	str	w9, [x8]
Lloh0:
	adrp	x9, _AV_LOG_INFO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_LOG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	str	w1, [x8, #4]
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	add	x21, x19, #8
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_av_log
	ldr	x0, [x19]
	ldr	x2, [x20]
	mov	x1, x21
	bl	_ff_cbs_read_extradata
	mov	x20, x0
	ldr	x0, [x19]
	mov	x1, x21
	bl	_ff_cbs_fragment_reset
	mov	x0, x20
LBB0_3:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Extradata\n"

	.no_dead_strip	_trace_headers_init
.subsections_via_symbols
