	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function packetizeRx
_packetizeRx:                           ## @packetizeRx
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_hso_dbg
	movl	$128, %edi
	movl	%r15d, %esi
	callq	_min
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_DUMP
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.1:
	leaq	32(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_2
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	callq	_dev_err
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$128, (%r13)
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r15d, %r15d
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %eax
	cmpl	$129, %eax
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$130, %eax
	je	LBB0_19
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$128, %eax
	je	LBB0_5
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_hso_dbg
	decl	%r15d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r13), %ebx
	cmpl	%ebx, %r15d
	cmovbl	%r15d, %ebx
	movslq	8(%r13), %rdi
	addq	-56(%rbp), %rdi                 ## 8-byte Folded Reload
	movzwl	%r12w, %esi
	addq	-64(%rbp), %rsi                 ## 8-byte Folded Reload
	movzwl	%bx, %r14d
	movl	%r14d, %edx
	callq	_memcpy
	addl	%r14d, 8(%r13)
	addl	%r12d, %ebx
	movl	%ebx, %r12d
	subl	%r14d, %r15d
	subl	%r14d, 4(%r13)
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	32(%r13), %edi
	callq	_ntohs
	movzwl	%ax, %r14d
	movq	16(%r13), %rdi
	cmpw	$4, %r14w
	jb	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_DEFAULT_MRU@GOTPCREL(%rip), %rcx
	cmpw	(%rcx), %ax
	ja	LBB0_13
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %esi
	callq	_netdev_alloc_skb
	movq	%rax, 24(%r13)
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$4, %edx
	movq	%rax, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_skb_put_data
	movl	$4, 8(%r13)
	addl	$-4, %r14d
	movl	%r14d, 4(%r13)
	movl	$130, (%r13)
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r13), %ebx
	cmpl	%ebx, %r15d
	cmovbl	%r15d, %ebx
	movq	24(%r13), %rdi
	movzwl	%r12w, %esi
	addq	-64(%rbp), %rsi                 ## 8-byte Folded Reload
	movzwl	%bx, %r14d
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_skb_put_data
	subl	%r14d, %r15d
	addl	%r14d, 8(%r13)
	addl	%r12d, %ebx
	subl	%r14d, 4(%r13)
	movl	%ebx, %r12d
	jne	LBB0_15
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be16
	movq	24(%r13), %rdi
	movl	%eax, (%rdi)
	callq	_skb_reset_mac_header
	movq	24(%r13), %rdi
	callq	_netif_rx
	movq	$0, 24(%r13)
	movq	16(%r13), %rax
	incl	4(%rax)
	movl	8(%r13), %ecx
	addl	%ecx, (%rax)
	movl	$0, 8(%r13)
	movabsq	$17179869313, %rax              ## imm = 0x400000081
	movq	%rax, (%r13)
	jmp	LBB0_15
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_hso_dbg
	jmp	LBB0_14
LBB0_5:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_hso_dbg
LBB0_6:
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_9
## %bb.7:
	cmpl	$128, (%r13)
	jne	LBB0_9
## %bb.8:
	movabsq	$17179869313, %rax              ## imm = 0x400000081
	movq	%rax, (%r13)
	movl	$0, 8(%r13)
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Rx %d bytes\n"

	.comm	_DEFAULT_MRU,2,1                ## @DEFAULT_MRU
L_.str.1:                               ## @.str.1
	.asciz	"Invalid frame (%d) length\n"

L_.str.2:                               ## @.str.2
	.asciz	"could not allocate memory\n"

	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
L_.str.3:                               ## @.str.3
	.asciz	" W_S\n"

L_.str.4:                               ## @.str.4
	.asciz	"\n"

	.no_dead_strip	_packetizeRx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function packetizeRx
lCPI0_0:
	.long	129                             ; 0x81
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_packetizeRx:                           ; @packetizeRx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	str	x21, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_hso_dbg
	mov	w0, #128
	mov	x1, x21
	bl	_min
	mov	x1, x0
	mov	x0, x22
	bl	_DUMP
	cbz	w21, LBB0_18
