	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opa_vnic_vema_add_one
_opa_vnic_vema_add_one:                 ## @opa_vnic_vema_add_one
	.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, %r14
	callq	_rdma_cap_opa_vnic
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movl	(%r14), %eax
	leal	16(,%rax,4), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %rbx
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	movq	%r14, 8(%rbx)
	movq	%rbx, %rdi
	callq	_vema_register
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_c_info
LBB0_4:
	movq	_opa_vnic_client@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_ib_set_client_data
	movq	%rbx, %rdi
	movl	$1, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_opa_vnic_ctrl_config_dev       ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VNIC client initialized\n"

	.comm	_opa_vnic_client,4,2            ## @opa_vnic_client
	.no_dead_strip	_opa_vnic_vema_add_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opa_vnic_vema_add_one
_opa_vnic_vema_add_one:                 ; @opa_vnic_vema_add_one
	.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
	mov	x19, x0
	bl	_rdma_cap_opa_vnic
	cbz	w0, LBB0_5
; %bb.1:
	ldr	w8, [x19]
	lsl	w8, w8, #2
	add	w0, w8, #16
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	ldr	w8, [x19]
	str	w8, [x0]
	str	x19, [x0, #8]
	bl	_vema_register
	cbnz	w0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_c_info
LBB0_4:
Lloh5:
	adrp	x1, _opa_vnic_client@GOTPAGE
Lloh6:
	ldr	x1, [x1, _opa_vnic_client@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x20
	bl	_ib_set_client_data
	mov	x0, x20
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_opa_vnic_ctrl_config_dev
LBB0_5:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VNIC client initialized\n"

	.comm	_opa_vnic_client,4,2            ; @opa_vnic_client
	.no_dead_strip	_opa_vnic_vema_add_one
.subsections_via_symbols
