	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macb_get_regs
_macb_get_regs:                         ## @macb_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_MID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_macb_readl
	movq	_MACB_REV_SIZE@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$-1, %edx
	shll	%cl, %edx
	notl	%edx
	andl	%eax, %edx
	movq	_MACB_GREGS_VERSION@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, (%r15)
	movq	8(%rbx), %rax
	movl	4(%rax), %esi
	movq	%rbx, %rdi
	callq	_macb_tx_ring_wrap
	movl	%eax, %r15d
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_macb_tx_ring_wrap
	movl	%eax, %r12d
	movq	_NCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_macb_readl
	movl	%eax, (%r14)
	movq	_NCFGR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_macb_or_gem_readl
	movl	%eax, 4(%r14)
	movq	_NSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_macb_readl
	movl	%eax, 8(%r14)
	movq	_TSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_macb_readl
	movl	%eax, 12(%r14)
	movq	_RBQP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_macb_readl
	movl	%eax, 16(%r14)
	movq	_TBQP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_macb_readl
	movl	%eax, 20(%r14)
	movq	_RSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_macb_readl
	movl	%eax, 24(%r14)
	movq	_IMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_macb_readl
	movl	%eax, 28(%r14)
	movl	%r15d, 32(%r14)
	movl	%r12d, 36(%r14)
	movq	8(%rbx), %rdi
	movl	%r15d, %esi
	callq	_macb_tx_dma
	movl	%eax, 40(%r14)
	movq	8(%rbx), %rdi
	movl	%r12d, %esi
	callq	_macb_tx_dma
	movl	%eax, 44(%r14)
	movq	_MACB_CAPS_USRIO_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_USRIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_macb_or_gem_readl
	movl	%eax, 48(%r14)
LBB0_2:
	movq	%rbx, %rdi
	callq	_macb_is_gem
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_DMACFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_gem_readl
	movl	%eax, 52(%r14)
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MID,4,2                        ## @MID
	.comm	_MACB_REV_SIZE,4,2              ## @MACB_REV_SIZE
	.comm	_MACB_GREGS_VERSION,4,2         ## @MACB_GREGS_VERSION
	.comm	_NCR,4,2                        ## @NCR
	.comm	_NCFGR,4,2                      ## @NCFGR
	.comm	_NSR,4,2                        ## @NSR
	.comm	_TSR,4,2                        ## @TSR
	.comm	_RBQP,4,2                       ## @RBQP
	.comm	_TBQP,4,2                       ## @TBQP
	.comm	_RSR,4,2                        ## @RSR
	.comm	_IMR,4,2                        ## @IMR
	.comm	_MACB_CAPS_USRIO_DISABLED,4,2   ## @MACB_CAPS_USRIO_DISABLED
	.comm	_USRIO,4,2                      ## @USRIO
	.comm	_DMACFG,4,2                     ## @DMACFG
	.no_dead_strip	_macb_get_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macb_get_regs
_macb_get_regs:                         ; @macb_get_regs
	.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	x19, x2
	mov	x21, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _MID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_macb_readl
Lloh3:
	adrp	x8, _MACB_REV_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MACB_REV_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #-1
	lsl	w8, w9, w8
Lloh6:
	adrp	x9, _MACB_GREGS_VERSION@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MACB_GREGS_VERSION@GOTPAGEOFF]
	bic	w8, w0, w8
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x21]
	ldr	x8, [x20, #8]
	ldr	w1, [x8, #4]
	mov	x0, x20
	bl	_macb_tx_ring_wrap
	mov	x21, x0
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_macb_tx_ring_wrap
	mov	x22, x0
Lloh9:
	adrp	x8, _NCR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NCR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_macb_readl
	str	w0, [x19]
Lloh12:
	adrp	x8, _NCFGR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NCFGR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_macb_or_gem_readl
	str	w0, [x19, #4]
Lloh15:
	adrp	x8, _NSR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NSR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_macb_readl
	str	w0, [x19, #8]
Lloh18:
	adrp	x8, _TSR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TSR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_macb_readl
	str	w0, [x19, #12]
Lloh21:
	adrp	x8, _RBQP@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RBQP@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_macb_readl
	str	w0, [x19, #16]
Lloh24:
	adrp	x8, _TBQP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TBQP@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_macb_readl
	str	w0, [x19, #20]
Lloh27:
	adrp	x8, _RSR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RSR@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_macb_readl
	str	w0, [x19, #24]
Lloh30:
	adrp	x8, _IMR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IMR@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_macb_readl
	stp	w0, w21, [x19, #28]
	str	w22, [x19, #36]
	ldr	x0, [x20, #8]
	mov	x1, x21
	bl	_macb_tx_dma
	str	w0, [x19, #40]
	ldr	x0, [x20, #8]
	mov	x1, x22
	bl	_macb_tx_dma
	str	w0, [x19, #44]
	ldr	w8, [x20]
Lloh33:
	adrp	x9, _MACB_CAPS_USRIO_DISABLED@GOTPAGE
Lloh34:
	ldr	x9, [x9, _MACB_CAPS_USRIO_DISABLED@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh36:
	adrp	x8, _USRIO@GOTPAGE
Lloh37:
	ldr	x8, [x8, _USRIO@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_macb_or_gem_readl
	str	w0, [x19, #48]
LBB0_2:
	mov	x0, x20
	bl	_macb_is_gem
	cbz	x0, LBB0_4
; %bb.3:
Lloh39:
	adrp	x8, _DMACFG@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DMACFG@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_gem_readl
	str	w0, [x19, #52]
LBB0_4:
	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	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_MID,4,2                        ; @MID
	.comm	_MACB_REV_SIZE,4,2              ; @MACB_REV_SIZE
	.comm	_MACB_GREGS_VERSION,4,2         ; @MACB_GREGS_VERSION
	.comm	_NCR,4,2                        ; @NCR
	.comm	_NCFGR,4,2                      ; @NCFGR
	.comm	_NSR,4,2                        ; @NSR
	.comm	_TSR,4,2                        ; @TSR
	.comm	_RBQP,4,2                       ; @RBQP
	.comm	_TBQP,4,2                       ; @TBQP
	.comm	_RSR,4,2                        ; @RSR
	.comm	_IMR,4,2                        ; @IMR
	.comm	_MACB_CAPS_USRIO_DISABLED,4,2   ; @MACB_CAPS_USRIO_DISABLED
	.comm	_USRIO,4,2                      ; @USRIO
	.comm	_DMACFG,4,2                     ; @DMACFG
	.no_dead_strip	_macb_get_regs
.subsections_via_symbols
