	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function connect_reply_upcall
_connect_reply_upcall:                  ## @connect_reply_upcall
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	24(%rdi), %edx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %ecx
	callq	_pr_debug
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	_IW_CM_EVENT_CONNECT_REPLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movl	%r14d, -72(%rbp)
	leaq	-28(%rbp), %rdi
	leaq	20(%rbx), %rsi
	movl	$4, %edx
	callq	_memcpy
	leaq	-32(%rbp), %rdi
	leaq	16(%rbx), %rsi
	movl	$4, %edx
	callq	_memcpy
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movq	_ECONNREFUSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r14d, %eax
	jne	LBB0_6
LBB0_2:
	cmpl	$0, 64(%rbx)
	je	LBB0_3
## %bb.4:
	movl	12(%rbx), %edi
	callq	_cur_max_read_depth
	movq	%rax, -40(%rbp)
	movl	12(%rbx), %edi
	callq	_cur_max_read_depth
	movq	%rax, -48(%rbp)
	movq	40(%rbx), %rax
	movl	$4, %ecx
	jmp	LBB0_5
LBB0_3:
	movups	48(%rbx), %xmm0
	movups	%xmm0, -48(%rbp)
	movq	40(%rbx), %rax
	addq	$-4, %rax
	movl	$8, %ecx
LBB0_5:
	movq	%rax, -56(%rbp)
	addq	32(%rbx), %rcx
	movq	%rcx, -64(%rbp)
LBB0_6:
	movl	24(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %ecx
	callq	_pr_debug
	movq	_CONN_RPL_UPCALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_set_bit
	movq	(%rbx), %rdi
	leaq	-72(%rbp), %rsi
	callq	*(%rdi)
	testl	%r14d, %r14d
	jns	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_deref_cm_id
LBB0_8:
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ep %p tid %u status %d\n"

	.comm	_IW_CM_EVENT_CONNECT_REPLY,4,2  ## @IW_CM_EVENT_CONNECT_REPLY
	.comm	_ECONNREFUSED,4,2               ## @ECONNREFUSED
	.comm	_CONN_RPL_UPCALL,4,2            ## @CONN_RPL_UPCALL
	.no_dead_strip	_connect_reply_upcall
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function connect_reply_upcall
_connect_reply_upcall:                  ; @connect_reply_upcall
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x1
	mov	x19, x0
	ldr	w2, [x0, #24]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x3, x20
	bl	_pr_debug
	add	x21, sp, #8
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #56
	bl	_memset
Lloh2:
	adrp	x8, _IW_CM_EVENT_CONNECT_REPLY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IW_CM_EVENT_CONNECT_REPLY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #56]
	str	w20, [sp, #8]
	add	x0, x21, #44
	add	x1, x19, #20
	mov	w2, #4
	bl	_memcpy
	add	x0, x21, #40
	add	x1, x19, #16
	mov	w2, #4
	bl	_memcpy
	cbz	w20, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _ECONNREFUSED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ECONNREFUSED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmn	w8, w20
	b.ne	LBB0_6
LBB0_2:
	ldr	w8, [x19, #64]
	cbz	w8, LBB0_4
; %bb.3:
	ldr	w0, [x19, #12]
	bl	_cur_max_read_depth
	str	x0, [sp, #40]
	ldr	w0, [x19, #12]
	bl	_cur_max_read_depth
	str	x0, [sp, #32]
	ldr	x8, [x19, #40]
	mov	w9, #4
	b	LBB0_5
LBB0_4:
	ldp	x9, x8, [x19, #48]
	ldr	x10, [x19, #40]
	stp	x9, x8, [sp, #32]
	sub	x8, x10, #4
	mov	w9, #8
LBB0_5:
	ldr	x10, [x19, #32]
	add	x9, x10, x9
	stp	x9, x8, [sp, #16]
LBB0_6:
	ldr	w2, [x19, #24]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x3, x20
	bl	_pr_debug
Lloh10:
	adrp	x8, _CONN_RPL_UPCALL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CONN_RPL_UPCALL@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_set_bit
	ldr	x0, [x19]
	ldr	x8, [x0]
	add	x1, sp, #8
	blr	x8
	tbz	w20, #31, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_deref_cm_id
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ep %p tid %u status %d\n"

	.comm	_IW_CM_EVENT_CONNECT_REPLY,4,2  ; @IW_CM_EVENT_CONNECT_REPLY
	.comm	_ECONNREFUSED,4,2               ; @ECONNREFUSED
	.comm	_CONN_RPL_UPCALL,4,2            ; @CONN_RPL_UPCALL
	.no_dead_strip	_connect_reply_upcall
.subsections_via_symbols
