	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opa_vnic_ctrl_config_dev
_opa_vnic_ctrl_config_dev:              ## @opa_vnic_ctrl_config_dev
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	$0, -48(%rbp)
	movq	_OPA_CAP_MASK3_IsEthOnFabricSupported@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	%rax, -56(%rbp)
	cmpl	$0, (%r14)
	jg	LBB0_4
	jmp	LBB0_6
LBB0_2:
	movq	%rax, -64(%rbp)
	cmpl	$0, (%r14)
	jle	LBB0_6
LBB0_4:
	xorl	%ebx, %ebx
	movq	_IB_PORT_OPA_MASK_CHG@GOTPCREL(%rip), %r12
	leaq	-64(%rbp), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	movl	4(%r14), %edi
	movl	(%r12), %edx
	movl	%ebx, %esi
	movq	%r15, %rcx
	callq	_ib_modify_port
	cmpl	(%r14), %ebx
	jl	LBB0_5
LBB0_6:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPA_CAP_MASK3_IsEthOnFabricSupported,8,3 ## @OPA_CAP_MASK3_IsEthOnFabricSupported
	.comm	_IB_PORT_OPA_MASK_CHG,4,2       ## @IB_PORT_OPA_MASK_CHG
	.no_dead_strip	_opa_vnic_ctrl_config_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opa_vnic_ctrl_config_dev
_opa_vnic_ctrl_config_dev:              ; @opa_vnic_ctrl_config_dev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
Lloh0:
	adrp	x8, _OPA_CAP_MASK3_IsEthOnFabricSupported@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPA_CAP_MASK3_IsEthOnFabricSupported@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	w1, LBB0_2
; %bb.1:
	str	x8, [sp, #16]
	b	LBB0_3
LBB0_2:
	str	x8, [sp, #8]
LBB0_3:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w20, #0
Lloh3:
	adrp	x21, _IB_PORT_OPA_MASK_CHG@GOTPAGE
Lloh4:
	ldr	x21, [x21, _IB_PORT_OPA_MASK_CHG@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	w20, w20, #1
	ldr	w0, [x19, #4]
	ldr	w2, [x21]
	add	x3, sp, #8
	mov	x1, x20
	bl	_ib_modify_port
	ldr	w8, [x19]
	cmp	w20, w8
	b.lt	LBB0_5
LBB0_6:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_OPA_CAP_MASK3_IsEthOnFabricSupported,8,3 ; @OPA_CAP_MASK3_IsEthOnFabricSupported
	.comm	_IB_PORT_OPA_MASK_CHG,4,2       ; @IB_PORT_OPA_MASK_CHG
	.no_dead_strip	_opa_vnic_ctrl_config_dev
.subsections_via_symbols
