	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucma_process_conn_req
_ucma_process_conn_req:                 ## @ucma_process_conn_req
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	8(%rax), %rdi
	movl	24(%rax), %esi
	movl	20(%rax), %edx
	movl	16(%rax), %ecx
	callq	_ucma_alloc_id
	movq	%rax, %rbx
	movq	(%r14), %rax
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	addq	$8, %rax
	movq	%rax, 24(%r14)
	movq	%rbx, 16(%r14)
	movl	%r15d, 12(%rbx)
	movq	%rbx, %rdi
	callq	_ucma_insert_id
	movl	12(%r14), %eax
	movl	%eax, 8(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 4(%rbx)
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_rdma_migrate_id
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_ucma_query_req_info
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_5
LBB0_6:
	movq	%rbx, %rdi
	callq	_rdma_destroy_id
	jmp	LBB0_7
LBB0_1:
	movq	8(%rax), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_ucma_destroy_kern_id
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR
	movl	%eax, %r15d
LBB0_7:
	movq	(%r14), %rdi
	callq	_ucma_complete_event
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%r15d, %r15d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_ucma_process_conn_req
.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_req
_ucma_process_conn_req:                 ; @ucma_process_conn_req
	.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	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x0, [x8, #8]
	ldp	w2, w1, [x8, #20]
	ldr	w3, [x8, #16]
	bl	_ucma_alloc_id
	ldr	x8, [x19]
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	add	x8, x8, #8
	stp	x0, x8, [x19, #16]
	str	w21, [x0, #12]
	bl	_ucma_insert_id
	ldr	d0, [x19, #8]
	stur	d0, [x20, #4]
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, #0
	bl	_rdma_migrate_id
	mov	x21, x0
	cbnz	w0, LBB0_4
LBB0_3:
	mov	x0, x20
	bl	_ucma_query_req_info
	mov	x21, x0
	cbz	w0, LBB0_7
LBB0_4:
	mov	x0, x20
	bl	_rdma_destroy_id
	b	LBB0_6
LBB0_5:
	ldr	x8, [x8, #8]
	ldr	w0, [x8]
	mov	x1, x21
	bl	_ucma_destroy_kern_id
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ERR
	mov	x21, x0
LBB0_6:
	ldr	x0, [x19]
	bl	_ucma_complete_event
LBB0_7:
	mov	x0, x21
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_ucma_process_conn_req
.subsections_via_symbols
