	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e6xxx_g1_vtu_vid_read
_mv88e6xxx_g1_vtu_vid_read:             ## @mv88e6xxx_g1_vtu_vid_read
	.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	%rsi, %rbx
	movq	_MV88E6XXX_G1_VTU_VID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	callq	_mv88e6xxx_g1_read
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movl	-12(%rbp), %ecx
	movl	%ecx, %edx
	andl	$4095, %edx                     ## imm = 0xFFF
	movl	%edx, (%rbx)
	movq	_MV88E6390_G1_VTU_VID_PAGE@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_3
## %bb.2:
	orl	$4096, %edx                     ## imm = 0x1000
	movl	%edx, (%rbx)
LBB0_3:
	movq	_MV88E6XXX_G1_VTU_VID_VALID@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	andl	(%rdx), %ecx
	setne	%sil
	movl	%esi, 4(%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MV88E6XXX_G1_VTU_VID,4,2       ## @MV88E6XXX_G1_VTU_VID
	.comm	_MV88E6390_G1_VTU_VID_PAGE,4,2  ## @MV88E6390_G1_VTU_VID_PAGE
	.comm	_MV88E6XXX_G1_VTU_VID_VALID,4,2 ## @MV88E6XXX_G1_VTU_VID_VALID
	.no_dead_strip	_mv88e6xxx_g1_vtu_vid_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv88e6xxx_g1_vtu_vid_read
_mv88e6xxx_g1_vtu_vid_read:             ; @mv88e6xxx_g1_vtu_vid_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _MV88E6XXX_G1_VTU_VID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MV88E6XXX_G1_VTU_VID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_mv88e6xxx_g1_read
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	w8, [sp, #12]
	and	w9, w8, #0xfff
	str	w9, [x19]
Lloh3:
	adrp	x10, _MV88E6390_G1_VTU_VID_PAGE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MV88E6390_G1_VTU_VID_PAGE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_3
; %bb.2:
	orr	w9, w9, #0x1000
	str	w9, [x19]
LBB0_3:
Lloh6:
	adrp	x9, _MV88E6XXX_G1_VTU_VID_VALID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MV88E6XXX_G1_VTU_VID_VALID@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	str	w8, [x19, #4]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MV88E6XXX_G1_VTU_VID,4,2       ; @MV88E6XXX_G1_VTU_VID
	.comm	_MV88E6390_G1_VTU_VID_PAGE,4,2  ; @MV88E6390_G1_VTU_VID_PAGE
	.comm	_MV88E6XXX_G1_VTU_VID_VALID,4,2 ; @MV88E6XXX_G1_VTU_VID_VALID
	.no_dead_strip	_mv88e6xxx_g1_vtu_vid_read
.subsections_via_symbols
