	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srp_new_ib_cm_id
_srp_new_ib_cm_id:                      ## @srp_new_ib_cm_id
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	32(%rdi), %r15
	movq	16(%r15), %rax
	movq	8(%rax), %rax
	movl	(%rax), %edi
	movq	_srp_ib_cm_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_ib_create_cm_id
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	24(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_ib_destroy_cm_id
LBB0_3:
	movq	%rbx, 24(%r14)
	movq	16(%r15), %rax
	movq	8(%rax), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_rdma_cap_opa_ah
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movq	_SA_PATH_REC_TYPE_IB@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_SA_PATH_REC_TYPE_OPA@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movups	(%r15), %xmm0
	movups	%xmm0, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_srp_ib_cm_handler,4,2          ## @srp_ib_cm_handler
	.comm	_SA_PATH_REC_TYPE_OPA,4,2       ## @SA_PATH_REC_TYPE_OPA
	.comm	_SA_PATH_REC_TYPE_IB,4,2        ## @SA_PATH_REC_TYPE_IB
	.no_dead_strip	_srp_new_ib_cm_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function srp_new_ib_cm_id
_srp_new_ib_cm_id:                      ; @srp_new_ib_cm_id
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, [x0, #32]
	ldr	x8, [x21, #16]
	ldr	x8, [x8, #8]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _srp_ib_cm_handler@GOTPAGE
Lloh1:
	ldr	x8, [x8, _srp_ib_cm_handler@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_ib_create_cm_id
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_2:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_ib_destroy_cm_id
LBB0_4:
	str	x20, [x19, #24]
	ldr	x8, [x21, #16]
	ldr	x9, [x8, #8]
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_rdma_cap_opa_ah
Lloh3:
	adrp	x8, _SA_PATH_REC_TYPE_IB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SA_PATH_REC_TYPE_IB@GOTPAGEOFF]
Lloh5:
	adrp	x9, _SA_PATH_REC_TYPE_OPA@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SA_PATH_REC_TYPE_OPA@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	q0, [x21]
	str	q0, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_srp_ib_cm_handler,4,2          ; @srp_ib_cm_handler
	.comm	_SA_PATH_REC_TYPE_OPA,4,2       ; @SA_PATH_REC_TYPE_OPA
	.comm	_SA_PATH_REC_TYPE_IB,4,2        ; @SA_PATH_REC_TYPE_IB
	.no_dead_strip	_srp_new_ib_cm_id
.subsections_via_symbols
