	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e6xxx_g1_atu_mac_read
_mv88e6xxx_g1_atu_mac_read:             ## @mv88e6xxx_g1_atu_mac_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MV88E6XXX_G1_ATU_MAC01@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	leaq	-28(%rbp), %rdx
	callq	_mv88e6xxx_g1_read
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movl	-28(%rbp), %eax
	sarl	$8, %eax
	movq	(%r14), %rcx
	movl	%eax, (%rcx)
	movzbl	-28(%rbp), %eax
	movl	%eax, 4(%rcx)
	movq	(%r15), %rsi
	incq	%rsi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_mv88e6xxx_g1_read
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movl	-28(%rbp), %eax
	movzbl	%al, %ecx
	sarl	$8, %eax
	movq	(%r14), %rdx
	movl	%eax, 8(%rdx)
	movl	%ecx, 12(%rdx)
	movq	(%r15), %rsi
	addq	$2, %rsi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_mv88e6xxx_g1_read
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	-28(%rbp), %eax
	movzbl	%al, %ecx
	sarl	$8, %eax
	movq	(%r14), %rdx
	movl	%eax, 16(%rdx)
	movl	%ecx, 20(%rdx)
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MV88E6XXX_G1_ATU_MAC01,8,3     ## @MV88E6XXX_G1_ATU_MAC01
	.no_dead_strip	_mv88e6xxx_g1_atu_mac_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_atu_mac_read
_mv88e6xxx_g1_atu_mac_read:             ; @mv88e6xxx_g1_atu_mac_read
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _MV88E6XXX_G1_ATU_MAC01@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MV88E6XXX_G1_ATU_MAC01@GOTPAGEOFF]
	ldr	x1, [x21]
	add	x2, sp, #12
	bl	_mv88e6xxx_g1_read
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	w8, [sp, #12]
	asr	w8, w8, #8
	ldr	x9, [x19]
	str	w8, [x9]
	ldrb	w8, [sp, #12]
	str	w8, [x9, #4]
	ldr	x8, [x21]
	add	x1, x8, #1
	add	x2, sp, #12
	mov	x0, x20
	bl	_mv88e6xxx_g1_read
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	w8, [sp, #12]
	asr	w9, w8, #8
	ldr	x10, [x19]
	and	w8, w8, #0xff
	stp	w9, w8, [x10, #8]
	ldr	x8, [x21]
	add	x1, x8, #2
	add	x2, sp, #12
	mov	x0, x20
	bl	_mv88e6xxx_g1_read
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w8, [sp, #12]
	asr	w9, w8, #8
	ldr	x10, [x19]
	and	w8, w8, #0xff
	stp	w9, w8, [x10, #16]
LBB0_4:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MV88E6XXX_G1_ATU_MAC01,8,3     ; @MV88E6XXX_G1_ATU_MAC01
	.no_dead_strip	_mv88e6xxx_g1_atu_mac_read
.subsections_via_symbols
