	.file	"559713.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Timeout!"
.LC1:
	.string	"accept_any()"
	.align 8
.LC2:
	.string	"Responding to client with service %d\n"
	.align 8
.LC3:
	.string	"Request received from %s, on port %d\n"
	.string	""
.LC4:
	.string	"nslookup %s"
.LC5:
	.string	"Unrecognized service %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 280
	.cfi_offset 3, -24
	mov	DWORD PTR -276[rbp], edi
	mov	QWORD PTR -288[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	movabs	rax, 8317981851476258668
	mov	edx, 116
	mov	QWORD PTR -192[rbp], rax
	mov	QWORD PTR -184[rbp], rdx
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	edi, 8080
	call	sock_init
	mov	DWORD PTR -240[rbp], eax
	mov	edi, 8000
	call	sock_init
	mov	DWORD PTR -236[rbp], eax
.L10:
	lea	rdx, -224[rbp]
	lea	rax, -240[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	accept_any
	mov	DWORD PTR -260[rbp], eax
	cmp	DWORD PTR -260[rbp], -2
	jne	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L2:
	cmp	DWORD PTR -260[rbp], -1
	jne	.L3
	lea	rdi, .LC1[rip]
	call	perror@PLT
	jmp	.L4
.L3:
	call	fork@PLT
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR -220[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -220[rbp]
	test	eax, eax
	je	.L6
	cmp	eax, 1
	je	.L7
	jmp	.L12
.L6:
	movzx	eax, WORD PTR -214[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	ebx, ax
	mov	eax, DWORD PTR -212[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rdx, rax
	lea	rax, -160[rbp]
	mov	ecx, ebx
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -256[rbp], rax
	lea	rax, -256[rbp]
	mov	rdi, rax
	call	ctime@PLT
	mov	QWORD PTR -248[rbp], rax
	mov	rdx, QWORD PTR -248[rbp]
	lea	rax, -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L9
.L7:
	lea	rax, -192[rbp]
	mov	edx, 32
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -224[rbp]
	lea	rcx, -192[rbp]
	mov	edx, 32
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	lea	rdx, -192[rbp]
	lea	rax, -160[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -232[rbp]
	mov	rdi, rax
	call	pipe@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -228[rbp]
	mov	esi, edx
	mov	edi, eax
	call	dup2@PLT
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	system@PLT
	lea	rax, -160[rbp]
	mov	edx, 128
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -232[rbp]
	lea	rcx, -160[rbp]
	mov	edx, 128
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	eax, DWORD PTR -232[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L9
.L12:
	mov	eax, DWORD PTR -220[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -224[rbp]
	lea	rcx, -160[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -224[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 0
	call	exit@PLT
.L5:
	mov	eax, DWORD PTR -224[rbp]
	mov	edi, eax
	call	close@PLT
.L4:
	jmp	.L10
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC6:
	.string	"socket()"
.LC7:
	.string	"bind()"
	.text
	.globl	sock_init
	.type	sock_init, @function
sock_init:
.LFB7:
	.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	DWORD PTR -52[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	WORD PTR -32[rbp], 2
	mov	DWORD PTR -28[rbp], 0
	mov	eax, DWORD PTR -52[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -30[rbp], ax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	jns	.L14
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L14:
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L15
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, 3
	mov	edi, eax
	call	listen@PLT
	mov	eax, DWORD PTR -36[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	sock_init, .-sock_init
	.globl	accept_any
	.type	accept_any, @function
accept_any:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 224
	mov	QWORD PTR -200[rbp], rdi
	mov	DWORD PTR -204[rbp], esi
	mov	QWORD PTR -216[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -176[rbp], -1
	mov	DWORD PTR -184[rbp], 16
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -144[rbp]
	mov	rdi, rdx
#APP
# 128 "the_stack_data/559713.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -172[rbp], edx
	mov	DWORD PTR -168[rbp], eax
	mov	QWORD PTR -160[rbp], 300
	mov	QWORD PTR -152[rbp], 0
	mov	DWORD PTR -180[rbp], 0
	jmp	.L19
.L21:
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -144[rbp+rax*8]
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -144[rbp+rax*8], rdx
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -176[rbp], eax
	jge	.L20
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -176[rbp], eax
.L20:
	add	DWORD PTR -180[rbp], 1
.L19:
	mov	eax, DWORD PTR -180[rbp]
	cmp	eax, DWORD PTR -204[rbp]
	jl	.L21
	mov	eax, DWORD PTR -176[rbp]
	lea	edi, 1[rax]
	lea	rdx, -160[rbp]
	lea	rax, -144[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 0
	jns	.L22
	mov	eax, -1
	jmp	.L27
.L22:
	mov	DWORD PTR -164[rbp], 0
	mov	DWORD PTR -180[rbp], 0
	jmp	.L24
.L26:
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -144[rbp+rax*8]
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	rax, rsi
	test	rax, rax
	je	.L25
	mov	rax, QWORD PTR -216[rbp]
	lea	rcx, 8[rax]
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	lea	rdx, -184[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	rdx, QWORD PTR -216[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -216[rbp]
	mov	edx, DWORD PTR -180[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	eax, 0
	jmp	.L27
.L25:
	add	DWORD PTR -180[rbp], 1
.L24:
	mov	eax, DWORD PTR -180[rbp]
	cmp	eax, DWORD PTR -204[rbp]
	jl	.L26
	mov	eax, -2
.L27:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	accept_any, .-accept_any
	.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	"559713.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Timeout!\000"
	.align	2
.LC2:
	.ascii	"accept_any()\000"
	.align	2
.LC3:
	.ascii	"Responding to client with service %d\012\000"
	.align	2
.LC4:
	.ascii	"Request received from %s, on port %d\012\000\000"
	.align	2
.LC5:
	.ascii	"nslookup %s\000"
	.align	2
.LC6:
	.ascii	"Unrecognized service %d\012\000"
	.align	2
.LC0:
	.ascii	"localhost\000"
	.space	22
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #228
	str	r0, [fp, #-232]
	str	r1, [fp, #-236]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r2, .L13+4
	sub	r3, fp, #176
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #166
	mov	r2, #22
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, .L13+8
	bl	sock_init
	mov	r3, r0
	str	r3, [fp, #-216]
	mov	r0, #8000
	bl	sock_init
	mov	r3, r0
	str	r3, [fp, #-212]
.L10:
	sub	r2, fp, #200
	sub	r3, fp, #216
	mov	r1, #2
	mov	r0, r3
	bl	accept_any
	str	r0, [fp, #-224]
	ldr	r3, [fp, #-224]
	cmn	r3, #2
	bne	.L2
	ldr	r0, .L13+12
	bl	puts
	mov	r0, #0
	bl	exit
.L2:
	ldr	r3, [fp, #-224]
	cmn	r3, #1
	bne	.L3
	ldr	r0, .L13+16
	bl	perror
	b	.L4
.L3:
	bl	fork
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-196]
	mov	r1, r3
	ldr	r0, .L13+20
	bl	printf
	ldr	r3, [fp, #-196]
	cmp	r3, #0
	beq	.L6
	cmp	r3, #1
	beq	.L7
	b	.L12
.L6:
	ldr	r0, [fp, #-188]
	bl	inet_ntoa
	mov	r4, r0
	ldrh	r3, [fp, #-190]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	sub	r0, fp, #144
	mov	r2, r4
	ldr	r1, .L13+24
	bl	sprintf
	mov	r0, #0
	bl	time
	mov	r3, r0
	str	r3, [fp, #-228]
	sub	r3, fp, #228
	mov	r0, r3
	bl	ctime
	str	r0, [fp, #-220]
	sub	r3, fp, #144
	ldr	r1, [fp, #-220]
	mov	r0, r3
	bl	strcpy
	b	.L9
.L7:
	sub	r3, fp, #176
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-200]
	sub	r1, fp, #176
	mov	r2, #32
	mov	r0, r3
	bl	read
	sub	r2, fp, #176
	sub	r3, fp, #144
	ldr	r1, .L13+28
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #208
	mov	r0, r3
	bl	pipe
	ldr	r4, [fp, #-204]
	ldr	r3, .L13+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	dup2
	sub	r3, fp, #144
	mov	r0, r3
	bl	system
	sub	r3, fp, #144
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-208]
	sub	r1, fp, #144
	mov	r2, #128
	mov	r0, r3
	bl	read
	ldr	r3, [fp, #-208]
	mov	r0, r3
	bl	close
	b	.L9
.L12:
	ldr	r3, [fp, #-196]
	mov	r1, r3
	ldr	r0, .L13+36
	bl	printf
.L9:
	ldr	r4, [fp, #-200]
	sub	r3, fp, #144
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #144
	mov	r1, r3
	mov	r0, r4
	bl	write
	ldr	r3, [fp, #-200]
	mov	r0, r3
	bl	close
	mov	r0, #0
	bl	exit
.L5:
	ldr	r3, [fp, #-200]
	mov	r0, r3
	bl	close
.L4:
	b	.L10
.L14:
	.align	2
.L13:
	.word	.LC7
	.word	.LC0
	.word	8080
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	stdout
	.word	.LC6
	.size	main, .-main
	.section	.rodata
	.align	2
.LC8:
	.ascii	"socket()\000"
	.align	2
.LC9:
	.ascii	"bind()\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sock_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	sock_init, %function
sock_init:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #2
	strh	r3, [fp, #-24]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-22]	@ movhi
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L16
	ldr	r0, .L20+4
	bl	perror
	mov	r0, #1
	bl	exit
.L16:
	sub	r3, fp, #24
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L17
	ldr	r0, .L20+8
	bl	perror
	mov	r0, #1
	bl	exit
.L17:
	mov	r1, #3
	ldr	r0, [fp, #-28]
	bl	listen
	ldr	r3, [fp, #-28]
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC10
	.word	.LC8
	.word	.LC9
	.size	sock_init, .-sock_init
	.section	.rodata
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	accept_any
	.syntax unified
	.arm
	.fpu softvfp
	.type	accept_any, %function
accept_any:
	@ args = 0, pretend = 0, frame = 184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #192
	str	r0, [fp, #-176]
	str	r1, [fp, #-180]
	str	r2, [fp, #-184]
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-160]
	mov	r3, #16
	str	r3, [fp, #-168]
	sub	r3, fp, #136
	str	r3, [fp, #-152]
	mov	r3, #0
	str	r3, [fp, #-156]
	b	.L23
.L24:
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-156]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	str	r3, [fp, #-156]
.L23:
	ldr	r3, [fp, #-156]
	cmp	r3, #31
	bls	.L24
	mov	r3, #300
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-140]
	mov	r3, #0
	str	r3, [fp, #-164]
	b	.L25
.L27:
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-132]
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	ldr	r0, [fp, #-176]
	add	r3, r0, r3
	ldr	r3, [r3]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-132]
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-160]
	cmp	r2, r3
	bge	.L26
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-160]
.L26:
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
.L25:
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-180]
	cmp	r2, r3
	blt	.L27
	ldr	r3, [fp, #-160]
	add	r0, r3, #1
	sub	r1, fp, #136
	sub	r3, fp, #144
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	str	r0, [fp, #-148]
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bge	.L28
	mvn	r3, #0
	b	.L33
.L28:
	mov	r3, #0
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-164]
	b	.L30
.L32:
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-132]
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-176]
	add	r3, r1, r3
	ldr	r3, [r3]
	rsbs	r1, r3, #0
	and	r3, r3, #31
	and	r1, r1, #31
	rsbpl	r3, r1, #0
	mov	r1, #1
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-184]
	add	r3, r3, #8
	sub	r2, fp, #168
	mov	r1, r3
	bl	accept
	mov	r2, r0
	ldr	r3, [fp, #-184]
	str	r2, [r3]
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-164]
	str	r2, [r3, #4]
	mov	r3, #0
	b	.L33
.L31:
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
.L30:
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-180]
	cmp	r2, r3
	blt	.L32
	mvn	r3, #1
.L33:
	ldr	r2, .L35
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC11
	.size	accept_any, .-accept_any
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
