	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srp_new_rdma_cm_id
_srp_new_rdma_cm_id:                    ## @srp_new_rdma_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r15
	movl	16(%r15), %edi
	movq	_srp_rdma_cm_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RDMA_PS_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IB_QPT_RC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdx
	callq	_rdma_create_id
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.11:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	leaq	8(%rbx), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_init_completion
	movq	8(%r15), %rsi
	leaq	4(%r15), %r13
	testq	%rsi, %rsi
	cmovneq	%r13, %rsi
	movq	_SRP_PATH_REC_TIMEOUT_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_rdma_resolve_addr
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %r12d
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_pr_err
LBB0_8:
	testq	%r14, %r14
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_rdma_destroy_id
LBB0_10:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_wait_for_completion_interruptible
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movl	(%rbx), %r12d
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_8
LBB0_4:
	movl	%eax, %r12d
	jmp	LBB0_8
LBB0_7:
	movl	4(%rbx), %edi
	movq	%r14, %rsi
	callq	_swap
	xorl	%r12d, %r12d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_srp_rdma_cm_handler,4,2        ## @srp_rdma_cm_handler
	.comm	_RDMA_PS_TCP,4,2                ## @RDMA_PS_TCP
	.comm	_IB_QPT_RC,4,2                  ## @IB_QPT_RC
	.comm	_SRP_PATH_REC_TIMEOUT_MS,4,2    ## @SRP_PATH_REC_TIMEOUT_MS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No route available from %pIS to %pIS (%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"Resolving address %pIS failed (%d)\n"

	.no_dead_strip	_srp_new_rdma_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_rdma_cm_id
_srp_new_rdma_cm_id:                    ; @srp_new_rdma_cm_id
	.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	x21, x0
	ldr	x20, [x0, #16]
	ldr	w0, [x20, #16]
Lloh0:
	adrp	x8, _srp_rdma_cm_handler@GOTPAGE
Lloh1:
	ldr	x8, [x8, _srp_rdma_cm_handler@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _RDMA_PS_TCP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RDMA_PS_TCP@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _IB_QPT_RC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_QPT_RC@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	x2, x21
	bl	_rdma_create_id
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	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
	b	_PTR_ERR
LBB0_2:
	add	x24, x21, #8
	mov	x0, x24
	bl	_init_completion
	ldr	x8, [x20, #8]
	add	x23, x20, #4
	cmp	x8, #0
	csel	x1, xzr, x23, eq
Lloh9:
	adrp	x8, _SRP_PATH_REC_TIMEOUT_MS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SRP_PATH_REC_TIMEOUT_MS@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_rdma_resolve_addr
	cbz	w0, LBB0_8
; %bb.3:
	mov	x22, x0
	str	x22, [sp]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	mov	x2, x20
LBB0_4:
	bl	_pr_err
LBB0_5:
	cbz	x19, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_rdma_destroy_id
LBB0_7:
	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_8:
	mov	x0, x24
	bl	_wait_for_completion_interruptible
	tbnz	w0, #31, LBB0_11
; %bb.9:
	ldr	w22, [x21]
	cbz	w22, LBB0_12
; %bb.10:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	mov	x2, x22
	b	LBB0_4
LBB0_11:
	mov	x22, x0
	b	LBB0_5
LBB0_12:
	ldr	w0, [x21, #4]
	mov	x1, x19
	bl	_swap
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_srp_rdma_cm_handler,4,2        ; @srp_rdma_cm_handler
	.comm	_RDMA_PS_TCP,4,2                ; @RDMA_PS_TCP
	.comm	_IB_QPT_RC,4,2                  ; @IB_QPT_RC
	.comm	_SRP_PATH_REC_TIMEOUT_MS,4,2    ; @SRP_PATH_REC_TIMEOUT_MS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No route available from %pIS to %pIS (%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"Resolving address %pIS failed (%d)\n"

	.no_dead_strip	_srp_new_rdma_cm_id
.subsections_via_symbols
