	.file	"218893969.c"
	.intel_syntax noprefix
	.text
	.globl	charToIndex
	.type	charToIndex, @function
charToIndex:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	movsx	eax, BYTE PTR -4[rbp]
	sub	eax, 65
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	charToIndex, .-charToIndex
	.section	.rodata
.LC0:
	.string	" %c"
	.text
	.globl	readBrackets
	.type	readBrackets, @function
readBrackets:
.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, 32
	mov	eax, edi
	mov	BYTE PTR -20[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -9[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, 1
	jne	.L4
	movzx	eax, BYTE PTR -9[rbp]
	cmp	BYTE PTR -20[rbp], al
	je	.L5
.L4:
	mov	eax, 0
	jmp	.L7
.L5:
	mov	eax, 1
.L7:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	readBrackets, .-readBrackets
	.section	.rodata
.LC1:
	.string	"Nespravny vstup."
.LC2:
	.string	" %lf %c %c"
	.text
	.globl	readWages
	.type	readWages, @function
readWages:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 123
	call	readBrackets
	test	eax, eax
	jne	.L12
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L17
.L16:
	cmp	DWORD PTR -20[rbp], 3
	jne	.L13
	movzx	eax, BYTE PTR -21[rbp]
	cmp	al, 64
	jle	.L13
	movzx	eax, BYTE PTR -21[rbp]
	cmp	al, 90
	jle	.L14
.L13:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L17
.L14:
	movzx	eax, BYTE PTR -22[rbp]
	cmp	al, 44
	je	.L15
	movzx	eax, BYTE PTR -22[rbp]
	cmp	al, 125
	je	.L15
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L17
.L15:
	movzx	eax, BYTE PTR -21[rbp]
	movsx	eax, al
	mov	edi, eax
	call	charToIndex
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR [rax], xmm0
	movzx	eax, BYTE PTR -22[rbp]
	cmp	al, 125
	jne	.L12
	mov	eax, 1
	jmp	.L17
.L12:
	lea	rcx, -22[rbp]
	lea	rdx, -21[rbp]
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], -1
	jne	.L16
	mov	eax, 1
.L17:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	readWages, .-readWages
	.section	.rodata
.LC3:
	.string	" "
.LC5:
	.string	"N/A"
.LC6:
	.string	"= %lf\n"
	.text
	.globl	readQuery
	.type	readQuery, @function
readQuery:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L20
.L31:
	cmp	BYTE PTR -21[rbp], 32
	je	.L21
	cmp	BYTE PTR -21[rbp], 10
	je	.L21
	cmp	BYTE PTR -21[rbp], 64
	jle	.L22
	cmp	BYTE PTR -21[rbp], 90
	jg	.L22
.L21:
	cmp	DWORD PTR -20[rbp], 81
	jle	.L23
.L22:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L24
.L23:
	cmp	BYTE PTR -21[rbp], 32
	je	.L25
	cmp	BYTE PTR -21[rbp], 10
	jne	.L26
.L25:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L27
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L28
.L27:
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -20[rbp]
	movsd	xmm0, QWORD PTR -8[rbp]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
.L28:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L29
.L30:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -16[rbp], 1
.L29:
	cmp	DWORD PTR -16[rbp], 24
	jle	.L30
	jmp	.L20
.L26:
	movsx	eax, BYTE PTR -21[rbp]
	mov	edi, eax
	call	charToIndex
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L20
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -8[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	add	DWORD PTR -20[rbp], 1
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1
.L20:
	call	getchar@PLT
	mov	BYTE PTR -21[rbp], al
	cmp	BYTE PTR -21[rbp], 0
	jne	.L31
	mov	eax, 1
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	readQuery, .-readQuery
	.section	.rodata
.LC7:
	.string	"Mzdy: "
.LC8:
	.string	"Dotazy: "
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 320
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -208[rbp]
	mov	eax, 0
	mov	ecx, 25
	mov	rdi, rdx
	rep stosq
	lea	rdx, -320[rbp]
	mov	eax, 0
	mov	ecx, 12
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	readWages
	test	eax, eax
	jne	.L33
	mov	eax, 1
	jmp	.L36
.L33:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdx, -320[rbp]
	lea	rax, -208[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	readQuery
	test	eax, eax
	jne	.L35
	mov	eax, 1
	jmp	.L36
.L35:
	mov	eax, 0
.L36:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.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	"218893969.c"
	.text
	.align	2
	.global	charToIndex
	.syntax unified
	.arm
	.fpu softvfp
	.type	charToIndex, %function
charToIndex:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	sub	r3, r3, #65
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	charToIndex, .-charToIndex
	.section	.rodata
	.align	2
.LC0:
	.ascii	" %c\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	readBrackets
	.syntax unified
	.arm
	.fpu softvfp
	.type	readBrackets, %function
readBrackets:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #9
	mov	r1, r3
	ldr	r0, .L9+4
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #1
	bne	.L4
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L5
.L4:
	mov	r3, #0
	b	.L7
.L5:
	mov	r3, #1
.L7:
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	.LC0
	.size	readBrackets, .-readBrackets
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Nespravny vstup.\000"
	.align	2
.LC3:
	.ascii	" %lf %c %c\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	readWages
	.syntax unified
	.arm
	.fpu softvfp
	.type	readWages, %function
readWages:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #123
	bl	readBrackets
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	ldr	r0, .L21+4
	bl	puts
	mov	r3, #0
	b	.L19
.L18:
	ldr	r3, [fp, #-24]
	cmp	r3, #3
	bne	.L15
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L15
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #90
	bls	.L16
.L15:
	ldr	r0, .L21+4
	bl	puts
	mov	r3, #0
	b	.L19
.L16:
	ldrb	r3, [fp, #-26]	@ zero_extendqisi2
	cmp	r3, #44
	beq	.L17
	ldrb	r3, [fp, #-26]	@ zero_extendqisi2
	cmp	r3, #125
	beq	.L17
	ldr	r0, .L21+4
	bl	puts
	mov	r3, #0
	b	.L19
.L17:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	mov	r0, r3
	bl	charToIndex
	mov	r3, r0
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r1, r2, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldrb	r3, [fp, #-26]	@ zero_extendqisi2
	cmp	r3, #125
	bne	.L14
	mov	r3, #1
	b	.L19
.L14:
	sub	r3, fp, #26
	sub	r2, fp, #25
	sub	r1, fp, #20
	ldr	r0, .L21+8
	bl	__isoc99_scanf
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmn	r3, #1
	bne	.L18
	mov	r3, #1
.L19:
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC4
	.word	.LC2
	.word	.LC3
	.size	readWages, .-readWages
	.section	.rodata
	.align	2
.LC5:
	.ascii	" \000"
	.align	2
.LC6:
	.ascii	"N/A\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
.LC7:
	.ascii	"= %lf\012\000"
	.global	__aeabi_dadd
	.text
	.align	2
	.global	readQuery
	.syntax unified
	.arm
	.fpu softvfp
	.type	readQuery, %function
readQuery:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r0, .L36
	bl	__isoc99_scanf
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L24
.L35:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L25
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L25
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L26
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #90
	bhi	.L26
.L25:
	ldr	r3, [fp, #-24]
	cmp	r3, #81
	ble	.L27
.L26:
	ldr	r0, .L36+4
	bl	puts
	mov	r3, #0
	b	.L28
.L27:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L29
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L30
.L29:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L31
	ldr	r0, .L36+8
	bl	puts
	b	.L32
.L31:
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L36+12
	bl	printf
.L32:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L33
.L34:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L33:
	ldr	r3, [fp, #-20]
	cmp	r3, #24
	ble	.L34
	b	.L24
.L30:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	mov	r0, r3
	bl	charToIndex
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
.L24:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-25]
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L35
	mov	r3, #1
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC5
	.word	.LC2
	.word	.LC6
	.word	.LC7
	.size	readQuery, .-readQuery
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Mzdy: \000"
	.align	2
.LC9:
	.ascii	"Dotazy: \000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 312
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #312
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #212
	mov	r2, #200
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #312
	mov	r2, #100
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, .L44+4
	bl	puts
	sub	r3, fp, #212
	mov	r0, r3
	bl	readWages
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	mov	r3, #1
	b	.L42
.L39:
	ldr	r0, .L44+8
	bl	puts
	sub	r2, fp, #312
	sub	r3, fp, #212
	mov	r1, r2
	mov	r0, r3
	bl	readQuery
	mov	r3, r0
	cmp	r3, #0
	bne	.L41
	mov	r3, #1
	b	.L42
.L41:
	mov	r3, #0
.L42:
	ldr	r2, .L44
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC10
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
