	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp4_get_mode
_mp4_get_mode:                          ## @mp4_get_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rsi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r14
	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_4
## %bb.1:
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, -40(%rbp)
	movq	_mp4_mode_lookup@GOTPCREL(%rip), %rdi
	leaq	-40(%rbp), %rsi
	callq	_vc_containers_list_find_entry
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	-24(%rbp), %eax
	movl	%eax, (%r14)
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_LOG_ERROR
	jmp	LBB0_6
LBB0_5:
	movq	-40(%rbp), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_LOG_ERROR
LBB0_6:
	movq	_VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mode"

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

	.comm	_VC_CONTAINER_ERROR_FORMAT_INVALID,4,2 ## @VC_CONTAINER_ERROR_FORMAT_INVALID
	.comm	_mp4_mode_lookup,4,2            ## @mp4_mode_lookup
L_.str.2:                               ## @.str.2
	.asciz	"MPEG-4: Unrecognised mode parameter \"%s\""

	.comm	_VC_CONTAINER_SUCCESS,4,2       ## @VC_CONTAINER_SUCCESS
	.no_dead_strip	_mp4_get_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mp4_get_mode
_mp4_get_mode:                          ; @mp4_get_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
	ldr	x8, [x1]
	ldr	x8, [x8]
	ldr	x20, [x8]
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [sp, #40]
	add	x1, sp, #40
	mov	x0, x2
	bl	_vc_containers_list_find_entry
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x8, [sp, #48]
	cbz	x8, LBB0_4
; %bb.2:
	str	x8, [sp, #16]
Lloh2:
	adrp	x0, _mp4_mode_lookup@GOTPAGE
Lloh3:
	ldr	x0, [x0, _mp4_mode_lookup@GOTPAGEOFF]
	add	x1, sp, #16
	bl	_vc_containers_list_find_entry
	cbz	w0, LBB0_5
; %bb.3:
	ldr	w8, [sp, #32]
	str	w8, [x20]
Lloh4:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
	ldr	x8, [sp, #16]
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_LOG_ERROR
Lloh10:
	adrp	x8, _VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mode"

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

	.comm	_VC_CONTAINER_ERROR_FORMAT_INVALID,4,2 ; @VC_CONTAINER_ERROR_FORMAT_INVALID
	.comm	_mp4_mode_lookup,4,2            ; @mp4_mode_lookup
l_.str.2:                               ; @.str.2
	.asciz	"MPEG-4: Unrecognised mode parameter \"%s\""

	.comm	_VC_CONTAINER_SUCCESS,4,2       ; @VC_CONTAINER_SUCCESS
	.no_dead_strip	_mp4_get_mode
.subsections_via_symbols
