	.file	"333896.c"
	.intel_syntax noprefix
	.text
	.globl	SERVERS
	.data
	.align 16
	.type	SERVERS, @object
	.size	SERVERS, 16
SERVERS:
	.long	357
	.long	651
	.long	101
	.long	230
	.text
	.globl	remove_random
	.type	remove_random, @function
remove_random:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	rand@PLT
	movsx	rcx, eax
	movabs	rdx, -6148914691236517205
	mov	rax, rcx
	mul	rdx
	mov	rax, rdx
	shr	rax
	mov	rdx, rax
	add	rdx, rdx
	add	rdx, rax
	mov	rax, rcx
	sub	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rcx, SERVERS[rip]
	mov	edx, DWORD PTR [rdx+rcx]
	lea	ecx, -1[rdx]
	lea	rdx, 0[0+rax*4]
	lea	rax, SERVERS[rip]
	mov	DWORD PTR [rdx+rax], ecx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	remove_random, .-remove_random
	.globl	balance_request
	.type	balance_request, @function
balance_request:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, SERVERS[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	cmp	edx, eax
	jnb	.L4
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -8[rbp]
.L5:
	mov	DWORD PTR -8[rbp], eax
	add	DWORD PTR -4[rbp], 1
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, 3
	jbe	.L6
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, SERVERS[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, -1[rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, SERVERS[rip]
	mov	DWORD PTR [rdx+rax], ecx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	balance_request, .-balance_request
	.globl	servers_left
	.type	servers_left, @function
servers_left:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, SERVERS[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -8[rbp], eax
	add	DWORD PTR -4[rbp], 1
.L8:
	cmp	DWORD PTR -4[rbp], 3
	jbe	.L9
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	servers_left, .-servers_left
	.section	.rodata
.LC0:
	.string	"Happy April Fools!"
.LC1:
	.string	"%i requests handled\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], 0
	mov	eax, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	jmp	.L12
.L14:
	add	DWORD PTR -4[rbp], 1
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, ecx
	mov	eax, 3435973837
	imul	rax, rdx
	shr	rax, 32
	mov	edx, eax
	shr	edx, 3
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	test	edx, edx
	jne	.L13
	call	remove_random
.L13:
	call	balance_request
.L12:
	call	servers_left
	test	eax, eax
	jne	.L14
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.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	"333896.c"
	.text
	.global	SERVERS
	.data
	.align	2
	.type	SERVERS, %object
	.size	SERVERS, 16
SERVERS:
	.word	357
	.word	651
	.word	101
	.word	230
	.text
	.align	2
	.global	remove_random
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_random, %function
remove_random:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	rand
	mov	r3, r0
	mov	r1, r3
	ldr	r3, .L2
	umull	r2, r3, r1, r3
	lsr	r3, r3, #1
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	sub	r3, r1, r2
	ldr	r2, .L2+4
	ldr	r2, [r2, r3, lsl #2]
	sub	r2, r2, #1
	ldr	r1, .L2+4
	str	r2, [r1, r3, lsl #2]
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	-1431655765
	.word	SERVERS
	.size	remove_random, .-remove_random
	.align	2
	.global	balance_request
	.syntax unified
	.arm
	.fpu softvfp
	.type	balance_request, %function
balance_request:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L5
.L8:
	ldr	r2, .L9
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bcs	.L6
	ldr	r3, [fp, #-8]
	b	.L7
.L6:
	ldr	r3, [fp, #-12]
.L7:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	bls	.L8
	ldr	r2, .L9
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	sub	r2, r3, #1
	ldr	r1, .L9
	ldr	r3, [fp, #-12]
	str	r2, [r1, r3, lsl #2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L10:
	.align	2
.L9:
	.word	SERVERS
	.size	balance_request, .-balance_request
	.align	2
	.global	servers_left
	.syntax unified
	.arm
	.fpu softvfp
	.type	servers_left, %function
servers_left:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L12
.L13:
	ldr	r2, .L15
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L12:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	bls	.L13
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L16:
	.align	2
.L15:
	.word	SERVERS
	.size	servers_left, .-servers_left
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Happy April Fools!\000"
	.align	2
.LC1:
	.ascii	"%i requests handled\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	b	.L18
.L20:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r3, .L22
	umull	r2, r3, r1, r3
	lsr	r2, r3, #3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L19
	bl	remove_random
.L19:
	bl	balance_request
.L18:
	bl	servers_left
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	ldr	r0, .L22+4
	bl	puts
	ldr	r1, [fp, #-8]
	ldr	r0, .L22+8
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	-858993459
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
