	.file	"193003.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"w"
	.text
	.globl	http0dot9_test_one
	.type	http0dot9_test_one, @function
http0dot9_test_one:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	mov	QWORD PTR -32[rbp], 1048576
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -40[rbp], 0
	cmp	QWORD PTR -24[rbp], 0
	jne	.L2
	mov	DWORD PTR -48[rbp], -1
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rsi, rax
	lea	rdi, -40[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	http0dot9_get@PLT
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jne	.L4
	mov	rax, QWORD PTR -40[rbp]
	cmp	QWORD PTR -72[rbp], rax
	je	.L5
.L4:
	mov	DWORD PTR -48[rbp], -1
	jmp	.L6
.L5:
	cmp	DWORD PTR -44[rbp], 0
	jne	.L6
	cmp	QWORD PTR -80[rbp], 0
	je	.L6
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L7
	mov	DWORD PTR -48[rbp], -1
.L7:
	cmp	DWORD PTR -48[rbp], 0
	jne	.L6
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L6:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
.L3:
	mov	eax, DWORD PTR -48[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	http0dot9_test_one, .-http0dot9_test_one
	.section	.rodata
.LC1:
	.string	"http09_index.html"
.LC2:
	.string	"get /"
.LC3:
	.string	"http09_index2.html"
.LC4:
	.string	"get /\r\n"
.LC5:
	.string	"get / HTTP/0.9"
.LC6:
	.string	"get / HTTP/0.9\r\n"
.LC7:
	.string	"http09_index3.html"
.LC8:
	.string	"get index.html"
.LC9:
	.string	"http09_12345.html"
.LC10:
	.string	"get doc-12345.html"
.LC11:
	.string	"get /12345"
.LC12:
	.string	"http09_1234.txt"
.LC13:
	.string	"get doc-1234.txt"
.LC14:
	.string	"post 12345.html"
.LC15:
	.string	"get nosuch.html"
	.text
	.globl	http0dot9_test
	.type	http0dot9_test, @function
http0dot9_test:
.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, 16
	mov	DWORD PTR -12[rbp], 0
	mov	QWORD PTR -8[rbp], 633
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, .LC1[rip]
	mov	rdx, rax
	mov	esi, 0
	lea	rdi, .LC2[rip]
	call	http0dot9_test_one
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L11
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, .LC3[rip]
	mov	rdx, rax
	mov	esi, 0
	lea	rdi, .LC4[rip]
	call	http0dot9_test_one
	mov	DWORD PTR -12[rbp], eax
.L11:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L12
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, .LC1[rip]
	mov	rdx, rax
	mov	esi, 0
	lea	rdi, .LC5[rip]
	call	http0dot9_test_one
	mov	DWORD PTR -12[rbp], eax
.L12:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, .LC1[rip]
	mov	rdx, rax
	mov	esi, 0
	lea	rdi, .LC6[rip]
	call	http0dot9_test_one
	mov	DWORD PTR -12[rbp], eax
.L13:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L14
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, .LC7[rip]
	mov	rdx, rax
	mov	esi, 0
	lea	rdi, .LC8[rip]
	call	http0dot9_test_one
	mov	DWORD PTR -12[rbp], eax
.L14:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L15
	lea	rcx, .LC9[rip]
	mov	edx, 12345
	mov	esi, 0
	lea	rdi, .LC10[rip]
	call	http0dot9_test_one
	mov	DWORD PTR -12[rbp], eax
.L15:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L16
	lea	rcx, .LC9[rip]
	mov	edx, 12345
	mov	esi, 0
	lea	rdi, .LC11[rip]
	call	http0dot9_test_one
	mov	DWORD PTR -12[rbp], eax
.L16:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L17
	lea	rcx, .LC12[rip]
	mov	edx, 1234
	mov	esi, 0
	lea	rdi, .LC13[rip]
	call	http0dot9_test_one
	mov	DWORD PTR -12[rbp], eax
.L17:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L18
	mov	ecx, 0
	mov	edx, 0
	mov	esi, -1
	lea	rdi, .LC14[rip]
	call	http0dot9_test_one
	mov	DWORD PTR -12[rbp], eax
.L18:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L19
	mov	ecx, 0
	mov	edx, 0
	mov	esi, -1
	lea	rdi, .LC15[rip]
	call	http0dot9_test_one
	mov	DWORD PTR -12[rbp], eax
.L19:
	mov	eax, DWORD PTR -12[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	http0dot9_test, .-http0dot9_test
	.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	"193003.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"w\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	http0dot9_test_one
	.syntax unified
	.arm
	.fpu softvfp
	.type	http0dot9_test_one, %function
http0dot9_test_one:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #1048576
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L2
	mvn	r3, #0
	str	r3, [fp, #-28]
	b	.L3
.L2:
	ldr	r0, [fp, #-40]
	bl	strlen
	mov	r1, r0
	sub	r3, fp, #32
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r0, [fp, #-40]
	bl	http0dot9_get
	str	r0, [fp, #-24]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bne	.L4
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	beq	.L5
.L4:
	mvn	r3, #0
	str	r3, [fp, #-28]
	b	.L6
.L5:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L6
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r1, .L10+4
	ldr	r0, [fp, #-52]
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L7
	mvn	r3, #0
	str	r3, [fp, #-28]
.L7:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L6
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	mov	r1, #1
	ldr	r0, [fp, #-16]
	bl	fwrite
	ldr	r0, [fp, #-12]
	bl	fclose
.L6:
	ldr	r0, [fp, #-16]
	bl	free
.L3:
	ldr	r3, [fp, #-28]
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC1
	.word	.LC0
	.size	http0dot9_test_one, .-http0dot9_test_one
	.section	.rodata
	.align	2
.LC2:
	.ascii	"http09_index.html\000"
	.align	2
.LC3:
	.ascii	"get /\000"
	.align	2
.LC4:
	.ascii	"http09_index2.html\000"
	.align	2
.LC5:
	.ascii	"get /\015\012\000"
	.align	2
.LC6:
	.ascii	"get / HTTP/0.9\000"
	.align	2
.LC7:
	.ascii	"get / HTTP/0.9\015\012\000"
	.align	2
.LC8:
	.ascii	"http09_index3.html\000"
	.align	2
.LC9:
	.ascii	"get index.html\000"
	.align	2
.LC10:
	.ascii	"http09_12345.html\000"
	.align	2
.LC11:
	.ascii	"get doc-12345.html\000"
	.align	2
.LC12:
	.ascii	"get /12345\000"
	.align	2
.LC13:
	.ascii	"http09_1234.txt\000"
	.align	2
.LC14:
	.ascii	"get doc-1234.txt\000"
	.align	2
.LC15:
	.ascii	"post 12345.html\000"
	.align	2
.LC16:
	.ascii	"get nosuch.html\000"
	.text
	.align	2
	.global	http0dot9_test
	.syntax unified
	.arm
	.fpu softvfp
	.type	http0dot9_test, %function
http0dot9_test:
	@ 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, #-12]
	ldr	r3, .L23
	str	r3, [fp, #-8]
	ldr	r3, .L23+4
	ldr	r2, [fp, #-8]
	mov	r1, #0
	ldr	r0, .L23+8
	bl	http0dot9_test_one
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L23+12
	ldr	r2, [fp, #-8]
	mov	r1, #0
	ldr	r0, .L23+16
	bl	http0dot9_test_one
	str	r0, [fp, #-12]
.L13:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L23+4
	ldr	r2, [fp, #-8]
	mov	r1, #0
	ldr	r0, .L23+20
	bl	http0dot9_test_one
	str	r0, [fp, #-12]
.L14:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L15
	ldr	r3, .L23+4
	ldr	r2, [fp, #-8]
	mov	r1, #0
	ldr	r0, .L23+24
	bl	http0dot9_test_one
	str	r0, [fp, #-12]
.L15:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L23+28
	ldr	r2, [fp, #-8]
	mov	r1, #0
	ldr	r0, .L23+32
	bl	http0dot9_test_one
	str	r0, [fp, #-12]
.L16:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L23+36
	ldr	r2, .L23+40
	mov	r1, #0
	ldr	r0, .L23+44
	bl	http0dot9_test_one
	str	r0, [fp, #-12]
.L17:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L18
	ldr	r3, .L23+36
	ldr	r2, .L23+40
	mov	r1, #0
	ldr	r0, .L23+48
	bl	http0dot9_test_one
	str	r0, [fp, #-12]
.L18:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L19
	ldr	r3, .L23+52
	ldr	r2, .L23+56
	mov	r1, #0
	ldr	r0, .L23+60
	bl	http0dot9_test_one
	str	r0, [fp, #-12]
.L19:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L20
	mov	r3, #0
	mov	r2, #0
	mvn	r1, #0
	ldr	r0, .L23+64
	bl	http0dot9_test_one
	str	r0, [fp, #-12]
.L20:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L21
	mov	r3, #0
	mov	r2, #0
	mvn	r1, #0
	ldr	r0, .L23+68
	bl	http0dot9_test_one
	str	r0, [fp, #-12]
.L21:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	633
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	12345
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	1234
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	http0dot9_test, .-http0dot9_test
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
