	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_cm_modify_rx_qp
_ipoib_cm_modify_rx_qp:                 ## @ipoib_cm_modify_rx_qp
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r14
	movq	%rsi, %r12
	callq	_ipoib_priv
	movq	%rax, %r15
	movq	_IB_QPS_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	leaq	-56(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	callq	_ib_cm_init_qp_attr
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	movl	-44(%rbp), %edx
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ib_modify_qp
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_5:
	movq	_IB_QPS_RTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	leaq	-56(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	callq	_ib_cm_init_qp_attr
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_2
LBB0_7:
	movl	%r13d, -56(%rbp)
	movl	-44(%rbp), %edx
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ib_modify_qp
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
LBB0_2:
	movq	%r15, %rdi
	movl	%ebx, %edx
LBB0_13:
	callq	_ipoib_warn
LBB0_14:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_IB_QPS_RTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	leaq	-56(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	callq	_ib_cm_init_qp_attr
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_ipoib_warn
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_11:
	movl	-44(%rbp), %edx
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ib_modify_qp
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_QPS_INIT,4,2                ## @IB_QPS_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to init QP attr for INIT: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to modify QP to INIT: %d\n"

	.comm	_IB_QPS_RTR,4,2                 ## @IB_QPS_RTR
L_.str.2:                               ## @.str.2
	.asciz	"failed to init QP attr for RTR: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"failed to modify QP to RTR: %d\n"

	.comm	_IB_QPS_RTS,4,2                 ## @IB_QPS_RTS
L_.str.4:                               ## @.str.4
	.asciz	"failed to init QP attr for RTS: %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"failed to modify QP to RTS: %d\n"

	.no_dead_strip	_ipoib_cm_modify_rx_qp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_cm_modify_rx_qp
_ipoib_cm_modify_rx_qp:                 ; @ipoib_cm_modify_rx_qp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x3
	mov	x20, x2
	mov	x21, x1
	bl	_ipoib_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _IB_QPS_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_QPS_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x21
	bl	_ib_cm_init_qp_attr
	cbz	w0, LBB0_2
; %bb.1:
	mov	x22, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_2:
	ldr	w2, [sp, #4]
	add	x1, sp, #8
	mov	x0, x20
	bl	_ib_modify_qp
	cbz	w0, LBB0_4
; %bb.3:
	mov	x22, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_4:
Lloh7:
	adrp	x8, _IB_QPS_RTR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IB_QPS_RTR@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x21
	bl	_ib_cm_init_qp_attr
	cbz	w0, LBB0_6
; %bb.5:
	mov	x22, x0
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_6:
	str	w23, [sp, #8]
	ldr	w2, [sp, #4]
	add	x1, sp, #8
	mov	x0, x20
	bl	_ib_modify_qp
	cbz	w0, LBB0_10
; %bb.7:
	mov	x22, x0
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_8:
	mov	x0, x19
	mov	x2, x22
	bl	_ipoib_warn
LBB0_9:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
Lloh14:
	adrp	x8, _IB_QPS_RTS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IB_QPS_RTS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x21
	bl	_ib_cm_init_qp_attr
	cbz	w0, LBB0_12
; %bb.11:
	mov	x2, x0
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_14
LBB0_12:
	ldr	w2, [sp, #4]
	add	x1, sp, #8
	mov	x0, x20
	bl	_ib_modify_qp
	cbz	w0, LBB0_15
; %bb.13:
	mov	x2, x0
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_14:
	mov	x0, x19
	bl	_ipoib_warn
LBB0_15:
	mov	w22, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_QPS_INIT,4,2                ; @IB_QPS_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to init QP attr for INIT: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to modify QP to INIT: %d\n"

	.comm	_IB_QPS_RTR,4,2                 ; @IB_QPS_RTR
l_.str.2:                               ; @.str.2
	.asciz	"failed to init QP attr for RTR: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"failed to modify QP to RTR: %d\n"

	.comm	_IB_QPS_RTS,4,2                 ; @IB_QPS_RTS
l_.str.4:                               ; @.str.4
	.asciz	"failed to init QP attr for RTS: %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"failed to modify QP to RTS: %d\n"

	.no_dead_strip	_ipoib_cm_modify_rx_qp
.subsections_via_symbols
