	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pass_establish
_pass_establish:                        ## @pass_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_cplhdr
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_GET_TID
	movl	%eax, %r15d
	movl	8(%r12), %edi
	callq	_ntohs
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_get_ep_from_tid
	movq	%rax, %rbx
	movl	40(%rax), %edx
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_pr_debug
	movl	4(%r12), %edi
	callq	_be32_to_cpu
	movq	%rax, 32(%rbx)
	movl	(%r12), %edi
	callq	_be32_to_cpu
	movq	%rax, 24(%rbx)
	movl	%r14d, %edi
	callq	_TCPOPT_SND_WSCALE_G
	movl	%eax, 16(%rbx)
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_pr_debug
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_set_emss
	movl	12(%rbx), %edi
	callq	_dst_confirm
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_MPA_REQ_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_start_ep_timer
	movq	_PASS_ESTAB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %rsi
	callq	_set_bit
	movq	%rbx, %rdi
	callq	_send_flowc
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_mutex_unlock
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_c4iw_ep_disconnect
LBB0_2:
	movq	%rbx, %rdi
	callq	_c4iw_put_ep
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ep %p tid %u\n"

L_.str.1:                               ## @.str.1
	.asciz	"ep %p hwtid %u tcp_opt 0x%02x\n"

	.comm	_MPA_REQ_WAIT,4,2               ## @MPA_REQ_WAIT
	.comm	_PASS_ESTAB,4,2                 ## @PASS_ESTAB
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_pass_establish
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pass_establish
_pass_establish:                        ; @pass_establish
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	mov	x0, x1
	bl	_cplhdr
	mov	x20, x0
	bl	_GET_TID
	mov	x21, x0
	ldr	w0, [x20, #8]
	bl	_ntohs
	mov	x22, x0
	mov	x0, x19
	mov	x1, x21
	bl	_get_ep_from_tid
	mov	x19, x0
	ldr	w2, [x0, #40]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_pr_debug
	ldr	w0, [x20, #4]
	bl	_be32_to_cpu
	str	x0, [x19, #32]
	ldr	w0, [x20]
	bl	_be32_to_cpu
	str	x0, [x19, #24]
	mov	x0, x22
	bl	_TCPOPT_SND_WSCALE_G
	str	w0, [x19, #16]
	str	x22, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x21
	bl	_pr_debug
	mov	x0, x19
	mov	x1, x22
	bl	_set_emss
	ldr	w0, [x19, #12]
	bl	_dst_confirm
	mov	x0, x19
	bl	_mutex_lock
Lloh4:
	adrp	x8, _MPA_REQ_WAIT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MPA_REQ_WAIT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_start_ep_timer
Lloh7:
	adrp	x8, _PASS_ESTAB@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PASS_ESTAB@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_set_bit
	mov	x0, x19
	bl	_send_flowc
	mov	x20, x0
	mov	x0, x19
	bl	_mutex_unlock
	cbz	w20, LBB0_2
; %bb.1:
Lloh10:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #1
	bl	_c4iw_ep_disconnect
LBB0_2:
	mov	x0, x19
	bl	_c4iw_put_ep
	mov	w0, #0
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ep %p tid %u\n"

l_.str.1:                               ; @.str.1
	.asciz	"ep %p hwtid %u tcp_opt 0x%02x\n"

	.comm	_MPA_REQ_WAIT,4,2               ; @MPA_REQ_WAIT
	.comm	_PASS_ESTAB,4,2                 ; @PASS_ESTAB
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_pass_establish
.subsections_via_symbols
