	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rdt_parse_packet            ## -- Begin function ff_rdt_parse_packet
	.p2align	4, 0x90
_ff_rdt_parse_packet:                   ## @ff_rdt_parse_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	(%rdx), %r13
	testq	%r13, %r13
	jne	LBB0_10
	jmp	LBB0_4
LBB0_3:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_8
LBB0_4:
	movslq	8(%rbx), %rcx
	cmpq	$-1, %rcx
	je	LBB0_9
## %bb.5:
	movq	$0, -56(%rbp)
	movl	44(%rbx), %edi
	movl	40(%rbx), %esi
	movq	32(%rbx), %rdx
	movl	(%rdx,%rcx,4), %edx
	subq	$8, %rsp
	leaq	-56(%rbp), %r8
	movq	%r14, %rcx
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	pushq	$0
	callq	*%rax
LBB0_6:
	addq	$32, %rsp
LBB0_7:
	movl	%eax, %r12d
	jmp	LBB0_21
LBB0_8:
	movl	$-1, %r12d
	jmp	LBB0_21
LBB0_9:
	xorl	%r13d, %r13d
LBB0_10:
	movl	$-1, %r12d
	cmpl	$12, %r15d
	jl	LBB0_21
## %bb.11:
	subq	$8, %rsp
	leaq	-56(%rbp), %rax
	leaq	-64(%rbp), %rdx
	leaq	-68(%rbp), %rcx
	leaq	-44(%rbp), %r8
	leaq	-60(%rbp), %r9
	movq	%r13, %rdi
	movl	%r15d, %esi
	pushq	%rax
	callq	_ff_rdt_parse_header
	addq	$16, %rsp
	testl	%eax, %eax
	js	LBB0_7
## %bb.12:
	xorl	%r10d, %r10d
	cmpl	$0, -60(%rbp)
	je	LBB0_17
## %bb.13:
	movl	-64(%rbp), %ecx
	movq	-56(%rbp), %rdx
	cmpl	12(%rbx), %ecx
	jne	LBB0_16
## %bb.14:
	cmpq	16(%rbx), %rdx
	jne	LBB0_16
## %bb.15:
	movl	-44(%rbp), %esi
	cmpl	8(%rbx), %esi
	je	LBB0_17
LBB0_16:
	movq	_RTP_FLAG_KEY@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r10d
	movl	%ecx, 12(%rbx)
	movq	%rdx, 16(%rbx)
LBB0_17:
	movslq	-44(%rbp), %rcx
	movl	%ecx, 8(%rbx)
	cmpl	24(%rbx), %ecx
	jge	LBB0_20
## %bb.18:
	subl	%eax, %r15d
	movl	%eax, %eax
	leaq	(,%rax,4), %r9
	addq	%r13, %r9
	movl	44(%rbx), %edi
	movl	40(%rbx), %esi
	movq	32(%rbx), %rax
	movl	(%rax,%rcx,4), %edx
	subq	$8, %rsp
	leaq	-56(%rbp), %r8
	movq	%r14, %rcx
	pushq	%r10
	pushq	$0
	pushq	%r15
	callq	*(%rbx)
	jmp	LBB0_6
LBB0_20:
	movl	$-1, 8(%rbx)
LBB0_21:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTP_FLAG_KEY,4,2               ## @RTP_FLAG_KEY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rdt_parse_packet            ; -- Begin function ff_rdt_parse_packet
	.p2align	2
_ff_rdt_parse_packet:                   ; @ff_rdt_parse_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x3
	mov	x19, x1
	mov	x20, x0
	cbz	x2, LBB0_4
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.2:
	ldr	x22, [x2]
	cbz	x22, LBB0_5
; %bb.3:
	cmp	w21, #12
	b.ge	LBB0_10
	b	LBB0_8
LBB0_4:
	ldr	x8, [x20]
	cbz	x8, LBB0_8
LBB0_5:
	ldrsw	x9, [x20, #8]
	cmn	w9, #1
	b.eq	LBB0_7
; %bb.6:
	str	xzr, [sp, #8]
	ldp	w1, w0, [x20, #40]
	ldr	x10, [x20, #32]
	ldr	w2, [x10, x9, lsl #2]
	str	wzr, [sp]
	add	x4, sp, #8
	mov	x3, x19
	mov	x5, #0
	mov	w6, #0
	mov	w7, #0
	blr	x8
	b	LBB0_9
LBB0_7:
	mov	x22, #0
	cmp	w21, #12
	b.ge	LBB0_10
LBB0_8:
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
	add	x2, sp, #20
	add	x3, sp, #28
	add	x4, sp, #24
	add	x5, sp, #16
	add	x6, sp, #8
	mov	x0, x22
	mov	x1, x21
	bl	_ff_rdt_parse_header
	tbnz	w0, #31, LBB0_9
; %bb.11:
	ldr	w8, [sp, #16]
	cbz	w8, LBB0_17
; %bb.12:
	ldr	w9, [sp, #20]
	ldr	w8, [x20, #12]
	ldr	x10, [sp, #8]
	cmp	w9, w8
	b.ne	LBB0_16
; %bb.13:
	ldr	x8, [x20, #16]
	cmp	x10, x8
	b.ne	LBB0_16
; %bb.14:
	ldr	w8, [sp, #24]
	ldr	w11, [x20, #8]
	cmp	w8, w11
	b.ne	LBB0_16
; %bb.15:
	mov	w8, #0
	b	LBB0_17
LBB0_16:
Lloh0:
	adrp	x8, _RTP_FLAG_KEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTP_FLAG_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w9, [x20, #12]
	str	x10, [x20, #16]
LBB0_17:
	ldrsw	x9, [sp, #24]
	str	w9, [x20, #8]
	ldr	w10, [x20, #24]
	cmp	w9, w10
	b.ge	LBB0_19
; %bb.18:
	sub	w6, w21, w0
	add	x5, x22, w0, uxtw #2
	ldr	x10, [x20]
	ldp	w1, w0, [x20, #40]
	ldr	x11, [x20, #32]
	ldr	w2, [x11, x9, lsl #2]
	str	w8, [sp]
	add	x4, sp, #8
	mov	x3, x19
	mov	w7, #0
	blr	x10
	b	LBB0_9
LBB0_19:
	mov	w0, #-1
	str	w0, [x20, #8]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RTP_FLAG_KEY,4,2               ; @RTP_FLAG_KEY
.subsections_via_symbols
