	.file	"extr_main.c_loop.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"invalid request %d\n"
.LC1:
	.string	"reply failed %d\n"
	.text
	.p2align 4
	.type	loop, @function
loop:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rbx, 16[rsp]
	lea	rbp, 12[rsp]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L14:
	call	handle_set_cmd@PLT
.L5:
	mov	edx, 4
	mov	rsi, rbp
	mov	edi, 1
	mov	DWORD PTR 12[rsp], eax
	call	write@PLT
	cmp	eax, 4
	jne	.L12
.L7:
	xor	edi, edi
	mov	edx, 8
	mov	rsi, rbx
	call	read@PLT
	cmp	eax, 8
	jne	.L13
	cmp	QWORD PTR 16[rsp], 0
	mov	rdi, rbx
	jne	.L14
	call	handle_get_cmd@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edi, DWORD PTR debug_fd[rip]
	mov	edx, eax
	lea	rsi, .LC0[rip]
	call	dprintf@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edi, DWORD PTR debug_fd[rip]
	mov	edx, eax
	lea	rsi, .LC1[rip]
	call	dprintf@PLT
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	loop, .-loop
	.comm	debug_fd,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_main.c_loop.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid request %d\012\000"
	.align	2
.LC1:
	.ascii	"reply failed %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	loop, %function
loop:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	str	lr, [sp, #-4]!
	ldr	r3, .L16
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	b	.L7
.L14:
	bl	handle_set_cmd
	mov	r3, r0
.L5:
	mov	r2, #4
	mov	r0, #1
	add	r1, sp, #8
	str	r3, [sp, #8]
	bl	write
	cmp	r0, #4
	bne	.L12
.L7:
	mov	r2, #4
	mov	r0, #0
	add	r1, sp, r2
	bl	read
	cmp	r0, #4
	bne	.L13
	ldr	r3, [sp, #4]
	add	r0, sp, #4
	cmp	r3, #0
	bne	.L14
	bl	handle_get_cmd
	mov	r3, r0
	b	.L5
.L13:
	ldr	r3, .L16+4
	mov	r2, r0
	ldr	r1, .L16+8
	ldr	r0, [r3]
	bl	dprintf
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #20
	@ sp needed
	ldr	pc, [sp], #4
.L12:
	ldr	r3, .L16+4
	mov	r2, r0
	ldr	r1, .L16+12
	ldr	r0, [r3]
	bl	dprintf
	b	.L1
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC2
	.word	debug_fd
	.word	.LC0
	.word	.LC1
	.size	loop, .-loop
	.comm	debug_fd,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
