	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucma_process_conn_resp
_ucma_process_conn_resp:                ## @ucma_process_conn_resp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_RDMA_MAX_RESP_RES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ucma_modify_qp_rtr
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	_RDMA_MAX_INIT_DEPTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ucma_modify_qp_rts
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
LBB0_6:
	movq	%r14, %rdi
	callq	_ucma_modify_qp_err
LBB0_7:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_ACCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_CMA_INIT_CMD
	movl	8(%r14), %eax
	movl	%eax, -24(%rbp)
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_write
	xorl	%ebx, %ebx
	cmpl	$4, %eax
	je	LBB0_7
## %bb.3:
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	_ENODATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_4:
	movl	$-1, %ebx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_MAX_RESP_RES,4,2          ## @RDMA_MAX_RESP_RES
	.comm	_RDMA_MAX_INIT_DEPTH,4,2        ## @RDMA_MAX_INIT_DEPTH
	.comm	_ACCEPT,4,2                     ## @ACCEPT
	.comm	_ENODATA,4,2                    ## @ENODATA
	.no_dead_strip	_ucma_process_conn_resp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucma_process_conn_resp
_ucma_process_conn_resp:                ; @ucma_process_conn_resp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _RDMA_MAX_RESP_RES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDMA_MAX_RESP_RES@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ucma_modify_qp_rtr
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _RDMA_MAX_INIT_DEPTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RDMA_MAX_INIT_DEPTH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ucma_modify_qp_rts
	mov	x20, x0
	cbz	w0, LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_ucma_modify_qp_err
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
Lloh6:
	adrp	x8, _ACCEPT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACCEPT@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	w1, #4
	bl	_CMA_INIT_CMD
	ldr	w8, [x19, #8]
	str	w8, [sp, #8]
	ldr	x8, [x19]
	ldr	w0, [x8]
	add	x1, sp, #8
	mov	w2, #4
	bl	_write
	cmp	w0, #4
	b.ne	LBB0_6
; %bb.5:
	mov	w20, #0
	b	LBB0_3
LBB0_6:
	tbnz	w0, #31, LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, _ENODATA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENODATA@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_ERR
	mov	x20, x0
	b	LBB0_2
LBB0_8:
	mov	w20, #-1
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_MAX_RESP_RES,4,2          ; @RDMA_MAX_RESP_RES
	.comm	_RDMA_MAX_INIT_DEPTH,4,2        ; @RDMA_MAX_INIT_DEPTH
	.comm	_ACCEPT,4,2                     ; @ACCEPT
	.comm	_ENODATA,4,2                    ; @ENODATA
	.no_dead_strip	_ucma_process_conn_resp
.subsections_via_symbols
