	.file	"extr_http_server.c_http_server_cb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"HTTP: Failed to accept new connection: %s"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"HTTP: Connection from %s:%d"
	.text
	.p2align 4
	.type	http_server_cb, @function
http_server_cb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR 16[rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r13, 16[rsp]
	lea	rdx, 12[rsp]
	mov	DWORD PTR 12[rsp], 8
	mov	rsi, r13
	call	accept@PLT
	test	eax, eax
	js	.L9
	mov	edi, DWORD PTR 16[rsp]
	mov	ebp, eax
	call	ntohs@PLT
	mov	edi, DWORD PTR 20[rsp]
	mov	r12d, eax
	call	inet_ntoa@PLT
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC1[rip]
	mov	ecx, r12d
	mov	edx, eax
	xor	eax, eax
	call	wpa_printf@PLT
	mov	rdx, r13
	mov	esi, ebp
	mov	rdi, rbx
	call	http_request_init@PLT
	test	rax, rax
	je	.L10
	mov	rdx, QWORD PTR 8[rbx]
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR [rbx], 1
	mov	QWORD PTR 8[rbx], rax
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC0[rip]
	mov	edx, eax
	xor	eax, eax
	call	wpa_printf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, ebp
	call	close@PLT
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	http_server_cb, .-http_server_cb
	.comm	errno,4,4
	.comm	MSG_DEBUG,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_http_server.c_http_server_cb.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"HTTP: Failed to accept new connection: %s\000"
	.align	2
.LC1:
	.ascii	"HTTP: Connection from %s:%d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	http_server_cb, %function
http_server_cb:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #8
	push	{r4, r5, r6, r7, lr}
	ldr	ip, .L12
	sub	sp, sp, #20
	ldr	r0, [r1, #8]
	mov	r4, r1
	mov	r2, sp
	add	r1, sp, #4
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	str	r3, [sp]
	bl	accept
	subs	r5, r0, #0
	blt	.L9
	ldr	r3, .L12+4
	ldr	r0, [sp, #8]
	ldr	r7, [r3]
	bl	inet_ntoa
	mov	r6, r0
	ldr	r0, [sp, #4]
	bl	ntohs
	mov	r2, r6
	mov	r3, r0
	ldr	r1, .L12+8
	mov	r0, r7
	bl	wpa_printf
	mov	r1, r5
	mov	r0, r4
	add	r2, sp, #4
	bl	http_request_init
	cmp	r0, #0
	beq	.L10
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	add	r3, r3, #1
	str	r2, [r0]
	str	r3, [r4]
	str	r0, [r4, #4]
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	ldr	r3, .L12+12
	ldr	r2, .L12+4
	ldr	r0, [r3]
	ldr	r4, [r2]
	bl	strerror
	ldr	r1, .L12+16
	mov	r2, r0
	mov	r0, r4
	bl	wpa_printf
	b	.L1
.L10:
	mov	r0, r5
	bl	close
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC2
	.word	MSG_DEBUG
	.word	.LC1
	.word	errno
	.word	.LC0
	.size	http_server_cb, .-http_server_cb
	.comm	errno,4,4
	.comm	MSG_DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
