	.file	"extr_server.c_serverLogFromHandler.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	":signal-handler ("
.LC1:
	.string	") "
.LC2:
	.string	"\n"
	.text
	.p2align 4
	.globl	serverLogFromHandler
	.type	serverLogFromHandler, @function
serverLogFromHandler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movzx	edi, dil
	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
	sub	rsp, 88
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	cmp	edi, DWORD PTR server[rip+8]
	jl	.L1
	mov	rdi, QWORD PTR server[rip]
	mov	r12, rsi
	movzx	ebx, BYTE PTR [rdi]
	test	bl, bl
	jne	.L3
	cmp	QWORD PTR server[rip+16], 0
	mov	ebp, DWORD PTR STDOUT_FILENO[rip]
	jne	.L1
.L5:
	cmp	ebp, -1
	je	.L1
	xor	eax, eax
	mov	r13, rsp
	call	getpid@PLT
	mov	esi, 64
	mov	rdi, r13
	mov	edx, eax
	call	ll2string@PLT
	mov	rdi, r13
	call	strlen@PLT
	mov	rsi, r13
	mov	edi, ebp
	mov	edx, eax
	call	write@PLT
	cmp	eax, -1
	je	.L7
	mov	edx, 17
	lea	rsi, .LC0[rip]
	mov	edi, ebp
	call	write@PLT
	cmp	eax, -1
	je	.L7
	xor	edi, edi
	call	time@PLT
	mov	esi, 64
	mov	rdi, r13
	mov	edx, eax
	call	ll2string@PLT
	mov	rdi, r13
	call	strlen@PLT
	mov	rsi, r13
	mov	edi, ebp
	mov	edx, eax
	call	write@PLT
	cmp	eax, -1
	je	.L7
	mov	edx, 2
	lea	rsi, .LC1[rip]
	mov	edi, ebp
	call	write@PLT
	cmp	eax, -1
	je	.L7
	mov	rdi, r12
	call	strlen@PLT
	mov	rsi, r12
	mov	edi, ebp
	mov	edx, eax
	call	write@PLT
	cmp	eax, -1
	je	.L7
	mov	edx, 1
	lea	rsi, .LC2[rip]
	mov	edi, ebp
	call	write@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	test	bl, bl
	jne	.L32
.L1:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L33
	add	rsp, 88
	.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
.L3:
	.cfi_restore_state
	mov	esi, DWORD PTR O_APPEND[rip]
	mov	edx, 420
	or	esi, DWORD PTR O_CREAT[rip]
	or	esi, DWORD PTR O_WRONLY[rip]
	call	open@PLT
	mov	ebp, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L32:
	mov	edi, ebp
	call	close@PLT
	jmp	.L1
.L33:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	serverLogFromHandler, .-serverLogFromHandler
	.comm	server,24,16
	.comm	STDOUT_FILENO,4,4
	.comm	O_WRONLY,4,4
	.comm	O_CREAT,4,4
	.comm	O_APPEND,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_server.c_serverLogFromHandler.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	":signal-handler (\000"
	.align	2
.LC1:
	.ascii	") \000"
	.align	2
.LC2:
	.ascii	"\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	serverLogFromHandler
	.syntax unified
	.arm
	.fpu softvfp
	.type	serverLogFromHandler, %function
serverLogFromHandler:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L34
	and	r0, r0, #255
	ldr	r2, [r3, #4]
	sub	sp, sp, #72
	cmp	r0, r2
	ldr	r2, .L34+4
	ldr	r2, [r2]
	str	r2, [sp, #68]
	mov	r2,#0
	blt	.L1
	ldr	r0, [r3]
	mov	r5, r1
	ldrb	r6, [r0]	@ zero_extendqisi2
	cmp	r6, #0
	bne	.L3
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L1
	ldr	r3, .L34+8
	ldr	r4, [r3]
.L5:
	cmn	r4, #1
	beq	.L1
	bl	getpid
	mov	r1, #64
	mov	r2, r0
	add	r0, sp, #4
	bl	ll2string
	add	r0, sp, #4
	bl	strlen
	add	r1, sp, #4
	mov	r2, r0
	mov	r0, r4
	bl	write
	cmn	r0, #1
	beq	.L7
	mov	r2, #17
	mov	r0, r4
	ldr	r1, .L34+12
	bl	write
	cmn	r0, #1
	beq	.L7
	mov	r0, #0
	bl	time
	mov	r1, #64
	mov	r2, r0
	add	r0, sp, #4
	bl	ll2string
	add	r0, sp, #4
	bl	strlen
	add	r1, sp, #4
	mov	r2, r0
	mov	r0, r4
	bl	write
	cmn	r0, #1
	beq	.L7
	mov	r2, #2
	mov	r0, r4
	ldr	r1, .L34+16
	bl	write
	cmn	r0, #1
	beq	.L7
	mov	r0, r5
	bl	strlen
	mov	r1, r5
	mov	r2, r0
	mov	r0, r4
	bl	write
	cmn	r0, #1
	beq	.L7
	mov	r2, #1
	mov	r0, r4
	ldr	r1, .L34+20
	bl	write
.L7:
	cmp	r6, #0
	bne	.L32
.L1:
	ldr	r3, .L34+4
	ldr	r2, [r3]
	ldr	r3, [sp, #68]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L33
	add	sp, sp, #72
	@ sp needed
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r3, .L34+24
	ldr	r2, .L34+28
	ldr	r1, .L34+32
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r1, [r1]
	orr	r3, r3, r2
	orr	r1, r3, r1
	mov	r2, #420
	bl	open
	mov	r4, r0
	b	.L5
.L32:
	mov	r0, r4
	bl	close
	b	.L1
.L33:
	bl	__stack_chk_fail
.L35:
	.align	2
.L34:
	.word	server
	.word	.LC3
	.word	STDOUT_FILENO
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	O_APPEND
	.word	O_CREAT
	.word	O_WRONLY
	.size	serverLogFromHandler, .-serverLogFromHandler
	.comm	server,12,4
	.comm	STDOUT_FILENO,4,4
	.comm	O_WRONLY,4,4
	.comm	O_CREAT,4,4
	.comm	O_APPEND,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
