	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_decode_extradata
_hevc_decode_extradata:                 ## @hevc_decode_extradata
	.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	%ecx, %r14d
	movq	%rdi, %r15
	leaq	28(%rdi), %rcx
	leaq	24(%rdi), %r8
	leaq	20(%rdi), %r9
	movq	8(%rdi), %rax
	movl	(%rax), %r10d
	movl	16(%rdi), %ebx
	subq	$8, %rsp
	movq	%rsi, %rdi
	movl	%edx, %esi
	movq	%r15, %rdx
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_ff_hevc_decode_extradata
	addq	$32, %rsp
	testl	%eax, %eax
	js	LBB0_8
## %bb.1:
	movq	(%r15), %rdi
	callq	_FF_ARRAY_ELEMS
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	callq	_FF_ARRAY_ELEMS
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rdi,%rbx,8), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_export_stream_params
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hevc_decode_extradata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hevc_decode_extradata
_hevc_decode_extradata:                 ; @hevc_decode_extradata
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x19, x0
	add	x3, x0, #28
	add	x4, x0, #24
	add	x5, x0, #20
	ldr	x8, [x0, #8]
	ldr	w6, [x8]
	ldr	w7, [x0, #16]
	str	x8, [sp]
	mov	x0, x1
	mov	x1, x2
	mov	x2, x19
	bl	_ff_hevc_decode_extradata
	tbnz	w0, #31, LBB0_8
; %bb.1:
	ldr	x0, [x19]
	bl	_FF_ARRAY_ELEMS
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x21, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	bl	_FF_ARRAY_ELEMS
	cmp	x21, w0, sxtw
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	cbz	w20, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x0, x21, lsl #3]
	cbz	x8, LBB0_3
; %bb.6:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_export_stream_params
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hevc_decode_extradata
.subsections_via_symbols
