	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vema_get_class_port_info
_vema_get_class_port_info:              ## @vema_get_class_port_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rsi
	movq	(%rdx), %rbx
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_memcpy
	movq	_OPA_MGMT_BASE_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_OPA_EMA_CLASS_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_OPA_VNIC_CLASS_CAP_TRAP@GOTPCREL(%rip), %rax
	movq	_OPA_VNIC_MAX_NUM_VPORT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	shll	$8, %edi
	orl	(%rax), %edi
	callq	_cpu_to_be16
	movl	%eax, 4(%rbx)
	movl	$18, %edi
	callq	_cpu_to_be32
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPA_MGMT_BASE_VERSION,4,2      ## @OPA_MGMT_BASE_VERSION
	.comm	_OPA_EMA_CLASS_VERSION,4,2      ## @OPA_EMA_CLASS_VERSION
	.comm	_OPA_VNIC_CLASS_CAP_TRAP,4,2    ## @OPA_VNIC_CLASS_CAP_TRAP
	.comm	_OPA_VNIC_MAX_NUM_VPORT,4,2     ## @OPA_VNIC_MAX_NUM_VPORT
	.no_dead_strip	_vema_get_class_port_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vema_get_class_port_info
_vema_get_class_port_info:              ; @vema_get_class_port_info
	.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	x1, x0
	ldr	x19, [x2]
	mov	x0, x19
	mov	w2, #16
	bl	_memcpy
Lloh0:
	adrp	x8, _OPA_MGMT_BASE_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPA_MGMT_BASE_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _OPA_EMA_CLASS_VERSION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OPA_EMA_CLASS_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _OPA_VNIC_CLASS_CAP_TRAP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _OPA_VNIC_CLASS_CAP_TRAP@GOTPAGEOFF]
	stp	w9, w8, [x19, #8]
Lloh8:
	ldr	w8, [x10]
Lloh9:
	adrp	x9, _OPA_VNIC_MAX_NUM_VPORT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _OPA_VNIC_MAX_NUM_VPORT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w0, w8, w9, lsl #8
	bl	_cpu_to_be16
	str	w0, [x19, #4]
	mov	w0, #18
	bl	_cpu_to_be32
	str	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OPA_MGMT_BASE_VERSION,4,2      ; @OPA_MGMT_BASE_VERSION
	.comm	_OPA_EMA_CLASS_VERSION,4,2      ; @OPA_EMA_CLASS_VERSION
	.comm	_OPA_VNIC_CLASS_CAP_TRAP,4,2    ; @OPA_VNIC_CLASS_CAP_TRAP
	.comm	_OPA_VNIC_MAX_NUM_VPORT,4,2     ; @OPA_VNIC_MAX_NUM_VPORT
	.no_dead_strip	_vema_get_class_port_info
.subsections_via_symbols
