	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function act_open_rpl
_act_open_rpl:                          ## @act_open_rpl
	.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
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_cplhdr
	movq	%rax, %r14
	movl	(%rax), %edi
	callq	_ntohl
	movl	%eax, %edi
	callq	_AOPEN_ATID_G
	movl	%eax, %edi
	callq	_TID_TID_G
	movl	%eax, %r13d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rbx
	movl	(%r14), %edi
	callq	_ntohl
	movl	%eax, %edi
	callq	_AOPEN_STATUS_G
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_lookup_atid
	movq	%rax, %r15
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edi
	callq	_status2errno
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_pr_debug
	movl	%r12d, %edi
	callq	_cxgb_is_neg_adv
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%r12d, %edi
	callq	_neg_adv_str
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_pr_debug
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	44(%rax)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	leaq	16(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	incl	24(%rbx)
	movq	%r14, %rdi
	callq	_mutex_unlock
	jmp	LBB0_22
LBB0_2:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	leaq	8(%r15), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_ACT_OPEN_RPL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%r15), %r14
	movq	%r14, %rsi
	callq	_set_bit
	leal	-129(%r12), %eax
	cmpl	$2, %eax
	jb	LBB0_16
## %bb.3:
	addq	$16, %r15
	cmpl	$131, %r12d
	je	LBB0_8
## %bb.4:
	cmpl	$128, %r12d
	jne	LBB0_12
## %bb.5:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	leaq	16(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	incl	20(%rbx)
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_16
## %bb.6:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_16
## %bb.7:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_ntohl
	movl	%eax, %edi
	callq	_AOPEN_ATID_G
	movl	%eax, %edi
	callq	_TID_TID_G
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_send_fw_act_open_req
	testl	%eax, %eax
	jne	LBB0_16
	jmp	LBB0_22
