	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function samx7_restart
_samx7_restart:                         ## @samx7_restart
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_AT91_RSTC_KEY@GOTPCREL(%rip), %rax
	movq	_AT91_RSTC_PROCRST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_cpu_to_le32
	movq	_at91_rstc_base@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_writel
	movq	_NOTIFY_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AT91_RSTC_KEY,4,2              ## @AT91_RSTC_KEY
	.comm	_AT91_RSTC_PROCRST,4,2          ## @AT91_RSTC_PROCRST
	.comm	_at91_rstc_base,4,2             ## @at91_rstc_base
	.comm	_NOTIFY_DONE,4,2                ## @NOTIFY_DONE
	.no_dead_strip	_samx7_restart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function samx7_restart
_samx7_restart:                         ; @samx7_restart
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _AT91_RSTC_KEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AT91_RSTC_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _AT91_RSTC_PROCRST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AT91_RSTC_PROCRST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_cpu_to_le32
Lloh6:
	adrp	x8, _at91_rstc_base@GOTPAGE
Lloh7:
	ldr	x8, [x8, _at91_rstc_base@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_writel
Lloh9:
	adrp	x8, _NOTIFY_DONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NOTIFY_DONE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AT91_RSTC_KEY,4,2              ; @AT91_RSTC_KEY
	.comm	_AT91_RSTC_PROCRST,4,2          ; @AT91_RSTC_PROCRST
	.comm	_at91_rstc_base,4,2             ; @at91_rstc_base
	.comm	_NOTIFY_DONE,4,2                ; @NOTIFY_DONE
	.no_dead_strip	_samx7_restart
.subsections_via_symbols
