	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp4_get_config
_mp4_get_config:                        ## @mp4_get_config
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	8(%rsi), %rax
	movq	8(%rax), %rax
	movq	(%rax), %r13
	leaq	L_.str(%rip), %rax
	movq	%rax, -64(%rbp)
	leaq	-64(%rbp), %rsi
	movq	%rdx, %rdi
	callq	_vc_containers_list_find_entry
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movl	-56(%rbp), %edi
	testl	%edi, %edi
	je	LBB0_7
## %bb.2:
	callq	_strlen
	testb	$1, %al
	jne	LBB0_8
## %bb.3:
	movl	%eax, %ebx
	shrl	$31, %ebx
	addl	%eax, %ebx
	sarl	%ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_vc_container_track_allocate_extradata
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.4:
	movq	(%r15), %rax
	movq	8(%r15), %rcx
	movq	(%rcx), %r12
	movl	%ebx, (%rax)
	movl	-56(%rbp), %edi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_hex_to_byte_buffer
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_BITS_INIT
	movl	(%r13), %edx
	cmpl	$128, %edx
	jne	LBB0_13
## %bb.5:
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mp4_decode_audio_config
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
LBB0_9:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_LOG_ERROR
LBB0_10:
	movq	_VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPCREL(%rip), %rax
LBB0_11:
	movq	(%rax), %rax
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_LOG_ERROR
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"config"

L_.str.1:                               ## @.str.1
	.asciz	"MPEG-4: config parameter missing"

	.comm	_VC_CONTAINER_ERROR_FORMAT_INVALID,8,3 ## @VC_CONTAINER_ERROR_FORMAT_INVALID
L_.str.2:                               ## @.str.2
	.asciz	"MPEG-4: config parameter invalid"

	.comm	_VC_CONTAINER_SUCCESS,8,3       ## @VC_CONTAINER_SUCCESS
L_.str.3:                               ## @.str.3
	.asciz	"MPEG-4: stream type %d not supported"

	.no_dead_strip	_mp4_get_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mp4_get_config
_mp4_get_config:                        ; @mp4_get_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1, #8]
	ldr	x8, [x8, #8]
	ldr	x23, [x8]
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [sp, #16]
	add	x1, sp, #16
	mov	x0, x2
	bl	_vc_containers_list_find_entry
	cbz	w0, LBB0_7
; %bb.1:
	ldr	w0, [sp, #24]
	cbz	w0, LBB0_7
; %bb.2:
	bl	_strlen
	tbnz	w0, #0, LBB0_8
; %bb.3:
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w21, w8, #1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_vc_container_track_allocate_extradata
Lloh2:
	adrp	x24, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh3:
	ldr	x24, [x24, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.4:
	ldp	x9, x8, [x20]
	ldr	x22, [x8]
	str	w21, [x9]
	ldr	w0, [sp, #24]
	mov	x1, x22
	mov	x2, x21
	bl	_hex_to_byte_buffer
	add	x1, sp, #12
	mov	x0, x19
	mov	x2, x22
	mov	x3, x21
	bl	_BITS_INIT
	ldr	w8, [x23]
	cmp	w8, #128
	b.ne	LBB0_12
; %bb.5:
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x20
	bl	_mp4_decode_audio_config
	cbz	w0, LBB0_10
; %bb.6:
	ldr	x0, [x24]
	b	LBB0_11
LBB0_7:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_9:
	mov	x0, x19
	bl	_LOG_ERROR
LBB0_10:
Lloh8:
	adrp	x8, _VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_12:
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"config"

l_.str.1:                               ; @.str.1
	.asciz	"MPEG-4: config parameter missing"

	.comm	_VC_CONTAINER_ERROR_FORMAT_INVALID,8,3 ; @VC_CONTAINER_ERROR_FORMAT_INVALID
l_.str.2:                               ; @.str.2
	.asciz	"MPEG-4: config parameter invalid"

	.comm	_VC_CONTAINER_SUCCESS,8,3       ; @VC_CONTAINER_SUCCESS
l_.str.3:                               ; @.str.3
	.asciz	"MPEG-4: stream type %d not supported"

	.no_dead_strip	_mp4_get_config
.subsections_via_symbols
