	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vsc8584_micro_deassert_reset
_vsc8584_micro_deassert_reset:          ## @vsc8584_micro_deassert_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	%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
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_MSCC_EXT_PAGE_ACCESS@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_MSCC_PHY_PAGE_EXTENDED_GPIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_phy_base_write
	movq	_RUN_FROM_INT_ROM@GOTPCREL(%rip), %rax
	movq	_MICRO_CLK_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_DW8051_CLK_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_MICRO_NSOFT_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	orl	%ebx, %r15d
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.1:
	movq	_MICRO_PATCH_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, %ebx
	orl	%eax, %r15d
	movq	_MSCC_INT_MEM_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_READ_RAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_phy_base_write
LBB0_2:
	movq	_MSCC_DW8051_CNTL_STATUS@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_phy_base_write
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_phy_base_write
	movl	(%r13), %esi
	movq	_MSCC_PHY_PAGE_STANDARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_phy_base_write
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSCC_EXT_PAGE_ACCESS,4,2       ## @MSCC_EXT_PAGE_ACCESS
	.comm	_MSCC_PHY_PAGE_EXTENDED_GPIO,4,2 ## @MSCC_PHY_PAGE_EXTENDED_GPIO
	.comm	_RUN_FROM_INT_ROM,4,2           ## @RUN_FROM_INT_ROM
	.comm	_MICRO_CLK_EN,4,2               ## @MICRO_CLK_EN
	.comm	_DW8051_CLK_EN,4,2              ## @DW8051_CLK_EN
	.comm	_MICRO_NSOFT_RESET,4,2          ## @MICRO_NSOFT_RESET
	.comm	_MICRO_PATCH_EN,4,2             ## @MICRO_PATCH_EN
	.comm	_MSCC_INT_MEM_CNTL,4,2          ## @MSCC_INT_MEM_CNTL
	.comm	_READ_RAM,4,2                   ## @READ_RAM
	.comm	_MSCC_DW8051_CNTL_STATUS,4,2    ## @MSCC_DW8051_CNTL_STATUS
	.comm	_MSCC_PHY_PAGE_STANDARD,4,2     ## @MSCC_PHY_PAGE_STANDARD
	.no_dead_strip	_vsc8584_micro_deassert_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vsc8584_micro_deassert_reset
_vsc8584_micro_deassert_reset:          ; @vsc8584_micro_deassert_reset
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _MSCC_EXT_PAGE_ACCESS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MSCC_EXT_PAGE_ACCESS@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh2:
	adrp	x8, _MSCC_PHY_PAGE_EXTENDED_GPIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSCC_PHY_PAGE_EXTENDED_GPIO@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_phy_base_write
Lloh5:
	adrp	x8, _RUN_FROM_INT_ROM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RUN_FROM_INT_ROM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _MICRO_CLK_EN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MICRO_CLK_EN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _DW8051_CLK_EN@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DW8051_CLK_EN@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w21, w8, w9
Lloh14:
	adrp	x8, _MICRO_NSOFT_RESET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MICRO_NSOFT_RESET@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	orr	w20, w21, w8
	cbz	w22, LBB0_2
; %bb.1:
Lloh17:
	adrp	x8, _MICRO_PATCH_EN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MICRO_PATCH_EN@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	orr	w21, w8, w21
	orr	w20, w8, w20
Lloh20:
	adrp	x8, _MSCC_INT_MEM_CNTL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MSCC_INT_MEM_CNTL@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _READ_RAM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _READ_RAM@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_phy_base_write
LBB0_2:
Lloh26:
	adrp	x22, _MSCC_DW8051_CNTL_STATUS@GOTPAGE
Lloh27:
	ldr	x22, [x22, _MSCC_DW8051_CNTL_STATUS@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x21
	bl	_phy_base_write
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_phy_base_write
	ldr	w1, [x23]
Lloh28:
	adrp	x8, _MSCC_PHY_PAGE_STANDARD@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MSCC_PHY_PAGE_STANDARD@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_phy_base_write
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.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
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_MSCC_EXT_PAGE_ACCESS,4,2       ; @MSCC_EXT_PAGE_ACCESS
	.comm	_MSCC_PHY_PAGE_EXTENDED_GPIO,4,2 ; @MSCC_PHY_PAGE_EXTENDED_GPIO
	.comm	_RUN_FROM_INT_ROM,4,2           ; @RUN_FROM_INT_ROM
	.comm	_MICRO_CLK_EN,4,2               ; @MICRO_CLK_EN
	.comm	_DW8051_CLK_EN,4,2              ; @DW8051_CLK_EN
	.comm	_MICRO_NSOFT_RESET,4,2          ; @MICRO_NSOFT_RESET
	.comm	_MICRO_PATCH_EN,4,2             ; @MICRO_PATCH_EN
	.comm	_MSCC_INT_MEM_CNTL,4,2          ; @MSCC_INT_MEM_CNTL
	.comm	_READ_RAM,4,2                   ; @READ_RAM
	.comm	_MSCC_DW8051_CNTL_STATUS,4,2    ; @MSCC_DW8051_CNTL_STATUS
	.comm	_MSCC_PHY_PAGE_STANDARD,4,2     ; @MSCC_PHY_PAGE_STANDARD
	.no_dead_strip	_vsc8584_micro_deassert_reset
.subsections_via_symbols
