	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prompeg_write_fec
_prompeg_write_fec:                     ## @prompeg_write_fec
	.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, %r14
	movq	%rsi, %r12
	movq	(%rdi), %r13
	movq	56(%r13), %rbx
	movq	8(%rsi), %r15
	movq	_PROMPEG_FEC_COL@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	48(%r13), %esi
	incl	%esi
	movl	%esi, 48(%r13)
	jmp	LBB0_3
LBB0_2:
	movl	44(%r13), %esi
	incl	%esi
	movl	%esi, 44(%r13)
LBB0_3:
	movq	(%r15), %rax
	andl	$63, %eax
	orq	$128, %rax
	movq	%rax, (%rbx)
	movq	8(%r15), %rax
	andl	$128, %eax
	movq	_PROMPEG_RTP_PT@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	movq	%rax, 8(%rbx)
	leaq	16(%rbx), %rdi
	callq	_AV_WB16
	leaq	32(%rbx), %rdi
	movl	4(%r12), %esi
	callq	_AV_WB32
	leaq	96(%rbx), %rdi
	movl	(%r12), %esi
	callq	_AV_WB16
	movq	48(%r15), %rax
	movq	%rax, 112(%rbx)
	movq	56(%r15), %rax
	movq	%rax, 120(%rbx)
	movl	$128, %eax
	orq	8(%r15), %rax
	movq	%rax, 128(%rbx)
	movq	16(%r15), %rax
	movq	%rax, 160(%rbx)
	movq	24(%r15), %rax
	movq	%rax, 168(%rbx)
	movq	32(%r15), %rax
	movq	%rax, 176(%rbx)
	movq	40(%r15), %rax
	movq	%rax, 184(%rbx)
	movq	_PROMPEG_FEC_COL@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	xorl	%ecx, %ecx
	cmpq	%r14, %rax
	setne	%cl
	shlq	$6, %rcx
	movq	%rcx, 192(%rbx)
	cmpq	%r14, %rax
	jne	LBB0_5
## %bb.4:
	movslq	(%r13), %rax
	movq	%rax, 200(%rbx)
	movq	8(%r13), %rax
	jmp	LBB0_6
LBB0_5:
	movq	$1, 200(%rbx)
	movslq	(%r13), %rax
LBB0_6:
	movq	%rax, 208(%rbx)
	leaq	224(%rbx), %rdi
	addq	$64, %r15
	movl	40(%r13), %edx
	movq	%r15, %rsi
	callq	_memcpy
	xorl	%eax, %eax
	cmpq	%r14, (%r12)
	sete	%al
	movq	24(%r13,%rax,8), %rdi
	movl	16(%r13), %edx
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ffurl_write                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PROMPEG_FEC_COL,8,3            ## @PROMPEG_FEC_COL
	.comm	_PROMPEG_RTP_PT,8,3             ## @PROMPEG_RTP_PT
	.no_dead_strip	_prompeg_write_fec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prompeg_write_fec
_prompeg_write_fec:                     ; @prompeg_write_fec
	.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	x20, x2
	mov	x21, x1
	ldr	x22, [x0]
	ldr	x19, [x22, #56]
	ldr	x24, [x1, #8]
Lloh0:
	adrp	x23, _PROMPEG_FEC_COL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PROMPEG_FEC_COL@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x8, x2
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x22, #48]
	add	w1, w8, #1
	str	w1, [x22, #48]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x22, #44]
	add	w1, w8, #1
	str	w1, [x22, #44]
LBB0_3:
	ldr	x8, [x24]
	mov	w9, #128
	bfxil	x9, x8, #0, #6
	str	x9, [x19]
	ldr	x8, [x24, #8]
	and	x8, x8, #0x80
Lloh2:
	adrp	x9, _PROMPEG_RTP_PT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PROMPEG_RTP_PT@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	orr	x8, x8, x9
	str	x8, [x19, #8]
	add	x0, x19, #16
	bl	_AV_WB16
	add	x0, x19, #32
	ldr	w1, [x21, #4]
	bl	_AV_WB32
	add	x0, x19, #96
	ldr	w1, [x21]
	bl	_AV_WB16
	ldr	x8, [x24, #48]
	str	x8, [x19, #112]
	ldr	x8, [x24, #56]
	str	x8, [x19, #120]
	ldr	x8, [x24, #8]
	orr	x8, x8, #0x80
	str	x8, [x19, #128]
	ldr	x8, [x24, #16]
	str	x8, [x19, #160]
	ldr	x8, [x24, #24]
	str	x8, [x19, #168]
	ldr	x8, [x24, #32]
	str	x8, [x19, #176]
	ldr	x8, [x24, #40]
	ldr	x9, [x23]
	cmp	x9, x20
	cset	w9, ne
	lsl	x9, x9, #6
	stp	x8, x9, [x19, #184]
	b.ne	LBB0_5
; %bb.4:
	ldrsw	x8, [x22]
	str	x8, [x19, #200]
	ldr	x8, [x22, #8]
	b	LBB0_6
LBB0_5:
	mov	w8, #1
	str	x8, [x19, #200]
	ldrsw	x8, [x22]
LBB0_6:
	str	x8, [x19, #208]
	add	x0, x19, #224
	add	x1, x24, #64
	ldr	w2, [x22, #40]
	bl	_memcpy
	ldr	x8, [x23]
	mov	w9, #24
	mov	w10, #32
	cmp	x8, x20
	csel	x8, x10, x9, eq
	ldr	x0, [x22, x8]
	ldr	w2, [x22, #16]
	mov	x1, x19
	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	_ffurl_write
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PROMPEG_FEC_COL,8,3            ; @PROMPEG_FEC_COL
	.comm	_PROMPEG_RTP_PT,8,3             ; @PROMPEG_RTP_PT
	.no_dead_strip	_prompeg_write_fec
.subsections_via_symbols