; %bb.1:
	mov	w28, #0
	add	x24, x19, #32
Lloh2:
	adrp	x27, _ETH_P_IP@GOTPAGE
Lloh3:
	ldr	x27, [x27, _ETH_P_IP@GOTPAGEOFF]
Lloh4:
	adrp	x8, lCPI0_0@PAGE
Lloh5:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
Lloh6:
	adrp	x25, l_.str.4@PAGE
Lloh7:
	add	x25, x25, l_.str.4@PAGEOFF
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, x0, #8
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #128
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	w8, [x19]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	cbz	w21, LBB0_18
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	cmp	w8, #129
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #130
	b.eq	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #128
	b.eq	LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
	mov	x1, x25
	bl	_hso_dbg
	sub	w21, w21, #1
	cbnz	w21, LBB0_6
	b	LBB0_18
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	w8, w9, [x19, #4]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	cmp	w21, w8
	csel	w23, w21, w8, lo
	add	x0, x24, x9
	add	x1, x22, w28, uxth
	and	w26, w23, #0xffff
	mov	x2, x26
	bl	_memcpy
	ldp	w9, w8, [x19, #4]
	add	w8, w8, w26
	add	w28, w28, w23
	sub	w21, w21, w26
	subs	w9, w9, w26
	stp	w9, w8, [x19, #4]
	b.ne	LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x19, #32]
	bl	_ntohs
	mov	x2, x0
Lloh10:
	adrp	x8, _DEFAULT_MRU@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DEFAULT_MRU@GOTPAGEOFF]
	ldrh	w8, [x8]
	ldr	x0, [x19, #16]
	subs	w26, w2, #4
	ccmp	w2, w8, #2, hs
	b.hi	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x2
	bl	_netdev_alloc_skb
	str	x0, [x19, #24]
	cbz	x0, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w23, #4
	stp	x24, x23, [sp]
	bl	_skb_put_data
	stp	w26, w23, [x19, #4]
	mov	w8, #130
	b	LBB0_4
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, #4]
	cmp	w21, w8
	csel	w23, w21, w8, lo
	ldr	x0, [x19, #24]
	add	x8, x22, w28, uxth
	and	w26, w23, #0xffff
	stp	x8, x26, [sp]
	bl	_skb_put_data
	sub	w21, w21, w26
	add	w28, w28, w23
	ldp	w8, w9, [x19, #4]
	subs	w8, w8, w26
	add	w9, w9, w26
	stp	w8, w9, [x19, #4]
	b.ne	LBB0_5
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x27]
	bl	_cpu_to_be16
	ldr	x8, [x19, #24]
	str	w0, [x8]
	mov	x0, x8
	bl	_skb_reset_mac_header
	ldr	x0, [x19, #24]
	bl	_netif_rx
	str	xzr, [x19, #24]
	ldr	x8, [x19, #16]
	add	x9, x19, #8
	ldr	d0, [x8]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x9]
	add.2s	v0, v0, v1
	str	d0, [x8]
	str	wzr, [x19, #8]
	str	d8, [x19]
	cbnz	w21, LBB0_6
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_hso_dbg
	b	LBB0_3
LBB0_17:
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_hso_dbg
LBB0_18:
	cbz	w20, LBB0_21
; %bb.19:
	ldr	w8, [x19]
	cmp	w8, #128
	b.ne	LBB0_21
; %bb.20:
	str	wzr, [x19, #8]
Lloh16:
	adrp	x8, lCPI0_0@PAGE
Lloh17:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
LBB0_21:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdr	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Rx %d bytes\n"

	.comm	_DEFAULT_MRU,2,1                ; @DEFAULT_MRU
l_.str.1:                               ; @.str.1
	.asciz	"Invalid frame (%d) length\n"

l_.str.2:                               ; @.str.2
	.asciz	"could not allocate memory\n"

	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
l_.str.3:                               ; @.str.3
	.asciz	" W_S\n"

l_.str.4:                               ; @.str.4
	.asciz	"\n"

	.no_dead_strip	_packetizeRx
.subsections_via_symbols
