	.file	"670403.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"req"
.LC1:
	.string	"[error] %s\n"
	.text
	.type	get_cb, @function
get_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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L2:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 128[rax]
	mov	esi, 1
	mov	rdi, rax
	call	evbuffer_write@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_cb, .-get_cb
	.section	.rodata
.LC2:
	.string	"proxy_req"
.LC3:
	.string	"close"
.LC4:
	.string	"Connection"
	.align 8
.LC5:
	.string	"!evhttp_make_request(evcon, req, EVHTTP_REQ_GET, evhttp_uri_join(location, buffer, PATH_MAX))"
	.text
	.type	connect_cb, @function
connect_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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 64
	mov	QWORD PTR -4152[rbp], rdi
	mov	QWORD PTR -4160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -4160[rbp]
	mov	QWORD PTR -4144[rbp], rax
	mov	rax, QWORD PTR -4144[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -4136[rbp], rax
	mov	rax, QWORD PTR -4144[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -4128[rbp], rax
	cmp	QWORD PTR -4152[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC2[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L4:
	cmp	QWORD PTR -4136[rbp], 0
	je	.L7
	mov	esi, 0
	lea	rdi, get_cb[rip]
	call	evhttp_request_new@PLT
	mov	QWORD PTR -4120[rbp], rax
	mov	rax, QWORD PTR -4120[rbp]
	mov	rax, QWORD PTR 40[rax]
	lea	rdx, .LC3[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	evhttp_add_header@PLT
	lea	rcx, -4112[rbp]
	mov	rax, QWORD PTR -4128[rbp]
	mov	edx, 4096
	mov	rsi, rcx
	mov	rdi, rax
	call	evhttp_uri_join@PLT
	mov	rdx, rax
	mov	rsi, QWORD PTR -4120[rbp]
	mov	rax, QWORD PTR -4136[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	evhttp_make_request@PLT
	test	eax, eax
	je	.L7
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC5[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L7:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	connect_cb, .-connect_cb
	.section	.rodata
.LC6:
	.string	"Usage: %s proxy url\n"
.LC7:
	.string	"evhttp_uri_get_host(proxy)"
	.align 8
.LC8:
	.string	"evhttp_uri_get_port(proxy) > 0"
	.align 8
.LC9:
	.string	"evhttp_uri_get_host(host_port)"
	.align 8
.LC10:
	.string	"evhttp_uri_get_port(host_port) > 0"
.LC11:
	.string	"base = event_base_new()"
	.align 8
.LC12:
	.string	"evcon = evhttp_connection_base_new(base, NULL, evhttp_uri_get_host(proxy), evhttp_uri_get_port(proxy))"
	.align 8
.LC13:
	.string	"req = evhttp_request_new(connect_cb, &connect_base)"
.LC14:
	.string	"keep-alive"
.LC15:
	.string	"Proxy-Connection"
.LC16:
	.string	"%s:%d"
	.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
	push	rbx
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 104
	.cfi_offset 3, -24
	mov	DWORD PTR -4196[rbp], edi
	mov	QWORD PTR -4208[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -4196[rbp], 3
	je	.L9
	mov	rax, QWORD PTR -4208[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L10
.L9:
	mov	rax, QWORD PTR -4208[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	evhttp_uri_parse@PLT
	mov	QWORD PTR -4192[rbp], rax
	mov	rax, QWORD PTR -4192[rbp]
	mov	rdi, rax
	call	evhttp_uri_get_host@PLT
	test	rax, rax
	jne	.L11
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC7[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L11:
	mov	rax, QWORD PTR -4192[rbp]
	mov	rdi, rax
	call	evhttp_uri_get_port@PLT
	test	eax, eax
	jg	.L12
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC8[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L12:
	mov	rax, QWORD PTR -4208[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	evhttp_uri_parse@PLT
	mov	QWORD PTR -4184[rbp], rax
	mov	rax, QWORD PTR -4184[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	evhttp_uri_set_scheme@PLT
	mov	rax, QWORD PTR -4184[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	evhttp_uri_set_userinfo@PLT
	mov	rax, QWORD PTR -4184[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	evhttp_uri_set_path@PLT
	mov	rax, QWORD PTR -4184[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	evhttp_uri_set_query@PLT
	mov	rax, QWORD PTR -4184[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	evhttp_uri_set_fragment@PLT
	mov	rax, QWORD PTR -4184[rbp]
	mov	rdi, rax
	call	evhttp_uri_get_host@PLT
	test	rax, rax
	jne	.L13
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC9[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L13:
	mov	rax, QWORD PTR -4184[rbp]
	mov	rdi, rax
	call	evhttp_uri_get_port@PLT
	test	eax, eax
	jg	.L14
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC10[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L14:
	mov	rax, QWORD PTR -4208[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	evhttp_uri_parse@PLT
	mov	QWORD PTR -4176[rbp], rax
	mov	rax, QWORD PTR -4176[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	evhttp_uri_set_scheme@PLT
	mov	rax, QWORD PTR -4176[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	evhttp_uri_set_userinfo@PLT
	mov	rax, QWORD PTR -4176[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	evhttp_uri_set_host@PLT
	mov	rax, QWORD PTR -4176[rbp]
	mov	esi, -1
	mov	rdi, rax
	call	evhttp_uri_set_port@PLT
	call	event_base_new@PLT
	mov	QWORD PTR -4168[rbp], rax
	cmp	QWORD PTR -4168[rbp], 0
	jne	.L15
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC11[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L15:
	mov	rax, QWORD PTR -4192[rbp]
	mov	rdi, rax
	call	evhttp_uri_get_port@PLT
	movzx	ebx, ax
	mov	rax, QWORD PTR -4192[rbp]
	mov	rdi, rax
	call	evhttp_uri_get_host@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -4168[rbp]
	mov	ecx, ebx
	mov	esi, 0
	mov	rdi, rax
	call	evhttp_connection_base_new@PLT
	mov	QWORD PTR -4160[rbp], rax
	cmp	QWORD PTR -4160[rbp], 0
	jne	.L16
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC12[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L16:
	mov	rax, QWORD PTR -4160[rbp]
	mov	QWORD PTR -4144[rbp], rax
	mov	rax, QWORD PTR -4176[rbp]
	mov	QWORD PTR -4136[rbp], rax
	lea	rax, -4144[rbp]
	mov	rsi, rax
	lea	rdi, connect_cb[rip]
	call	evhttp_request_new@PLT
	mov	QWORD PTR -4152[rbp], rax
	cmp	QWORD PTR -4152[rbp], 0
	jne	.L17
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC13[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L17:
	mov	rax, QWORD PTR -4152[rbp]
	mov	rax, QWORD PTR 40[rax]
	lea	rdx, .LC14[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	evhttp_add_header@PLT
	mov	rax, QWORD PTR -4152[rbp]
	mov	rax, QWORD PTR 40[rax]
	lea	rdx, .LC14[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	evhttp_add_header@PLT
	mov	rax, QWORD PTR -4184[rbp]
	mov	rdi, rax
	call	evhttp_uri_get_port@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -4184[rbp]
	mov	rdi, rax
	call	evhttp_uri_get_host@PLT
	mov	rdx, rax
	lea	rax, -4128[rbp]
	mov	r8d, ebx
	mov	rcx, rdx
	lea	rdx, .LC16[rip]
	mov	esi, 4096
	mov	rdi, rax
	mov	eax, 0
	call	evutil_snprintf@PLT
	lea	rdx, -4128[rbp]
	mov	rsi, QWORD PTR -4152[rbp]
	mov	rax, QWORD PTR -4160[rbp]
	mov	rcx, rdx
	mov	edx, 128
	mov	rdi, rax
	call	evhttp_make_request@PLT
	mov	rax, QWORD PTR -4168[rbp]
	mov	rdi, rax
	call	event_base_dispatch@PLT
	mov	rax, QWORD PTR -4160[rbp]
	mov	rdi, rax
	call	evhttp_connection_free@PLT
	mov	rax, QWORD PTR -4168[rbp]
	mov	rdi, rax
	call	event_base_free@PLT
	mov	rax, QWORD PTR -4192[rbp]
	mov	rdi, rax
	call	evhttp_uri_free@PLT
	mov	rax, QWORD PTR -4184[rbp]
	mov	rdi, rax
	call	evhttp_uri_free@PLT
	mov	rax, QWORD PTR -4176[rbp]
	mov	rdi, rax
	call	evhttp_uri_free@PLT
	mov	eax, 0
.L10:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	mov	rbx, QWORD PTR -8[rbp]
	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	"670403.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"req\000"
	.align	2
.LC1:
	.ascii	"[error] %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_cb, %function
get_cb:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L3
	ldr	r3, [r3]
	ldr	r2, .L3+4
	ldr	r1, .L3+8
	mov	r0, r3
	bl	fprintf
.L2:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #72]
	mov	r1, #1
	mov	r0, r3
	bl	evbuffer_write
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	stderr
	.word	.LC0
	.word	.LC1
	.size	get_cb, .-get_cb
	.section	.rodata
	.align	2
.LC2:
	.ascii	"proxy_req\000"
	.align	2
.LC3:
	.ascii	"close\000"
	.align	2
.LC4:
	.ascii	"Connection\000"
	.align	2
.LC5:
	.ascii	"!evhttp_make_request(evcon, req, EVHTTP_REQ_GET, ev"
	.ascii	"http_uri_join(location, buffer, PATH_MAX))\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	connect_cb, %function
connect_cb:
	@ args = 0, pretend = 0, frame = 4128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4096
	sub	sp, sp, #36
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-32]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	str	r3, [r2, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	ldr	r3, [r3]
	str	r3, [r2, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	ldr	r3, [r3, #4]
	str	r3, [r2, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L10+4
	ldr	r3, [r3]
	ldr	r2, .L10+8
	ldr	r1, .L10+12
	mov	r0, r3
	bl	fprintf
.L6:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #0
	beq	.L9
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	mov	r1, #0
	ldr	r0, .L10+16
	bl	evhttp_request_new
	str	r0, [r4, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	ldr	r3, [r3, #20]
	ldr	r2, .L10+20
	ldr	r1, .L10+24
	mov	r0, r3
	bl	evhttp_add_header
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #4096
	mov	r1, r3
	ldr	r0, [r0, #-12]
	bl	evhttp_uri_join
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #1
	ldr	r1, [r1, #-8]
	ldr	r0, [r0, #-16]
	bl	evhttp_make_request
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L10+4
	ldr	r3, [r3]
	ldr	r2, .L10+28
	ldr	r1, .L10+12
	mov	r0, r3
	bl	fprintf
.L9:
	nop
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC6
	.word	stderr
	.word	.LC2
	.word	.LC1
	.word	get_cb
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	connect_cb, .-connect_cb
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Usage: %s proxy url\012\000"
	.align	2
.LC8:
	.ascii	"evhttp_uri_get_host(proxy)\000"
	.align	2
.LC9:
	.ascii	"evhttp_uri_get_port(proxy) > 0\000"
	.align	2
.LC10:
	.ascii	"evhttp_uri_get_host(host_port)\000"
	.align	2
.LC11:
	.ascii	"evhttp_uri_get_port(host_port) > 0\000"
	.align	2
.LC12:
	.ascii	"base = event_base_new()\000"
	.align	2
.LC13:
	.ascii	"evcon = evhttp_connection_base_new(base, NULL, evht"
	.ascii	"tp_uri_get_host(proxy), evhttp_uri_get_port(proxy))"
	.ascii	"\000"
	.align	2
.LC14:
	.ascii	"req = evhttp_request_new(connect_cb, &connect_base)"
	.ascii	"\000"
	.align	2
.LC15:
	.ascii	"keep-alive\000"
	.align	2
.LC16:
	.ascii	"Proxy-Connection\000"
	.align	2
.LC17:
	.ascii	"%s:%d\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #4096
	sub	sp, sp, #56
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-44]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-48]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	cmp	r3, #3
	beq	.L13
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L24+4
	bl	printf
	mov	r3, #1
	b	.L22
.L13:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	evhttp_uri_parse
	str	r0, [r4, #-36]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-36]
	bl	evhttp_uri_get_host
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	ldr	r3, .L24+8
	ldr	r3, [r3]
	ldr	r2, .L24+12
	ldr	r1, .L24+16
	mov	r0, r3
	bl	fprintf
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-36]
	bl	evhttp_uri_get_port
	mov	r3, r0
	cmp	r3, #0
	bgt	.L16
	ldr	r3, .L24+8
	ldr	r3, [r3]
	ldr	r2, .L24+20
	ldr	r1, .L24+16
	mov	r0, r3
	bl	fprintf
.L16:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	evhttp_uri_parse
	str	r0, [r4, #-32]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, #0
	ldr	r0, [r3, #-32]
	bl	evhttp_uri_set_scheme
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, #0
	ldr	r0, [r3, #-32]
	bl	evhttp_uri_set_userinfo
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, #0
	ldr	r0, [r3, #-32]
	bl	evhttp_uri_set_path
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, #0
	ldr	r0, [r3, #-32]
	bl	evhttp_uri_set_query
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, #0
	ldr	r0, [r3, #-32]
	bl	evhttp_uri_set_fragment
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-32]
	bl	evhttp_uri_get_host
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L24+8
	ldr	r3, [r3]
	ldr	r2, .L24+24
	ldr	r1, .L24+16
	mov	r0, r3
	bl	fprintf
.L17:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-32]
	bl	evhttp_uri_get_port
	mov	r3, r0
	cmp	r3, #0
	bgt	.L18
	ldr	r3, .L24+8
	ldr	r3, [r3]
	ldr	r2, .L24+28
	ldr	r1, .L24+16
	mov	r0, r3
	bl	fprintf
.L18:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	evhttp_uri_parse
	str	r0, [r4, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, #0
	ldr	r0, [r3, #-28]
	bl	evhttp_uri_set_scheme
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, #0
	ldr	r0, [r3, #-28]
	bl	evhttp_uri_set_userinfo
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, #0
	ldr	r0, [r3, #-28]
	bl	evhttp_uri_set_host
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mvn	r1, #0
	ldr	r0, [r3, #-28]
	bl	evhttp_uri_set_port
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	bl	event_base_new
	str	r0, [r4, #-24]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	cmp	r3, #0
	bne	.L19
	ldr	r3, .L24+8
	ldr	r3, [r3]
	ldr	r2, .L24+32
	ldr	r1, .L24+16
	mov	r0, r3
	bl	fprintf
.L19:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-36]
	bl	evhttp_uri_get_host
	mov	r4, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-36]
	bl	evhttp_uri_get_port
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r5, r2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r4
	mov	r1, #0
	ldr	r0, [r0, #-24]
	bl	evhttp_connection_base_new
	str	r0, [r5, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmp	r3, #0
	bne	.L20
	ldr	r3, .L24+8
	ldr	r3, [r3]
	ldr	r2, .L24+36
	ldr	r1, .L24+16
	mov	r0, r3
	bl	fprintf
.L20:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	str	r3, [r2, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	str	r3, [r2, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L24+40
	bl	evhttp_request_new
	str	r0, [r4, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #0
	bne	.L21
	ldr	r3, .L24+8
	ldr	r3, [r3]
	ldr	r2, .L24+44
	ldr	r1, .L24+16
	mov	r0, r3
	bl	fprintf
.L21:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	ldr	r3, [r3, #20]
	ldr	r2, .L24+48
	ldr	r1, .L24+52
	mov	r0, r3
	bl	evhttp_add_header
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	ldr	r3, [r3, #20]
	ldr	r2, .L24+48
	ldr	r1, .L24+56
	mov	r0, r3
	bl	evhttp_add_header
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-32]
	bl	evhttp_uri_get_host
	mov	r4, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-32]
	bl	evhttp_uri_get_port
	mov	r3, r0
	sub	r0, fp, #4096
	sub	r0, r0, #12
	sub	r0, r0, #4
	str	r3, [sp]
	mov	r3, r4
	ldr	r2, .L24+60
	mov	r1, #4096
	bl	evutil_snprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #128
	ldr	r1, [r1, #-16]
	ldr	r0, [r0, #-20]
	bl	evhttp_make_request
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-24]
	bl	event_base_dispatch
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-20]
	bl	evhttp_connection_free
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-24]
	bl	event_base_free
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-36]
	bl	evhttp_uri_free
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-32]
	bl	evhttp_uri_free
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-28]
	bl	evhttp_uri_free
	mov	r3, #0
.L22:
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC18
	.word	.LC7
	.word	stderr
	.word	.LC8
	.word	.LC1
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	connect_cb
	.word	.LC14
	.word	.LC15
	.word	.LC4
	.word	.LC16
	.word	.LC17
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
