	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cma_id_from_event
_cma_id_from_event:                     ## @cma_id_from_event
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_cma_save_req_info
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	%eax, %edi
	callq	_ERR_PTR
LBB0_2:
	movq	%rax, %rbx
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%r15), %edi
	callq	_rdma_ps_from_service_id
	movq	_RDMA_PS_SDP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.5:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_cma_get_net_dev
	movq	%rax, (%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	movq	(%r14), %rdi
	callq	_PTR_ERR
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_14
LBB0_7:
	movq	$0, (%r14)
LBB0_8:
	movq	_init_net@GOTPCREL(%rip), %r12
LBB0_9:
	movl	-48(%rbp), %edi
	callq	_rdma_ps_from_service_id
	movl	%eax, %r13d
	movl	-48(%rbp), %edi
	callq	_cma_port_from_service_id
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_cma_ps_find
	movq	(%r14), %r8
	leaq	-48(%rbp), %rcx
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_cma_find_listener
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.10:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.11:
	callq	_dev_put
	movq	$0, (%r14)
	jmp	LBB0_3
LBB0_12:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.13:
	callq	_dev_net
	movq	%rax, %r12
	jmp	LBB0_9
LBB0_14:
	movq	(%r14), %rdi
	callq	_ERR_CAST
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_PS_SDP,4,2                ## @RDMA_PS_SDP
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.comm	_init_net,4,2                   ## @init_net
	.no_dead_strip	_cma_id_from_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cma_id_from_event
_cma_id_from_event:                     ; @cma_id_from_event
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x1, sp, #8
	mov	x0, x20
	bl	_cma_save_req_info
	cbz	w0, LBB0_4
; %bb.1:
	bl	_ERR_PTR
LBB0_2:
	mov	x20, x0
LBB0_3:
	mov	x0, x20
	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_4:
	ldr	w0, [x21]
	bl	_rdma_ps_from_service_id
Lloh0:
	adrp	x8, _RDMA_PS_SDP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDMA_PS_SDP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_7
; %bb.5:
	add	x1, sp, #8
	mov	x0, x20
	bl	_cma_get_net_dev
	str	x0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.6:
	ldr	x0, [x19]
	bl	_PTR_ERR
Lloh3:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_14
LBB0_7:
	str	xzr, [x19]
LBB0_8:
Lloh6:
	adrp	x22, _init_net@GOTPAGE
Lloh7:
	ldr	x22, [x22, _init_net@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [sp, #8]
	bl	_rdma_ps_from_service_id
	mov	x23, x0
	ldr	w0, [sp, #8]
	bl	_cma_port_from_service_id
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_cma_ps_find
	ldr	x4, [x19]
	add	x3, sp, #8
	mov	x1, x21
	mov	x2, x20
	bl	_cma_find_listener
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.10:
	ldr	x0, [x19]
	cbz	x0, LBB0_3
; %bb.11:
	bl	_dev_put
	str	xzr, [x19]
	b	LBB0_3
LBB0_12:
	ldr	x0, [x19]
	cbz	x0, LBB0_8
; %bb.13:
	bl	_dev_net
	mov	x22, x0
	b	LBB0_9
LBB0_14:
	ldr	x0, [x19]
	bl	_ERR_CAST
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_PS_SDP,4,2                ; @RDMA_PS_SDP
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.comm	_init_net,4,2                   ; @init_net
	.no_dead_strip	_cma_id_from_event
.subsections_via_symbols
