	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_subcc_packet
_create_subcc_packet:                   ## @create_subcc_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	(%rbx), %rax
	movslq	%edx, %rcx
	movl	(%rax,%rcx,4), %r15d
	xorl	%eax, %eax
	testl	%r15d, %r15d
	js	LBB0_8
## %bb.1:
	movq	%rsi, %r14
	movl	(%rsi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.2:
	movq	16(%r14), %rax
	movq	_AV_FRAME_DATA_A53_CC@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rdx,8), %rdi
	cmpq	%rsi, (%rdi)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_3
	jmp	LBB0_7
LBB0_5:
	movq	(%rax,%rdx,8), %r12
	leaq	8(%rbx), %rdi
	movl	8(%r12), %esi
	callq	_av_new_packet
	testl	%eax, %eax
	js	LBB0_8
## %bb.6:
	movl	20(%rbx), %edi
	movl	8(%r12), %edx
	movl	12(%r12), %esi
	callq	_memcpy
	movl	%r15d, 8(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 16(%rbx)
	movl	4(%r14), %eax
	movl	%eax, 12(%rbx)
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_FRAME_DATA_A53_CC,8,3       ## @AV_FRAME_DATA_A53_CC
	.no_dead_strip	_create_subcc_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_subcc_packet
_create_subcc_packet:                   ; @create_subcc_packet
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x20, [x0]
	ldr	x8, [x20]
	ldr	w21, [x8, w2, sxtw #2]
	tbnz	w21, #31, LBB0_5
; %bb.1:
	mov	x19, x1
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	ldr	x9, [x19, #16]
Lloh0:
	adrp	x10, _AV_FRAME_DATA_A53_CC@GOTPAGE
Lloh1:
	ldr	x10, [x10, _AV_FRAME_DATA_A53_CC@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9]
	ldr	x11, [x11]
	cmp	x11, x10
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_3
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x22, [x9]
	add	x0, x20, #8
	ldr	w1, [x22, #8]
	bl	_av_new_packet
	tbnz	w0, #31, LBB0_6
; %bb.8:
	ldr	w0, [x20, #20]
	ldp	w2, w1, [x22, #8]
	bl	_memcpy
	mov	w0, #0
	str	w21, [x20, #8]
	ldur	d0, [x19, #4]
	stur	d0, [x20, #12]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_FRAME_DATA_A53_CC,8,3       ; @AV_FRAME_DATA_A53_CC
	.no_dead_strip	_create_subcc_packet
.subsections_via_symbols
