	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emac_dump_regs
_emac_dump_regs:                        ## @emac_dump_regs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	4(%rdi), %eax
	movl	%eax, 4(%rsi)
	movq	_EMAC_FTR_EMAC4SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_emac_has_feature
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EMAC4SYNC_ETHTOOL_REGS_VER@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	_EMAC_FTR_EMAC4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_emac_has_feature
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_EMAC_ETHTOOL_REGS_VER@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_EMAC4_ETHTOOL_REGS_VER@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	leaq	8(%rbx), %rdi
	movl	(%r14), %esi
	movl	$4, %edx
	callq	_memcpy_fromio
	addq	$12, %rbx
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EMAC_FTR_EMAC4SYNC,4,2         ## @EMAC_FTR_EMAC4SYNC
	.comm	_EMAC4SYNC_ETHTOOL_REGS_VER,4,2 ## @EMAC4SYNC_ETHTOOL_REGS_VER
	.comm	_EMAC_FTR_EMAC4,4,2             ## @EMAC_FTR_EMAC4
	.comm	_EMAC4_ETHTOOL_REGS_VER,4,2     ## @EMAC4_ETHTOOL_REGS_VER
	.comm	_EMAC_ETHTOOL_REGS_VER,4,2      ## @EMAC_ETHTOOL_REGS_VER
	.no_dead_strip	_emac_dump_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emac_dump_regs
_emac_dump_regs:                        ; @emac_dump_regs
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0, #4]
	str	w8, [x1, #4]
Lloh0:
	adrp	x8, _EMAC_FTR_EMAC4SYNC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EMAC_FTR_EMAC4SYNC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_emac_has_feature
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EMAC4SYNC_ETHTOOL_REGS_VER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EMAC4SYNC_ETHTOOL_REGS_VER@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _EMAC_FTR_EMAC4@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EMAC_FTR_EMAC4@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_emac_has_feature
Lloh8:
	adrp	x8, _EMAC4_ETHTOOL_REGS_VER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EMAC4_ETHTOOL_REGS_VER@GOTPAGEOFF]
Lloh10:
	adrp	x9, _EMAC_ETHTOOL_REGS_VER@GOTPAGE
Lloh11:
	ldr	x9, [x9, _EMAC_ETHTOOL_REGS_VER@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
LBB0_3:
	ldr	w8, [x8]
	add	x0, x19, #8
	str	w8, [x19], #12
	ldr	w1, [x20]
	mov	w2, #4
	bl	_memcpy_fromio
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EMAC_FTR_EMAC4SYNC,4,2         ; @EMAC_FTR_EMAC4SYNC
	.comm	_EMAC4SYNC_ETHTOOL_REGS_VER,4,2 ; @EMAC4SYNC_ETHTOOL_REGS_VER
	.comm	_EMAC_FTR_EMAC4,4,2             ; @EMAC_FTR_EMAC4
	.comm	_EMAC4_ETHTOOL_REGS_VER,4,2     ; @EMAC4_ETHTOOL_REGS_VER
	.comm	_EMAC_ETHTOOL_REGS_VER,4,2      ; @EMAC_ETHTOOL_REGS_VER
	.no_dead_strip	_emac_dump_regs
.subsections_via_symbols
