	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function investigate_read_descriptor
_investigate_read_descriptor:           ## @investigate_read_descriptor
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rsi), %rax
	shll	$2, %edx
	movslq	%edx, %rbx
	movl	(%rax,%rbx,4), %edi
	callq	_le32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.1:
	shrl	$16, %eax
	andl	$2047, %eax                     ## imm = 0x7FF
	leal	-4(%rax), %ecx
	cmpl	$1523, %eax                     ## imm = 0x5F3
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jb	LBB0_3
## %bb.2:
	movswl	%cx, %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_netdev_err
	movw	$1518, %cx                      ## imm = 0x5EE
LBB0_3:
	movswl	%cx, %r13d
	leal	2(%r13), %esi
	movq	%r15, %rdi
	callq	_netdev_alloc_skb
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$2, %esi
	callq	_skb_reserve
	andl	$-4, %r12d
	addq	(%r14), %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_skb_copy_to_linear_data
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_skb_put
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_eth_type_trans
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_netif_rx
	incl	4(%r15)
	addw	%r13w, (%r15)
	jmp	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	incl	8(%r15)
LBB0_6:
	movl	$-2147483648, %edi              ## imm = 0x80000000
	callq	_cpu_to_le32
	movq	(%r14), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rcx,%rdx,4)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trigger_receive                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Packet length %i is bogus\n"

	.no_dead_strip	_investigate_read_descriptor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function investigate_read_descriptor
_investigate_read_descriptor:           ; @investigate_read_descriptor
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x3
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1]
	lsl	w23, w2, #2
	ldr	w0, [x8, w23, sxtw #2]
	bl	_le32_to_cpu
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.1:
	ubfx	w8, w0, #16, #11
	sub	w21, w8, #4
	cmp	w8, #1523
	b.lo	LBB0_3
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_netdev_err
	mov	w21, #1518
LBB0_3:
	sxtw	x24, w23
	add	w1, w21, #2
	mov	x0, x20
	bl	_netdev_alloc_skb
	cbz	x0, LBB0_6
; %bb.4:
	mov	x23, x0
	mov	w1, #2
	bl	_skb_reserve
	ldr	x8, [x19]
	and	w9, w22, #0xfffffffc
	add	x1, x8, x9
	mov	x0, x23
	mov	x2, x21
	bl	_skb_copy_to_linear_data
	mov	x0, x23
	mov	x1, x21
	bl	_skb_put
	mov	x0, x23
	mov	x1, x20
	bl	_eth_type_trans
	str	w0, [x23]
	mov	x0, x23
	bl	_netif_rx
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
	ldrh	w8, [x20]
	add	w8, w8, w21
	strh	w8, [x20]
	b	LBB0_7
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
LBB0_7:
	mov	w0, #-2147483648
	bl	_cpu_to_le32
	ldr	x8, [x19]
	str	w0, [x8, x24, lsl #2]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_trigger_receive
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Packet length %i is bogus\n"

	.no_dead_strip	_investigate_read_descriptor
.subsections_via_symbols
