	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc911x_ethtool_getregs
_smsc911x_ethtool_getregs:              ## @smsc911x_ethtool_getregs
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	movq	(%rbx), %r13
	movl	4(%rax), %eax
	movl	%eax, (%r12)
	movq	_ID_REV@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_E2P_DATA@GOTPCREL(%rip), %r14
	xorl	%r12d, %r12d
	cmpl	(%r14), %ebx
	ja	LBB0_3
## %bb.1:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_smsc911x_reg_read
	movl	%r12d, %ecx
	incl	%r12d
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx,4)
	addl	$4, %ebx
	cmpl	(%r14), %ebx
	jbe	LBB0_2
LBB0_3:
	movq	_MAC_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_WUCSR@GOTPCREL(%rip), %r14
	cmpl	(%r14), %ebx
	ja	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_smsc911x_mac_read
	movl	%r12d, %ecx
	incl	%r12d
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx,4)
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	incl	%ebx
	cmpl	(%r14), %ebx
	jbe	LBB0_8
LBB0_5:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r12,%rbx), %r15d
	movl	(%r13), %esi
	movl	4(%r13), %edi
	movl	%ebx, %edx
	callq	_smsc911x_mii_read
	movl	%eax, (%r14,%r15,4)
	incl	%ebx
	cmpl	$32, %ebx
	jne	LBB0_6
## %bb.7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ID_REV,4,2                     ## @ID_REV
	.comm	_E2P_DATA,4,2                   ## @E2P_DATA
	.comm	_MAC_CR,4,2                     ## @MAC_CR
	.comm	_WUCSR,4,2                      ## @WUCSR
	.no_dead_strip	_smsc911x_ethtool_getregs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc911x_ethtool_getregs
_smsc911x_ethtool_getregs:              ; @smsc911x_ethtool_getregs
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x22, [x22]
	ldr	w8, [x0, #4]
Lloh0:
	adrp	x9, _ID_REV@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ID_REV@GOTPAGEOFF]
	str	w8, [x21]
Lloh2:
	ldr	w21, [x9]
Lloh3:
	adrp	x24, _E2P_DATA@GOTPAGE
Lloh4:
	ldr	x24, [x24, _E2P_DATA@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w21, w8
	b.ls	LBB0_2
; %bb.1:
	mov	w23, #0
	b	LBB0_4
LBB0_2:
	mov	w25, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_smsc911x_reg_read
	add	w23, w25, #1
	str	w0, [x19, w25, uxtw #2]
	add	w21, w21, #4
	ldr	w8, [x24]
	mov	x25, x23
	cmp	w21, w8
	b.ls	LBB0_3
LBB0_4:
Lloh5:
	adrp	x8, _MAC_CR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAC_CR@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
Lloh8:
	adrp	x25, _WUCSR@GOTPAGE
Lloh9:
	ldr	x25, [x25, _WUCSR@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w21, w8
	b.ls	LBB0_6
; %bb.5:
	mov	x24, x23
	b	LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x0, x20
	mov	x1, x21
	bl	_smsc911x_mac_read
	add	w24, w23, #1
	str	w0, [x19, w23, uxtw #2]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	add	w21, w21, #1
	ldr	w8, [x25]
	mov	x23, x24
	cmp	w21, w8
	b.ls	LBB0_6
LBB0_7:
	mov	w20, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	w21, w24, w20
	ldp	w1, w0, [x22]
	mov	x2, x20
	bl	_smsc911x_mii_read
	str	w0, [x19, w21, uxtw #2]
	add	w20, w20, #1
	cmp	w20, #32
	b.ne	LBB0_8
; %bb.9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ID_REV,4,2                     ; @ID_REV
	.comm	_E2P_DATA,4,2                   ; @E2P_DATA
	.comm	_MAC_CR,4,2                     ; @MAC_CR
	.comm	_WUCSR,4,2                      ; @WUCSR
	.no_dead_strip	_smsc911x_ethtool_getregs
.subsections_via_symbols
