	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __lro_proc_skb
___lro_proc_skb:                        ## @__lro_proc_skb
	.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
	movq	32(%rdi), %rax
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_19
## %bb.1:
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-68(%rbp), %rcx
	movq	%r15, %rdi
	callq	*%rax
	testq	%rax, %rax
	je	LBB0_2
LBB0_19:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	-68(%rbp), %eax
	movq	_LRO_IPV4@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_19
## %bb.3:
	movq	_LRO_TCP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_19
## %bb.4:
	movl	28(%rbx), %esi
	movq	-56(%rbp), %rdx
	movq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_lro_get_desc
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_19
## %bb.5:
	movq	(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, -80(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_7
## %bb.6:
	movq	_LRO_F_EXTRACT_VLAN_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_8
LBB0_7:
	xorl	%eax, %eax
LBB0_9:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, 24(%rcx)
	je	LBB0_13
## %bb.10:
	movq	(%rcx), %r12
	movq	-48(%rbp), %rax
	movl	(%rax), %edi
	movq	%rcx, %r13
	callq	_ntohl
	cmpq	%rax, %r12
	movq	%r13, %r12
	jne	LBB0_12
## %bb.11:
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	movq	8(%r15), %rdx
	movq	%r12, %rcx
	callq	_lro_tcp_ip_check
	testq	%rax, %rax
	je	LBB0_15
LBB0_12:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_lro_flush
	jmp	LBB0_19
LBB0_13:
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	movq	8(%r15), %rdx
	subq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_lro_tcp_ip_check
	testq	%rax, %rax
	jne	LBB0_19
## %bb.14:
	movl	24(%rbx), %eax
	movl	%eax, 16(%r15)
	movq	-56(%rbp), %rdx
	movq	-48(%rbp), %rcx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%r12d, %r8d
	movq	%r13, %r9
	callq	_lro_init_desc
	movq	_aggregated@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LRO_INC_STATS
	jmp	LBB0_18
LBB0_8:
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	jmp	LBB0_9
LBB0_15:
	movq	-56(%rbp), %rdx
	movq	-48(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_lro_add_packet
	movq	_aggregated@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LRO_INC_STATS
	movq	8(%r12), %rax
	cmpq	8(%rbx), %rax
	jge	LBB0_17
## %bb.16:
	movq	16(%rbx), %rax
	movl	$65535, %ecx                    ## imm = 0xFFFF
	subl	(%rax), %ecx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	xorl	%r14d, %r14d
	cmpl	%ecx, (%rax)
	jle	LBB0_19
LBB0_17:
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_lro_flush
LBB0_18:
	xorl	%r14d, %r14d
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_LRO_IPV4,4,2                   ## @LRO_IPV4
	.comm	_LRO_TCP,4,2                    ## @LRO_TCP
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_LRO_F_EXTRACT_VLAN_ID,4,2      ## @LRO_F_EXTRACT_VLAN_ID
	.comm	_VLAN_HLEN,4,2                  ## @VLAN_HLEN
	.comm	_aggregated,4,2                 ## @aggregated
	.no_dead_strip	___lro_proc_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __lro_proc_skb
___lro_proc_skb:                        ; @__lro_proc_skb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x23, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	mov	x0, x20
	blr	x8
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #1
LBB0_3:
	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
	add	sp, sp, #96
	ret
LBB0_4:
	ldr	w8, [sp, #12]
Lloh0:
	adrp	x9, _LRO_IPV4@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LRO_IPV4@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.5:
Lloh3:
	adrp	x9, _LRO_TCP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LRO_TCP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.6:
	ldr	w1, [x19, #28]
	ldp	x3, x2, [sp, #16]
	mov	x0, x19
	bl	_lro_get_desc
	cbz	x0, LBB0_2
; %bb.7:
	mov	x21, x0
	ldr	x24, [x20]
Lloh6:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_htons
	cmp	x24, x0
	b.ne	LBB0_9
; %bb.8:
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _LRO_F_EXTRACT_VLAN_ID@GOTPAGE
Lloh10:
	ldr	x9, [x9, _LRO_F_EXTRACT_VLAN_ID@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
LBB0_9:
	mov	x8, #0
	ldr	w9, [x21, #24]
	cbz	w9, LBB0_14
LBB0_10:
	ldr	x22, [x21]
	ldr	x8, [sp, #16]
	ldr	w0, [x8]
	bl	_ntohl
	cmp	x22, x0
	b.ne	LBB0_12
; %bb.11:
	ldp	x1, x0, [sp, #16]
	ldr	x2, [x20, #8]
	mov	x3, x21
	bl	_lro_tcp_ip_check
	cbz	x0, LBB0_16
LBB0_12:
	mov	x0, x19
	mov	x1, x21
	bl	_lro_flush
	b	LBB0_2
LBB0_13:
Lloh12:
	adrp	x8, _VLAN_HLEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VLAN_HLEN@GOTPAGEOFF]
Lloh14:
	ldrsw	x8, [x8]
	ldr	w9, [x21, #24]
	cbnz	w9, LBB0_10
LBB0_14:
	ldp	x1, x0, [sp, #16]
	ldr	x9, [x20, #8]
	sub	x2, x9, x8
	mov	x3, #0
	bl	_lro_tcp_ip_check
	cbnz	x0, LBB0_2
; %bb.15:
	ldr	w8, [x19, #24]
	str	w8, [x20, #16]
	ldp	x3, x2, [sp, #16]
	mov	x0, x21
	mov	x1, x20
	mov	x4, x23
	mov	x5, x22
	bl	_lro_init_desc
Lloh15:
	adrp	x8, _aggregated@GOTPAGE
Lloh16:
	ldr	x8, [x8, _aggregated@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_LRO_INC_STATS
	mov	w0, #0
	b	LBB0_3
LBB0_16:
	ldp	x3, x2, [sp, #16]
	mov	x0, x21
	mov	x1, x20
	bl	_lro_add_packet
Lloh18:
	adrp	x8, _aggregated@GOTPAGE
Lloh19:
	ldr	x8, [x8, _aggregated@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_LRO_INC_STATS
	ldr	x8, [x21, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ge	LBB0_18
; %bb.17:
	ldr	x8, [x21, #16]
	ldr	w8, [x8]
	ldr	x9, [x19, #16]
	ldr	w9, [x9]
	mov	w10, #65535
	sub	w9, w10, w9
	cmp	w8, w9
	b.le	LBB0_19
LBB0_18:
	mov	x0, x19
	mov	x1, x21
	bl	_lro_flush
LBB0_19:
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_LRO_IPV4,4,2                   ; @LRO_IPV4
	.comm	_LRO_TCP,4,2                    ; @LRO_TCP
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_LRO_F_EXTRACT_VLAN_ID,4,2      ; @LRO_F_EXTRACT_VLAN_ID
	.comm	_VLAN_HLEN,4,2                  ; @VLAN_HLEN
	.comm	_aggregated,4,2                 ; @aggregated
	.no_dead_strip	___lro_proc_skb
.subsections_via_symbols
