	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1c_get_regs
_atl1c_get_regs:                        ## @atl1c_get_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	%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, %r14
	movq	%rsi, %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_AT_REGS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_memset
	movl	$1, (%r15)
	movq	_REG_PM_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leal	1(%r14), %r15d
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_AT_READ_REG
	movq	_REG_MAC_HALF_DUPLX_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leal	2(%r14), %r12d
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_AT_READ_REG
	movq	_REG_TWSI_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leal	3(%r14), %r15d
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_AT_READ_REG
	movq	_REG_PCIE_DEV_MISC_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leal	4(%r14), %r12d
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_AT_READ_REG
	movq	_REG_MASTER_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leal	5(%r14), %r15d
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_AT_READ_REG
	movq	_REG_MANUAL_TIMER_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leal	6(%r14), %r12d
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_AT_READ_REG
	movq	_REG_IRQ_MODRT_TIMER_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leal	7(%r14), %r15d
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_AT_READ_REG
	movq	_REG_GPHY_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leal	8(%r14), %r12d
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_AT_READ_REG
	movq	_REG_LINK_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leal	9(%r14), %r15d
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_AT_READ_REG
	movq	_REG_IDLE_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leal	10(%r14), %r12d
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_AT_READ_REG
	movq	_REG_MDIO_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leal	11(%r14), %r15d
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_AT_READ_REG
	movq	_REG_SERDES@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leal	12(%r14), %r12d
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_AT_READ_REG
	movq	_REG_MAC_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leal	13(%r14), %r15d
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_AT_READ_REG
	movq	_REG_MAC_IPG_IFG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leal	14(%r14), %r12d
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_AT_READ_REG
	movq	_REG_MAC_STA_ADDR@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	leal	15(%r14), %r15d
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_AT_READ_REG
	movq	(%r13), %rsi
	addq	$4, %rsi
	leal	16(%r14), %r12d
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_AT_READ_REG
	movq	_REG_RX_HASH_TABLE@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	leal	17(%r14), %r15d
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_AT_READ_REG
	movq	(%r13), %rsi
	addq	$4, %rsi
	leal	18(%r14), %r12d
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_AT_READ_REG
	movq	_REG_RXQ_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leal	19(%r14), %r15d
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_AT_READ_REG
	movq	_REG_TXQ_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leal	20(%r14), %r12d
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_AT_READ_REG
	movq	_REG_MTU@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leal	21(%r14), %r15d
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_AT_READ_REG
	movq	_REG_WOL_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_AT_READ_REG
	movq	_MII_BMCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_atl1c_read_phy_reg
	movq	-48(%rbp), %rax
	movq	_AT_REGS_LEN@GOTPCREL(%rip), %r12
	movslq	(%r12), %rcx
	andq	$-8, %rcx
	movq	%rax, -16(%rcx,%r14)
	movq	_MII_BMSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_atl1c_read_phy_reg
	movq	-48(%rbp), %rax
	movslq	(%r12), %rcx
	andq	$-8, %rcx
	movq	%rax, -8(%rcx,%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AT_REGS_LEN,4,2                ## @AT_REGS_LEN
	.comm	_REG_PM_CTRL,8,3                ## @REG_PM_CTRL
	.comm	_REG_MAC_HALF_DUPLX_CTRL,8,3    ## @REG_MAC_HALF_DUPLX_CTRL
	.comm	_REG_TWSI_CTRL,8,3              ## @REG_TWSI_CTRL
	.comm	_REG_PCIE_DEV_MISC_CTRL,8,3     ## @REG_PCIE_DEV_MISC_CTRL
	.comm	_REG_MASTER_CTRL,8,3            ## @REG_MASTER_CTRL
	.comm	_REG_MANUAL_TIMER_INIT,8,3      ## @REG_MANUAL_TIMER_INIT
	.comm	_REG_IRQ_MODRT_TIMER_INIT,8,3   ## @REG_IRQ_MODRT_TIMER_INIT
	.comm	_REG_GPHY_CTRL,8,3              ## @REG_GPHY_CTRL
	.comm	_REG_LINK_CTRL,8,3              ## @REG_LINK_CTRL
	.comm	_REG_IDLE_STATUS,8,3            ## @REG_IDLE_STATUS
	.comm	_REG_MDIO_CTRL,8,3              ## @REG_MDIO_CTRL
	.comm	_REG_SERDES,8,3                 ## @REG_SERDES
	.comm	_REG_MAC_CTRL,8,3               ## @REG_MAC_CTRL
	.comm	_REG_MAC_IPG_IFG,8,3            ## @REG_MAC_IPG_IFG
	.comm	_REG_MAC_STA_ADDR,8,3           ## @REG_MAC_STA_ADDR
	.comm	_REG_RX_HASH_TABLE,8,3          ## @REG_RX_HASH_TABLE
	.comm	_REG_RXQ_CTRL,8,3               ## @REG_RXQ_CTRL
	.comm	_REG_TXQ_CTRL,8,3               ## @REG_TXQ_CTRL
	.comm	_REG_MTU,8,3                    ## @REG_MTU
	.comm	_REG_WOL_CTRL,8,3               ## @REG_WOL_CTRL
	.comm	_MII_BMCR,4,2                   ## @MII_BMCR
	.comm	_MII_BMSR,4,2                   ## @MII_BMSR
	.no_dead_strip	_atl1c_get_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1c_get_regs
_atl1c_get_regs:                        ; @atl1c_get_regs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x2
	mov	x21, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x23, _AT_REGS_LEN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _AT_REGS_LEN@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	mov	w1, #0
	bl	_memset
	mov	w8, #1
	str	w8, [x21]
Lloh2:
	adrp	x8, _REG_PM_CTRL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REG_PM_CTRL@GOTPAGEOFF]
