	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_picture
_send_picture:                          ## @send_picture
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	addq	$4, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_AV_RB32
	movl	%eax, %r14d
	movq	_DIRAC_PIC_NR_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rsi
	subl	%eax, %r13d
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	testl	%r15d, %r15d
	setne	%al
	movl	%r14d, %ecx
	andb	%al, %cl
	movzbl	%cl, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leal	(,%r13,8), %edx
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_init_get_bits
	movq	%r12, %rdi
	callq	_get_interleaved_ue_golomb
	movq	%r12, %rdi
	callq	_get_interleaved_ue_golomb
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_get_interleaved_ue_golomb
	movq	%r12, %rdi
	callq	_get_interleaved_ue_golomb
	movq	%r12, %rdi
	callq	_get_interleaved_ue_golomb
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_get_interleaved_ue_golomb
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_get_interleaved_ue_golomb
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.1:
	leaq	-48(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_get_interleaved_ue_golomb
	movq	%r12, %rdi
	callq	_get_interleaved_ue_golomb
	movq	%r12, %rdi
	callq	_get_interleaved_ue_golomb
	decl	%ebx
	jne	LBB0_2
LBB0_3:
	leaq	-48(%rbp), %rdi
	callq	_get_bits_count
	movl	%eax, %r12d
	leal	7(%r12), %eax
	addl	$14, %r12d
	testl	%eax, %eax
	cmovnsl	%eax, %r12d
	sarl	$3, %r12d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_AV_WB32
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	leaq	8(%rbx), %rdi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	callq	_AV_WB16
	leaq	10(%rbx), %rdi
	movl	%r15d, %esi
	callq	_AV_WB16
	leaq	12(%rbx), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	%r12d, %esi
	callq	_AV_WB16
	leaq	14(%rbx), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	callq	_AV_WB16
	movq	_DIRAC_RTP_PCODE_HQ_PIC_FRAGMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	$12, %edx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rcx
	movl	%r12d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	$0
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	pushq	%rax
	callq	_send_packet
	addq	$16, %rsp
	subl	%r12d, %r13d
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	jle	LBB0_6
## %bb.4:
	movslq	%r12d, %rax
	leaq	(%r14,%rax,4), %r15
	leaq	16(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	addq	$18, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx), %rdi
	addq	$-20, %rdi
	movl	%r13d, %esi
	movq	%rcx, %r12
	callq	_FFMIN
	movl	%eax, %r14d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_AV_WB16
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	callq	_AV_WB16
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_AV_WB16
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_AV_WB16
	movq	_DIRAC_RTP_PCODE_HQ_PIC_FRAGMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %eax
	subl	%r14d, %eax
	movq	%rbx, %r10
	xorl	%ebx, %ebx
	testl	%eax, %eax
	setle	%bl
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	$16, %edx
	movq	%r15, %rcx
	movl	%r14d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rbx
	movq	%r10, %rbx
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_send_packet
	movq	%r12, %rcx
	addq	$16, %rsp
	movslq	%r14d, %rax
	leaq	(%r15,%rax,4), %r15
	subl	%r14d, %r13d
	jg	LBB0_5
LBB0_6:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIRAC_PIC_NR_SIZE,8,3          ## @DIRAC_PIC_NR_SIZE
	.comm	_DIRAC_RTP_PCODE_HQ_PIC_FRAGMENT,4,2 ## @DIRAC_RTP_PCODE_HQ_PIC_FRAGMENT
	.no_dead_strip	_send_picture
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_picture
_send_picture:                          ; @send_picture
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	ldr	x8, [x0]
	stp	x8, x0, [sp, #16]               ; 16-byte Folded Spill
	ldr	x28, [x8]
	add	x23, x28, #4
	mov	x0, x1
	bl	_AV_RB32
	mov	x24, x0
Lloh0:
	adrp	x8, _DIRAC_PIC_NR_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIRAC_PIC_NR_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x22, x22, x8, lsl #2
	sub	w9, w21, w8
	mov	x20, x19
	cmp	w19, #0
	cset	w8, ne
	and	w21, w8, w0
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	lsl	w2, w9, #3
	add	x0, sp, #44
	mov	x1, x22
	bl	_init_get_bits
	add	x0, sp, #44
	bl	_get_interleaved_ue_golomb
	add	x0, sp, #44
	bl	_get_interleaved_ue_golomb
	mov	x27, x0
	add	x0, sp, #44
	bl	_get_interleaved_ue_golomb
	add	x0, sp, #44
	bl	_get_interleaved_ue_golomb
	add	x0, sp, #44
	bl	_get_interleaved_ue_golomb
	mov	x25, x0
	add	x0, sp, #44
	bl	_get_interleaved_ue_golomb
	mov	x26, x0
	add	x0, sp, #44
	bl	_get_interleaved_ue_golomb
	cmp	w27, #1
	b.lt	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #44
	bl	_get_interleaved_ue_golomb
	add	x0, sp, #44
	bl	_get_interleaved_ue_golomb
	add	x0, sp, #44
	bl	_get_interleaved_ue_golomb
	subs	w27, w27, #1
	b.ne	LBB0_1
LBB0_2:
	add	x0, sp, #44
	bl	_get_bits_count
	add	w8, w0, #7
	add	w9, w0, #14
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w27, w8, #3
	mov	x0, x23
	mov	x1, x24
	bl	_AV_WB32
	add	x0, x28, #8
	mov	x1, x25
	bl	_AV_WB16
	add	x0, x28, #10
	mov	x1, x26
	bl	_AV_WB16
	add	x0, x28, #12
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	mov	x1, x27
	bl	_AV_WB16
	add	x24, x28, #14
	mov	x0, x24
	mov	w1, #0
	bl	_AV_WB16
Lloh3:
	adrp	x8, _DIRAC_RTP_PCODE_HQ_PIC_FRAGMENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DIRAC_RTP_PCODE_HQ_PIC_FRAGMENT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	x19, [sp, #24]                  ; 8-byte Folded Reload
	mov	x0, x19
	mov	w2, #12
	mov	x3, x22
	mov	x4, x27
	mov	x5, x20
	mov	x6, x21
	mov	w7, #0
	bl	_send_packet
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	sub	w25, w8, w27
	cmp	w25, #1
	mov	x23, x21
	ldr	x21, [sp, #16]                  ; 8-byte Folded Reload
	b.lt	LBB0_5
; %bb.3:
	add	x22, x22, w27, sxtw #2
	add	x26, x28, #16
	add	x27, x28, #18
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	sub	x0, x8, #20
	mov	x1, x25
	bl	_FFMIN
	mov	x28, x0
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x1, x28
	bl	_AV_WB16
	mov	x0, x24
	mov	w1, #1
	bl	_AV_WB16
	mov	x0, x26
	mov	w1, #0
	bl	_AV_WB16
	mov	x0, x27
	mov	w1, #0
	bl	_AV_WB16
	sub	w25, w25, w28
Lloh6:
	adrp	x8, _DIRAC_RTP_PCODE_HQ_PIC_FRAGMENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DIRAC_RTP_PCODE_HQ_PIC_FRAGMENT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	cmp	w25, #1
	cset	w7, lt
	mov	x0, x19
	mov	w2, #16
	mov	x3, x22
	mov	x4, x28
	mov	x5, x20
	mov	x6, x23
	bl	_send_packet
	add	x22, x22, w28, sxtw #2
	cmp	w25, #0
	b.gt	LBB0_4
LBB0_5:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DIRAC_PIC_NR_SIZE,8,3          ; @DIRAC_PIC_NR_SIZE
	.comm	_DIRAC_RTP_PCODE_HQ_PIC_FRAGMENT,4,2 ; @DIRAC_RTP_PCODE_HQ_PIC_FRAGMENT
	.no_dead_strip	_send_picture
.subsections_via_symbols
