	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cma_ib_listen
_cma_ib_listen:                         ## @cma_ib_listen
	.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, %r12
	movl	12(%rdi), %edi
	movq	_cma_req_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdx
	callq	_ib_create_cm_id
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	leaq	8(%r12), %r14
	movq	%rbx, (%r12)
	movq	%r12, %rdi
	callq	_cma_src_addr
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_rdma_get_service_id
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_cma_any_addr
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	cmpl	$0, 16(%r12)
	je	LBB0_3
LBB0_4:
	movl	8(%r12), %edi
	leaq	-40(%rbp), %rbx
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_cma_set_compare_data
	movq	(%r12), %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	jmp	LBB0_5
LBB0_3:
	movq	(%r12), %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
LBB0_5:
	callq	_ib_cm_listen
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	(%r12), %rdi
	callq	_ib_destroy_cm_id
	movq	$0, (%r12)
	jmp	LBB0_8
LBB0_6:
	xorl	%r14d, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cma_req_handler,4,2            ## @cma_req_handler
	.no_dead_strip	_cma_ib_listen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cma_ib_listen
_cma_ib_listen:                         ; @cma_ib_listen
	.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	w0, [x0, #12]
Lloh0:
	adrp	x8, _cma_req_handler@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cma_req_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, #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
	b	_PTR_ERR
LBB0_2:
	add	x22, x19, #8
	str	x20, [x19]
	mov	x0, x19
	bl	_cma_src_addr
	mov	x21, x0
	mov	x0, x22
	mov	x1, x21
	bl	_rdma_get_service_id
	mov	x20, x0
	mov	x0, x21
	bl	_cma_any_addr
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_5
LBB0_4:
	ldr	w0, [x19, #8]
	add	x2, sp, #8
	mov	x1, x21
	bl	_cma_set_compare_data
	ldr	x0, [x19]
	add	x3, sp, #8
	mov	x1, x20
	mov	w2, #0
	b	LBB0_6
LBB0_5:
	ldr	x0, [x19]
	mov	x1, x20
	mov	w2, #0
	mov	x3, #0
LBB0_6:
	bl	_ib_cm_listen
	mov	x20, x0
	cbz	w0, LBB0_8
; %bb.7:
	ldr	x0, [x19]
	bl	_ib_destroy_cm_id
	str	xzr, [x19]
LBB0_8:
	mov	x0, x20
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cma_req_handler,4,2            ; @cma_req_handler
	.no_dead_strip	_cma_ib_listen
.subsections_via_symbols
