	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cma_ib_id_from_event
_cma_ib_id_from_event:                  ## @cma_ib_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	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_cma_save_req_info
	testl	%eax, %eax
	je	LBB0_1
## %bb.16:
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_1:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_cma_get_net_dev
	movq	%rax, (%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	(%r14), %rdi
	callq	_PTR_ERR
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_17
## %bb.3:
	movq	$0, (%r14)
LBB0_4:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	(%r14), %rdi
	movq	_init_net@GOTPCREL(%rip), %r13
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.6:
	movq	_IFF_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_7
## %bb.8:
	leaq	8(%rbx), %rsi
	leaq	4(%rbx), %rdx
	callq	_validate_net_dev
	testl	%eax, %eax
	je	LBB0_7
## %bb.9:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_dev_net
	movq	%rax, %r13
	jmp	LBB0_11
LBB0_17:
	movq	(%r14), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_CAST                       ## TAILCALL
LBB0_5:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
LBB0_11:
	movl	(%rbx), %edi
	callq	_rdma_ps_from_service_id
	movl	%eax, %r12d
	movl	(%rbx), %edi
	callq	_cma_port_from_service_id
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_cma_ps_find
	movq	(%r14), %r8
	movq	%rax, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_cma_find_listener
	jmp	LBB0_12
LBB0_7:
	movq	_EHOSTUNREACH@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
LBB0_12:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	%rbx, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_dev_put
	movq	$0, (%r14)
LBB0_15:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_EHOSTUNREACH,4,2               ## @EHOSTUNREACH
	.comm	_init_net,4,2                   ## @init_net
	.no_dead_strip	_cma_ib_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_ib_id_from_event
_cma_ib_id_from_event:                  ; @cma_ib_id_from_event
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	mov	x1, x2
	bl	_cma_save_req_info
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_2:
	mov	x0, x21
	mov	x1, x20
	bl	_cma_get_net_dev
	str	x0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x0, [x19]
	bl	_PTR_ERR
Lloh0:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_12
; %bb.4:
	str	xzr, [x19]
LBB0_5:
	bl	_rcu_read_lock
	ldr	x0, [x19]
	cbz	x0, LBB0_10
; %bb.6:
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.7:
	add	x1, x20, #8
	add	x2, x20, #4
	bl	_validate_net_dev
	cbz	w0, LBB0_13
; %bb.8:
	ldr	x0, [x19]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_dev_net
	mov	x23, x0
	b	LBB0_11
LBB0_10:
Lloh6:
	adrp	x23, _init_net@GOTPAGE
Lloh7:
	ldr	x23, [x23, _init_net@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x20]
	bl	_rdma_ps_from_service_id
	mov	x24, x0
	ldr	w0, [x20]
	bl	_cma_port_from_service_id
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_cma_ps_find
	ldr	x4, [x19]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_cma_find_listener
	b	LBB0_14
LBB0_12:
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ERR_CAST
LBB0_13:
Lloh8:
	adrp	x8, _EHOSTUNREACH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EHOSTUNREACH@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
LBB0_14:
	mov	x20, x0
	bl	_rcu_read_unlock
	mov	x0, x20
	bl	_IS_ERR
	cbz	x0, LBB0_17
; %bb.15:
	ldr	x0, [x19]
	cbz	x0, LBB0_17
; %bb.16:
	bl	_dev_put
	str	xzr, [x19]
LBB0_17:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_EHOSTUNREACH,4,2               ; @EHOSTUNREACH
	.comm	_init_net,4,2                   ; @init_net
	.no_dead_strip	_cma_ib_id_from_event
.subsections_via_symbols
