	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2400m_net_erx                 ## -- Begin function i2400m_net_erx
	.p2align	4, 0x90
_i2400m_net_erx:                        ## @i2400m_net_erx
	.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	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %r13
	callq	_i2400m_dev
	movq	%rax, %r12
	movl	(%rbx), %r9d
	movl	%r15d, (%rsp)
	leaq	L_.str(%rip), %rdx
	movl	$2, %edi
	movq	%rax, %rsi
	movq	%r14, %rcx
	movq	%rbx, %r8
	callq	_d_fnstart
	movl	%r15d, %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r13
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	subq	(%rax), %r13
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be16
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_i2400m_rx_fake_eth_header
	xorl	%esi, %esi
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	subq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_skb_set_mac_header
	movq	(%r14), %rax
	movq	%rax, 24(%rbx)
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, 16(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	4(%rax)
	movl	(%rbx), %ecx
	addl	%ecx, (%rax)
	leaq	L_.str.2(%rip), %rdx
	movl	$3, %edi
	movq	%r12, %rsi
	callq	_d_printf
	movq	8(%rbx), %rdx
	movl	(%rbx), %ecx
	movl	$4, %edi
	movq	%r12, %rsi
	callq	_d_dump
	movq	%rbx, %rdi
	callq	_netif_rx_ni
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_dev_err
LBB0_3:
	movl	(%rbx), %r9d
	movl	%r15d, (%rsp)
	leaq	L_.str.3(%rip), %rdx
	movl	$2, %edi
	movq	%r12, %rsi
	movq	%r14, %rcx
	movq	%rbx, %r8
	callq	_d_fnend
	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	"(i2400m %p skb %p [%u] cs %d)\n"

	.comm	_ETH_HLEN,8,3                   ## @ETH_HLEN
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
L_.str.1:                               ## @.str.1
	.asciz	"ERX: BUG? CS type %u unsupported\n"

L_.str.2:                               ## @.str.2
	.asciz	"ERX: receiving %d bytes to the network stack\n"

L_.str.3:                               ## @.str.3
	.asciz	"(i2400m %p skb %p [%u] cs %d) = void\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2400m_net_erx                 ; -- Begin function i2400m_net_erx
	.p2align	2
_i2400m_net_erx:                        ; @i2400m_net_erx
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x25, [x0]
	bl	_i2400m_dev
	mov	x22, x0
	ldr	w5, [x20]
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	x6, x19
	bl	_d_fnstart
	and	w8, w19, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
	ldr	x23, [x21]
Lloh2:
	adrp	x26, _ETH_HLEN@GOTPAGE
Lloh3:
	ldr	x26, [x26, _ETH_HLEN@GOTPAGEOFF]
	ldr	x8, [x20, #8]
	ldr	x9, [x26]
	sub	x24, x8, x9
Lloh4:
	adrp	x27, _ETH_P_IP@GOTPAGE
Lloh5:
	ldr	x27, [x27, _ETH_P_IP@GOTPAGEOFF]
	ldr	w0, [x27]
	bl	_cpu_to_be16
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_i2400m_rx_fake_eth_header
	ldr	x8, [x26]
	neg	x1, x8
	mov	x0, x20
	bl	_skb_set_mac_header
	ldr	x8, [x21]
	str	x8, [x20, #24]
	ldr	w0, [x27]
	bl	_htons
	str	w0, [x20, #16]
	ldr	w3, [x20]
	ldr	d0, [x25]
	movi.2s	v1, #1
	mov.s	v1[0], w3
	add.2s	v0, v0, v1
	str	d0, [x25]
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w0, #3
	mov	x1, x22
	bl	_d_printf
	ldr	x2, [x20, #8]
	ldr	w3, [x20]
	mov	w0, #4
	mov	x1, x22
	bl	_d_dump
	mov	x0, x20
	bl	_netif_rx_ni
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x2, x19
	bl	_dev_err
LBB0_3:
	ldr	w5, [x20]
Lloh10:
	adrp	x2, l_.str.3@PAGE
Lloh11:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w0, #2
	mov	x1, x22
	mov	x3, x21
	mov	x4, x20
	mov	x6, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_d_fnend
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(i2400m %p skb %p [%u] cs %d)\n"

	.comm	_ETH_HLEN,8,3                   ; @ETH_HLEN
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
l_.str.1:                               ; @.str.1
	.asciz	"ERX: BUG? CS type %u unsupported\n"

l_.str.2:                               ; @.str.2
	.asciz	"ERX: receiving %d bytes to the network stack\n"

l_.str.3:                               ; @.str.3
	.asciz	"(i2400m %p skb %p [%u] cs %d) = void\n"

.subsections_via_symbols
