	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reset_packet_state
_reset_packet_state:                    ## @reset_packet_state
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	movq	_PARSE_PACKET_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 120(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 88(%r14)
	movups	%xmm0, 104(%r14)
	movl	80(%r14), %eax
	movl	%eax, 84(%r14)
	movups	%xmm0, 16(%r14)
	movups	%xmm0, 32(%r14)
	movups	%xmm0, 48(%r14)
	movups	%xmm0, 64(%r14)
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%r15,8), %rbx
	movups	%xmm0, 24(%rbx)
	movups	%xmm0, 8(%rbx)
	movq	$0, 40(%rbx)
	movq	%rbx, %rdi
	callq	_av_packet_unref
	movq	%rbx, %rdi
	callq	_av_init_packet
	xorps	%xmm0, %xmm0
	incq	%r15
	movslq	(%r14), %rax
	cmpq	%rax, %r15
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PARSE_PACKET_HEADER,4,2        ## @PARSE_PACKET_HEADER
	.no_dead_strip	_reset_packet_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reset_packet_state
_reset_packet_state:                    ; @reset_packet_state
	.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]
Lloh0:
	adrp	x8, _PARSE_PACKET_HEADER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PARSE_PACKET_HEADER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #120]
	movi.2d	v0, #0000000000000000
	stur	q0, [x20, #88]
	stur	q0, [x20, #104]
	ldr	w8, [x20, #80]
	str	w8, [x20, #84]
	stp	q0, q0, [x20, #16]
	stp	q0, q0, [x20, #48]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x19, [x8, x21, lsl #3]
	str	xzr, [x19, #40]
	stur	q0, [x19, #24]
	stur	q0, [x19, #8]
	mov	x0, x19
	bl	_av_packet_unref
	mov	x0, x19
	bl	_av_init_packet
	movi.2d	v0, #0000000000000000
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PARSE_PACKET_HEADER,4,2        ; @PARSE_PACKET_HEADER
	.no_dead_strip	_reset_packet_state
.subsections_via_symbols
