	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdp_start_connect
_sdp_start_connect:                     ## @sdp_start_connect
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	24(%rdi), %r15
	callq	_SDP_WLOCK_ASSERT
	movq	(%rbx), %r13
	testq	%r13, %r13
	je	LBB0_1
LBB0_3:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	$32, -72(%rbp)
	leaq	-52(%rbp), %rdi
	movl	$4, %esi
	callq	_bzero
	movq	%r13, -64(%rbp)
	movl	16(%rbx), %eax
	movl	%eax, -56(%rbp)
	movq	%r15, %rdi
	callq	_soisconnecting
	movq	%rbx, %rdi
	callq	_SDP_WUNLOCK
	movl	12(%rbx), %edi
	movq	_SDP_RESOLVE_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-72(%rbp), %rsi
	movq	%r14, %rdx
	callq	_rdma_resolve_addr
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_SDP_WLOCK
	xorl	%eax, %eax
	testl	%r14d, %r14d
	jne	LBB0_5
## %bb.4:
	movq	_TCPS_SYN_SENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rbx)
	jmp	LBB0_5
LBB0_1:
	movl	(%r12), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_sdp_pcbbind
	testl	%eax, %eax
	je	LBB0_2
LBB0_5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	(%rbx), %r13
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_SDP_RESOLVE_TIMEOUT,4,2        ## @SDP_RESOLVE_TIMEOUT
	.comm	_TCPS_SYN_SENT,4,2              ## @TCPS_SYN_SENT
	.no_dead_strip	_sdp_start_connect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdp_start_connect
_sdp_start_connect:                     ; @sdp_start_connect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x0, #24]
	bl	_SDP_WLOCK_ASSERT
	ldr	x23, [x19]
	cbz	x23, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _AF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #32
	str	w8, [sp, #24]
	str	w9, [sp]
	mov	x8, sp
	add	x0, x8, #20
	mov	w1, #4
	bl	_bzero
	str	x23, [sp, #8]
	ldr	w8, [x19, #16]
	str	w8, [sp, #16]
	mov	x0, x21
	bl	_soisconnecting
	mov	x0, x19
	bl	_SDP_WUNLOCK
	ldr	w0, [x19, #12]
Lloh3:
	adrp	x8, _SDP_RESOLVE_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SDP_RESOLVE_TIMEOUT@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x1, sp
	mov	x2, x20
	bl	_rdma_resolve_addr
	mov	x20, x0
	mov	x0, x19
	bl	_SDP_WLOCK
	mov	w0, #0
	cbnz	w20, LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _TCPS_SYN_SENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TCPS_SYN_SENT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	b	LBB0_4
LBB0_3:
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, #0
	bl	_sdp_pcbbind
	cbz	w0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_5:
	ldr	x23, [x19]
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_SDP_RESOLVE_TIMEOUT,4,2        ; @SDP_RESOLVE_TIMEOUT
	.comm	_TCPS_SYN_SENT,4,2              ; @TCPS_SYN_SENT
	.no_dead_strip	_sdp_start_connect
.subsections_via_symbols
