	.file	"extr_firmware.c_pdc_do_firm_test_reset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pdc_do_firm_test_reset
	.type	pdc_do_firm_test_reset, @function
pdc_do_firm_test_reset:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	lea	rdi, pdc_lock[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	xor	ebp, ebp
	mov	rsi, rbp
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	spin_lock_irqsave@PLT
	mov	edx, DWORD PTR PDC_FIRM_TEST_MAGIC[rip]
	mov	esi, DWORD PTR PDC_DO_FIRM_TEST_RESET[rip]
	mov	rcx, r12
	mov	edi, DWORD PTR PDC_BROADCAST_RESET[rip]
	call	mem_pdc_call@PLT
	mov	rsi, rbp
	lea	rdi, pdc_lock[rip]
	mov	r12d, eax
	call	spin_unlock_irqrestore@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	pdc_do_firm_test_reset, .-pdc_do_firm_test_reset
	.comm	pdc_lock,4,4
	.comm	PDC_FIRM_TEST_MAGIC,4,4
	.comm	PDC_DO_FIRM_TEST_RESET,4,4
	.comm	PDC_BROADCAST_RESET,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_firmware.c_pdc_do_firm_test_reset.c"
	.text
	.align	2
	.global	pdc_do_firm_test_reset
	.syntax unified
	.arm
	.fpu softvfp
	.type	pdc_do_firm_test_reset, %function
pdc_do_firm_test_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, #0
	mov	r4, r0
	ldr	r5, .L4
	mov	r1, r6
	mov	r0, r5
	bl	spin_lock_irqsave
	ldr	r2, .L4+4
	ldr	r1, .L4+8
	ldr	r0, .L4+12
	mov	r3, r4
	ldr	r2, [r2]
	ldr	r1, [r1]
	ldr	r0, [r0]
	bl	mem_pdc_call
	mov	r4, r0
	mov	r1, r6
	mov	r0, r5
	bl	spin_unlock_irqrestore
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	pdc_lock
	.word	PDC_FIRM_TEST_MAGIC
	.word	PDC_DO_FIRM_TEST_RESET
	.word	PDC_BROADCAST_RESET
	.size	pdc_do_firm_test_reset, .-pdc_do_firm_test_reset
	.comm	pdc_lock,4,4
	.comm	PDC_FIRM_TEST_MAGIC,4,4
	.comm	PDC_DO_FIRM_TEST_RESET,4,4
	.comm	PDC_BROADCAST_RESET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
