	.file	"extr_machine_kexec_64.c_default_machine_kexec.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"kexec: Starting switchover sequence.\n"
	.align 8
.LC1:
	.string	"kexec: Unshared all shared pages.\n"
	.text
	.p2align 4
	.globl	default_machine_kexec
	.type	default_machine_kexec, @function
default_machine_kexec:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	kdump_in_progress@PLT
	test	eax, eax
	je	.L12
.L2:
	lea	rdi, .LC0[rip]
	call	printk@PLT
	xor	eax, eax
	call	current_thread_info@PLT
	mov	QWORD PTR 8[rax], 0
	xor	eax, eax
	call	current_thread_info@PLT
	mov	edx, DWORD PTR HARDIRQ_OFFSET[rip]
	mov	DWORD PTR [rax], edx
	xor	eax, eax
	call	get_paca@PLT
	mov	edx, 4
	lea	rdi, kexec_paca[rip]
	mov	esi, eax
	call	memcpy@PLT
	xor	eax, eax
	mov	DWORD PTR kexec_paca[rip], -554766610
	call	is_secure_guest@PLT
	test	rax, rax
	je	.L3
	cmp	QWORD PTR 16[r12], 0
	je	.L13
.L3:
	mov	rdx, QWORD PTR kexec_paca[rip+8]
	mov	rax, QWORD PTR paca_ptrs[rip]
	mov	ebx, 1
	lea	rdi, kexec_paca[rip]
	mov	QWORD PTR [rax+rdx*8], rdi
	call	setup_paca@PLT
	xor	eax, eax
	call	radix_enabled@PLT
	test	rax, rax
	je	.L14
.L4:
	mov	edi, DWORD PTR 8[r12]
	mov	ebp, DWORD PTR mmu_cleanup_all[rip]
	call	page_address@PLT
	mov	esi, DWORD PTR 12[r12]
	mov	r9d, ebx
	mov	r8d, ebp
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdx, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	ecx, eax
	lea	rdi, kexec_stack[rip]
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	kexec_sequence@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rax, QWORD PTR KEXEC_TYPE_CRASH[rip]
	cmp	QWORD PTR [r12], rax
	je	.L3
	xor	eax, eax
	call	uv_unshare_all_pages@PLT
	lea	rdi, .LC1[rip]
	call	printk@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	call	kexec_prepare_cpus@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR FW_FEATURE_LPAR[rip]
	xor	ebx, ebx
	call	firmware_has_feature@PLT
	test	rax, rax
	jne	.L4
	mov	edi, DWORD PTR FW_FEATURE_PS3_LV1[rip]
	xor	ebx, ebx
	call	firmware_has_feature@PLT
	test	rax, rax
	sete	bl
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	default_machine_kexec, .-default_machine_kexec
	.comm	paca_ptrs,8,8
	.comm	mmu_cleanup_all,4,4
	.comm	kexec_stack,4,4
	.comm	kexec_paca,24,16
	.comm	KEXEC_TYPE_CRASH,8,8
	.comm	HARDIRQ_OFFSET,4,4
	.comm	FW_FEATURE_PS3_LV1,4,4
	.comm	FW_FEATURE_LPAR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_machine_kexec_64.c_default_machine_kexec.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"kexec: Starting switchover sequence.\012\000"
	.align	2
.LC1:
	.ascii	"kexec: Unshared all shared pages.\012\000"
	.text
	.align	2
	.global	default_machine_kexec
	.syntax unified
	.arm
	.fpu softvfp
	.type	default_machine_kexec, %function
default_machine_kexec:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	sub	sp, sp, #8
	mov	r4, r0
	bl	kdump_in_progress
	cmp	r0, #0
	beq	.L11
.L2:
	ldr	r0, .L14
	bl	printk
	bl	current_thread_info
	mov	r3, #0
	str	r3, [r0, #4]
	bl	current_thread_info
	ldr	r3, .L14+4
	ldr	r5, .L14+8
	ldr	r3, [r3]
	str	r3, [r0]
	bl	get_paca
	mov	r2, #4
	mov	r1, r0
	mov	r0, r5
	bl	memcpy
	ldr	r3, .L14+12
	str	r3, [r5]
	bl	is_secure_guest
	cmp	r0, #0
	beq	.L3
	ldr	r3, [r4, #12]
	cmp	r3, #0
	beq	.L12
.L3:
	ldr	r3, .L14+16
	ldr	r2, [r5, #4]
	ldr	r3, [r3]
	ldr	r0, .L14+8
	str	r5, [r3, r2, lsl #2]
	bl	setup_paca
	bl	radix_enabled
	subs	r5, r0, #0
	movne	r5, #1
	beq	.L13
.L4:
	ldmib	r4, {r0, r6}
	bl	page_address
	ldr	r2, .L14+20
	mov	r3, r0
	ldr	ip, [r2]
	mov	r1, r6
	mov	r2, r4
	str	r5, [sp, #4]
	str	ip, [sp]
	ldr	r0, .L14+24
	bl	kexec_sequence
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L12:
	ldr	r3, .L14+28
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L3
	bl	uv_unshare_all_pages
	ldr	r0, .L14+32
	bl	printk
	b	.L3
.L11:
	bl	kexec_prepare_cpus
	b	.L2
.L13:
	ldr	r3, .L14+36
	ldr	r0, [r3]
	bl	firmware_has_feature
	cmp	r0, #0
	bne	.L4
	ldr	r3, .L14+40
	ldr	r0, [r3]
	bl	firmware_has_feature
	clz	r5, r0
	lsr	r5, r5, #5
	b	.L4
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	HARDIRQ_OFFSET
	.word	kexec_paca
	.word	-554766610
	.word	paca_ptrs
	.word	mmu_cleanup_all
	.word	kexec_stack
	.word	KEXEC_TYPE_CRASH
	.word	.LC1
	.word	FW_FEATURE_LPAR
	.word	FW_FEATURE_PS3_LV1
	.size	default_machine_kexec, .-default_machine_kexec
	.comm	paca_ptrs,4,4
	.comm	mmu_cleanup_all,4,4
	.comm	kexec_stack,4,4
	.comm	kexec_paca,12,4
	.comm	KEXEC_TYPE_CRASH,4,4
	.comm	HARDIRQ_OFFSET,4,4
	.comm	FW_FEATURE_PS3_LV1,4,4
	.comm	FW_FEATURE_LPAR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
