	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function act_establish
_act_establish:                         ## @act_establish
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_cplhdr
	movq	%rax, %r14
	movl	12(%rax), %edi
	callq	_ntohs
	movw	%ax, -42(%rbp)                  ## 2-byte Spill
	movq	%r14, %rdi
	callq	_GET_TID
	movl	%eax, %r15d
	movl	8(%r14), %edi
	callq	_ntohl
	movl	%eax, %edi
	callq	_TID_TID_G
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %r13
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_lookup_atid
	movq	%rax, %rbx
	movl	4(%r14), %edi
	callq	_be32_to_cpu
	movq	%rax, %r12
	movl	(%r14), %edi
	callq	_be32_to_cpu
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	movq	%r12, %rcx
	movq	%rax, %r8
	callq	_pr_debug
	leaq	8(%rbx), %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	movl	64(%rbx), %edi
	callq	_dst_confirm
	movl	%r15d, (%rbx)
	movl	24(%rbx), %ecx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_cxgb4_insert_tid
	movq	%rbx, %rdi
	callq	_insert_ep_tid
	movl	4(%r14), %edi
	callq	_be32_to_cpu
	movq	%rax, 56(%rbx)
	movl	(%r14), %edi
	callq	_be32_to_cpu
	movq	%rax, 48(%rbx)
	movzwl	-42(%rbp), %r14d                ## 2-byte Folded Reload
	movl	%r14d, %edi
	callq	_TCPOPT_SND_WSCALE_G
	movl	%eax, 40(%rbx)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_set_emss
	movq	16(%rbx), %rdi
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	callq	_xa_erase_irq
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_cxgb4_free_atid
	movq	_ACT_ESTAB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%rbx), %rsi
	callq	_set_bit
	movq	%rbx, %rdi
	callq	_send_flowc
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	cmpq	$0, 32(%rbx)
	movl	$1, %edx
	jne	LBB0_3
## %bb.2:
	movq	_mpa_rev@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_3:
	movq	%rbx, %rdi
	callq	_send_mpa_req
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	movq	%r12, %rdi
	callq	_mutex_unlock
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	subl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_connect_reply_upcall
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_c4iw_ep_disconnect
LBB0_6:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r12, %rdi
	callq	_mutex_unlock
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ep %p tid %u snd_isn %u rcv_isn %u\n"

	.comm	_ACT_ESTAB,4,2                  ## @ACT_ESTAB
	.comm	_mpa_rev,4,2                    ## @mpa_rev
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_act_establish
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function act_establish
_act_establish:                         ; @act_establish
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_cplhdr
	mov	x25, x0
	ldr	w0, [x0, #12]
	bl	_ntohs
	mov	x22, x0
	mov	x0, x25
	bl	_GET_TID
	mov	x26, x0
	ldr	w0, [x25, #8]
	bl	_ntohl
	bl	_TID_TID_G
	mov	x23, x0
	ldr	x24, [x20]
	mov	x0, x24
	mov	x1, x23
	bl	_lookup_atid
	mov	x20, x0
	ldr	w0, [x25, #4]
	bl	_be32_to_cpu
	mov	x21, x0
	ldr	w0, [x25]
	bl	_be32_to_cpu
	mov	x4, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x26
	mov	x3, x21
	bl	_pr_debug
	add	x21, x20, #8
	mov	x0, x21
	bl	_mutex_lock
	ldr	w0, [x20, #64]
	bl	_dst_confirm
	str	w26, [x20]
	ldr	w3, [x20, #24]
	mov	x0, x24
	mov	x1, x20
	mov	x2, x26
	bl	_cxgb4_insert_tid
	mov	x0, x20
	bl	_insert_ep_tid
	ldr	w0, [x25, #4]
	bl	_be32_to_cpu
	str	x0, [x20, #56]
	ldr	w0, [x25]
	bl	_be32_to_cpu
	str	x0, [x20, #48]
	mov	x0, x22
	bl	_TCPOPT_SND_WSCALE_G
	str	w0, [x20, #40]
	mov	x0, x20
	mov	x1, x22
	bl	_set_emss
	ldr	x0, [x20, #16]
	mov	x1, x23
	bl	_xa_erase_irq
	mov	x0, x24
	mov	x1, x23
	bl	_cxgb4_free_atid
Lloh2:
	adrp	x8, _ACT_ESTAB@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ACT_ESTAB@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, x20, #12
	bl	_set_bit
	mov	x0, x20
	bl	_send_flowc
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x20, #32]
Lloh5:
	adrp	x9, _mpa_rev@GOTPAGE
Lloh6:
	ldr	x9, [x9, _mpa_rev@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	x8, #0
	csinc	w2, w9, wzr, eq
	mov	x0, x20
	mov	x1, x19
	bl	_send_mpa_req
	cbz	w0, LBB0_4
LBB0_2:
	mov	x0, x21
	bl	_mutex_unlock
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w1, w8
	mov	x0, x20
	bl	_connect_reply_upcall
Lloh11:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_c4iw_ep_disconnect
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x21
	bl	_mutex_unlock
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ep %p tid %u snd_isn %u rcv_isn %u\n"

	.comm	_ACT_ESTAB,4,2                  ; @ACT_ESTAB
	.comm	_mpa_rev,4,2                    ; @mpa_rev
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_act_establish
.subsections_via_symbols
