	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rds_ib_cm_initiate_connect     ## -- Begin function rds_ib_cm_initiate_connect
	.p2align	4, 0x90
_rds_ib_cm_initiate_connect:            ## @rds_ib_cm_initiate_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movq	(%r15), %r12
	movq	_RDS_PROTOCOL_3_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_rds_ib_set_protocol
	movq	_rds_ib_sysctl_flow_control@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
	movq	%r15, %rdi
	callq	_rds_ib_setup_qp
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_2:
	movq	_RDS_PROTOCOL_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_UINT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-48(%rbp), %rbx
	leaq	-40(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r8d, %r9d
	callq	_rds_ib_cm_fill_conn_param
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_rdma_connect
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_rds_ib_conn_error
	xorl	%eax, %eax
	cmpq	%r14, (%r12)
	cmovnel	%ebx, %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_RDS_PROTOCOL_3_0,4,2           ## @RDS_PROTOCOL_3_0
	.comm	_rds_ib_sysctl_flow_control,4,2 ## @rds_ib_sysctl_flow_control
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rds_ib_setup_qp failed (%d)\n"

	.comm	_RDS_PROTOCOL_VERSION,4,2       ## @RDS_PROTOCOL_VERSION
	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
L_.str.1:                               ## @.str.1
	.asciz	"rdma_connect failed (%d)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rds_ib_cm_initiate_connect     ; -- Begin function rds_ib_cm_initiate_connect
	.p2align	2
_rds_ib_cm_initiate_connect:            ; @rds_ib_cm_initiate_connect
	.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
	ldr	x20, [x0]
	ldr	x22, [x20]
Lloh0:
	adrp	x8, _RDS_PROTOCOL_3_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDS_PROTOCOL_3_0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_rds_ib_set_protocol
Lloh3:
	adrp	x8, _rds_ib_sysctl_flow_control@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rds_ib_sysctl_flow_control@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x22, #8]
	mov	x0, x20
	bl	_rds_ib_setup_qp
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
Lloh8:
	adrp	x8, _RDS_PROTOCOL_VERSION@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RDS_PROTOCOL_VERSION@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x8, _UINT_MAX@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UINT_MAX@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x20
	mov	x5, x4
	bl	_rds_ib_cm_fill_conn_param
	add	x1, sp, #8
	mov	x0, x19
	bl	_rdma_connect
	cbz	w0, LBB0_5
; %bb.3:
	mov	x21, x0
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x20
	mov	x2, x21
	bl	_rds_ib_conn_error
	ldr	x8, [x22]
	cmp	x8, x19
	csel	w0, wzr, w21, eq
LBB0_5:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_RDS_PROTOCOL_3_0,4,2           ; @RDS_PROTOCOL_3_0
	.comm	_rds_ib_sysctl_flow_control,4,2 ; @rds_ib_sysctl_flow_control
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rds_ib_setup_qp failed (%d)\n"

	.comm	_RDS_PROTOCOL_VERSION,4,2       ; @RDS_PROTOCOL_VERSION
	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
l_.str.1:                               ; @.str.1
	.asciz	"rdma_connect failed (%d)\n"

.subsections_via_symbols
