	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stmmac_ethtool_gregs           ## -- Begin function stmmac_ethtool_gregs
	.p2align	4, 0x90
_stmmac_ethtool_gregs:                  ## @stmmac_ethtool_gregs
	.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
	movq	%rdx, %r14
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_REG_SPACE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_memset
	cmpl	$0, (%r15)
	je	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	callq	_readl
	movl	%eax, (%r14,%rbx)
	addq	$4, %rbx
	cmpq	$220, %rbx
	jne	LBB0_2
## %bb.3:
	xorl	%ebx, %ebx
	movq	_DMA_BUS_MODE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	addq	(%r15), %rdi
	addq	%rbx, %rdi
	callq	_readl
	movl	%eax, 220(%r14,%rbx)
	addq	$4, %rbx
	cmpq	$88, %rbx
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	movq	(%r12), %rdi
	callq	_readl
	movl	%eax, (%r14)
	movq	(%r12), %rdi
	addq	$4, %rdi
	callq	_readl
	movl	%eax, 4(%r14)
	movq	(%r12), %rdi
	addq	$8, %rdi
	callq	_readl
	movl	%eax, 8(%r14)
	movq	(%r12), %rdi
	addq	$12, %rdi
	callq	_readl
	movl	%eax, 12(%r14)
	movq	(%r12), %rdi
	addq	$16, %rdi
	callq	_readl
	movl	%eax, 16(%r14)
	movq	(%r12), %rdi
	addq	$20, %rdi
	callq	_readl
	movl	%eax, 20(%r14)
	movq	(%r12), %rdi
	addq	$24, %rdi
	callq	_readl
	movl	%eax, 24(%r14)
	movq	(%r12), %rdi
	addq	$28, %rdi
	callq	_readl
	movl	%eax, 28(%r14)
	movq	(%r12), %rdi
	addq	$32, %rdi
	callq	_readl
	movl	%eax, 32(%r14)
	movq	(%r12), %rdi
	addq	$36, %rdi
	callq	_readl
	movl	%eax, 36(%r14)
	movq	(%r12), %rdi
	addq	$40, %rdi
	callq	_readl
	movl	%eax, 40(%r14)
	movq	(%r12), %rdi
	addq	$44, %rdi
	callq	_readl
	movl	%eax, 44(%r14)
	movq	(%r12), %rdi
	movq	_DMA_BUS_MODE@GOTPCREL(%rip), %r15
	addq	(%r15), %rdi
	callq	_readl
	movl	%eax, 48(%r14)
	movq	(%r12), %rax
	movq	(%r15), %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$4, %rdi
	callq	_readl
	movl	%eax, 52(%r14)
	movq	(%r12), %rax
	movq	(%r15), %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$8, %rdi
	callq	_readl
	movl	%eax, 56(%r14)
	movq	(%r12), %rax
	movq	(%r15), %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$12, %rdi
	callq	_readl
	movl	%eax, 60(%r14)
	movq	(%r12), %rax
	movq	(%r15), %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$16, %rdi
	callq	_readl
	movl	%eax, 64(%r14)
	movq	(%r12), %rax
	movq	(%r15), %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$20, %rdi
	callq	_readl
	movl	%eax, 68(%r14)
	movq	(%r12), %rax
	movq	(%r15), %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$24, %rdi
	callq	_readl
	movl	%eax, 72(%r14)
	movq	(%r12), %rax
	movq	(%r15), %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$28, %rdi
	callq	_readl
	movl	%eax, 76(%r14)
	movq	(%r12), %rax
	movq	(%r15), %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$32, %rdi
	callq	_readl
	movl	%eax, 80(%r14)
	movq	_DMA_CUR_TX_BUF_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r12), %rdi
	callq	_readl
	movl	%eax, 88(%r14)
	movq	_DMA_CUR_RX_BUF_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r12), %rdi
	callq	_readl
	movl	%eax, 92(%r14)
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_SPACE_SIZE,4,2             ## @REG_SPACE_SIZE
	.comm	_DMA_BUS_MODE,8,3               ## @DMA_BUS_MODE
	.comm	_DMA_CUR_TX_BUF_ADDR,8,3        ## @DMA_CUR_TX_BUF_ADDR
	.comm	_DMA_CUR_RX_BUF_ADDR,8,3        ## @DMA_CUR_RX_BUF_ADDR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stmmac_ethtool_gregs           ; -- Begin function stmmac_ethtool_gregs
	.p2align	2