Lloh4:
	ldr	x1, [x8]
	add	w21, w19, #1
	mov	x0, x20
	mov	x2, x19
	bl	_AT_READ_REG
Lloh5:
	adrp	x8, _REG_MAC_HALF_DUPLX_CTRL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REG_MAC_HALF_DUPLX_CTRL@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x8]
	add	w22, w19, #2
	mov	x0, x20
	mov	x2, x21
	bl	_AT_READ_REG
Lloh8:
	adrp	x8, _REG_TWSI_CTRL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REG_TWSI_CTRL@GOTPAGEOFF]
Lloh10:
	ldr	x1, [x8]
	add	w21, w19, #3
	mov	x0, x20
	mov	x2, x22
	bl	_AT_READ_REG
Lloh11:
	adrp	x8, _REG_PCIE_DEV_MISC_CTRL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REG_PCIE_DEV_MISC_CTRL@GOTPAGEOFF]
Lloh13:
	ldr	x1, [x8]
	add	w22, w19, #4
	mov	x0, x20
	mov	x2, x21
	bl	_AT_READ_REG
Lloh14:
	adrp	x8, _REG_MASTER_CTRL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _REG_MASTER_CTRL@GOTPAGEOFF]
Lloh16:
	ldr	x1, [x8]
	add	w21, w19, #5
	mov	x0, x20
	mov	x2, x22
	bl	_AT_READ_REG
Lloh17:
	adrp	x8, _REG_MANUAL_TIMER_INIT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _REG_MANUAL_TIMER_INIT@GOTPAGEOFF]
Lloh19:
	ldr	x1, [x8]
	add	w22, w19, #6
	mov	x0, x20
	mov	x2, x21
	bl	_AT_READ_REG
Lloh20:
	adrp	x8, _REG_IRQ_MODRT_TIMER_INIT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _REG_IRQ_MODRT_TIMER_INIT@GOTPAGEOFF]
Lloh22:
	ldr	x1, [x8]
	add	w21, w19, #7
	mov	x0, x20
	mov	x2, x22
	bl	_AT_READ_REG
