	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__machine_restart               ## -- Begin function _machine_restart
	.p2align	4, 0x90
__machine_restart:                      ## @_machine_restart
	.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	_RESET_MODULE_FULL_CHIP@GOTPCREL(%rip), %r14
	movq	_RESET_MODULE_DDR@GOTPCREL(%rip), %r15
	movq	_AR71XX_RESET_BASE@GOTPCREL(%rip), %r12
	movq	_AR91XX_RESET_REG_RESET_MODULE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %ebx
	orl	(%r14), %ebx
	movq	(%r13), %rdi
	addq	(%r12), %rdi
	callq	_KSEG1ADDR
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_writel
	movq	(%r13), %rdi
	addq	(%r12), %rdi
	callq	_KSEG1ADDR
	movl	%eax, %edi
	callq	_readl
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_RESET_MODULE_FULL_CHIP,4,2     ## @RESET_MODULE_FULL_CHIP
	.comm	_RESET_MODULE_DDR,4,2           ## @RESET_MODULE_DDR
	.comm	_AR71XX_RESET_BASE,8,3          ## @AR71XX_RESET_BASE
	.comm	_AR91XX_RESET_REG_RESET_MODULE,8,3 ## @AR91XX_RESET_REG_RESET_MODULE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__machine_restart               ; -- Begin function _machine_restart
	.p2align	2
__machine_restart:                      ; @_machine_restart
	.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
Lloh0:
	adrp	x20, _RESET_MODULE_FULL_CHIP@GOTPAGE
Lloh1:
	ldr	x20, [x20, _RESET_MODULE_FULL_CHIP@GOTPAGEOFF]
Lloh2:
	adrp	x21, _RESET_MODULE_DDR@GOTPAGE
Lloh3:
	ldr	x21, [x21, _RESET_MODULE_DDR@GOTPAGEOFF]
Lloh4:
	adrp	x22, _AR71XX_RESET_BASE@GOTPAGE
Lloh5:
	ldr	x22, [x22, _AR71XX_RESET_BASE@GOTPAGEOFF]
Lloh6:
	adrp	x23, _AR91XX_RESET_REG_RESET_MODULE@GOTPAGE
Lloh7:
	ldr	x23, [x23, _AR91XX_RESET_REG_RESET_MODULE@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w19, w9, w8
	ldr	x8, [x22]
	ldr	x9, [x23]
	add	x0, x9, x8
	bl	_KSEG1ADDR
	mov	x1, x0
	mov	x0, x19
	bl	_writel
	ldr	x8, [x22]
	ldr	x9, [x23]
	add	x0, x9, x8
	bl	_KSEG1ADDR
	bl	_readl
	b	LBB0_1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RESET_MODULE_FULL_CHIP,4,2     ; @RESET_MODULE_FULL_CHIP
	.comm	_RESET_MODULE_DDR,4,2           ; @RESET_MODULE_DDR
	.comm	_AR71XX_RESET_BASE,8,3          ; @AR71XX_RESET_BASE
	.comm	_AR91XX_RESET_REG_RESET_MODULE,8,3 ; @AR91XX_RESET_REG_RESET_MODULE
.subsections_via_symbols
