	.file	"115766643.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"WARNING: No %s available\n"
.LC1:
	.string	"%s ID: %i\n"
	.text
	.globl	array_find_deleted_id
	.type	array_find_deleted_id, @function
array_find_deleted_id:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	eax, edx
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -56[rbp], r8
	mov	WORD PTR -36[rbp], ax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -2[rbp], ax
	cmp	WORD PTR -2[rbp], 0
	setle	dl
	movzx	eax, WORD PTR -2[rbp]
	cmp	ax, WORD PTR -36[rbp]
	setge	al
	or	eax, edx
	test	al, al
	je	.L3
	mov	WORD PTR -2[rbp], 1
	jmp	.L3
.L6:
	movsx	rax, WORD PTR -2[rbp]
	imul	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -3[rbp], al
	cmp	BYTE PTR -3[rbp], 0
	jne	.L4
	movzx	eax, WORD PTR -2[rbp]
	add	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	WORD PTR [rax], dx
	jmp	.L5
.L4:
	movzx	eax, WORD PTR -2[rbp]
	add	eax, 1
	mov	WORD PTR -2[rbp], ax
.L3:
	movzx	eax, WORD PTR -2[rbp]
	cmp	ax, WORD PTR -36[rbp]
	jl	.L6
.L5:
	movzx	eax, WORD PTR -2[rbp]
	cmp	ax, WORD PTR -36[rbp]
	jl	.L7
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	WORD PTR -2[rbp], 0
.L7:
	movsx	edx, WORD PTR -2[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR -2[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	array_find_deleted_id, .-array_find_deleted_id
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"115766643.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"WARNING: No %s available\012\000"
	.align	2
.LC1:
	.ascii	"%s ID: %i\012\000"
	.text
	.align	2
	.global	array_find_deleted_id
	.syntax unified
	.arm
	.fpu softvfp
	.type	array_find_deleted_id, %function
array_find_deleted_id:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r3, [fp, #-28]
	mov	r3, r2	@ movhi
	strh	r3, [fp, #-22]	@ movhi
	ldr	r3, [fp, #-16]
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	ldrsh	r3, [fp, #-6]
	cmp	r3, #0
	movle	r3, #1
	movgt	r3, #0
	and	r2, r3, #255
	ldrsh	r1, [fp, #-6]
	ldrsh	r3, [fp, #-22]
	cmp	r1, r3
	movge	r3, #1
	movlt	r3, #0
	and	r3, r3, #255
	orr	r3, r2, r3
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L3
	mov	r3, #1
	strh	r3, [fp, #-6]	@ movhi
	b	.L3
.L6:
	ldrsh	r3, [fp, #-6]
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-7]
	ldrb	r3, [fp, #-7]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
	ldrh	r3, [fp, #-6]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-16]
	strh	r2, [r3]	@ movhi
	b	.L5
.L4:
	ldrsh	r3, [fp, #-6]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-6]	@ movhi
.L3:
	ldrsh	r2, [fp, #-6]
	ldrsh	r3, [fp, #-22]
	cmp	r2, r3
	blt	.L6
.L5:
	ldrsh	r2, [fp, #-6]
	ldrsh	r3, [fp, #-22]
	cmp	r2, r3
	blt	.L7
	ldr	r1, [fp, #4]
	ldr	r0, .L9
	bl	printf
	mov	r3, #0
	strh	r3, [fp, #-6]	@ movhi
.L7:
	ldrsh	r3, [fp, #-6]
	mov	r2, r3
	ldr	r1, [fp, #4]
	ldr	r0, .L9+4
	bl	printf
	ldrsh	r3, [fp, #-6]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	.LC1
	.size	array_find_deleted_id, .-array_find_deleted_id
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
