	.file	"extr_ptrace.h_show_ckpt_fpr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"ptrace(PTRACE_GETREGSET) failed"
	.text
	.p2align 4
	.globl	show_ckpt_fpr
	.type	show_ckpt_fpr, @function
show_ckpt_fpr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edi
	mov	edi, 8
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	malloc@PLT
	mov	edx, DWORD PTR NT_PPC_TM_CFPR[rip]
	mov	rcx, rsp
	mov	esi, r12d
	mov	edi, DWORD PTR PTRACE_GETREGSET[rip]
	mov	QWORD PTR 8[rsp], rax
	mov	rbp, rax
	mov	DWORD PTR [rsp], 8
	call	ptrace@PLT
	test	eax, eax
	jne	.L13
	test	rbx, rbx
	je	.L4
	mov	rcx, QWORD PTR 0[rbp]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdx, QWORD PTR [rcx+rax]
	mov	QWORD PTR [rbx+rax], rdx
	add	rax, 8
	cmp	rax, 256
	jne	.L5
.L4:
	mov	eax, DWORD PTR TEST_PASS[rip]
.L1:
	mov	rsi, QWORD PTR 24[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L14
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	eax, DWORD PTR TEST_FAIL[rip]
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	show_ckpt_fpr, .-show_ckpt_fpr
	.comm	TEST_PASS,4,4
	.comm	TEST_FAIL,4,4
	.comm	PTRACE_GETREGSET,4,4
	.comm	NT_PPC_TM_CFPR,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_ptrace.h_show_ckpt_fpr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ptrace(PTRACE_GETREGSET) failed\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	show_ckpt_fpr
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_ckpt_fpr, %function
show_ckpt_fpr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L15
	sub	sp, sp, #16
	mov	r6, r0
	mov	r0, #4
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	malloc
	mov	ip, #4
	mov	r5, r0
	ldr	r3, .L15+4
	ldr	r2, .L15+8
	ldr	r0, [r3]
	mov	r1, r6
	ldr	r2, [r2]
	add	r3, sp, ip
	str	r5, [sp, #8]
	str	ip, [sp, #4]
	bl	ptrace
	cmp	r0, #0
	bne	.L13
	cmp	r4, #0
	beq	.L4
	ldr	r0, [r5]
	sub	r2, r4, #4
	sub	r3, r0, #4
	add	r0, r0, #124
.L5:
	ldr	r1, [r3, #4]!
	cmp	r3, r0
	str	r1, [r2, #4]!
	bne	.L5
.L4:
	ldr	r3, .L15+12
	ldr	r0, [r3]
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L13:
	ldr	r0, .L15+16
	bl	perror
	ldr	r3, .L15+20
	ldr	r0, [r3]
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC1
	.word	PTRACE_GETREGSET
	.word	NT_PPC_TM_CFPR
	.word	TEST_PASS
	.word	.LC0
	.word	TEST_FAIL
	.size	show_ckpt_fpr, .-show_ckpt_fpr
	.comm	TEST_PASS,4,4
	.comm	TEST_FAIL,4,4
	.comm	PTRACE_GETREGSET,4,4
	.comm	NT_PPC_TM_CFPR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
