	.file	"extr_http2-pushinmemory.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 12[rsp], 1
	call	curl_multi_init@PLT
	mov	rbp, rax
	xor	eax, eax
	call	curl_easy_init@PLT
	mov	r12, rax
	mov	rdi, rax
	call	setup@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	curl_multi_add_handle@PLT
	mov	rdx, QWORD PTR CURLPIPE_MULTIPLEX[rip]
	mov	esi, DWORD PTR CURLMOPT_PIPELINING[rip]
	mov	rdi, rbp
	call	curl_multi_setopt@PLT
	mov	rdx, QWORD PTR server_push_callback[rip]
	mov	esi, DWORD PTR CURLMOPT_PUSHFUNCTION[rip]
	mov	rdi, rbp
	call	curl_multi_setopt@PLT
	mov	esi, DWORD PTR CURLMOPT_PUSHDATA[rip]
	lea	rdx, 12[rsp]
	mov	rdi, rbp
	call	curl_multi_setopt@PLT
	mov	ecx, DWORD PTR 12[rsp]
	test	ecx, ecx
	je	.L3
	lea	r12, 8[rsp]
	lea	r13, 16[rsp]
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rsi, r12
	mov	rdi, rbp
	call	curl_multi_perform@PLT
	test	rax, rax
	jne	.L3
	xor	edx, edx
	xor	esi, esi
	mov	r8, r13
	mov	ecx, 1000
	mov	rdi, rbp
	call	curl_multi_wait@PLT
	test	rax, rax
	jne	.L3
	lea	rbx, 20[rsp]
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rsi, rbx
	mov	rdi, rbp
	mov	DWORD PTR 20[rsp], 0
	call	curl_multi_info_read@PLT
	test	rax, rax
	je	.L5
	mov	rcx, QWORD PTR CURLMSG_DONE[rip]
	cmp	QWORD PTR [rax], rcx
	jne	.L10
	mov	r14, QWORD PTR 8[rax]
	mov	rdi, rbp
	sub	DWORD PTR 12[rsp], 1
	mov	rsi, r14
	call	curl_multi_remove_handle@PLT
	mov	rdi, r14
	call	curl_easy_cleanup@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR 12[rsp]
	test	eax, eax
	jne	.L2
.L3:
	mov	rdi, rbp
	call	curl_multi_cleanup@PLT
	mov	edx, DWORD PTR pushindex[rip]
	test	edx, edx
	jle	.L7
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR files[rip]
	mov	edi, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	call	free@PLT
	cmp	DWORD PTR pushindex[rip], ebx
	jg	.L8
.L7:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	server_push_callback,8,8
	.comm	pushindex,4,4
	.comm	files,8,8
	.comm	CURLPIPE_MULTIPLEX,8,8
	.comm	CURLMSG_DONE,8,8
	.comm	CURLMOPT_PUSHFUNCTION,4,4
	.comm	CURLMOPT_PUSHDATA,4,4
	.comm	CURLMOPT_PIPELINING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_http2-pushinmemory.c_main.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #1
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r2, .L19
	sub	sp, sp, #32
	ldr	r2, [r2]
	str	r2, [sp, #28]
	mov	r2,#0
	str	r3, [sp, #16]
	bl	curl_multi_init
	mov	r5, r0
	bl	curl_easy_init
	mov	r4, r0
	bl	setup
	mov	r1, r4
	mov	r0, r5
	bl	curl_multi_add_handle
	ldr	r3, .L19+4
	ldr	r2, .L19+8
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r0, r5
	bl	curl_multi_setopt
	ldr	r3, .L19+12
	ldr	r2, .L19+16
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r0, r5
	bl	curl_multi_setopt
	ldr	r3, .L19+20
	mov	r0, r5
	ldr	r1, [r3]
	add	r2, sp, #16
	bl	curl_multi_setopt
	ldr	r3, [sp, #16]
	cmp	r3, #0
	beq	.L3
	ldr	r6, .L19+24
	add	r7, sp, #20
.L2:
	mov	r0, r5
	add	r1, sp, #12
	bl	curl_multi_perform
	subs	r2, r0, #0
	bne	.L3
	mov	r3, #1000
	mov	r1, r2
	mov	r0, r5
	str	r7, [sp]
	bl	curl_multi_wait
	subs	r4, r0, #0
	bne	.L3
.L10:
	mov	r0, r5
	add	r1, sp, #24
	str	r4, [sp, #24]
	bl	curl_multi_info_read
	cmp	r0, #0
	beq	.L5
	ldr	r2, [r0]
	ldr	r3, [r6]
	cmp	r2, r3
	bne	.L10
	ldr	r8, [r0, #4]
	ldr	r3, [sp, #16]
	mov	r1, r8
	sub	r3, r3, #1
	mov	r0, r5
	str	r3, [sp, #16]
	bl	curl_multi_remove_handle
	mov	r0, r8
	bl	curl_easy_cleanup
	b	.L10
.L5:
	ldr	r3, [sp, #16]
	cmp	r3, #0
	bne	.L2
.L3:
	ldr	r6, .L19+28
	mov	r0, r5
	bl	curl_multi_cleanup
	ldr	r3, [r6]
	cmp	r3, #0
	ble	.L7
	mov	r4, #0
	ldr	r5, .L19+32
.L8:
	ldr	r3, [r5]
	ldr	r0, [r3, r4, lsl #2]
	bl	free
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L8
.L7:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, #0
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	CURLMOPT_PIPELINING
	.word	CURLPIPE_MULTIPLEX
	.word	CURLMOPT_PUSHFUNCTION
	.word	server_push_callback
	.word	CURLMOPT_PUSHDATA
	.word	CURLMSG_DONE
	.word	pushindex
	.word	files
	.size	main, .-main
	.comm	server_push_callback,4,4
	.comm	pushindex,4,4
	.comm	files,4,4
	.comm	CURLPIPE_MULTIPLEX,4,4
	.comm	CURLMSG_DONE,4,4
	.comm	CURLMOPT_PUSHFUNCTION,4,4
	.comm	CURLMOPT_PUSHDATA,4,4
	.comm	CURLMOPT_PIPELINING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
