	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enetc_get_reglen
_enetc_get_reglen:                      ## @enetc_get_reglen
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_netdev_priv
	movq	%rax, %r14
	movq	8(%rax), %r12
	movq	_enetc_si_regs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	movl	%eax, %ebx
	movq	_enetc_txbdr_regs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	movl	%eax, %r15d
	imull	(%r14), %r15d
	addl	%ebx, %r15d
	movq	_enetc_rxbdr_regs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	movl	%eax, %ebx
	imull	4(%r14), %ebx
	addl	%r15d, %ebx
	cmpq	$0, (%r12)
	je	LBB0_2
## %bb.1:
	movq	_enetc_port_regs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	addl	%eax, %ebx
LBB0_2:
	shll	$3, %ebx
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_enetc_si_regs,4,2              ## @enetc_si_regs
	.comm	_enetc_txbdr_regs,4,2           ## @enetc_txbdr_regs
	.comm	_enetc_rxbdr_regs,4,2           ## @enetc_rxbdr_regs
	.comm	_enetc_port_regs,4,2            ## @enetc_port_regs
	.no_dead_strip	_enetc_get_reglen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enetc_get_reglen
_enetc_get_reglen:                      ; @enetc_get_reglen
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	bl	_netdev_priv
	mov	x19, x0
	ldr	x21, [x0, #8]
Lloh0:
	adrp	x8, _enetc_si_regs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _enetc_si_regs@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ARRAY_SIZE
	mov	x20, x0
Lloh3:
	adrp	x8, _enetc_txbdr_regs@GOTPAGE
Lloh4:
	ldr	x8, [x8, _enetc_txbdr_regs@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_ARRAY_SIZE
	ldr	w8, [x19]
	madd	w20, w8, w0, w20
Lloh6:
	adrp	x8, _enetc_rxbdr_regs@GOTPAGE
Lloh7:
	ldr	x8, [x8, _enetc_rxbdr_regs@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_ARRAY_SIZE
	ldr	w8, [x19, #4]
	madd	w19, w8, w0, w20
	ldr	x8, [x21]
	cbz	x8, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _enetc_port_regs@GOTPAGE
Lloh10:
	ldr	x8, [x8, _enetc_port_regs@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_ARRAY_SIZE
	add	w19, w0, w19
LBB0_2:
	lsl	w0, w19, #3
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_enetc_si_regs,4,2              ; @enetc_si_regs
	.comm	_enetc_txbdr_regs,4,2           ; @enetc_txbdr_regs
	.comm	_enetc_rxbdr_regs,4,2           ; @enetc_rxbdr_regs
	.comm	_enetc_port_regs,4,2            ; @enetc_port_regs
	.no_dead_strip	_enetc_get_reglen
.subsections_via_symbols
