	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cma_req_handler
_cma_req_handler:                       ## @cma_req_handler
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	-56(%rbp), %rdx
	callq	_cma_id_from_event
	movq	%rax, %r12
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_23
LBB0_2:
	leaq	8(%r12), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_cma_check_req_qp_type
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	addq	$24, %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	(%r13), %rax
	movq	_RDMA_CM_LISTEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.7:
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	%r13, %rdi
	callq	_cma_user_data_offset
	movq	_RDMA_CM_EVENT_CONNECT_REQUEST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -64(%rbp)
	movq	(%rbx), %rsi
	movq	_IB_CM_SIDR_REQ_RECEIVED@GOTPCREL(%rip), %rcx
	movq	-56(%rbp), %rdx
	cmpq	(%rcx), %rsi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	movq	%rbx, %rsi
	jne	LBB0_9
## %bb.8:
	callq	_cma_new_udp_id
	movq	%rax, %r15
	movslq	-44(%rbp), %rax                 ## 4-byte Folded Reload
	movq	8(%rbx), %rcx
	addq	%rax, %rcx
	movq	%rcx, -80(%rbp)
	movq	_IB_CM_SIDR_REQ_PRIVATE_DATA_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	subq	%rax, %rcx
	movq	%rcx, -72(%rbp)
	testq	%r15, %r15
	je	LBB0_11
LBB0_12:
	leaq	24(%r15), %rbx
	movq	_SINGLE_DEPTH_NESTING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mutex_lock_nested
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %r13
	callq	_cma_acquire_dev
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_19
## %bb.13:
	movq	%r14, 32(%r15)
	movq	%r15, 8(%r14)
	movq	_cma_ib_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	leaq	40(%r15), %rdi
	callq	_atomic_inc
	leaq	8(%r15), %rdi
	leaq	-80(%rbp), %rsi
	callq	*8(%r15)
	testl	%eax, %eax
	je	LBB0_14
## %bb.18:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_cma_deref_id
	movq	$0, 32(%r15)
LBB0_19:
	movq	_RDMA_CM_DESTROYING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_cma_exch
	movq	%r13, %rdi
	callq	_mutex_unlock
	movq	%r12, %rdi
	callq	_mutex_unlock
	addq	$8, %r15
	movq	%r15, %rdi
	callq	_rdma_destroy_id
	jmp	LBB0_20
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_20
LBB0_5:
	movq	_ECONNABORTED@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_9:
	callq	_cma_new_conn_id
	movq	%rax, %r15
	movq	8(%rbx), %rdx
	addq	$16, %rbx
	leaq	-80(%rbp), %rdi
	movq	%rbx, %rsi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_cma_set_req_event_data
	testq	%r15, %r15
	jne	LBB0_12
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_mutex_unlock
LBB0_20:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_23
LBB0_22:
	callq	_dev_put
LBB0_23:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_RDMA_CM_CONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_cma_comp
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	16(%r15), %rax
	movq	_IB_QPT_UD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.16:
	movq	_CMA_CM_MRA_SETTING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ib_send_cm_mra
LBB0_17:
	movq	_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movq	%r13, %rdi
	callq	_mutex_unlock
	movq	%r12, %rdi
	callq	_mutex_unlock
	movq	%r15, %rdi
	callq	_cma_deref_id
	movq	-56(%rbp), %rdi
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	jne	LBB0_22
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RDMA_CM_LISTEN,8,3             ## @RDMA_CM_LISTEN
	.comm	_ECONNABORTED,4,2               ## @ECONNABORTED
	.comm	_RDMA_CM_EVENT_CONNECT_REQUEST,4,2 ## @RDMA_CM_EVENT_CONNECT_REQUEST
	.comm	_IB_CM_SIDR_REQ_RECEIVED,8,3    ## @IB_CM_SIDR_REQ_RECEIVED
	.comm	_IB_CM_SIDR_REQ_PRIVATE_DATA_SIZE,8,3 ## @IB_CM_SIDR_REQ_PRIVATE_DATA_SIZE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SINGLE_DEPTH_NESTING,4,2       ## @SINGLE_DEPTH_NESTING
	.comm	_cma_ib_handler,4,2             ## @cma_ib_handler
	.comm	_lock,4,2                       ## @lock
	.comm	_RDMA_CM_CONNECT,4,2            ## @RDMA_CM_CONNECT
	.comm	_IB_QPT_UD,8,3                  ## @IB_QPT_UD
	.comm	_CMA_CM_MRA_SETTING,4,2         ## @CMA_CM_MRA_SETTING
	.comm	_RDMA_CM_DESTROYING,4,2         ## @RDMA_CM_DESTROYING
	.no_dead_strip	_cma_req_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cma_req_handler
_cma_req_handler:                       ; @cma_req_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x23, x1
	mov	x20, x0
	mov	x2, sp
	bl	_cma_id_from_event
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_PTR_ERR
	mov	x22, x0
	b	LBB0_16
LBB0_2:
	add	x21, x22, #8
	mov	x0, x21
	mov	x1, x23
	bl	_cma_check_req_qp_type
	cbz	w0, LBB0_10
; %bb.3:
	add	x19, x22, #24
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _RDMA_CM_LISTEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RDMA_CM_LISTEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.4:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	mov	x0, x22
	bl	_cma_user_data_offset
	mov	x24, x0
Lloh3:
	adrp	x8, _RDMA_CM_EVENT_CONNECT_REQUEST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RDMA_CM_EVENT_CONNECT_REQUEST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	x8, [x23]
