	.file	"extr_inferiors.c_remove_inferior.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	remove_inferior
	.type	remove_inferior, @function
remove_inferior:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR 8[rdi]
	cmp	rax, rsi
	je	.L16
	lea	rcx, 8[rdi]
	test	rax, rax
	jne	.L5
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rcx, rdx
	test	rax, rax
	je	.L1
.L5:
	mov	rdx, rax
	mov	rax, QWORD PTR [rax]
	cmp	rax, rsi
	jne	.L7
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	cmp	QWORD PTR [rdi], rax
	je	.L9
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR [rcx]
	mov	QWORD PTR [rdi], rax
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdx, QWORD PTR [rax]
	mov	QWORD PTR 8[rdi], rdx
	cmp	QWORD PTR [rdi], rax
	jne	.L1
	mov	QWORD PTR [rdi], rdx
	ret
.L17:
	ret
	.cfi_endproc
.LFE0:
	.size	remove_inferior, .-remove_inferior
	.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_inferiors.c_remove_inferior.c"
	.text
	.align	2
	.global	remove_inferior
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_inferior, %function
remove_inferior:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	cmp	r3, r1
	beq	.L21
	cmp	r3, #0
	add	ip, r0, #4
	bne	.L5
	bx	lr
.L7:
	cmp	r3, #0
	mov	ip, r2
	bxeq	lr
.L5:
	mov	r2, r3
	ldr	r3, [r3]
	cmp	r3, r1
	bne	.L7
	str	lr, [sp, #-4]!
	ldr	lr, [r0]
	ldr	r1, [r3]
	cmp	lr, r3
	str	r1, [r2]
	ldreq	r3, [ip]
	streq	r3, [r0]
	ldr	pc, [sp], #4
.L21:
	ldr	r1, [r0]
	ldr	r2, [r3]
	cmp	r1, r3
	str	r2, [r0, #4]
	streq	r2, [r0]
	bx	lr
	.size	remove_inferior, .-remove_inferior
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
