	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function roce_get_net_dev_by_cm_event
_roce_get_net_dev_by_cm_event:          ## @roce_get_net_dev_by_cm_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movq	_IB_CM_REQ_RECEIVED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	addq	$16, %rdi
	jmp	LBB0_5
LBB0_2:
	movq	_IB_CM_SIDR_REQ_RECEIVED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	addq	$8, %rdi
LBB0_5:
	movq	(%rdi), %rbx
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.6:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	%rbx, %rdi
	callq	_rdma_read_gid_attr_ndev_rcu
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_dev_hold
	movq	%rbx, %r14
LBB0_8:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	jmp	LBB0_9
LBB0_3:
	xorl	%r14d, %r14d
LBB0_9:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_CM_REQ_RECEIVED,8,3         ## @IB_CM_REQ_RECEIVED
	.comm	_IB_CM_SIDR_REQ_RECEIVED,8,3    ## @IB_CM_SIDR_REQ_RECEIVED
	.no_dead_strip	_roce_get_net_dev_by_cm_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function roce_get_net_dev_by_cm_event
_roce_get_net_dev_by_cm_event:          ; @roce_get_net_dev_by_cm_event
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _IB_CM_REQ_RECEIVED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_CM_REQ_RECEIVED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	add	x8, x0, #16
	ldr	x19, [x8]
	cbnz	x19, LBB0_4
	b	LBB0_9
LBB0_2:
Lloh3:
	adrp	x9, _IB_CM_SIDR_REQ_RECEIVED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_CM_SIDR_REQ_RECEIVED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	add	x8, x0, #8
	ldr	x19, [x8]
	cbz	x19, LBB0_9
LBB0_4:
	bl	_rcu_read_lock
	mov	x0, x19
	bl	_rdma_read_gid_attr_ndev_rcu
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.5:
	mov	x19, #0
	b	LBB0_8
LBB0_6:
	mov	x19, #0
	b	LBB0_9
LBB0_7:
	mov	x0, x19
	bl	_dev_hold
LBB0_8:
	bl	_rcu_read_unlock
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_CM_REQ_RECEIVED,8,3         ; @IB_CM_REQ_RECEIVED
	.comm	_IB_CM_SIDR_REQ_RECEIVED,8,3    ; @IB_CM_SIDR_REQ_RECEIVED
	.no_dead_strip	_roce_get_net_dev_by_cm_event
.subsections_via_symbols
