	.file	"173633.c"
	.intel_syntax noprefix
	.text
	.local	content
	.comm	content,8,8
	.local	content_len
	.comm	content_len,8,8
	.section	.rodata
.LC0:
	.string	"Everything is fine"
	.text
	.type	http_basic_cb, @function
http_basic_cb:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	call	evbuffer_new@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR content_len[rip]
	mov	rcx, QWORD PTR content[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	evbuffer_add@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	mov	esi, 200
	mov	rdi, rax
	call	evhttp_send_reply@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	evbuffer_free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	http_basic_cb, .-http_basic_cb
	.type	http_ref_cb, @function
http_ref_cb:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	call	evbuffer_new@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR content_len[rip]
	mov	rsi, QWORD PTR content[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	r8d, 0
	mov	ecx, 0
	mov	rdi, rax
	call	evbuffer_add_reference@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	mov	esi, 200
	mov	rdi, rax
	call	evhttp_send_reply@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	evbuffer_free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	http_ref_cb, .-http_ref_cb
	.section	.rodata
.LC1:
	.string	"-%c requires argument.\n"
.LC2:
	.string	"Missing port\n"
.LC3:
	.string	"Bad port\n"
.LC4:
	.string	"Missing content length\n"
.LC5:
	.string	"Bad content length\n"
.LC6:
	.string	"Illegal argument \"%c\"\n"
	.align 8
.LC7:
	.string	"creating event_base failed. Exiting.\n"
.LC8:
	.string	"Cannot allocate content\n"
.LC9:
	.string	"/ind"
	.align 8
.LC10:
	.string	"/ind - basic content (memory copy)\n"
.LC11:
	.string	"IOCP"
	.align 8
.LC12:
	.string	"Serving %d bytes on port %d using %s\n"
.LC13:
	.string	"0.0.0.0"
	.text
	.globl	main
	.type	main, @function
main:
.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, 112
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	event_config_new@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -72[rbp], 0
	mov	WORD PTR -82[rbp], 8080
	mov	QWORD PTR -64[rbp], 0
	mov	esi, 1
	mov	edi, 13
	call	signal@PLT
	cmp	rax, -1
	jne	.L4
	mov	eax, 1
	jmp	.L28
.L4:
	mov	DWORD PTR -80[rbp], 1
	jmp	.L6
.L20:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L30
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -68[rbp], eax
	cmp	DWORD PTR -68[rbp], 112
	je	.L9
	cmp	DWORD PTR -68[rbp], 108
	jne	.L10
.L9:
	mov	eax, DWORD PTR -80[rbp]
	add	eax, 1
	cmp	DWORD PTR -100[rbp], eax
	jg	.L10
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -68[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	cmp	DWORD PTR -68[rbp], 108
	je	.L11
	cmp	DWORD PTR -68[rbp], 112
	jne	.L12
	mov	eax, DWORD PTR -80[rbp]
	add	eax, 1
	cmp	DWORD PTR -100[rbp], eax
	jle	.L13
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L14
.L13:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L14:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rcx, -64[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	WORD PTR -82[rbp], ax
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L31
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 9
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	mov	eax, DWORD PTR -80[rbp]
	add	eax, 1
	cmp	DWORD PTR -100[rbp], eax
	jle	.L16
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L17
.L16:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rcx, -64[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR content_len[rip], rax
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L18
	mov	rax, QWORD PTR content_len[rip]
	test	rax, rax
	jne	.L32
.L18:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -68[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L30:
	nop
	jmp	.L8
.L31:
	nop
	jmp	.L8
.L32:
	nop
.L8:
	add	DWORD PTR -80[rbp], 1
.L6:
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L20
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	event_base_new_with_config@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L21
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 37
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L28
.L21:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	evhttp_new@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR content_len[rip]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR content[rip], rax
	mov	rax, QWORD PTR content[rip]
	test	rax, rax
	jne	.L22
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L22:
	mov	DWORD PTR -76[rbp], 0
	mov	DWORD PTR -76[rbp], 0
	jmp	.L23
.L24:
	mov	rdx, QWORD PTR content[rip]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	add	rax, rdx
	mov	edx, DWORD PTR -76[rbp]
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -76[rbp], 1
.L23:
	mov	rax, QWORD PTR content_len[rip]
	cmp	DWORD PTR -76[rbp], eax
	jl	.L24
	mov	rax, QWORD PTR -40[rbp]
	mov	ecx, 0
	lea	rdx, http_basic_cb[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	evhttp_set_cb@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 35
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	cmp	DWORD PTR -72[rbp], 0
	jne	.L25
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	event_base_get_method@PLT
	jmp	.L26
.L25:
	lea	rax, .LC11[rip]
.L26:
	movzx	edx, WORD PTR -82[rbp]
	mov	rcx, QWORD PTR content_len[rip]
	mov	esi, ecx
	mov	rdi, QWORD PTR stderr[rip]
	mov	r8, rax
	mov	ecx, edx
	mov	edx, esi
	lea	rsi, .LC12[rip]
	mov	eax, 0
	call	fprintf@PLT
	movzx	edx, WORD PTR -82[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	evhttp_bind_socket@PLT
	cmp	DWORD PTR -72[rbp], 0
	je	.L27
	mov	QWORD PTR -32[rbp], 99999999
	mov	QWORD PTR -24[rbp], 0
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	event_base_loopexit@PLT
.L27:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	event_base_dispatch@PLT
	mov	eax, 0
.L28:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"173633.c"
	.text
	.local	content
	.comm	content,4,4
	.local	content_len
	.comm	content_len,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Everything is fine\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	http_basic_cb, %function
http_basic_cb:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	bl	evbuffer_new
	str	r0, [fp, #-8]
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, .L2+4
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	evbuffer_add
	ldr	r3, [fp, #-8]
	ldr	r2, .L2+8
	mov	r1, #200
	ldr	r0, [fp, #-16]
	bl	evhttp_send_reply
	ldr	r0, [fp, #-8]
	bl	evbuffer_free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	content
	.word	content_len
	.word	.LC0
	.size	http_basic_cb, .-http_basic_cb
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	http_ref_cb, %function
http_ref_cb:
	@ args = 0, pretend = 0, frame = 16
	@ 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]
	bl	evbuffer_new
	str	r0, [fp, #-8]
	ldr	r3, .L5
	ldr	r1, [r3]
	ldr	r3, .L5+4
	ldr	r2, [r3]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	ldr	r0, [fp, #-8]
	bl	evbuffer_add_reference
	ldr	r3, [fp, #-8]
	ldr	r2, .L5+8
	mov	r1, #200
	ldr	r0, [fp, #-16]
	bl	evhttp_send_reply
	ldr	r0, [fp, #-8]
	bl	evbuffer_free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	content
	.word	content_len
	.word	.LC0
	.size	http_ref_cb, .-http_ref_cb
	.section	.rodata
	.align	2
.LC1:
	.ascii	"-%c requires argument.\012\000"
	.align	2
.LC2:
	.ascii	"Missing port\012\000"
	.align	2
.LC3:
	.ascii	"Bad port\012\000"
	.align	2
.LC4:
	.ascii	"Missing content length\012\000"
	.align	2
.LC5:
	.ascii	"Bad content length\012\000"
	.align	2
.LC6:
	.ascii	"Illegal argument \"%c\"\012\000"
	.align	2
.LC7:
	.ascii	"creating event_base failed. Exiting.\012\000"
	.align	2
.LC8:
	.ascii	"Cannot allocate content\012\000"
	.align	2
.LC9:
	.ascii	"/ind\000"
	.align	2
.LC10:
	.ascii	"/ind - basic content (memory copy)\012\000"
	.align	2
.LC11:
	.ascii	"IOCP\000"
	.align	2
.LC12:
	.ascii	"Serving %d bytes on port %d using %s\012\000"
	.align	2
.LC13:
	.ascii	"0.0.0.0\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #68
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	bl	event_config_new
	str	r0, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r3, .L37+4
	strh	r3, [fp, #-66]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r1, #1
	mov	r0, #13
	bl	signal
	mov	r3, r0
	cmn	r3, #1
	bne	.L8
	mov	r3, #1
	b	.L32
.L8:
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L10
.L24:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L34
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #112
	beq	.L13
	ldr	r3, [fp, #-36]
	cmp	r3, #108
	bne	.L14
.L13:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	bgt	.L14
	ldr	r3, .L37+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	ldr	r1, .L37+12
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L14:
	ldr	r3, [fp, #-36]
	cmp	r3, #108
	beq	.L15
	ldr	r3, [fp, #-36]
	cmp	r3, #112
	bne	.L16
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	ble	.L17
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L18
.L17:
	ldr	r3, .L37+8
	ldr	r3, [r3]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L37+16
	bl	fwrite
	mov	r0, #1
	bl	exit
.L18:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r1, fp, #64
	mov	r2, #10
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	strh	r3, [fp, #-66]	@ movhi
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L35
	ldr	r3, .L37+8
	ldr	r3, [r3]
	mov	r2, #9
	mov	r1, #1
	ldr	r0, .L37+20
	bl	fwrite
	mov	r0, #1
	bl	exit
.L15:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	ble	.L20
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L21
.L20:
	ldr	r3, .L37+8
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L37+24
	bl	fwrite
	mov	r0, #1
	bl	exit
.L21:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r1, fp, #64
	mov	r2, #10
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L37+28
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L22
	ldr	r3, .L37+28
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L36
.L22:
	ldr	r3, .L37+8
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L37+32
	bl	fwrite
	mov	r0, #1
	bl	exit
.L16:
	ldr	r3, .L37+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	ldr	r1, .L37+36
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L34:
	nop
	b	.L12
.L35:
	nop
	b	.L12
.L36:
	nop
.L12:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L10:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	blt	.L24
	ldr	r0, [fp, #-52]
	bl	event_base_new_with_config
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L25
	ldr	r3, .L37+8
	ldr	r3, [r3]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, .L37+40
	bl	fwrite
	mov	r3, #1
	b	.L32
.L25:
	ldr	r0, [fp, #-44]
	bl	evhttp_new
	str	r0, [fp, #-40]
	ldr	r3, .L37+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L37+44
	str	r2, [r3]
	ldr	r3, .L37+44
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L26
	ldr	r3, .L37+8
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L37+48
	bl	fwrite
	mov	r0, #1
	bl	exit
.L26:
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L27
.L28:
	ldr	r3, .L37+44
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	ldr	r2, [fp, #-56]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L27:
	ldr	r3, .L37+28
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-56]
	cmp	r3, r2
	blt	.L28
	mov	r3, #0
	ldr	r2, .L37+52
	ldr	r1, .L37+56
	ldr	r0, [fp, #-40]
	bl	evhttp_set_cb
	ldr	r3, .L37+8
	ldr	r3, [r3]
	mov	r2, #35
	mov	r1, #1
	ldr	r0, .L37+60
	bl	fwrite
	ldr	r3, .L37+8
	ldr	r4, [r3]
	ldr	r3, .L37+28
	ldr	r3, [r3]
	mov	r6, r3
	ldrh	r5, [fp, #-66]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L29
	ldr	r0, [fp, #-44]
	bl	event_base_get_method
	mov	r3, r0
	b	.L30
.L29:
	ldr	r3, .L37+64
.L30:
	str	r3, [sp]
	mov	r3, r5
	mov	r2, r6
	ldr	r1, .L37+68
	mov	r0, r4
	bl	fprintf
	ldrh	r3, [fp, #-66]
	mov	r2, r3
	ldr	r1, .L37+72
	ldr	r0, [fp, #-40]
	bl	evhttp_bind_socket
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L31
	ldr	r3, .L37+76
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, [fp, #-44]
	bl	event_base_loopexit
.L31:
	ldr	r0, [fp, #-44]
	bl	event_base_dispatch
	mov	r3, #0
.L32:
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC14
	.word	8080
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	content_len
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	content
	.word	.LC8
	.word	http_basic_cb
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	99999999
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
