	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_opa_vnic_set_vesw_info         ## -- Begin function opa_vnic_set_vesw_info
	.p2align	4, 0x90
_opa_vnic_set_vesw_info:                ## @opa_vnic_set_vesw_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	%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	%rsi, %r14
	movq	%rdi, %r13
	movl	52(%rsi), %edi
	callq	_be16_to_cpu
	movq	%rax, 96(%r13)
	movl	48(%r14), %edi
	callq	_be16_to_cpu
	movq	%rax, 88(%r13)
	movl	80(%r13), %r15d
	movl	44(%r14), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_memcpy
	movl	40(%r14), %edi
	callq	_be16_to_cpu
	movq	%rax, 72(%r13)
	movl	64(%r13), %r15d
	movl	36(%r14), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_memcpy
	movl	32(%r14), %edi
	callq	_be16_to_cpu
	movq	%rax, 56(%r13)
	movl	48(%r13), %r15d
	movl	28(%r14), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_memcpy
	movl	24(%r14), %edi
	callq	_be32_to_cpu
	movq	%rax, 40(%r13)
	movq	_OPA_VESW_MAX_NUM_DEF_PORT@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_be32_to_cpu
	movq	32(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movl	12(%r14), %edi
	callq	_be32_to_cpu
	movq	%rax, 24(%r13)
	movl	16(%r13), %r15d
	movl	8(%r14), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_memcpy
	movl	4(%r14), %edi
	callq	_be16_to_cpu
	movq	%rax, 8(%r13)
	movl	(%r13), %r15d
	movl	(%r14), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OPA_VESW_MAX_NUM_DEF_PORT,4,2  ## @OPA_VESW_MAX_NUM_DEF_PORT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_opa_vnic_set_vesw_info         ; -- Begin function opa_vnic_set_vesw_info
	.p2align	2
_opa_vnic_set_vesw_info:                ; @opa_vnic_set_vesw_info
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x20, x0
	ldr	w0, [x1, #52]
	bl	_be16_to_cpu
	str	x0, [x20, #96]
	ldr	w0, [x19, #48]
	bl	_be16_to_cpu
	str	x0, [x20, #88]
	ldr	w21, [x20, #80]
	ldr	w22, [x19, #44]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_memcpy
	ldr	w0, [x19, #40]
	bl	_be16_to_cpu
	str	x0, [x20, #72]
	ldr	w21, [x20, #64]
	ldr	w22, [x19, #36]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_memcpy
	ldr	w0, [x19, #32]
	bl	_be16_to_cpu
	str	x0, [x20, #56]
	ldr	w21, [x20, #48]
	ldr	w22, [x19, #28]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_memcpy
	ldr	w0, [x19, #24]
	bl	_be32_to_cpu
	str	x0, [x20, #40]
Lloh0:
	adrp	x21, _OPA_VESW_MAX_NUM_DEF_PORT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _OPA_VESW_MAX_NUM_DEF_PORT@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	w0, [x8, x22, lsl #2]
	bl	_be32_to_cpu
	ldr	x8, [x20, #32]
	str	x0, [x8, x22, lsl #3]
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
	ldr	w0, [x19, #12]
	bl	_be32_to_cpu
	str	x0, [x20, #24]
	ldr	w21, [x20, #16]
	ldr	w22, [x19, #8]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_memcpy
	ldr	w0, [x19, #4]
	bl	_be16_to_cpu
	str	x0, [x20, #8]
	ldr	w20, [x20]
	ldr	w19, [x19]
	mov	x0, x19
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_memcpy
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_OPA_VESW_MAX_NUM_DEF_PORT,4,2  ; @OPA_VESW_MAX_NUM_DEF_PORT
.subsections_via_symbols
