	.file	"extr_lynx-nat.c_child_resume.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ptrace"
	.text
	.p2align 4
	.globl	child_resume
	.type	child_resume, @function
child_resume:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	PIDGET@PLT
	mov	QWORD PTR errno[rip], 0
	cmp	eax, -1
	je	.L9
	mov	r13d, DWORD PTR PTRACE_SINGLESTEP_ONE[rip]
	test	ebx, ebx
	mov	ebp, eax
	cmove	r13d, DWORD PTR PTRACE_CONT_ONE[rip]
.L4:
	mov	edi, r12d
	call	target_signal_to_host@PLT
	mov	edx, 1
	mov	esi, ebp
	mov	edi, r13d
	mov	ecx, eax
	call	ptrace@PLT
	cmp	QWORD PTR errno[rip], 0
	jne	.L10
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	lea	rdi, .LC0[rip]
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	perror_with_name@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR inferior_ptid[rip]
	call	PIDGET@PLT
	mov	r13d, DWORD PTR PTRACE_SINGLESTEP[rip]
	test	ebx, ebx
	cmove	r13d, DWORD PTR PTRACE_CONT[rip]
	mov	ebp, eax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	child_resume, .-child_resume
	.comm	inferior_ptid,4,4
	.comm	errno,8,8
	.comm	PTRACE_SINGLESTEP_ONE,4,4
	.comm	PTRACE_SINGLESTEP,4,4
	.comm	PTRACE_CONT_ONE,4,4
	.comm	PTRACE_CONT,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_lynx-nat.c_child_resume.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ptrace\000"
	.text
	.align	2
	.global	child_resume
	.syntax unified
	.arm
	.fpu softvfp
	.type	child_resume, %function
child_resume:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r7, r2
	bl	PIDGET
	mov	r3, #0
	ldr	r6, .L10
	cmn	r0, #1
	str	r3, [r6]
	beq	.L9
	mov	r4, r0
	cmp	r5, #0
	ldrne	r3, .L10+4
	ldreq	r3, .L10+8
	ldr	r5, [r3]
.L4:
	mov	r0, r7
	bl	target_signal_to_host
	mov	r1, r4
	mov	r3, r0
	mov	r2, #1
	mov	r0, r5
	bl	ptrace
	ldr	r3, [r6]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r0, .L10+12
	pop	{r4, r5, r6, r7, r8, lr}
	b	perror_with_name
.L9:
	ldr	r3, .L10+16
	ldr	r0, [r3]
	bl	PIDGET
	cmp	r5, #0
	ldrne	r3, .L10+20
	ldreq	r3, .L10+24
	mov	r4, r0
	ldr	r5, [r3]
	b	.L4
.L11:
	.align	2
.L10:
	.word	errno
	.word	PTRACE_SINGLESTEP_ONE
	.word	PTRACE_CONT_ONE
	.word	.LC0
	.word	inferior_ptid
	.word	PTRACE_SINGLESTEP
	.word	PTRACE_CONT
	.size	child_resume, .-child_resume
	.comm	inferior_ptid,4,4
	.comm	errno,4,4
	.comm	PTRACE_SINGLESTEP_ONE,4,4
	.comm	PTRACE_SINGLESTEP,4,4
	.comm	PTRACE_CONT_ONE,4,4
	.comm	PTRACE_CONT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