Lloh23:
	adrp	x8, _REG_GPHY_CTRL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _REG_GPHY_CTRL@GOTPAGEOFF]
Lloh25:
	ldr	x1, [x8]
	add	w22, w19, #8
	mov	x0, x20
	mov	x2, x21
	bl	_AT_READ_REG
Lloh26:
	adrp	x8, _REG_LINK_CTRL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _REG_LINK_CTRL@GOTPAGEOFF]
Lloh28:
	ldr	x1, [x8]
	add	w21, w19, #9
	mov	x0, x20
	mov	x2, x22
	bl	_AT_READ_REG
Lloh29:
	adrp	x8, _REG_IDLE_STATUS@GOTPAGE
Lloh30:
	ldr	x8, [x8, _REG_IDLE_STATUS@GOTPAGEOFF]
Lloh31:
	ldr	x1, [x8]
	add	w22, w19, #10
	mov	x0, x20
	mov	x2, x21
	bl	_AT_READ_REG
Lloh32:
	adrp	x8, _REG_MDIO_CTRL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _REG_MDIO_CTRL@GOTPAGEOFF]
Lloh34:
	ldr	x1, [x8]
	add	w21, w19, #11
	mov	x0, x20
	mov	x2, x22
	bl	_AT_READ_REG
Lloh35:
	adrp	x8, _REG_SERDES@GOTPAGE
Lloh36:
	ldr	x8, [x8, _REG_SERDES@GOTPAGEOFF]
Lloh37:
	ldr	x1, [x8]
	add	w22, w19, #12
	mov	x0, x20
	mov	x2, x21
	bl	_AT_READ_REG
Lloh38:
	adrp	x8, _REG_MAC_CTRL@GOTPAGE
Lloh39:
	ldr	x8, [x8, _REG_MAC_CTRL@GOTPAGEOFF]
Lloh40:
	ldr	x1, [x8]
	add	w21, w19, #13
	mov	x0, x20
	mov	x2, x22
	bl	_AT_READ_REG
Lloh41:
	adrp	x8, _REG_MAC_IPG_IFG@GOTPAGE
Lloh42:
	ldr	x8, [x8, _REG_MAC_IPG_IFG@GOTPAGEOFF]
Lloh43:
	ldr	x1, [x8]
	add	w22, w19, #14
	mov	x0, x20
	mov	x2, x21
	bl	_AT_READ_REG
Lloh44:
	adrp	x24, _REG_MAC_STA_ADDR@GOTPAGE
Lloh45:
	ldr	x24, [x24, _REG_MAC_STA_ADDR@GOTPAGEOFF]
	ldr	x1, [x24]
	add	w21, w19, #15
	mov	x0, x20
	mov	x2, x22
	bl	_AT_READ_REG
	ldr	x8, [x24]
	add	x1, x8, #4
	add	w22, w19, #16
	mov	x0, x20
	mov	x2, x21
	bl	_AT_READ_REG
Lloh46:
	adrp	x24, _REG_RX_HASH_TABLE@GOTPAGE
Lloh47:
	ldr	x24, [x24, _REG_RX_HASH_TABLE@GOTPAGEOFF]
	ldr	x1, [x24]
	add	w21, w19, #17
	mov	x0, x20
	mov	x2, x22
	bl	_AT_READ_REG
	ldr	x8, [x24]
	add	x1, x8, #4
	add	w22, w19, #18
	mov	x0, x20
	mov	x2, x21
	bl	_AT_READ_REG
Lloh48:
	adrp	x8, _REG_RXQ_CTRL@GOTPAGE
Lloh49:
	ldr	x8, [x8, _REG_RXQ_CTRL@GOTPAGEOFF]
Lloh50:
	ldr	x1, [x8]
	add	w21, w19, #19
	mov	x0, x20
	mov	x2, x22
	bl	_AT_READ_REG
Lloh51:
	adrp	x8, _REG_TXQ_CTRL@GOTPAGE
Lloh52:
	ldr	x8, [x8, _REG_TXQ_CTRL@GOTPAGEOFF]
