	.file	"extr_i386bsd-nat.c_store_inferior_registers.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Couldn't get registers"
.LC1:
	.string	"Couldn't write registers"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Couldn't get floating point status"
	.align 8
.LC3:
	.string	"Couldn't write floating point status"
	.text
	.p2align 4
	.globl	store_inferior_registers
	.type	store_inferior_registers, @function
store_inferior_registers:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	edi, -1
	je	.L5
	call	GETREGS_SUPPLIES@PLT
	test	rax, rax
	je	.L21
.L5:
	mov	edi, DWORD PTR inferior_ptid[rip]
	lea	rbx, 4[rsp]
	call	PIDGET@PLT
	mov	edi, DWORD PTR PT_GETREGS[rip]
	xor	ecx, ecx
	mov	edx, ebx
	mov	esi, eax
	call	ptrace@PLT
	cmp	eax, -1
	je	.L22
.L4:
	mov	esi, ebp
	mov	rdi, rbx
	call	fill_gregset@PLT
	mov	edi, DWORD PTR inferior_ptid[rip]
	call	PIDGET@PLT
	mov	edi, DWORD PTR PT_SETREGS[rip]
	xor	ecx, ecx
	mov	edx, ebx
	mov	esi, eax
	call	ptrace@PLT
	cmp	eax, -1
	je	.L23
.L7:
	cmp	ebp, -1
	je	.L12
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	cmp	DWORD PTR FP0_REGNUM[rip], ebp
	lea	rbx, 4[rsp]
	jg	.L1
.L12:
	mov	edi, DWORD PTR inferior_ptid[rip]
	call	PIDGET@PLT
	mov	edi, DWORD PTR PT_GETFPREGS[rip]
	xor	ecx, ecx
	mov	edx, ebx
	mov	esi, eax
	call	ptrace@PLT
	cmp	eax, -1
	je	.L25
.L10:
	mov	esi, ebp
	mov	rdi, rbx
	call	i387_fill_fsave@PLT
	mov	edi, DWORD PTR inferior_ptid[rip]
	call	PIDGET@PLT
	mov	edi, DWORD PTR PT_SETFPREGS[rip]
	xor	ecx, ecx
	mov	edx, ebx
	mov	esi, eax
	call	ptrace@PLT
	cmp	eax, -1
	jne	.L1
	lea	rdi, .LC3[rip]
	call	perror_with_name@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	lea	rdi, .LC0[rip]
	call	perror_with_name@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L23:
	lea	rdi, .LC1[rip]
	call	perror_with_name@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L25:
	lea	rdi, .LC2[rip]
	call	perror_with_name@PLT
	jmp	.L10
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	store_inferior_registers, .-store_inferior_registers
	.comm	inferior_ptid,4,4
	.comm	have_ptrace_xmmregs,4,4
	.comm	PT_SETXMMREGS,4,4
	.comm	PT_SETREGS,4,4
	.comm	PT_SETFPREGS,4,4
	.comm	PT_GETXMMREGS,4,4
	.comm	PT_GETREGS,4,4
	.comm	PT_GETFPREGS,4,4
	.comm	FP0_REGNUM,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_i386bsd-nat.c_store_inferior_registers.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Couldn't get registers\000"
	.align	2
.LC1:
	.ascii	"Couldn't write registers\000"
	.align	2
.LC2:
	.ascii	"Couldn't get floating point status\000"
	.align	2
.LC3:
	.ascii	"Couldn't write floating point status\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	store_inferior_registers
	.syntax unified
	.arm
	.fpu softvfp
	.type	store_inferior_registers, %function
store_inferior_registers:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L26
	sub	sp, sp, #12
	cmn	r0, #1
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	beq	.L5
	bl	GETREGS_SUPPLIES
	cmp	r0, #0
	beq	.L21
.L5:
	ldr	r6, .L26+4
	ldr	r3, .L26+8
	ldr	r0, [r6]
	ldr	r7, [r3]
	mov	r5, sp
	bl	PIDGET
	mov	r2, r5
	mov	r1, r0
	mov	r3, #0
	mov	r0, r7
	bl	ptrace
	cmn	r0, #1
	beq	.L22
.L4:
	mov	r1, r4
	mov	r0, r5
	bl	fill_gregset
	ldr	r3, .L26+12
	ldr	r0, [r6]
	ldr	r7, [r3]
	bl	PIDGET
	mov	r3, #0
	mov	r1, r0
	mov	r2, r5
	mov	r0, r7
	bl	ptrace
	cmn	r0, #1
	beq	.L23
.L7:
	cmn	r4, #1
	beq	.L12
.L1:
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L21:
	ldr	r3, .L26+16
	ldr	r3, [r3]
	cmp	r3, r4
	bgt	.L1
	mov	r5, sp
	ldr	r6, .L26+4
.L12:
	ldr	r3, .L26+20
	ldr	r0, [r6]
	ldr	r7, [r3]
	bl	PIDGET
	mov	r3, #0
	mov	r1, r0
	mov	r2, r5
	mov	r0, r7
	bl	ptrace
	cmn	r0, #1
	beq	.L25
.L10:
	mov	r1, r4
	mov	r0, r5
	bl	i387_fill_fsave
	ldr	r3, .L26+24
	ldr	r0, [r6]
	ldr	r4, [r3]
	bl	PIDGET
	mov	r2, r5
	mov	r1, r0
	mov	r3, #0
	mov	r0, r4
	bl	ptrace
	cmn	r0, #1
	bne	.L1
	ldr	r0, .L26+28
	bl	perror_with_name
	b	.L1
.L22:
	ldr	r0, .L26+32
	bl	perror_with_name
	b	.L4
.L23:
	ldr	r0, .L26+36
	bl	perror_with_name
	b	.L7
.L25:
	ldr	r0, .L26+40
	bl	perror_with_name
	b	.L10
.L24:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	.LC4
	.word	inferior_ptid
	.word	PT_GETREGS
	.word	PT_SETREGS
	.word	FP0_REGNUM
	.word	PT_GETFPREGS
	.word	PT_SETFPREGS
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	store_inferior_registers, .-store_inferior_registers
	.comm	inferior_ptid,4,4
	.comm	have_ptrace_xmmregs,4,4
	.comm	PT_SETXMMREGS,4,4
	.comm	PT_SETREGS,4,4
	.comm	PT_SETFPREGS,4,4
	.comm	PT_GETXMMREGS,4,4
	.comm	PT_GETREGS,4,4
	.comm	PT_GETFPREGS,4,4
	.comm	FP0_REGNUM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
