	.file	"extr_psp-dev.c___sev_platform_shutdown_locked.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"SEV firmware shutdown\n"
	.text
	.p2align 4
	.type	__sev_platform_shutdown_locked, @function
__sev_platform_shutdown_locked:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rdx, rdi
	mov	edi, DWORD PTR SEV_CMD_SHUTDOWN[rip]
	xor	esi, esi
	call	__sev_do_cmd_locked@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	rax, QWORD PTR psp_master[rip]
	mov	edx, DWORD PTR SEV_STATE_UNINIT[rip]
	lea	rsi, .LC0[rip]
	mov	DWORD PTR 4[rax], edx
	mov	edi, DWORD PTR [rax]
	call	dev_dbg@PLT
.L1:
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	__sev_platform_shutdown_locked, .-__sev_platform_shutdown_locked
	.comm	psp_master,8,8
	.comm	SEV_STATE_UNINIT,4,4
	.comm	SEV_CMD_SHUTDOWN,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_psp-dev.c___sev_platform_shutdown_locked.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"SEV firmware shutdown\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__sev_platform_shutdown_locked, %function
__sev_platform_shutdown_locked:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L5
	mov	r2, r0
	push	{r4, lr}
	mov	r1, #0
	ldr	r0, [r3]
	bl	__sev_do_cmd_locked
	subs	r4, r0, #0
	bne	.L1
	ldr	r3, .L5+4
	ldr	r2, .L5+8
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r0, [r3]
	ldr	r1, .L5+12
	str	r2, [r3, #4]
	bl	dev_dbg
.L1:
	mov	r0, r4
	pop	{r4, pc}
.L6:
	.align	2
.L5:
	.word	SEV_CMD_SHUTDOWN
	.word	psp_master
	.word	SEV_STATE_UNINIT
	.word	.LC0
	.size	__sev_platform_shutdown_locked, .-__sev_platform_shutdown_locked
	.comm	psp_master,4,4
	.comm	SEV_STATE_UNINIT,4,4
	.comm	SEV_CMD_SHUTDOWN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
