	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nps_enet_hw_reset
_nps_enet_hw_reset:                     ## @nps_enet_hw_reset
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_netdev_priv
	movq	_NPS_ENET_ENABLE@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_RST_GMAC_0_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movq	%rax, %rbx
	movq	_NPS_ENET_REG_GE_RST@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rax, %rdi
	callq	_nps_enet_reg_set
	movl	$10, %edi
	movl	$20, %esi
	callq	_usleep_range
	movl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_nps_enet_reg_set
	movl	(%r14), %edx
	movq	_PHASE_FIFO_CTL_RST_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%edx, %eax
	shll	%cl, %eax
	movq	_PHASE_FIFO_CTL_INIT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%eax, %edx
	movq	_NPS_ENET_REG_PHASE_FIFO_CTL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_nps_enet_reg_set
	movl	$10, %edi
	movl	$20, %esi
	callq	_usleep_range
	movl	(%r14), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nps_enet_reg_set               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NPS_ENET_ENABLE,4,2            ## @NPS_ENET_ENABLE
	.comm	_RST_GMAC_0_SHIFT,4,2           ## @RST_GMAC_0_SHIFT
	.comm	_NPS_ENET_REG_GE_RST,4,2        ## @NPS_ENET_REG_GE_RST
	.comm	_PHASE_FIFO_CTL_RST_SHIFT,4,2   ## @PHASE_FIFO_CTL_RST_SHIFT
	.comm	_PHASE_FIFO_CTL_INIT_SHIFT,4,2  ## @PHASE_FIFO_CTL_INIT_SHIFT
	.comm	_NPS_ENET_REG_PHASE_FIFO_CTL,4,2 ## @NPS_ENET_REG_PHASE_FIFO_CTL
	.no_dead_strip	_nps_enet_hw_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nps_enet_hw_reset
_nps_enet_hw_reset:                     ; @nps_enet_hw_reset
	.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
Lloh0:
	adrp	x20, _NPS_ENET_ENABLE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NPS_ENET_ENABLE@GOTPAGEOFF]
Lloh2:
	adrp	x8, _RST_GMAC_0_SHIFT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RST_GMAC_0_SHIFT@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh4:
	ldr	w8, [x8]
	lsl	w2, w9, w8
Lloh5:
	adrp	x21, _NPS_ENET_REG_GE_RST@GOTPAGE
Lloh6:
	ldr	x21, [x21, _NPS_ENET_REG_GE_RST@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_nps_enet_reg_set
	mov	w0, #10
	mov	w1, #20
	bl	_usleep_range
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_nps_enet_reg_set
	ldr	w8, [x20]
Lloh7:
	adrp	x9, _PHASE_FIFO_CTL_RST_SHIFT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PHASE_FIFO_CTL_RST_SHIFT@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	lsl	w9, w8, w9
Lloh10:
	adrp	x10, _PHASE_FIFO_CTL_INIT_SHIFT@GOTPAGE
Lloh11:
	ldr	x10, [x10, _PHASE_FIFO_CTL_INIT_SHIFT@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w2, w8, w9
Lloh13:
	adrp	x20, _NPS_ENET_REG_PHASE_FIFO_CTL@GOTPAGE
Lloh14:
	ldr	x20, [x20, _NPS_ENET_REG_PHASE_FIFO_CTL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_nps_enet_reg_set
	mov	w0, #10
	mov	w1, #20
	bl	_usleep_range
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	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
	b	_nps_enet_reg_set
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NPS_ENET_ENABLE,4,2            ; @NPS_ENET_ENABLE
	.comm	_RST_GMAC_0_SHIFT,4,2           ; @RST_GMAC_0_SHIFT
	.comm	_NPS_ENET_REG_GE_RST,4,2        ; @NPS_ENET_REG_GE_RST
	.comm	_PHASE_FIFO_CTL_RST_SHIFT,4,2   ; @PHASE_FIFO_CTL_RST_SHIFT
	.comm	_PHASE_FIFO_CTL_INIT_SHIFT,4,2  ; @PHASE_FIFO_CTL_INIT_SHIFT
	.comm	_NPS_ENET_REG_PHASE_FIFO_CTL,4,2 ; @NPS_ENET_REG_PHASE_FIFO_CTL
	.no_dead_strip	_nps_enet_hw_reset
.subsections_via_symbols
