	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4vf_get_vfres                 ## -- Begin function t4vf_get_vfres
	.p2align	4, 0x90
_t4vf_get_vfres:                        ## @t4vf_get_vfres
	.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	$96, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	leaq	-96(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_FW_PFVF_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_CMD_OP_V
	movq	_FW_CMD_REQUEST_F@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_FW_CMD_READ_F@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %edi
	callq	_cpu_to_be32
	movq	%rax, -72(%rbp)
	movups	-96(%rbp), %xmm0
	movups	-80(%rbp), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_FW_LEN16
	movl	%eax, %edi
	callq	_cpu_to_be32
	movq	%rax, -80(%rbp)
	leaq	-64(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$32, %edx
	callq	_t4vf_wr_mbox
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-52(%rbp), %edi
	callq	_be32_to_cpu
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_FW_PFVF_CMD_NIQFLINT_G
	movl	%eax, 36(%r12)
	movl	%r15d, %edi
	callq	_FW_PFVF_CMD_NIQ_G
	movl	%eax, 32(%r12)
	movl	-56(%rbp), %edi
	callq	_be32_to_cpu
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_FW_PFVF_CMD_NEQ_G
	movl	%eax, 28(%r12)
	movl	%r15d, %edi
	callq	_FW_PFVF_CMD_PMASK_G
	movl	%eax, 24(%r12)
	movl	-60(%rbp), %edi
	callq	_be32_to_cpu
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FW_PFVF_CMD_TC_G
	movl	%eax, 20(%r12)
	movl	%ebx, %edi
	callq	_FW_PFVF_CMD_NVI_G
	movl	%eax, 16(%r12)
	movl	%ebx, %edi
	callq	_FW_PFVF_CMD_NEXACTF_G
	movl	%eax, 12(%r12)
	movl	-64(%rbp), %edi
	callq	_be32_to_cpu
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FW_PFVF_CMD_R_CAPS_G
	movl	%eax, 8(%r12)
	movl	%ebx, %edi
	callq	_FW_PFVF_CMD_WX_CAPS_G
	movl	%eax, 4(%r12)
	movl	%ebx, %edi
	callq	_FW_PFVF_CMD_NETHCTRL_G
	movl	%eax, (%r12)
LBB0_2:
	movl	%r14d, %eax
	addq	$96, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_PFVF_CMD,4,2                ## @FW_PFVF_CMD
	.comm	_FW_CMD_REQUEST_F,4,2           ## @FW_CMD_REQUEST_F
	.comm	_FW_CMD_READ_F,4,2              ## @FW_CMD_READ_F
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4vf_get_vfres                 ; -- Begin function t4vf_get_vfres
	.p2align	2
_t4vf_get_vfres:                        ; @t4vf_get_vfres
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh0:
	adrp	x8, _FW_PFVF_CMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_PFVF_CMD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_FW_CMD_OP_V
Lloh3:
	adrp	x8, _FW_CMD_REQUEST_F@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FW_CMD_REQUEST_F@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh6:
	adrp	x9, _FW_CMD_READ_F@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FW_CMD_READ_F@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_cpu_to_be32
	str	x0, [sp, #56]
	ldp	q0, q1, [sp, #32]
	stp	q0, q1, [sp]
	mov	x0, sp
	bl	_FW_LEN16
	bl	_cpu_to_be32
	str	x0, [sp, #48]
	add	x1, sp, #32
	mov	x3, sp
	mov	x0, x19
	mov	w2, #32
	bl	_t4vf_wr_mbox
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_be32_to_cpu
	mov	x21, x0
	bl	_FW_PFVF_CMD_NIQFLINT_G
	str	w0, [x19, #36]
	mov	x0, x21
	bl	_FW_PFVF_CMD_NIQ_G
	str	w0, [x19, #32]
	ldr	w0, [sp, #8]
	bl	_be32_to_cpu
	mov	x21, x0
	bl	_FW_PFVF_CMD_NEQ_G
	str	w0, [x19, #28]
	mov	x0, x21
	bl	_FW_PFVF_CMD_PMASK_G
	str	w0, [x19, #24]
	ldr	w0, [sp, #4]
	bl	_be32_to_cpu
	mov	x21, x0
	bl	_FW_PFVF_CMD_TC_G
	str	w0, [x19, #20]
	mov	x0, x21
	bl	_FW_PFVF_CMD_NVI_G
	str	w0, [x19, #16]
	mov	x0, x21
	bl	_FW_PFVF_CMD_NEXACTF_G
	str	w0, [x19, #12]
	ldr	w0, [sp]
	bl	_be32_to_cpu
	mov	x21, x0
	bl	_FW_PFVF_CMD_R_CAPS_G
	str	w0, [x19, #8]
	mov	x0, x21
	bl	_FW_PFVF_CMD_WX_CAPS_G
	str	w0, [x19, #4]
	mov	x0, x21
	bl	_FW_PFVF_CMD_NETHCTRL_G
	str	w0, [x19]
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_PFVF_CMD,4,2                ; @FW_PFVF_CMD
	.comm	_FW_CMD_REQUEST_F,4,2           ; @FW_CMD_REQUEST_F
	.comm	_FW_CMD_READ_F,4,2              ; @FW_CMD_READ_F
.subsections_via_symbols
