	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp4_parameter_handler          ## -- Begin function mp4_parameter_handler
	.p2align	4, 0x90
_mp4_parameter_handler:                 ## @mp4_parameter_handler
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	$72, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%rbx, 8(%rax)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_mp4_get_stream_type
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_10
## %bb.2:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_mp4_get_config
	cmpq	(%r13), %rax
	jne	LBB0_10
## %bb.3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_mp4_get_mode
	cmpq	(%r13), %rax
	jne	LBB0_10
## %bb.4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_mp4_check_unsupported_features
	cmpq	(%r13), %rax
	jne	LBB0_10
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_rtp_get_parameter_u32
	leaq	64(%rbx), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_rtp_get_parameter_u32
	leaq	56(%rbx), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_rtp_get_parameter_u32
	leaq	48(%rbx), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_rtp_get_parameter_u32
	leaq	40(%rbx), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_rtp_get_parameter_u32
	leaq	32(%rbx), %rdx
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_rtp_get_parameter_u32
	leaq	8(%rbx), %rdx
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	callq	_rtp_get_parameter_u32
	leaq	24(%rbx), %rdx
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	callq	_rtp_get_parameter_u32
	movq	%rbx, %rdx
	addq	$16, %rdx
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	callq	_rtp_get_parameter_u32
	cmpq	$0, 8(%rbx)
	je	LBB0_11
## %bb.6:
	cmpq	$0, (%rbx)
	je	LBB0_11
## %bb.7:
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	callq	_LOG_ERROR
	movq	_VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_VC_CONTAINER_ERROR_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %rax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mp4_check_parameters
	cmpq	(%r13), %rax
	jne	LBB0_10
## %bb.12:
	movq	_mp4_payload_handler@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	(%r15), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, (%rdx)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_ERROR_OUT_OF_MEMORY,8,3 ## @VC_CONTAINER_ERROR_OUT_OF_MEMORY
	.comm	_VC_CONTAINER_SUCCESS,8,3       ## @VC_CONTAINER_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sizeLength"

L_.str.1:                               ## @.str.1
	.asciz	"indexLength"

L_.str.2:                               ## @.str.2
	.asciz	"indexDeltaLength"

L_.str.3:                               ## @.str.3
	.asciz	"CTSDeltaLength"

L_.str.4:                               ## @.str.4
	.asciz	"DTSDeltaLength"

L_.str.5:                               ## @.str.5
	.asciz	"objectType"

L_.str.6:                               ## @.str.6
	.asciz	"constantSize"

L_.str.7:                               ## @.str.7
	.asciz	"constantDuration"

L_.str.8:                               ## @.str.8
	.asciz	"auxiliaryDataSizeLength"

L_.str.9:                               ## @.str.9
	.asciz	"MPEG4: constantSize and sizeLength cannot both be set."

	.comm	_VC_CONTAINER_ERROR_FORMAT_INVALID,8,3 ## @VC_CONTAINER_ERROR_FORMAT_INVALID
	.comm	_mp4_payload_handler,4,2        ## @mp4_payload_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp4_parameter_handler          ; -- Begin function mp4_parameter_handler
	.p2align	2
_mp4_parameter_handler:                 ; @mp4_parameter_handler
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	mov	w0, #72
	bl	_malloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x21, x0
	ldr	x8, [x19]
	ldr	x8, [x8]
	str	x0, [x8, #8]
	mov	w1, #0
	mov	w2, #72
	bl	_memset
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_mp4_get_stream_type
Lloh0:
	adrp	x23, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_mp4_get_config
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_mp4_get_mode
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_mp4_check_unsupported_features
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.5:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x21
	bl	_rtp_get_parameter_u32
	add	x2, x21, #64
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_rtp_get_parameter_u32
	add	x2, x21, #56
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_rtp_get_parameter_u32
	add	x2, x21, #48
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_rtp_get_parameter_u32
	add	x2, x21, #40
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_rtp_get_parameter_u32
	add	x2, x21, #32
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_rtp_get_parameter_u32
	add	x2, x21, #8
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_rtp_get_parameter_u32
	add	x2, x21, #24
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	bl	_rtp_get_parameter_u32
	add	x2, x21, #16
Lloh18:
	adrp	x1, l_.str.8@PAGE
Lloh19:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x22
	bl	_rtp_get_parameter_u32
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_11
; %bb.6:
	ldr	x8, [x21]
	cbz	x8, LBB0_11
; %bb.7:
Lloh20:
	adrp	x1, l_.str.9@PAGE
Lloh21:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_LOG_ERROR
Lloh22:
	adrp	x8, _VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPAGE
Lloh23:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh24:
	adrp	x8, _VC_CONTAINER_ERROR_OUT_OF_MEMORY@GOTPAGE
Lloh25:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_OUT_OF_MEMORY@GOTPAGEOFF]
LBB0_9:
	ldr	x0, [x8]
LBB0_10:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x0, x20
	mov	x1, x19
	bl	_mp4_check_parameters
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.12:
Lloh26:
	adrp	x8, _mp4_payload_handler@GOTPAGE
Lloh27:
	ldr	x8, [x8, _mp4_payload_handler@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	x9, [x9]
	str	w8, [x9]
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_ERROR_OUT_OF_MEMORY,8,3 ; @VC_CONTAINER_ERROR_OUT_OF_MEMORY
	.comm	_VC_CONTAINER_SUCCESS,8,3       ; @VC_CONTAINER_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sizeLength"

l_.str.1:                               ; @.str.1
	.asciz	"indexLength"

l_.str.2:                               ; @.str.2
	.asciz	"indexDeltaLength"

l_.str.3:                               ; @.str.3
	.asciz	"CTSDeltaLength"

l_.str.4:                               ; @.str.4
	.asciz	"DTSDeltaLength"

l_.str.5:                               ; @.str.5
	.asciz	"objectType"

l_.str.6:                               ; @.str.6
	.asciz	"constantSize"

l_.str.7:                               ; @.str.7
	.asciz	"constantDuration"

l_.str.8:                               ; @.str.8
	.asciz	"auxiliaryDataSizeLength"

l_.str.9:                               ; @.str.9
	.asciz	"MPEG4: constantSize and sizeLength cannot both be set."

	.comm	_VC_CONTAINER_ERROR_FORMAT_INVALID,8,3 ; @VC_CONTAINER_ERROR_FORMAT_INVALID
	.comm	_mp4_payload_handler,4,2        ; @mp4_payload_handler
.subsections_via_symbols