LBB0_8:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	40(%rdx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 40(%rdx)
	movq	_ACT_OPEN_RETRY_COUNT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_16
## %bb.9:
	movq	_ACT_RETRY_INUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
	movq	(%r15), %rax
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_11
## %bb.10:
	movq	(%r14), %rax
	movq	16(%rax), %rax
	movl	(%rax), %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	$1, %edx
	callq	_cxgb4_clip_release
LBB0_11:
	movq	(%r14), %rdi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_xa_erase_irq
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_cxgb4_free_atid
	movl	36(%r14), %edi
	callq	_dst_release
	movl	32(%r14), %edi
	callq	_cxgb4_l2t_release
	movq	%r14, %rdi
	callq	_c4iw_reconnect
	jmp	LBB0_22
LBB0_12:
	movq	%r15, %r13
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %r14d
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movq	%rcx, %rbx
	movl	(%rax), %r15d
	movl	%r12d, %edi
	callq	_status2errno
	cmpl	%r15d, %r14d
	jne	LBB0_14
## %bb.13:
	leaq	4(%rbx), %r15
	movl	(%rbx), %edi
	movl	%eax, %ebx
	callq	_ntohs
	movl	%eax, %r14d
	movl	(%r13), %edi
	addq	$4, %r13
	callq	_ntohs
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str.2(%rip), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movq	%r15, %r8
	movl	%r14d, %r9d
	pushq	%rax
	pushq	%r13
	jmp	LBB0_15
LBB0_14:
	movq	(%rbx), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %edi
	movl	%eax, %ebx
	callq	_ntohs
	movl	%eax, %r14d
	movq	(%r13), %r15
	movl	8(%r13), %edi
	callq	_ntohs
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str.3(%rip), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	%r14d, %r9d
	pushq	%rax
	pushq	%r15
LBB0_15:
	callq	_pr_info
	addq	$16, %rsp
LBB0_16:
	movl	%r12d, %edi
	callq	_status2errno
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_connect_reply_upcall
	movq	_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_state_set
	movq	16(%rbx), %rax
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.17:
	movq	(%rbx), %rax
	movq	16(%rax), %rax
	movl	(%rax), %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	$1, %edx
	callq	_cxgb4_clip_release
LBB0_18:
	testl	%r12d, %r12d
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_21
## %bb.19:
	movl	%r12d, %edi
	callq	_act_open_has_tid
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	(%rbx), %rax
	movl	8(%rax), %r14d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_GET_TID
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	8(%rcx), %ecx
	movl	%r14d, %edi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_cxgb4_remove_tid
LBB0_21:
	movq	(%rbx), %rdi
	movl	%r15d, %esi
	callq	_xa_erase_irq
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_cxgb4_free_atid
	movl	36(%rbx), %edi
	callq	_dst_release
	movl	32(%rbx), %edi
	callq	_cxgb4_l2t_release
	movq	%rbx, %rdi
	callq	_c4iw_put_ep
LBB0_22:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ep %p atid %u status %u errno %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Connection problems for atid %u status %u (%s)\n"

	.comm	_ACT_OPEN_RPL,4,2               ## @ACT_OPEN_RPL
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_ACT_OPEN_RETRY_COUNT,4,2       ## @ACT_OPEN_RETRY_COUNT
	.comm	_ACT_RETRY_INUSE,4,2            ## @ACT_RETRY_INUSE
	.comm	_AF_INET6,8,3                   ## @AF_INET6
L_.str.2:                               ## @.str.2
	.asciz	"Active open failure - atid %u status %u errno %d %pI4:%u->%pI4:%u\n"

L_.str.3:                               ## @.str.3
	.asciz	"Active open failure - atid %u status %u errno %d %pI6:%u->%pI6:%u\n"

	.comm	_DEAD,4,2                       ## @DEAD
	.no_dead_strip	_act_open_rpl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function act_open_rpl
_act_open_rpl:                          ; @act_open_rpl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x25, x0
	mov	x0, x1
	bl	_cplhdr
	mov	x22, x0
	ldr	w0, [x0]
	bl	_ntohl
	bl	_AOPEN_ATID_G
	bl	_TID_TID_G
	mov	x20, x0
	ldr	x21, [x25, #8]
	ldr	w0, [x22]
	bl	_ntohl
	bl	_AOPEN_STATUS_G
	mov	x23, x0
	mov	x0, x21
	mov	x1, x20
	bl	_lookup_atid
	mov	x19, x0
	mov	x0, x23
	bl	_status2errno
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x23, x0, [sp, #16]
	stp	x19, x20, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	mov	x0, x23
	bl	_cxgb_is_neg_adv
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x23
	bl	_neg_adv_str
                                        ; kill: def $w0 killed $w0 def $x0
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	stp	x23, x0, [sp, #8]
	str	x20, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	ldr	w8, [x19, #44]
	add	w8, w8, #1
	str	w8, [x19, #44]
	add	x19, x25, #16
	mov	x0, x19
	bl	_mutex_lock
	ldr	w8, [x25, #24]
	add	w8, w8, #1
	str	w8, [x25, #24]
	mov	x0, x19
	bl	_mutex_unlock
	b	LBB0_22
LBB0_2:
	add	x24, x19, #8
Lloh4:
	adrp	x8, _ACT_OPEN_RPL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ACT_OPEN_RPL@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	add	x27, x19, #24
	mov	x1, x27
	bl	_set_bit
	sub	w8, w23, #129
	cmp	w8, #2
	b.lo	LBB0_16
; %bb.3:
	add	x26, x19, #16
	cmp	w23, #131
	b.eq	LBB0_8
; %bb.4:
	cmp	w23, #128
	b.ne	LBB0_12
; %bb.5:
	add	x26, x25, #16
	mov	x0, x26
	bl	_mutex_lock
	ldr	w8, [x25, #20]
	add	w8, w8, #1
	str	w8, [x25, #20]
	mov	x0, x26
	bl	_mutex_unlock
	ldr	w8, [x24]
Lloh7:
	adrp	x9, _AF_INET@GOTPAGE
Lloh8:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_16
; %bb.6:
	ldr	w8, [x25]
	cbz	w8, LBB0_16
; %bb.7:
	ldr	w0, [x22]
	bl	_ntohl
	bl	_AOPEN_ATID_G
	bl	_TID_TID_G
	mov	x1, x0
	mov	x0, x19
	bl	_send_fw_act_open_req
	cbnz	w0, LBB0_16
	b	LBB0_22
LBB0_8:
	ldr	w8, [x19, #40]
	add	w9, w8, #1
	str	w9, [x19, #40]
Lloh10:
	adrp	x9, _ACT_OPEN_RETRY_COUNT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ACT_OPEN_RETRY_COUNT@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_16
; %bb.9:
Lloh13:
	adrp	x8, _ACT_RETRY_INUSE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ACT_RETRY_INUSE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x27
	bl	_set_bit
	ldr	x8, [x26]
Lloh16:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh17:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
	ldr	x8, [x19]
	ldr	x8, [x8, #16]
	ldr	w0, [x8]
	mov	x1, x24
	mov	w2, #1
	bl	_cxgb4_clip_release
LBB0_11:
	ldr	x0, [x19]
	mov	x1, x20
	bl	_xa_erase_irq
	mov	x0, x21
	mov	x1, x20
	bl	_cxgb4_free_atid
	ldr	w0, [x19, #36]
	bl	_dst_release
	ldr	w0, [x19, #32]
	bl	_cxgb4_l2t_release
	mov	x0, x19
	bl	_c4iw_reconnect
	b	LBB0_22
LBB0_12:
	ldr	w27, [x24]
Lloh19:
	adrp	x8, _AF_INET@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh21:
	ldr	w28, [x8]
	mov	x0, x23
	bl	_status2errno
	mov	x25, x0
	cmp	w27, w28
	b.ne	LBB0_14
; %bb.13:
	mov	x27, x24
	ldr	w0, [x27], #4
	bl	_ntohs
	mov	x28, x0
	ldr	w0, [x26], #4
	bl	_ntohs
	mov	x7, x0
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	mov	x2, x23
	mov	x3, x25
	mov	x4, x27
	mov	x5, x28
	mov	x6, x26
	b	LBB0_15
LBB0_14:
	ldr	x8, [x24]
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	ldr	w0, [x24, #8]
	bl	_ntohs
	mov	x28, x0
	ldr	x27, [x26]
	ldr	w0, [x26, #8]
	bl	_ntohs
	mov	x7, x0
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	mov	x2, x23
	mov	x3, x25
	ldr	x4, [sp, #40]                   ; 8-byte Folded Reload
	mov	x5, x28
	mov	x6, x27
LBB0_15:
	bl	_pr_info
LBB0_16:
	mov	x0, x23
	bl	_status2errno
	mov	x1, x0
	mov	x0, x19
	bl	_connect_reply_upcall
Lloh26:
	adrp	x8, _DEAD@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DEAD@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_state_set
	ldr	x8, [x19, #16]
Lloh29:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh30:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.17:
	ldr	x8, [x19]
	ldr	x8, [x8, #16]
	ldr	w0, [x8]
	mov	x1, x24
	mov	w2, #1
	bl	_cxgb4_clip_release
LBB0_18:
	cbz	w23, LBB0_21
; %bb.19:
	mov	x0, x23
	bl	_act_open_has_tid
	cbz	x0, LBB0_21
; %bb.20:
	ldr	x8, [x19]
	ldr	w23, [x8, #8]
	mov	x0, x22
	bl	_GET_TID
	mov	x2, x0
	ldr	w3, [x19, #8]
	mov	x0, x23
	mov	w1, #0
	bl	_cxgb4_remove_tid
LBB0_21:
	ldr	x0, [x19]
	mov	x1, x20
	bl	_xa_erase_irq
	mov	x0, x21
	mov	x1, x20
	bl	_cxgb4_free_atid
	ldr	w0, [x19, #36]
	bl	_dst_release
	ldr	w0, [x19, #32]
	bl	_cxgb4_l2t_release
	mov	x0, x19
	bl	_c4iw_put_ep
LBB0_22:
	mov	w0, #0
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ep %p atid %u status %u errno %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Connection problems for atid %u status %u (%s)\n"

	.comm	_ACT_OPEN_RPL,4,2               ; @ACT_OPEN_RPL
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_ACT_OPEN_RETRY_COUNT,4,2       ; @ACT_OPEN_RETRY_COUNT
	.comm	_ACT_RETRY_INUSE,4,2            ; @ACT_RETRY_INUSE
	.comm	_AF_INET6,8,3                   ; @AF_INET6
l_.str.2:                               ; @.str.2
	.asciz	"Active open failure - atid %u status %u errno %d %pI4:%u->%pI4:%u\n"

l_.str.3:                               ; @.str.3
	.asciz	"Active open failure - atid %u status %u errno %d %pI6:%u->%pI6:%u\n"

	.comm	_DEAD,4,2                       ; @DEAD
	.no_dead_strip	_act_open_rpl
.subsections_via_symbols
