	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtp_send_h264_hevc          ## -- Begin function ff_rtp_send_h264_hevc
	.p2align	4, 0x90
_ff_rtp_send_h264_hevc:                 ## @ff_rtp_send_h264_hevc
	.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, %rbx
	movq	%rdi, %r14
	movslq	%edx, %rax
	leaq	(%rsi,%rax,4), %r15
	movq	(%rdi), %r13
	movl	16(%r13), %eax
	movl	%eax, 20(%r13)
	movl	8(%r13), %eax
	movl	%eax, 12(%r13)
	movq	(%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ff_avc_mp4_find_startcode
	testq	%rax, %rax
	cmoveq	%r15, %rbx
	cmpq	%r15, %rbx
	jb	LBB0_4
	jmp	LBB0_9
LBB0_2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ff_avc_find_startcode
	movq	%rax, %rbx
	cmpq	%r15, %rbx
	jb	LBB0_4
LBB0_9:
	movq	%r14, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_flush_buffered                 ## TAILCALL
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ff_avc_mp4_find_startcode
	movq	%rax, %r12
	testq	%rax, %rax
	cmoveq	%r15, %r12
	movq	(%r13), %rax
	leaq	(%rbx,%rax,4), %rbx
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdx
	subq	%rbx, %rdx
	shrq	$2, %rdx
	xorl	%ecx, %ecx
	cmpq	%r15, %r12
	sete	%cl
	movq	%r14, %rdi
	movq	%rbx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_nal_send
	movq	%r12, %rbx
	cmpq	%r15, %r12
	jae	LBB0_9
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	(%r13), %rdx
	testq	%rdx, %rdx
	jne	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$0, (%rbx)
	leaq	4(%rbx), %rbx
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ff_avc_find_startcode
	movq	%rax, %r12
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtp_send_h264_hevc          ; -- Begin function ff_rtp_send_h264_hevc
	.p2align	2
_ff_rtp_send_h264_hevc:                 ; @ff_rtp_send_h264_hevc
	.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	x21, x1
	mov	x19, x0
	add	x20, x1, w2, sxtw #2
	ldr	x23, [x0]
	ldr	w8, [x23, #16]
	str	w8, [x23, #20]
	ldr	w8, [x23, #8]
	str	w8, [x23, #12]
	ldr	x2, [x23]
	cbz	x2, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	bl	_ff_avc_mp4_find_startcode
	cmp	x0, #0
	csel	x21, x20, x21, eq
	cmp	x21, x20
	b.lo	LBB0_6
	b	LBB0_3
LBB0_2:
	mov	x0, x21
	mov	x1, x20
	bl	_ff_avc_find_startcode
	mov	x21, x0
	cmp	x21, x20
	b.lo	LBB0_6
LBB0_3:
	mov	x0, x19
	mov	w1, #1
	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
	b	_flush_buffered
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_ff_avc_mp4_find_startcode
	cmp	x0, #0
	csel	x22, x20, x0, eq
	ldr	x8, [x23]
	add	x21, x21, x8, lsl #2
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	x8, x22, x21
	lsr	x2, x8, #2
	cmp	x22, x20
	cset	w3, eq
	mov	x0, x19
	mov	x1, x21
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_nal_send
	mov	x21, x22
	cmp	x22, x20
	b.hs	LBB0_3
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x2, [x23]
	cbnz	x2, LBB0_4
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x21], #4
	cbz	w8, LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_ff_avc_find_startcode
	mov	x22, x0
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