_stmmac_ethtool_gregs:                  ; @stmmac_ethtool_gregs
	.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
	mov	x20, x2
	mov	x19, x0
	bl	_netdev_priv
	mov	x21, x0
Lloh0:
	adrp	x8, _REG_SPACE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_SPACE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_memset
	ldr	w8, [x21]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x0, x21, x8
	bl	_readl
	str	w0, [x20, x21]
	add	x21, x21, #4
	cmp	x21, #220
	b.ne	LBB0_2
; %bb.3:
	mov	x21, #0
	add	x20, x20, #220
Lloh3:
	adrp	x22, _DMA_BUS_MODE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _DMA_BUS_MODE@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x8, x8, x9
	add	x0, x21, x8
	bl	_readl
	str	w0, [x20, x21]
	add	x21, x21, #4
	cmp	x21, #88
	b.ne	LBB0_4
	b	LBB0_6
LBB0_5:
	ldr	x0, [x19]
	bl	_readl
	str	w0, [x20]
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_readl
	str	w0, [x20, #4]
	ldr	x8, [x19]
	add	x0, x8, #8
	bl	_readl
	str	w0, [x20, #8]
	ldr	x8, [x19]
	add	x0, x8, #12
	bl	_readl
	str	w0, [x20, #12]
	ldr	x8, [x19]
	add	x0, x8, #16
	bl	_readl
	str	w0, [x20, #16]
	ldr	x8, [x19]
	add	x0, x8, #20
	bl	_readl
	str	w0, [x20, #20]
	ldr	x8, [x19]
	add	x0, x8, #24
	bl	_readl
	str	w0, [x20, #24]
	ldr	x8, [x19]
	add	x0, x8, #28
	bl	_readl
	str	w0, [x20, #28]
	ldr	x8, [x19]
	add	x0, x8, #32
	bl	_readl
	str	w0, [x20, #32]
	ldr	x8, [x19]
	add	x0, x8, #36
	bl	_readl
	str	w0, [x20, #36]
	ldr	x8, [x19]
	add	x0, x8, #40
	bl	_readl
	str	w0, [x20, #40]
	ldr	x8, [x19]
	add	x0, x8, #44
	bl	_readl
	str	w0, [x20, #44]
	ldr	x8, [x19]
Lloh5:
	adrp	x21, _DMA_BUS_MODE@GOTPAGE
Lloh6:
	ldr	x21, [x21, _DMA_BUS_MODE@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x8, x9
	bl	_readl
	str	w0, [x20, #48]
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x8, x8, x9
	add	x0, x8, #4
	bl	_readl
	str	w0, [x20, #52]
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x8, x8, x9
	add	x0, x8, #8
	bl	_readl
	str	w0, [x20, #56]
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x8, x8, x9
	add	x0, x8, #12
	bl	_readl
	str	w0, [x20, #60]
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x8, x8, x9
	add	x0, x8, #16
	bl	_readl
	str	w0, [x20, #64]
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x8, x8, x9
	add	x0, x8, #20
	bl	_readl
	str	w0, [x20, #68]
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x8, x8, x9
	add	x0, x8, #24
	bl	_readl
	str	w0, [x20, #72]
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x8, x8, x9
	add	x0, x8, #28
	bl	_readl
	str	w0, [x20, #76]
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x8, x8, x9
	add	x0, x8, #32
	bl	_readl
	str	w0, [x20, #80]
	ldr	x8, [x19]
Lloh7:
	adrp	x9, _DMA_CUR_TX_BUF_ADDR@GOTPAGE
Lloh8:
	ldr	x9, [x9, _DMA_CUR_TX_BUF_ADDR@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	str	w0, [x20, #88]
	ldr	x8, [x19]
Lloh10:
	adrp	x9, _DMA_CUR_RX_BUF_ADDR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DMA_CUR_RX_BUF_ADDR@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	str	w0, [x20, #92]
LBB0_6:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_SPACE_SIZE,4,2             ; @REG_SPACE_SIZE
	.comm	_DMA_BUS_MODE,8,3               ; @DMA_BUS_MODE
	.comm	_DMA_CUR_TX_BUF_ADDR,8,3        ; @DMA_CUR_TX_BUF_ADDR
	.comm	_DMA_CUR_RX_BUF_ADDR,8,3        ; @DMA_CUR_RX_BUF_ADDR
.subsections_via_symbols
