	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___netpoll_rx                   ## -- Begin function __netpoll_rx
	.p2align	4, 0x90
___netpoll_rx:                          ## @__netpoll_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	32(%rdi), %rax
	movq	8(%rax), %rbx
	movq	8(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_28
## %bb.1:
	movq	(%rax), %rax
	movq	_ARPHRD_ETHER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_28
## %bb.2:
	movq	(%r13), %r15
	movq	_ETH_P_ARP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r15
	jne	LBB0_5
## %bb.3:
	movq	_trapped@GOTPCREL(%rip), %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_skb_queue_tail
	movl	$1, %eax
	jmp	LBB0_30
LBB0_5:
	movq	%r13, %rdi
	callq	_eth_hdr
	movl	(%rax), %edi
	callq	_ntohs
	movq	_ETH_P_IP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_28
## %bb.6:
	movq	8(%r13), %rax
	movq	_PACKET_OTHERHOST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_28
## %bb.7:
	movq	%r13, %rdi
	callq	_skb_shared
	testq	%rax, %rax
	je	LBB0_8
LBB0_28:
	movq	_trapped@GOTPCREL(%rip), %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_29
LBB0_26:
	movq	%r13, %rdi
	callq	_kfree_skb
	movl	$1, %eax
	jmp	LBB0_30
LBB0_29:
	xorl	%eax, %eax
LBB0_30:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	24(%r13), %r15
	movq	%r13, %rdi
	movl	$40, %esi
	callq	_pskb_may_pull
	testl	%eax, %eax
	je	LBB0_28
## %bb.9:
	movl	(%r15), %esi
	cmpl	$5, %esi
	jl	LBB0_28
## %bb.10:
	cmpl	$4, 4(%r15)
	jne	LBB0_28
## %bb.11:
	shll	$2, %esi
	movq	%r13, %rdi
	callq	_pskb_may_pull
	testl	%eax, %eax
	je	LBB0_28
## %bb.12:
	movl	(%r15), %esi
	movq	%r15, %rdi
	callq	_ip_fast_csum
	testq	%rax, %rax
	jne	LBB0_28
## %bb.13:
	movl	32(%r15), %edi
	callq	_ntohs
	cmpl	%eax, 16(%r13)
	jl	LBB0_28
## %bb.14:
	movl	%eax, %r12d
	movl	(%r15), %eax
	shll	$2, %eax
	cmpl	%eax, %r12d
	jl	LBB0_28
## %bb.15:
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_pskb_trim_rcsum
	testq	%rax, %rax
	jne	LBB0_28
## %bb.16:
	movq	8(%r15), %rax
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_28
## %bb.17:
	movslq	(%r15), %rbx
	leaq	(,%rbx,4), %rax
	subl	%eax, %r12d
	movl	8(%r15,%rbx,4), %edi
	callq	_ntohs
	cmpl	%r12d, %eax
	jne	LBB0_28
## %bb.18:
	leaq	(%r15,%rbx,4), %rbx
	movq	16(%r15), %rcx
	movq	24(%r15), %r8
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_checksum_udp
	testq	%rax, %rax
	jne	LBB0_28
## %bb.19:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	cmpq	24(%r15), %rax
	jne	LBB0_28
LBB0_21:
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	cmpq	16(%r15), %rax
	jne	LBB0_28
LBB0_23:
	movl	16(%r14), %r15d
	testl	%r15d, %r15d
	je	LBB0_25
## %bb.24:
	movl	4(%rbx), %edi
	callq	_ntohs
	cmpl	%eax, %r15d
	jne	LBB0_28
LBB0_25:
	movq	24(%r14), %r15
	movl	(%rbx), %edi
	callq	_ntohs
	addq	$12, %rbx
	addl	$-12, %r12d
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	movl	%r12d, %ecx
	callq	*%r15
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_ARPHRD_ETHER,8,3               ## @ARPHRD_ETHER
	.comm	_ETH_P_ARP,4,2                  ## @ETH_P_ARP
	.comm	_trapped,4,2                    ## @trapped
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_PACKET_OTHERHOST,8,3           ## @PACKET_OTHERHOST
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___netpoll_rx                   ; -- Begin function __netpoll_rx
	.p2align	2
___netpoll_rx:                          ; @__netpoll_rx
	.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	x19, x0
	ldr	x8, [x0, #32]
	ldr	x21, [x8, #8]
	ldr	x20, [x21, #8]
	cbz	x20, LBB0_8
; %bb.1:
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _ARPHRD_ETHER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARPHRD_ETHER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.2:
	ldr	x22, [x19]
Lloh3:
	adrp	x8, _ETH_P_ARP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_P_ARP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_htons
	cmp	x22, x0
	b.ne	LBB0_5
; %bb.3:
Lloh6:
	adrp	x0, _trapped@GOTPAGE
Lloh7:
	ldr	x0, [x0, _trapped@GOTPAGEOFF]
	bl	_atomic_read
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x21
	mov	x1, x19
	bl	_skb_queue_tail
	b	LBB0_10
LBB0_5:
	mov	x0, x19
	bl	_eth_hdr
	ldr	w0, [x0]
	bl	_ntohs
Lloh8:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x19, #8]
Lloh11:
	adrp	x9, _PACKET_OTHERHOST@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PACKET_OTHERHOST@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_skb_shared
	cbz	x0, LBB0_12
LBB0_8:
Lloh14:
	adrp	x0, _trapped@GOTPAGE
Lloh15:
	ldr	x0, [x0, _trapped@GOTPAGEOFF]
	bl	_atomic_read
	cbz	x0, LBB0_11
LBB0_9:
	mov	x0, x19
	bl	_kfree_skb
LBB0_10:
	mov	w0, #1
LBB0_11:
	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_12:
	ldr	x21, [x19, #24]
	mov	x0, x19
	mov	w1, #40
	bl	_pskb_may_pull
	cbz	w0, LBB0_8
; %bb.13:
	ldr	w8, [x21]
	cmp	w8, #5
	b.lt	LBB0_8
; %bb.14:
	ldr	w9, [x21, #4]
	cmp	w9, #4
	b.ne	LBB0_8
; %bb.15:
	lsl	w1, w8, #2
	mov	x0, x19
	bl	_pskb_may_pull
	cbz	w0, LBB0_8
; %bb.16:
	ldr	w1, [x21]
	mov	x0, x21
	bl	_ip_fast_csum
	cbnz	x0, LBB0_8
; %bb.17:
	ldr	w0, [x21, #32]
	bl	_ntohs
	ldr	w8, [x19, #16]
	cmp	w8, w0
	b.lt	LBB0_8
; %bb.18:
	mov	x22, x0
	ldr	w8, [x21]
	cmp	w0, w8, lsl #2
	b.lt	LBB0_8
; %bb.19:
	mov	x0, x19
	mov	x1, x22
	bl	_pskb_trim_rcsum
	cbnz	x0, LBB0_8
; %bb.20:
	ldr	x8, [x21, #8]
Lloh16:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.21:
	ldrsw	x8, [x21]
	lsl	x8, x8, #2
	sub	w23, w22, w8
	add	x22, x21, x8
	ldr	w0, [x22, #8]
	bl	_ntohs
	cmp	w0, w23
	b.ne	LBB0_8
; %bb.22:
	ldp	x3, x4, [x21, #16]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_checksum_udp
	cbnz	x0, LBB0_8
; %bb.23:
	ldr	x8, [x20]
	cbz	x8, LBB0_25
; %bb.24:
	ldr	x9, [x21, #24]
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_25:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_27
; %bb.26:
	ldr	x9, [x21, #16]
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_27:
	ldr	w21, [x20, #16]
	cbz	w21, LBB0_29
; %bb.28:
	ldr	w0, [x22, #4]
	bl	_ntohs
	cmp	w21, w0
	b.ne	LBB0_8
LBB0_29:
	ldr	x21, [x20, #24]
	ldr	w0, [x22], #12
	bl	_ntohs
	mov	x1, x0
	sub	w3, w23, #12
	mov	x0, x20
	mov	x2, x22
	blr	x21
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ARPHRD_ETHER,8,3               ; @ARPHRD_ETHER
	.comm	_ETH_P_ARP,4,2                  ; @ETH_P_ARP
	.comm	_trapped,4,2                    ; @trapped
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_PACKET_OTHERHOST,8,3           ; @PACKET_OTHERHOST
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
.subsections_via_symbols
