	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp4_new_rtp_packet
_mp4_new_rtp_packet:                    ## @mp4_new_rtp_packet
	.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	%rsi, %r14
	movq	%rdi, %r12
	movq	8(%rsi), %r13
	cmpq	$0, 32(%r13)
	jne	LBB0_4
## %bb.1:
	cmpq	$0, 24(%r13)
	jne	LBB0_4
## %bb.2:
	cmpq	$0, 16(%r13)
	jne	LBB0_4
## %bb.3:
	cmpq	$0, 8(%r13)
	je	LBB0_5
LBB0_4:
	leaq	40(%r13), %r15
	leaq	L_.str(%rip), %rcx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$16, %edx
	callq	_BITS_READ_U32
	movl	%eax, %edi
	callq	_BITS_TO_BYTES
	movl	%eax, %ebx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_BITS_CURRENT_POINTER
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_BITS_INIT
	leaq	L_.str.1(%rip), %rcx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_BITS_SKIP_BYTES
LBB0_5:
	movl	(%r13), %edx
	testl	%edx, %edx
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rcx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_BITS_READ_U32
	movl	%eax, %edi
	callq	_BITS_TO_BYTES
	leaq	L_.str.3(%rip), %rcx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_BITS_SKIP_BYTES
LBB0_7:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_BITS_VALID
	testq	%rax, %rax
	jne	LBB0_8
## %bb.9:
	movq	_VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AU headers length"

L_.str.1:                               ## @.str.1
	.asciz	"Move payload past AU headers"

L_.str.2:                               ## @.str.2
	.asciz	"Auxiliary length"

L_.str.3:                               ## @.str.3
	.asciz	"Auxiliary data"

	.comm	_VC_CONTAINER_SUCCESS,4,2       ## @VC_CONTAINER_SUCCESS
	.comm	_VC_CONTAINER_ERROR_FORMAT_INVALID,4,2 ## @VC_CONTAINER_ERROR_FORMAT_INVALID
	.no_dead_strip	_mp4_new_rtp_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mp4_new_rtp_packet
_mp4_new_rtp_packet:                    ; @mp4_new_rtp_packet
	.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	x19, x1
	mov	x20, x0
	ldr	x23, [x1, #8]
	ldr	x8, [x23, #32]
	cbnz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x23, #24]
	cbnz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x23, #16]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_5
LBB0_4:
	add	x21, x23, #40
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	mov	w2, #16
	bl	_BITS_READ_U32
	bl	_BITS_TO_BYTES
	mov	x22, x0
	mov	x0, x20
	mov	x1, x19
	bl	_BITS_CURRENT_POINTER
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	x3, x22
	bl	_BITS_INIT
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_BITS_SKIP_BYTES
LBB0_5:
	ldr	w2, [x23]
	cbz	w2, LBB0_7
; %bb.6:
Lloh4:
	adrp	x3, l_.str.2@PAGE
Lloh5:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_BITS_READ_U32
	bl	_BITS_TO_BYTES
	mov	x2, x0
Lloh6:
	adrp	x3, l_.str.3@PAGE
Lloh7:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_BITS_SKIP_BYTES
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	bl	_BITS_VALID
Lloh8:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh10:
	adrp	x9, _VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPAGE
Lloh11:
	ldr	x9, [x9, _VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AU headers length"

l_.str.1:                               ; @.str.1
	.asciz	"Move payload past AU headers"

l_.str.2:                               ; @.str.2
	.asciz	"Auxiliary length"

l_.str.3:                               ; @.str.3
	.asciz	"Auxiliary data"

	.comm	_VC_CONTAINER_SUCCESS,4,2       ; @VC_CONTAINER_SUCCESS
	.comm	_VC_CONTAINER_ERROR_FORMAT_INVALID,4,2 ; @VC_CONTAINER_ERROR_FORMAT_INVALID
	.no_dead_strip	_mp4_new_rtp_packet
.subsections_via_symbols
