	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_upgrade_read_version   ## -- Begin function vxge_hw_upgrade_read_version
	.p2align	4, 0x90
_vxge_hw_upgrade_read_version:          ## @vxge_hw_upgrade_read_version
	.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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movl	$0, -36(%rbp)
	movl	$0, -44(%rbp)
	movl	$0, -40(%rbp)
	movq	(%rdi), %rax
	shlq	$2, %rax
	addq	8(%rdi), %rax
	movq	_VXGE_HW_FW_UPGRADE_ACTION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_VXGE_HW_FW_UPGRADE_MEMO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_VXGE_HW_FW_UPGRADE_OFFSET_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-40(%rbp), %rdi
	movq	%rdi, (%rsp)
	leaq	-36(%rbp), %r8
	leaq	-44(%rbp), %r9
	movq	%rax, %rdi
	callq	_vxge_hw_vpath_fw_api
	movl	%eax, %ebx
	movq	_VXGE_HW_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_2
## %bb.1:
	movl	-36(%rbp), %edi
	callq	_VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_MAJOR
	movl	%eax, (%r12)
	movl	-36(%rbp), %edi
	callq	_VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_MINOR
	movl	%eax, (%r15)
	movl	-36(%rbp), %edi
	callq	_VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_BUILD
	movl	%eax, (%r14)
LBB0_2:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VXGE_HW_FW_UPGRADE_ACTION,4,2  ## @VXGE_HW_FW_UPGRADE_ACTION
	.comm	_VXGE_HW_FW_UPGRADE_MEMO,4,2    ## @VXGE_HW_FW_UPGRADE_MEMO
	.comm	_VXGE_HW_FW_UPGRADE_OFFSET_READ,4,2 ## @VXGE_HW_FW_UPGRADE_OFFSET_READ
	.comm	_VXGE_HW_OK,4,2                 ## @VXGE_HW_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_upgrade_read_version   ; -- Begin function vxge_hw_upgrade_read_version
	.p2align	2
_vxge_hw_upgrade_read_version:          ; @vxge_hw_upgrade_read_version
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	str	xzr, [sp, #8]
	str	wzr, [sp, #4]
	ldp	x9, x8, [x0]
	add	x0, x8, x9, lsl #2
Lloh0:
	adrp	x8, _VXGE_HW_FW_UPGRADE_ACTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VXGE_HW_FW_UPGRADE_ACTION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _VXGE_HW_FW_UPGRADE_MEMO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VXGE_HW_FW_UPGRADE_MEMO@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _VXGE_HW_FW_UPGRADE_OFFSET_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VXGE_HW_FW_UPGRADE_OFFSET_READ@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x4, sp, #12
	add	x5, sp, #8
	add	x6, sp, #4
	bl	_vxge_hw_vpath_fw_api
	mov	x22, x0
Lloh9:
	adrp	x8, _VXGE_HW_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VXGE_HW_OK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_MAJOR
	str	w0, [x21]
	ldr	w0, [sp, #12]
	bl	_VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_MINOR
	str	w0, [x20]
	ldr	w0, [sp, #12]
	bl	_VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_BUILD
	str	w0, [x19]
LBB0_2:
	mov	x0, x22
	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
	add	sp, sp, #64
	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	_VXGE_HW_FW_UPGRADE_ACTION,4,2  ; @VXGE_HW_FW_UPGRADE_ACTION
	.comm	_VXGE_HW_FW_UPGRADE_MEMO,4,2    ; @VXGE_HW_FW_UPGRADE_MEMO
	.comm	_VXGE_HW_FW_UPGRADE_OFFSET_READ,4,2 ; @VXGE_HW_FW_UPGRADE_OFFSET_READ
	.comm	_VXGE_HW_OK,4,2                 ; @VXGE_HW_OK
.subsections_via_symbols
