	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emac_ethtool_get_regs_len
_emac_ethtool_get_regs_len:             ## @emac_ethtool_get_regs_len
	.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
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_emac_get_regs_len
	movl	%eax, %r14d
	movl	12(%rbx), %edi
	callq	_mal_get_regs_len
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %r14d
	addl	$4, %r14d
	movq	_EMAC_FTR_HAS_ZMII@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_emac_has_feature
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	callq	_zmii_get_regs_len
	addl	%eax, %r14d
LBB0_2:
	movq	_EMAC_FTR_HAS_RGMII@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_emac_has_feature
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	4(%rbx), %edi
	callq	_rgmii_get_regs_len
	addl	%eax, %r14d
LBB0_4:
	movq	_EMAC_FTR_HAS_TAH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_emac_has_feature
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%rbx), %edi
	callq	_tah_get_regs_len
	addl	%eax, %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EMAC_FTR_HAS_ZMII,4,2          ## @EMAC_FTR_HAS_ZMII
	.comm	_EMAC_FTR_HAS_RGMII,4,2         ## @EMAC_FTR_HAS_RGMII
	.comm	_EMAC_FTR_HAS_TAH,4,2           ## @EMAC_FTR_HAS_TAH
	.no_dead_strip	_emac_ethtool_get_regs_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emac_ethtool_get_regs_len
_emac_ethtool_get_regs_len:             ; @emac_ethtool_get_regs_len
	.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
	bl	_netdev_priv
	mov	x20, x0
	bl	_emac_get_regs_len
	mov	x19, x0
	ldr	w0, [x20, #12]
	bl	_mal_get_regs_len
	add	w8, w19, w0
	add	w19, w8, #4
Lloh0:
	adrp	x8, _EMAC_FTR_HAS_ZMII@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EMAC_FTR_HAS_ZMII@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_emac_has_feature
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x20, #8]
	bl	_zmii_get_regs_len
	add	w19, w19, w0
LBB0_2:
Lloh3:
	adrp	x8, _EMAC_FTR_HAS_RGMII@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EMAC_FTR_HAS_RGMII@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_emac_has_feature
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x20, #4]
	bl	_rgmii_get_regs_len
	add	w19, w19, w0
LBB0_4:
Lloh6:
	adrp	x8, _EMAC_FTR_HAS_TAH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EMAC_FTR_HAS_TAH@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_emac_has_feature
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x20]
	bl	_tah_get_regs_len
	add	w19, w19, w0
LBB0_6:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EMAC_FTR_HAS_ZMII,4,2          ; @EMAC_FTR_HAS_ZMII
	.comm	_EMAC_FTR_HAS_RGMII,4,2         ; @EMAC_FTR_HAS_RGMII
	.comm	_EMAC_FTR_HAS_TAH,4,2           ; @EMAC_FTR_HAS_TAH
	.no_dead_strip	_emac_ethtool_get_regs_len
.subsections_via_symbols