Lloh53:
	ldr	x1, [x8]
	add	w22, w19, #20
	mov	x0, x20
	mov	x2, x21
	bl	_AT_READ_REG
Lloh54:
	adrp	x8, _REG_MTU@GOTPAGE
Lloh55:
	ldr	x8, [x8, _REG_MTU@GOTPAGEOFF]
Lloh56:
	ldr	x1, [x8]
	add	w21, w19, #21
	mov	x0, x20
	mov	x2, x22
	bl	_AT_READ_REG
Lloh57:
	adrp	x8, _REG_WOL_CTRL@GOTPAGE
Lloh58:
	ldr	x8, [x8, _REG_WOL_CTRL@GOTPAGEOFF]
Lloh59:
	ldr	x1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_AT_READ_REG
Lloh60:
	adrp	x8, _MII_BMCR@GOTPAGE
Lloh61:
	ldr	x8, [x8, _MII_BMCR@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_atl1c_read_phy_reg
	ldr	x8, [sp, #8]
	ldrsw	x9, [x23]
	and	x9, x9, #0xfffffffffffffff8
	add	x9, x9, x19
	stur	x8, [x9, #-16]
Lloh63:
	adrp	x8, _MII_BMSR@GOTPAGE
Lloh64:
	ldr	x8, [x8, _MII_BMSR@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_atl1c_read_phy_reg
	ldr	x8, [sp, #8]
	ldrsw	x9, [x23]
	and	x9, x9, #0xfffffffffffffff8
	add	x9, x9, x19
	stur	x8, [x9, #-8]
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AT_REGS_LEN,4,2                ; @AT_REGS_LEN
	.comm	_REG_PM_CTRL,8,3                ; @REG_PM_CTRL
	.comm	_REG_MAC_HALF_DUPLX_CTRL,8,3    ; @REG_MAC_HALF_DUPLX_CTRL
	.comm	_REG_TWSI_CTRL,8,3              ; @REG_TWSI_CTRL
	.comm	_REG_PCIE_DEV_MISC_CTRL,8,3     ; @REG_PCIE_DEV_MISC_CTRL
	.comm	_REG_MASTER_CTRL,8,3            ; @REG_MASTER_CTRL
	.comm	_REG_MANUAL_TIMER_INIT,8,3      ; @REG_MANUAL_TIMER_INIT
	.comm	_REG_IRQ_MODRT_TIMER_INIT,8,3   ; @REG_IRQ_MODRT_TIMER_INIT
	.comm	_REG_GPHY_CTRL,8,3              ; @REG_GPHY_CTRL
	.comm	_REG_LINK_CTRL,8,3              ; @REG_LINK_CTRL
	.comm	_REG_IDLE_STATUS,8,3            ; @REG_IDLE_STATUS
	.comm	_REG_MDIO_CTRL,8,3              ; @REG_MDIO_CTRL
	.comm	_REG_SERDES,8,3                 ; @REG_SERDES
	.comm	_REG_MAC_CTRL,8,3               ; @REG_MAC_CTRL
	.comm	_REG_MAC_IPG_IFG,8,3            ; @REG_MAC_IPG_IFG
	.comm	_REG_MAC_STA_ADDR,8,3           ; @REG_MAC_STA_ADDR
	.comm	_REG_RX_HASH_TABLE,8,3          ; @REG_RX_HASH_TABLE
	.comm	_REG_RXQ_CTRL,8,3               ; @REG_RXQ_CTRL
	.comm	_REG_TXQ_CTRL,8,3               ; @REG_TXQ_CTRL
	.comm	_REG_MTU,8,3                    ; @REG_MTU
	.comm	_REG_WOL_CTRL,8,3               ; @REG_WOL_CTRL
	.comm	_MII_BMCR,4,2                   ; @MII_BMCR
	.comm	_MII_BMSR,4,2                   ; @MII_BMSR
	.no_dead_strip	_atl1c_get_regs
.subsections_via_symbols
