	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp4_read_box_vide_avcC
_mp4_read_box_vide_avcC:                ## @mp4_read_box_vide_avcC
	.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
	testq	%rsi, %rsi
	jle	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %r15
	movq	(%r15), %rax
	movq	_VC_CONTAINER_CODEC_H264@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rax)
	jne	LBB0_2
## %bb.3:
	movq	%rsi, %r14
	movl	$97, %edi
	movl	$118, %esi
	movl	$99, %edx
	movl	$67, %ecx
	callq	_VC_FOURCC
	movq	(%r15), %rcx
	movl	%eax, 16(%rcx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_vc_container_track_allocate_extradata
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movq	(%r15), %rax
	movl	8(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_READ_BYTES
	movq	(%r15), %rcx
	movl	%eax, 12(%rcx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_STREAM_STATUS                  ## TAILCALL
LBB0_2:
	movq	_VC_CONTAINER_ERROR_CORRUPTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_CODEC_H264,8,3    ## @VC_CONTAINER_CODEC_H264
	.comm	_VC_CONTAINER_ERROR_CORRUPTED,8,3 ## @VC_CONTAINER_ERROR_CORRUPTED
	.comm	_VC_CONTAINER_SUCCESS,8,3       ## @VC_CONTAINER_SUCCESS
	.no_dead_strip	_mp4_read_box_vide_avcC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mp4_read_box_vide_avcC
_mp4_read_box_vide_avcC:                ; @mp4_read_box_vide_avcC
	.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
	cmp	x1, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x0
	ldp	x9, x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x21, [x9, x8, lsl #3]
	ldr	x8, [x21]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _VC_CONTAINER_CODEC_H264@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VC_CONTAINER_CODEC_H264@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	mov	x20, x1
	mov	w0, #97
	mov	w1, #118
	mov	w2, #99
	mov	w3, #67
	bl	_VC_FOURCC
	ldr	x8, [x21]
	str	w0, [x8, #16]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_vc_container_track_allocate_extradata
Lloh3:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x21]
	ldr	w1, [x8, #8]
	mov	x0, x19
	mov	x2, x20
	bl	_READ_BYTES
	ldr	x8, [x21]
	str	w0, [x8, #12]
	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	_STREAM_STATUS
LBB0_4:
Lloh6:
	adrp	x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
LBB0_5:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_CODEC_H264,8,3    ; @VC_CONTAINER_CODEC_H264
	.comm	_VC_CONTAINER_ERROR_CORRUPTED,8,3 ; @VC_CONTAINER_ERROR_CORRUPTED
	.comm	_VC_CONTAINER_SUCCESS,8,3       ; @VC_CONTAINER_SUCCESS
	.no_dead_strip	_mp4_read_box_vide_avcC
.subsections_via_symbols
