	.file	"extr_t4vf_hw.c_t4vf_get_vfres.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	t4vf_get_vfres
	.type	t4vf_get_vfres, @function
t4vf_get_vfres:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, 32
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	sub	rsp, 80
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	mov	rbp, rsp
	mov	rdi, rbp
	call	memset@PLT
	mov	edi, DWORD PTR FW_PFVF_CMD[rip]
	call	FW_CMD_OP_V@PLT
	mov	edi, DWORD PTR FW_CMD_REQUEST_F[rip]
	or	edi, DWORD PTR FW_CMD_READ_F[rip]
	or	edi, eax
	call	cpu_to_be32@PLT
	mov	QWORD PTR 24[rsp], rax
	push	QWORD PTR 24[rsp]
	.cfi_def_cfa_offset 120
	push	QWORD PTR 24[rsp]
	.cfi_def_cfa_offset 128
	push	QWORD PTR 24[rsp]
	.cfi_def_cfa_offset 136
	push	QWORD PTR 24[rsp]
	.cfi_def_cfa_offset 144
	call	FW_LEN16@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 112
	mov	edi, eax
	call	cpu_to_be32@PLT
	lea	rcx, 32[rsp]
	mov	rsi, rbp
	mov	rdi, rbx
	mov	edx, 32
	mov	QWORD PTR 16[rsp], rax
	call	t4vf_wr_mbox@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	edi, DWORD PTR 44[rsp]
	call	be32_to_cpu@PLT
	mov	edi, eax
	mov	ebp, eax
	call	FW_PFVF_CMD_NIQFLINT_G@PLT
	mov	edi, ebp
	mov	DWORD PTR 36[rbx], eax
	call	FW_PFVF_CMD_NIQ_G@PLT
	mov	edi, DWORD PTR 40[rsp]
	mov	DWORD PTR 32[rbx], eax
	call	be32_to_cpu@PLT
	mov	edi, eax
	mov	ebp, eax
	call	FW_PFVF_CMD_NEQ_G@PLT
	mov	edi, ebp
	mov	DWORD PTR 28[rbx], eax
	call	FW_PFVF_CMD_PMASK_G@PLT
	mov	edi, DWORD PTR 36[rsp]
	mov	DWORD PTR 24[rbx], eax
	call	be32_to_cpu@PLT
	mov	edi, eax
	mov	ebp, eax
	call	FW_PFVF_CMD_TC_G@PLT
	mov	edi, ebp
	mov	DWORD PTR 20[rbx], eax
	call	FW_PFVF_CMD_NVI_G@PLT
	mov	edi, ebp
	mov	DWORD PTR 16[rbx], eax
	call	FW_PFVF_CMD_NEXACTF_G@PLT
	mov	edi, DWORD PTR 32[rsp]
	mov	DWORD PTR 12[rbx], eax
	call	be32_to_cpu@PLT
	mov	edi, eax
	mov	ebp, eax
	call	FW_PFVF_CMD_R_CAPS_G@PLT
	mov	edi, ebp
	mov	DWORD PTR 8[rbx], eax
	call	FW_PFVF_CMD_WX_CAPS_G@PLT
	mov	edi, ebp
	mov	DWORD PTR 4[rbx], eax
	call	FW_PFVF_CMD_NETHCTRL_G@PLT
	mov	DWORD PTR [rbx], eax
.L1:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L6
	add	rsp, 80
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	t4vf_get_vfres, .-t4vf_get_vfres
	.comm	FW_PFVF_CMD,4,4
	.comm	FW_CMD_REQUEST_F,4,4
	.comm	FW_CMD_READ_F,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_t4vf_hw.c_t4vf_get_vfres.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	t4vf_get_vfres
	.syntax unified
	.arm
	.fpu softvfp
	.type	t4vf_get_vfres, %function
t4vf_get_vfres:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, lr}
	ldr	r2, .L7
	mov	r5, r0
	ldr	r0, [r2]
	ldr	r2, .L7+4
	sub	sp, sp, #64
	ldr	r2, [r2]
	str	r2, [sp, #60]
	mov	r2,#0
	str	r3, [sp, #12]
	str	r3, [sp, #16]
	str	r3, [sp, #20]
	str	r3, [sp, #24]
	str	r3, [sp, #28]
	str	r3, [sp, #32]
	bl	FW_CMD_OP_V
	ldr	r3, .L7+8
	ldr	r2, .L7+12
	ldr	r3, [r3]
	ldr	r2, [r2]
	add	r4, sp, #12
	orr	r3, r3, r2
	orr	r0, r3, r0
	bl	cpu_to_be32
	mov	r1, r0
	str	r0, [sp, #32]
	ldr	r0, [sp, #28]
	stm	sp, {r0, r1}
	ldm	r4, {r0, r1, r2, r3}
	bl	FW_LEN16
	bl	cpu_to_be32
	mov	ip, r0
	mov	r1, r4
	mov	r0, r5
	mov	r2, #24
	add	r3, sp, #36
	str	ip, [sp, #28]
	bl	t4vf_wr_mbox
	subs	r4, r0, #0
	bne	.L1
	ldr	r0, [sp, #48]
	bl	be32_to_cpu
	mov	r6, r0
	bl	FW_PFVF_CMD_NIQFLINT_G
	mov	r3, r0
	mov	r0, r6
	str	r3, [r5, #36]
	bl	FW_PFVF_CMD_NIQ_G
	mov	r3, r0
	ldr	r0, [sp, #44]
	str	r3, [r5, #32]
	bl	be32_to_cpu
	mov	r6, r0
	bl	FW_PFVF_CMD_NEQ_G
	mov	r3, r0
	mov	r0, r6
	str	r3, [r5, #28]
	bl	FW_PFVF_CMD_PMASK_G
	mov	r3, r0
	ldr	r0, [sp, #40]
	str	r3, [r5, #24]
	bl	be32_to_cpu
	mov	r6, r0
	bl	FW_PFVF_CMD_TC_G
	mov	r3, r0
	mov	r0, r6
	str	r3, [r5, #20]
	bl	FW_PFVF_CMD_NVI_G
	mov	r3, r0
	mov	r0, r6
	str	r3, [r5, #16]
	bl	FW_PFVF_CMD_NEXACTF_G
	mov	r3, r0
	ldr	r0, [sp, #36]
	str	r3, [r5, #12]
	bl	be32_to_cpu
	mov	r6, r0
	bl	FW_PFVF_CMD_R_CAPS_G
	mov	r3, r0
	mov	r0, r6
	str	r3, [r5, #8]
	bl	FW_PFVF_CMD_WX_CAPS_G
	mov	r3, r0
	mov	r0, r6
	str	r3, [r5, #4]
	bl	FW_PFVF_CMD_NETHCTRL_G
	str	r0, [r5]
.L1:
	ldr	r3, .L7+4
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	mov	r0, r4
	add	sp, sp, #64
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	FW_PFVF_CMD
	.word	.LC0
	.word	FW_CMD_REQUEST_F
	.word	FW_CMD_READ_F
	.size	t4vf_get_vfres, .-t4vf_get_vfres
	.comm	FW_PFVF_CMD,4,4
	.comm	FW_CMD_REQUEST_F,4,4
	.comm	FW_CMD_READ_F,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
