	.file	"extr_gnu-nat.c_inf_set_traced.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"No signal thread"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Can't modify tracing state for pid %d: %s"
	.text
	.p2align 4
	.globl	inf_set_traced
	.type	inf_set_traced, @function
inf_set_traced:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR [rdi], esi
	je	.L16
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 8[rdi]
	test	rax, rax
	je	.L5
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L5
	xor	ecx, ecx
	test	esi, esi
	mov	edx, DWORD PTR INIT_TRACEMASK[rip]
	mov	esi, DWORD PTR refport[rip]
	setne	cl
	mov	edi, DWORD PTR msgport[rip]
	neg	ecx
	call	msg_set_init_int@PLT
	mov	rdi, rbx
	mov	esi, eax
	call	INF_RESUME_MSGPORT_RPC@PLT
	cmp	QWORD PTR EIEIO[rip], rax
	je	.L20
	test	rax, rax
	je	.L5
	mov	rdi, rax
	call	safe_strerror@PLT
	mov	esi, DWORD PTR 4[rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, .LC1[rip]
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	mov	rdx, rax
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	warning@PLT
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	test	ebp, ebp
	je	.L5
	mov	esi, DWORD PTR 4[rbx]
	lea	rdx, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	warning@PLT
.L5:
	mov	DWORD PTR [rbx], ebp
	add	rsp, 8
	.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
.L16:
	.cfi_restore 3
	.cfi_restore 6
	ret
	.cfi_endproc
.LFE0:
	.size	inf_set_traced, .-inf_set_traced
	.comm	refport,4,4
	.comm	msgport,4,4
	.comm	INIT_TRACEMASK,4,4
	.comm	EIEIO,8,8
	.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_gnu-nat.c_inf_set_traced.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"No signal thread\000"
	.align	2
.LC1:
	.ascii	"Can't modify tracing state for pid %d: %s\000"
	.text
	.align	2
	.global	inf_set_traced
	.syntax unified
	.arm
	.fpu softvfp
	.type	inf_set_traced, %function
inf_set_traced:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	cmp	r3, r1
	bxeq	lr
	ldr	r3, [r0, #8]
	push	{r4, r5, r6, lr}
	cmp	r3, #0
	mov	r4, r0
	mov	r5, r1
	beq	.L5
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L5
	subs	r3, r1, #0
	movne	r3, #1
	ldr	r2, .L21
	ldr	r1, .L21+4
	ldr	r0, .L21+8
	ldr	r2, [r2]
	ldr	r1, [r1]
	rsb	r3, r3, #0
	ldr	r0, [r0]
	bl	msg_set_init_int
	mov	r1, r0
	mov	r0, r4
	bl	INF_RESUME_MSGPORT_RPC
	ldr	r2, .L21+12
	ldr	r2, [r2]
	cmp	r2, r0
	beq	.L20
	cmp	r0, #0
	beq	.L5
	ldr	r4, [r4, #4]
	bl	safe_strerror
	mov	r1, r4
	pop	{r4, r5, r6, lr}
	mov	r2, r0
	ldr	r0, .L21+16
	b	warning
.L20:
	cmp	r5, #0
	beq	.L5
	ldr	r2, .L21+20
	ldr	r1, [r4, #4]
	ldr	r0, .L21+16
	bl	warning
.L5:
	str	r5, [r4]
	pop	{r4, r5, r6, pc}
.L22:
	.align	2
.L21:
	.word	INIT_TRACEMASK
	.word	refport
	.word	msgport
	.word	EIEIO
	.word	.LC1
	.word	.LC0
	.size	inf_set_traced, .-inf_set_traced
	.comm	refport,4,4
	.comm	msgport,4,4
	.comm	INIT_TRACEMASK,4,4
	.comm	EIEIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
