	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function redrat3_read_packet_continue
_redrat3_read_packet_continue:          ## @redrat3_read_packet_continue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	leal	(%rax,%r14), %ecx
	cmpl	$5, %ecx
	jb	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
	movl	$0, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	leaq	(%rbx,%rax), %rdi
	addq	$4, %rdi
	movl	12(%rbx), %esi
	movl	%r14d, %edx
	callq	_memcpy
	addl	(%rbx), %r14d
	movl	%r14d, (%rbx)
	movl	4(%rbx), %edi
	movl	8(%rbx), %ebx
	callq	_be16_to_cpu
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%r14d, %edx
	movl	%eax, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too much data for packet\n"

L_.str.1:                               ## @.str.1
	.asciz	"bytes_read %d, pktlen %d\n"

	.no_dead_strip	_redrat3_read_packet_continue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function redrat3_read_packet_continue
_redrat3_read_packet_continue:          ; @redrat3_read_packet_continue
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	add	w9, w8, w1
	cmp	w9, #5
	b.lo	LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
	str	wzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x20, x1
	add	x9, x19, #4
	add	x0, x9, x8
	ldr	w1, [x19, #12]
	mov	x2, x20
	bl	_memcpy
	ldp	w8, w0, [x19]
	add	w20, w8, w20
	str	w20, [x19]
	ldr	w19, [x19, #8]
	bl	_be16_to_cpu
	mov	x3, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_dbg
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too much data for packet\n"

l_.str.1:                               ; @.str.1
	.asciz	"bytes_read %d, pktlen %d\n"

	.no_dead_strip	_redrat3_read_packet_continue
.subsections_via_symbols
