	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function i40iw_init_tcp_ctx
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_i40iw_init_tcp_ctx:                    ## @i40iw_init_tcp_ctx
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	32(%rdi), %rax
	movq	%rax, 264(%rsi)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	movups	%xmm0, (%rsi)
	movl	$0, 16(%rsi)
	movq	_I40IW_DEFAULT_TTL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 256(%rsi)
	movq	_I40IW_DEFAULT_RTT_VAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 248(%rbx)
	movq	_I40IW_DEFAULT_SS_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 240(%rbx)
	movq	_I40IW_DEFAULT_REXMIT_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 232(%rbx)
	movq	_I40IW_TCP_STATE_ESTABLISHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 228(%rbx)
	movl	76(%r15), %eax
	movl	%eax, 224(%rbx)
	movl	48(%r15), %eax
	movl	%eax, 20(%rbx)
	movl	52(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 216(%rbx)
	movl	56(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 208(%rbx)
	movl	60(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 200(%rbx)
	movl	52(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 192(%rbx)
	movl	52(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 184(%rbx)
	movl	64(%r15), %edi
	addl	%edi, %edi
	callq	_cpu_to_le32
	movq	%rax, 176(%rbx)
	movl	60(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 168(%rbx)
	movl	52(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 160(%rbx)
	movl	68(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 152(%rbx)
	movl	72(%r15), %edi
	movb	48(%r15), %cl
	shll	%cl, %edi
	callq	_cpu_to_le32
	movq	%rax, 144(%rbx)
	movq	$0, 136(%rbx)
	movl	64(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 128(%rbx)
	movl	(%r15), %eax
	movq	_VLAN_VID_MASK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_2
## %bb.1:
	movl	$1, 24(%rbx)
	movl	40(%r15), %edi
	movq	_I40IW_VLAN_PRIO_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	orl	%eax, %edi
	callq	_cpu_to_le16
	movq	%rax, 120(%rbx)
LBB0_2:
	movq	32(%r15), %r12
	movl	4(%r15), %edi
	callq	_cpu_to_le16
	movq	%rax, 112(%rbx)
	movl	8(%r15), %edi
	callq	_cpu_to_le16
	movq	%rax, 104(%rbx)
	movq	16(%r15), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	testq	%r12, %r12
	je	LBB0_4
## %bb.3:
	leaq	80(%rbx), %r12
	movq	%rax, 80(%rbx)
	movq	24(%r15), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 48(%rbx)
	movl	(%r14), %edi
	movq	_I40IW_ARP_RESOLVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rsi
	movl	$1, %edx
	jmp	LBB0_5
LBB0_4:
	leaq	32(%rbx), %r12
	movq	%rax, 32(%rbx)
	movq	16(%r15), %rax
	movl	4(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 96(%rbx)
	movq	16(%r15), %rax
	movl	8(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 88(%rbx)
	movq	16(%r15), %rax
	movl	12(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 80(%rbx)
	movq	24(%r15), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 72(%rbx)
	movq	24(%r15), %rax
	movl	4(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 64(%rbx)
	movq	24(%r15), %rax
	movl	8(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 56(%rbx)
	movq	24(%r15), %rax
	movl	12(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 48(%rbx)
	movl	(%r14), %edi
	movq	_I40IW_ARP_RESOLVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rsi
	xorl	%edx, %edx
LBB0_5:
	xorl	%ecx, %ecx
	callq	_i40iw_arp_table
	movl	%eax, %edi
	callq	_cpu_to_le16
	movq	%rax, 40(%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40IW_DEFAULT_TTL,4,2          ## @I40IW_DEFAULT_TTL
	.comm	_I40IW_DEFAULT_RTT_VAR,4,2      ## @I40IW_DEFAULT_RTT_VAR
	.comm	_I40IW_DEFAULT_SS_THRESH,4,2    ## @I40IW_DEFAULT_SS_THRESH
	.comm	_I40IW_DEFAULT_REXMIT_THRESH,4,2 ## @I40IW_DEFAULT_REXMIT_THRESH
	.comm	_I40IW_TCP_STATE_ESTABLISHED,4,2 ## @I40IW_TCP_STATE_ESTABLISHED
	.comm	_VLAN_VID_MASK,4,2              ## @VLAN_VID_MASK
	.comm	_I40IW_VLAN_PRIO_SHIFT,4,2      ## @I40IW_VLAN_PRIO_SHIFT
	.comm	_I40IW_ARP_RESOLVE,4,2          ## @I40IW_ARP_RESOLVE
	.no_dead_strip	_i40iw_init_tcp_ctx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_init_tcp_ctx
_i40iw_init_tcp_ctx:                    ; @i40iw_init_tcp_ctx
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x0, #32]
	str	x8, [x1, #264]
	movi.4s	v0, #1
	str	q0, [x1]
Lloh0:
	adrp	x8, _I40IW_DEFAULT_TTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40IW_DEFAULT_TTL@GOTPAGEOFF]
	str	wzr, [x1, #16]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x1, #256]
Lloh3:
	adrp	x8, _I40IW_DEFAULT_RTT_VAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40IW_DEFAULT_RTT_VAR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	x0, [x19, #248]
Lloh6:
	adrp	x8, _I40IW_DEFAULT_SS_THRESH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40IW_DEFAULT_SS_THRESH@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_cpu_to_le32
Lloh9:
	adrp	x8, _I40IW_DEFAULT_REXMIT_THRESH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I40IW_DEFAULT_REXMIT_THRESH@GOTPAGEOFF]
	str	x0, [x19, #240]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #232]
Lloh12:
	adrp	x8, _I40IW_TCP_STATE_ESTABLISHED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _I40IW_TCP_STATE_ESTABLISHED@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x21, #76]
	stp	w9, w8, [x19, #224]
	ldp	w8, w0, [x21, #48]
	str	w8, [x19, #20]
	bl	_cpu_to_le32
	str	x0, [x19, #216]
	ldr	w0, [x21, #56]
	bl	_cpu_to_le32
	str	x0, [x19, #208]
	ldr	w0, [x21, #60]
	bl	_cpu_to_le32
	str	x0, [x19, #200]
	ldr	w0, [x21, #52]
	bl	_cpu_to_le32
	str	x0, [x19, #192]
	ldr	w0, [x21, #52]
	bl	_cpu_to_le32
	str	x0, [x19, #184]
	ldr	w8, [x21, #64]
	lsl	w0, w8, #1
	bl	_cpu_to_le32
	str	x0, [x19, #176]
	ldr	w0, [x21, #60]
	bl	_cpu_to_le32
	str	x0, [x19, #168]
	ldr	w0, [x21, #52]
	bl	_cpu_to_le32
	str	x0, [x19, #160]
	ldr	w0, [x21, #68]
	bl	_cpu_to_le32
	str	x0, [x19, #152]
	ldr	w8, [x21, #72]
	ldr	w9, [x21, #48]
	lsl	w0, w8, w9
	bl	_cpu_to_le32
	stp	xzr, x0, [x19, #136]
	ldr	w0, [x21, #64]
	bl	_cpu_to_le32
	str	x0, [x19, #128]
	ldr	w8, [x21]
Lloh15:
	adrp	x9, _VLAN_VID_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _VLAN_VID_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_2
; %bb.1:
	mov	w9, #1
	str	w9, [x19, #24]
	ldr	w9, [x21, #40]
Lloh18:
	adrp	x10, _I40IW_VLAN_PRIO_SHIFT@GOTPAGE
Lloh19:
	ldr	x10, [x10, _I40IW_VLAN_PRIO_SHIFT@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w0, w9, w8
	bl	_cpu_to_le16
	str	x0, [x19, #120]
LBB0_2:
	ldr	x22, [x21, #32]
	ldr	w0, [x21, #4]
	bl	_cpu_to_le16
	str	x0, [x19, #112]
	ldr	w0, [x21, #8]
	bl	_cpu_to_le16
	str	x0, [x19, #104]
	ldr	x8, [x21, #16]
	ldr	w0, [x8]
	bl	_cpu_to_le32
	cbz	x22, LBB0_4
; %bb.3:
	mov	x22, x19
	str	x0, [x22, #80]!
	ldr	x8, [x21, #24]
	ldr	w0, [x8]
	bl	_cpu_to_le32
	stur	x0, [x22, #-32]
	ldr	w0, [x20]
Lloh21:
	adrp	x8, _I40IW_ARP_RESOLVE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _I40IW_ARP_RESOLVE@GOTPAGEOFF]
Lloh23:
	ldr	w4, [x8]
	mov	x1, x22
	mov	w2, #1
	b	LBB0_5
LBB0_4:
	mov	x22, x19
	str	x0, [x22, #32]!
	ldr	x8, [x21, #16]
	ldr	w0, [x8, #4]
	bl	_cpu_to_le32
	str	x0, [x22, #64]
	ldr	x8, [x21, #16]
	ldr	w0, [x8, #8]
	bl	_cpu_to_le32
	str	x0, [x22, #56]
	ldr	x8, [x21, #16]
	ldr	w0, [x8, #12]
	bl	_cpu_to_le32
	str	x0, [x22, #48]
	ldr	x8, [x21, #24]
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	x0, [x22, #40]
	ldr	x8, [x21, #24]
	ldr	w0, [x8, #4]
	bl	_cpu_to_le32
	str	x0, [x22, #32]
	ldr	x8, [x21, #24]
	ldr	w0, [x8, #8]
	bl	_cpu_to_le32
	str	x0, [x22, #24]
	ldr	x8, [x21, #24]
	ldr	w0, [x8, #12]
	bl	_cpu_to_le32
	str	x0, [x22, #16]
	ldr	w0, [x20]
Lloh24:
	adrp	x8, _I40IW_ARP_RESOLVE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _I40IW_ARP_RESOLVE@GOTPAGEOFF]
Lloh26:
	ldr	w4, [x8]
	mov	x1, x22
	mov	w2, #0
LBB0_5:
	mov	x3, #0
	bl	_i40iw_arp_table
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_cpu_to_le16
	str	x0, [x19, #40]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_I40IW_DEFAULT_TTL,4,2          ; @I40IW_DEFAULT_TTL
	.comm	_I40IW_DEFAULT_RTT_VAR,4,2      ; @I40IW_DEFAULT_RTT_VAR
	.comm	_I40IW_DEFAULT_SS_THRESH,4,2    ; @I40IW_DEFAULT_SS_THRESH
	.comm	_I40IW_DEFAULT_REXMIT_THRESH,4,2 ; @I40IW_DEFAULT_REXMIT_THRESH
	.comm	_I40IW_TCP_STATE_ESTABLISHED,4,2 ; @I40IW_TCP_STATE_ESTABLISHED
	.comm	_VLAN_VID_MASK,4,2              ; @VLAN_VID_MASK
	.comm	_I40IW_VLAN_PRIO_SHIFT,4,2      ; @I40IW_VLAN_PRIO_SHIFT
	.comm	_I40IW_ARP_RESOLVE,4,2          ; @I40IW_ARP_RESOLVE
	.no_dead_strip	_i40iw_init_tcp_ctx
.subsections_via_symbols
