	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2400m_net_rx                  ## -- Begin function i2400m_net_rx
	.p2align	4, 0x90
_i2400m_net_rx:                         ## @i2400m_net_rx
	.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	%r8d, %ebx
	movq	%rcx, %r12
	movl	%edx, %r14d
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	(%rdi), %r15
	callq	_i2400m_dev
	leaq	L_.str(%rip), %rdx
	movl	$2, %edi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rcx
	movq	%r12, %r8
	movl	%ebx, %r9d
	callq	_d_fnstart
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_get
	movq	%rax, %r13
	leaq	L_.str.1(%rip), %rdx
	movl	$2, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_d_printf
	movl	%r12d, %esi
	subl	16(%r13), %esi
	movq	%r13, %rdi
	callq	_skb_pull
	movq	%r13, %rdi
	callq	_skb_end_pointer
	subl	%r12d, %eax
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_skb_trim
	jmp	LBB0_5
LBB0_2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	___netdev_alloc_skb
	testq	%rax, %rax
	movq	%r15, %r14
	je	LBB0_3
## %bb.4:
	movq	%rax, %r13
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edx
	callq	_skb_put_data
LBB0_5:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	movq	16(%r13), %rbx
	movq	_ETH_HLEN@GOTPCREL(%rip), %r15
	movslq	(%r15), %rax
	subq	%rax, %rbx
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be16
	movq	%r14, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_i2400m_rx_fake_eth_header
	xorl	%esi, %esi
	subl	(%r15), %esi
	movq	%r13, %rdi
	callq	_skb_set_mac_header
	movq	(%r14), %rax
	movq	%rax, 8(%r13)
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, (%r13)
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	incl	4(%r15)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	addl	%ebx, (%r15)
	leaq	L_.str.3(%rip), %rdx
	movl	$3, %edi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_d_printf
	movl	$4, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_d_dump
	movq	%r13, %rdi
	callq	_netif_rx_ni
LBB0_6:
	leaq	L_.str.4(%rip), %rdx
	movl	$2, %edi
	movq	%r15, %rsi
	movq	%r14, %rcx
	movq	%r12, %r8
	movl	%ebx, %r9d
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_d_fnend                        ## TAILCALL
LBB0_3:
	leaq	L_.str.2(%rip), %rsi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_dev_err
	incl	8(%r14)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(i2400m %p buf %p buf_len %d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"RX: reusing first payload skb %p\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.2:                               ## @.str.2
	.asciz	"NETRX: no memory to realloc skb\n"

	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
L_.str.3:                               ## @.str.3
	.asciz	"NETRX: receiving %d bytes to network stack\n"

L_.str.4:                               ## @.str.4
	.asciz	"(i2400m %p buf %p buf_len %d) = void\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2400m_net_rx                  ; -- Begin function i2400m_net_rx
	.p2align	2
_i2400m_net_rx:                         ; @i2400m_net_rx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x25, x2
	mov	x24, x1
	mov	x21, x0
	ldr	x23, [x0]
	bl	_i2400m_dev
	mov	x22, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #2
	mov	x1, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_d_fnstart
	cbz	w25, LBB0_2
; %bb.1:
	mov	x0, x24
	bl	_skb_get
	mov	x24, x0
	str	x0, [sp]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w0, #2
	mov	x1, x22
	bl	_d_printf
	ldr	w8, [x24, #16]
	sub	w1, w20, w8
	mov	x0, x24
	bl	_skb_pull
	mov	x0, x24
	bl	_skb_end_pointer
	sub	w1, w0, w20
	mov	x0, x24
	bl	_skb_trim
	b	LBB0_4
LBB0_2:
Lloh4:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x23
	mov	x1, x19
	bl	___netdev_alloc_skb
	cbz	x0, LBB0_6
; %bb.3:
	mov	x24, x0
	mov	x1, x20
	mov	x2, x19
	bl	_skb_put_data
LBB0_4:
	ldr	x25, [x21]
Lloh7:
	adrp	x27, _ETH_HLEN@GOTPAGE
Lloh8:
	ldr	x27, [x27, _ETH_HLEN@GOTPAGEOFF]
	ldr	x8, [x24, #16]
	ldrsw	x9, [x27]
	sub	x26, x8, x9
Lloh9:
	adrp	x28, _ETH_P_IP@GOTPAGE
Lloh10:
	ldr	x28, [x28, _ETH_P_IP@GOTPAGEOFF]
	ldr	w0, [x28]
	bl	_cpu_to_be16
	mov	x2, x0
	mov	x0, x25
	mov	x1, x26
	bl	_i2400m_rx_fake_eth_header
	ldr	w8, [x27]
	neg	w1, w8
	mov	x0, x24
	bl	_skb_set_mac_header
	ldr	x8, [x21]
	str	x8, [x24, #8]
	ldr	w0, [x28]
	bl	_htons
	str	w0, [x24]
	ldr	d0, [x23]
	movi.2s	v1, #1
	mov.s	v1[0], w19
	add.2s	v0, v0, v1
	str	d0, [x23]
	str	x19, [sp]
Lloh11:
	adrp	x2, l_.str.3@PAGE
Lloh12:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w0, #3
	mov	x1, x22
	bl	_d_printf
	mov	w0, #4
	mov	x1, x22
	mov	x2, x20
	mov	x3, x19
	bl	_d_dump
	mov	x0, x24
	bl	_netif_rx_ni
LBB0_5:
Lloh13:
	adrp	x2, l_.str.4@PAGE
Lloh14:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w0, #2
	mov	x1, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_d_fnend
LBB0_6:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_dev_err
	ldr	w8, [x23, #8]
	add	w8, w8, #1
	str	w8, [x23, #8]
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(i2400m %p buf %p buf_len %d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"RX: reusing first payload skb %p\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.2:                               ; @.str.2
	.asciz	"NETRX: no memory to realloc skb\n"

	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
l_.str.3:                               ; @.str.3
	.asciz	"NETRX: receiving %d bytes to network stack\n"

l_.str.4:                               ; @.str.4
	.asciz	"(i2400m %p buf %p buf_len %d) = void\n"

.subsections_via_symbols