Lloh6:
	adrp	x9, _IB_CM_SIDR_REQ_RECEIVED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_CM_SIDR_REQ_RECEIVED@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x2, [sp]
	mov	x0, x21
	mov	x1, x23
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.5:
	bl	_cma_new_udp_id
	mov	x21, x0
	ldr	x8, [x23, #8]
	sxtw	x9, w24
	add	x8, x8, x9
Lloh9:
	adrp	x10, _IB_CM_SIDR_REQ_PRIVATE_DATA_SIZE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IB_CM_SIDR_REQ_PRIVATE_DATA_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	sub	x9, x10, x9
	stp	x8, x9, [sp, #8]
	cbz	x21, LBB0_13
LBB0_6:
	add	x23, x21, #24
Lloh12:
	adrp	x8, _SINGLE_DEPTH_NESTING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SINGLE_DEPTH_NESTING@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_mutex_lock_nested
	mov	x0, x21
	mov	x1, x22
	bl	_cma_acquire_dev
	mov	x22, x0
	cbnz	w0, LBB0_9
; %bb.7:
	str	x20, [x21, #32]
	str	x21, [x20, #8]
Lloh15:
	adrp	x8, _cma_ib_handler@GOTPAGE
Lloh16:
	ldr	x8, [x8, _cma_ib_handler@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x20]
	add	x0, x21, #40
	bl	_atomic_inc
	mov	x0, x21
	ldr	x8, [x0, #8]!
	add	x1, sp, #8
	blr	x8
	cbz	w0, LBB0_17
; %bb.8:
	mov	x22, x0
	mov	x0, x21
	bl	_cma_deref_id
	str	xzr, [x21, #32]
LBB0_9:
Lloh18:
	adrp	x8, _RDMA_CM_DESTROYING@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RDMA_CM_DESTROYING@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_cma_exch
	mov	x0, x23
	bl	_mutex_unlock
	mov	x0, x19
	bl	_mutex_unlock
	add	x0, x21, #8
	bl	_rdma_destroy_id
	ldr	x0, [sp]
	cbnz	x0, LBB0_15
	b	LBB0_16
LBB0_10:
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w22, w8
	ldr	x0, [sp]
	cbnz	x0, LBB0_15
	b	LBB0_16
LBB0_11:
Lloh24:
	adrp	x8, _ECONNABORTED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ECONNABORTED@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
	bl	_cma_new_conn_id
	mov	x21, x0
	add	x1, x23, #16
	ldr	x2, [x23, #8]
	add	x0, sp, #8
	mov	x3, x24
	bl	_cma_set_req_event_data
	cbnz	x21, LBB0_6
LBB0_13:
Lloh26:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	neg	w22, w8
	mov	x0, x19
	bl	_mutex_unlock
	ldr	x0, [sp]
	cbz	x0, LBB0_16
LBB0_15:
	bl	_dev_put
LBB0_16:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_17:
Lloh28:
	adrp	x0, _lock@GOTPAGE
Lloh29:
	ldr	x0, [x0, _lock@GOTPAGEOFF]
	bl	_mutex_lock
Lloh30:
	adrp	x8, _RDMA_CM_CONNECT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RDMA_CM_CONNECT@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_cma_comp
	cbz	x0, LBB0_20
; %bb.18:
	ldr	x8, [x21, #16]
Lloh33:
	adrp	x9, _IB_QPT_UD@GOTPAGE
Lloh34:
	ldr	x9, [x9, _IB_QPT_UD@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_20
; %bb.19:
Lloh36:
	adrp	x8, _CMA_CM_MRA_SETTING@GOTPAGE
Lloh37:
	ldr	x8, [x8, _CMA_CM_MRA_SETTING@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, #0
	mov	w3, #0
	bl	_ib_send_cm_mra
LBB0_20:
Lloh39:
	adrp	x0, _lock@GOTPAGE
Lloh40:
	ldr	x0, [x0, _lock@GOTPAGEOFF]
	bl	_mutex_unlock
	mov	x0, x23
	bl	_mutex_unlock
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x21
	bl	_cma_deref_id
	ldr	x0, [sp]
	cbz	x0, LBB0_22
; %bb.21:
	bl	_dev_put
LBB0_22:
	mov	w22, #0
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RDMA_CM_LISTEN,8,3             ; @RDMA_CM_LISTEN
	.comm	_ECONNABORTED,4,2               ; @ECONNABORTED
	.comm	_RDMA_CM_EVENT_CONNECT_REQUEST,4,2 ; @RDMA_CM_EVENT_CONNECT_REQUEST
	.comm	_IB_CM_SIDR_REQ_RECEIVED,8,3    ; @IB_CM_SIDR_REQ_RECEIVED
	.comm	_IB_CM_SIDR_REQ_PRIVATE_DATA_SIZE,8,3 ; @IB_CM_SIDR_REQ_PRIVATE_DATA_SIZE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SINGLE_DEPTH_NESTING,4,2       ; @SINGLE_DEPTH_NESTING
	.comm	_cma_ib_handler,4,2             ; @cma_ib_handler
	.comm	_lock,4,2                       ; @lock
	.comm	_RDMA_CM_CONNECT,4,2            ; @RDMA_CM_CONNECT
	.comm	_IB_QPT_UD,8,3                  ; @IB_QPT_UD
	.comm	_CMA_CM_MRA_SETTING,4,2         ; @CMA_CM_MRA_SETTING
	.comm	_RDMA_CM_DESTROYING,4,2         ; @RDMA_CM_DESTROYING
	.no_dead_strip	_cma_req_handler
.subsections_via_symbols
