	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sge_rx
_sge_rx:                                ## @sge_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, %rbx
	movq	24(%rdi), %r13
	movl	24(%r13), %edi
	movl	%edx, %edx
	subq	16(%rbx), %rdx
	callq	_get_packet
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.13:
	incl	8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	(%r12), %r15
	movq	(%r15), %rax
	cmpq	16(%r13), %rax
	jae	LBB0_14
## %bb.2:
	movq	%r12, %rdi
	movl	$24, %esi
	callq	___skb_pull
	movq	(%rbx), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %ebx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_smp_processor_id
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_per_cpu_ptr
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %esi
	movq	%r12, %rdi
	callq	_eth_type_trans
	movq	%rax, %rbx
	movq	%rax, 8(%r12)
	movq	_RX_CSUM_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rdx
	testl	%eax, (%r13)
	je	LBB0_9
## %bb.3:
	cmpl	$65535, 8(%r15)                 ## imm = 0xFFFF
	jne	LBB0_9
## %bb.4:
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_5
## %bb.6:
	movq	(%r12), %rax
	movq	72(%rax), %rax
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rdx
	je	LBB0_8
## %bb.7:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
LBB0_8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	4(%rax)
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rdx
	jmp	LBB0_9
LBB0_14:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree_skb                      ## TAILCALL
LBB0_5:
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rdx
LBB0_9:
	movl	(%rdx), %eax
	movl	%eax, 16(%r12)
	cmpl	$0, 4(%r13)
	je	LBB0_11
## %bb.10:
	xorl	%r14d, %r14d
	cmpq	$0, 16(%r15)
	setne	%r14b
LBB0_11:
	movl	%r14d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_12
## %bb.15:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
	movl	4(%r13), %ebx
	movl	12(%r15), %edi
	callq	_ntohs
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vlan_hwaccel_receive_skb       ## TAILCALL
LBB0_12:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_receive_skb              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_CSUM_ENABLED,4,2            ## @RX_CSUM_ENABLED
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.comm	_CHECKSUM_NONE,4,2              ## @CHECKSUM_NONE
	.no_dead_strip	_sge_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sge_rx
_sge_rx:                                ; @sge_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	x20, x0
	ldp	x8, x22, [x0, #16]
	ldr	w0, [x22, #24]
	mov	w9, w2
	sub	x2, x9, x8
	bl	_get_packet
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	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_2:
	ldr	x23, [x19]
	ldr	x8, [x23]
	ldr	x9, [x22, #16]
	cmp	x8, x9
	b.hs	LBB0_8
; %bb.3:
	mov	x0, x19
	mov	w1, #24
	bl	___skb_pull
	ldr	x8, [x20]
	ldr	x9, [x23]
	ldr	w20, [x8, x9, lsl #2]
	bl	_smp_processor_id
	mov	x1, x0
	mov	x0, x20
	bl	_per_cpu_ptr
	mov	x20, x0
	ldr	x8, [x22, #8]
	ldr	x9, [x23]
	ldr	w1, [x8, x9, lsl #2]
	mov	x0, x19
	bl	_eth_type_trans
	str	x0, [x19, #8]
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _RX_CSUM_ENABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RX_CSUM_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.4:
	ldr	w8, [x23, #8]
	mov	w9, #65535
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.5:
	mov	x21, x0
Lloh3:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_htons
	cmp	x21, x0
	b.ne	LBB0_9
; %bb.6:
	ldr	x8, [x19]
	ldr	x8, [x8, #72]
Lloh6:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _IPPROTO_UDP@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IPPROTO_UDP@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_9
; %bb.7:
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
Lloh12:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	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	_kfree_skb
LBB0_9:
Lloh14:
	adrp	x8, _CHECKSUM_NONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CHECKSUM_NONE@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_13
; %bb.11:
	ldr	x8, [x23, #16]
	cmp	x8, #0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_14
LBB0_12:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	ldr	w20, [x22, #4]
	ldr	w0, [x23, #12]
	bl	_ntohs
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	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	_vlan_hwaccel_receive_skb
LBB0_13:
	mov	w0, #0
	bl	_unlikely
	cbnz	x0, LBB0_12
LBB0_14:
	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	_netif_receive_skb
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_CSUM_ENABLED,4,2            ; @RX_CSUM_ENABLED
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.comm	_CHECKSUM_NONE,4,2              ; @CHECKSUM_NONE
	.no_dead_strip	_sge_rx
.subsections_via_symbols
