	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __lro_proc_segment
___lro_proc_segment:                    ## @__lro_proc_segment
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_LRO_MAX_PG_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	40(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	16(%rbp), %r9
	leaq	-80(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	leaq	-92(%rbp), %r8
	movq	%r14, %rdi
	callq	*%rax
	testq	%rax, %rax
	je	LBB0_5
LBB0_2:
	movl	4(%r14), %edi
	callq	_page_address
	movslq	(%r14), %rcx
	addq	%rax, %rcx
	movq	%rcx, -80(%rbp)
LBB0_3:
	movl	24(%rbp), %eax
	movq	-80(%rbp), %r8
	movl	%ebx, %ecx
	movl	16(%r12), %ebx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movl	%r15d, %r9d
	pushq	%rbx
	pushq	%rax
	callq	_lro_gen_skb
	addq	$16, %rsp
	movq	%rax, %rbx
LBB0_4:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	-92(%rbp), %eax
	movq	_LRO_IPV4@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.6:
	movq	_LRO_TCP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.7:
	movq	-48(%rbp), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_TCP_HDR_LEN
	movq	%rax, %r15
	addl	-72(%rbp), %r15d                ## 4-byte Folded Reload
	movl	-80(%rbp), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	subl	%eax, %r15d
	movq	-56(%rbp), %rdx
	movl	36(%r12), %esi
	movq	-48(%rbp), %rcx
	movq	%r12, %rdi
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	callq	_lro_get_desc
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	subl	-88(%rbp), %ecx                 ## 4-byte Folded Reload
	cmpl	$0, 16(%rax)
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_12
## %bb.9:
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rcx
	movl	(%rcx), %edi
	callq	_ntohl
	cmpq	%rax, -88(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_11
## %bb.10:
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	movl	%r13d, %edx
	subl	-72(%rbp), %edx                 ## 4-byte Folded Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_lro_tcp_ip_check
	testq	%rax, %rax
	je	LBB0_17
LBB0_11:
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_lro_flush
	jmp	LBB0_3
LBB0_12:
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	movl	%r13d, %edx
	subl	%ecx, %edx
	xorl	%ecx, %ecx
	callq	_lro_tcp_ip_check
	testq	%rax, %rax
	jne	LBB0_3
## %bb.13:
	movq	-80(%rbp), %r8
	movl	32(%r12), %eax
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	%r15d, %r9d
	pushq	%rax
	pushq	$0
	callq	_lro_gen_skb
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_20
## %bb.14:
	movq	%rax, %r14
	movq	(%rax), %rbx
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_21
## %bb.15:
	movq	_LRO_F_EXTRACT_VLAN_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_23
LBB0_21:
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_17:
	movq	-56(%rbp), %r9
	subq	$8, %rsp
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movq	%r14, %r8
	pushq	-48(%rbp)
	callq	_lro_add_frags
	addq	$16, %rsp
	movq	_aggregated@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_LRO_INC_STATS
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rdi
	callq	_skb_shinfo
	movq	(%rax), %rax
	cmpq	8(%r12), %rax
	movq	%rbx, %rsi
	jge	LBB0_19
## %bb.18:
	movq	8(%rsi), %rax
	movq	24(%r12), %rcx
	movl	$65535, %edx                    ## imm = 0xFFFF
	subl	(%rcx), %edx
	cmpl	%edx, (%rax)
	jle	LBB0_20
LBB0_19:
	movq	%r12, %rdi
	callq	_lro_flush
LBB0_20:
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_23:
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
LBB0_24:
	movq	8(%r14), %rcx
	leaq	(%rcx,%rax), %rdi
	movq	%rdi, -56(%rbp)
	leaq	(%rcx,%rax,4), %rbx
	callq	_IP_HDR_LEN
	cltq
	leaq	(%rbx,%rax,4), %rcx
	movq	%rcx, -48(%rbp)
	movq	-56(%rbp), %rdx
	xorl	%ebx, %ebx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_lro_init_desc
	movq	_aggregated@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_LRO_INC_STATS
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_LRO_MAX_PG_HLEN,4,2            ## @LRO_MAX_PG_HLEN
	.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_segment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __lro_proc_segment
___lro_proc_segment:                    ; @__lro_proc_segment
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x24, x7
	mov	x20, x3
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _LRO_MAX_PG_HLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LRO_MAX_PG_HLEN@GOTPAGEOFF]
Lloh2:
	ldr	w25, [x8]
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x1, sp
	add	x2, sp, #24
	add	x3, sp, #16
	add	x4, sp, #12
	mov	x0, x22
	mov	x5, x6
	blr	x8
	cbz	x0, LBB0_5
LBB0_2:
	ldr	w0, [x22, #4]
	bl	_page_address
	ldrsw	x8, [x22]
	add	x8, x0, x8
	str	x8, [sp]
LBB0_3:
	ldr	x4, [sp]
	ldr	w7, [x19, #16]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	x3, x20
	mov	x5, x25
	mov	x6, x24
	bl	_lro_gen_skb
LBB0_4:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_5:
	ldr	w8, [sp, #12]
Lloh3:
	adrp	x9, _LRO_IPV4@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LRO_IPV4@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.6:
Lloh6:
	adrp	x9, _LRO_TCP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LRO_TCP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.7:
	ldr	x21, [sp, #16]
	mov	x0, x21
	bl	_TCP_HDR_LEN
	ldr	w27, [sp]
	add	w8, w21, w0
	sub	w25, w8, w27
	ldp	x3, x26, [sp, #16]
	ldr	w1, [x19, #36]
	mov	x0, x19
	mov	x2, x26
	bl	_lro_get_desc
	cbz	x0, LBB0_3
; %bb.8:
	mov	x21, x0
	sub	w26, w26, w27
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_12
; %bb.9:
	ldr	x27, [x21]
	ldr	x8, [sp, #16]
	ldr	w0, [x8]
	bl	_ntohl
	cmp	x27, x0
	b.ne	LBB0_11
; %bb.10:
	ldp	x1, x0, [sp, #16]
	sub	w2, w23, w26
	mov	x3, x21
	bl	_lro_tcp_ip_check
	cbz	x0, LBB0_17
LBB0_11:
	mov	x0, x19
	mov	x1, x21
	bl	_lro_flush
	b	LBB0_3
LBB0_12:
	ldp	x1, x0, [sp, #16]
	sub	w2, w23, w26
	mov	x3, #0
	bl	_lro_tcp_ip_check
	cbnz	x0, LBB0_3
; %bb.13:
	ldr	x4, [sp]
	ldr	w7, [x19, #32]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	x3, x20
	mov	x5, x25
	mov	w6, #0
	bl	_lro_gen_skb
	cbz	x0, LBB0_4
; %bb.14:
	mov	x20, x0
	ldr	x22, [x0]
Lloh9:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_htons
	cmp	x22, x0
	b.ne	LBB0_16
; %bb.15:
	ldr	w8, [x19]
Lloh12:
	adrp	x9, _LRO_F_EXTRACT_VLAN_ID@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LRO_F_EXTRACT_VLAN_ID@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
LBB0_16:
	mov	x8, #0
	b	LBB0_22
LBB0_17:
	ldp	x6, x5, [sp, #16]
	mov	x0, x21
	mov	x1, x23
	mov	x2, x25
	mov	x3, x20
	mov	x4, x22
	bl	_lro_add_frags
Lloh15:
	adrp	x8, _aggregated@GOTPAGE
Lloh16:
	ldr	x8, [x8, _aggregated@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_LRO_INC_STATS
	ldr	x0, [x21, #8]
	bl	_skb_shinfo
	ldr	x8, [x0]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ge	LBB0_19
; %bb.18:
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	ldr	x9, [x19, #24]
	ldr	w9, [x9]
	mov	w10, #65535
	sub	w9, w10, w9
	cmp	w8, w9
	b.le	LBB0_20
LBB0_19:
	mov	x0, x19
	mov	x1, x21
	bl	_lro_flush
LBB0_20:
	mov	x0, #0
	b	LBB0_4
LBB0_21:
Lloh18:
	adrp	x8, _VLAN_HLEN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VLAN_HLEN@GOTPAGEOFF]
Lloh20:
	ldrsw	x8, [x8]
LBB0_22:
	ldr	x9, [x20, #8]
	add	x0, x9, x8
	str	x0, [sp, #24]
	add	x22, x9, x8, lsl #2
	bl	_IP_HDR_LEN
	add	x3, x22, w0, sxtw #2
	str	x3, [sp, #16]
	ldr	x2, [sp, #24]
	mov	x0, x21
	mov	x1, x20
	mov	w4, #0
	mov	x5, #0
	bl	_lro_init_desc
Lloh21:
	adrp	x8, _aggregated@GOTPAGE
Lloh22:
	ldr	x8, [x8, _aggregated@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_LRO_INC_STATS
	mov	x0, #0
	b	LBB0_4
	.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
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_LRO_MAX_PG_HLEN,4,2            ; @LRO_MAX_PG_HLEN
	.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_segment
.subsections_via_symbols
