	.file	"568460.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Podano zla liczbe argumentow."
.LC1:
	.string	"w"
	.align 8
.LC2:
	.string	"Nie mozna otworzyc pliku o nazwie %s. \n"
.LC3:
	.string	"Podales niewlasciwa litere"
	.text
	.globl	main
	.type	main, @function
main:
.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, 1680
	mov	DWORD PTR -1668[rbp], edi
	mov	QWORD PTR -1680[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1660[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -1660[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -1660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 1648
	mov	DWORD PTR [rax], ecx
	mov	eax, DWORD PTR -1660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 1644
	mov	DWORD PTR [rax], 0
	lea	rcx, -1648[rbp]
	mov	eax, DWORD PTR -1660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 8
	mov	BYTE PTR [rax], 0
	lea	rcx, -1648[rbp]
	mov	eax, DWORD PTR -1660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	add	rax, 64
	add	rax, rcx
	add	rax, 8
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -1660[rbp], 1
.L2:
	cmp	DWORD PTR -1660[rbp], 11
	jle	.L3
	cmp	DWORD PTR -1668[rbp], 2
	je	.L4
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	rax, QWORD PTR -1680[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1656[rbp], rax
	cmp	QWORD PTR -1656[rbp], 0
	jne	.L6
	mov	rax, QWORD PTR -1680[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L14:
	movsx	eax, BYTE PTR -1661[rbp]
	sub	eax, 97
	cmp	eax, 4
	ja	.L7
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L9[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L9[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L9:
	.long	.L13-.L9
	.long	.L12-.L9
	.long	.L11-.L9
	.long	.L10-.L9
	.long	.L8-.L9
	.text
.L13:
	lea	rax, -1648[rbp]
	mov	rdi, rax
	call	liczba_pustych_miejsc
	jmp	.L6
.L12:
	lea	rax, -1648[rbp]
	mov	rdi, rax
	call	lista_pustch_miejsc
	jmp	.L6
.L11:
	lea	rax, -1648[rbp]
	mov	rdi, rax
	call	alfabetyczne_miejsca
	jmp	.L6
.L10:
	mov	rdx, QWORD PTR -1656[rbp]
	lea	rax, -1648[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rezerwacja_miejsca
	jmp	.L6
.L8:
	mov	rdx, QWORD PTR -1656[rbp]
	lea	rax, -1648[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	usuwanie_rezerwacji
	jmp	.L6
.L7:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	nop
.L6:
	mov	eax, 0
	call	wyswietl_menu
	mov	BYTE PTR -1661[rbp], al
	cmp	BYTE PTR -1661[rbp], 102
	jne	.L14
	mov	rax, QWORD PTR -1656[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC4:
	.string	"\n\nAby wybrac opcje, wpisz jej oznaczenie literowe:"
	.align 8
.LC5:
	.string	"a) Pokaz liczbe pustych miejsc"
.LC6:
	.string	"b) Pokaz liste pustych miejsc"
	.align 8
.LC7:
	.string	"c) Pokaz alfabetyczna liste miejsc"
	.align 8
.LC8:
	.string	"d) zarezerwuj miejsce dla klienta"
.LC9:
	.string	"e) usun rezerwacje miejsca"
.LC10:
	.string	"f) koniec"
.LC11:
	.string	"%c"
	.text
	.globl	wyswietl_menu
	.type	wyswietl_menu, @function
wyswietl_menu:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rax, -9[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	movzx	eax, BYTE PTR -9[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	wyswietl_menu, .-wyswietl_menu
	.globl	sortowanie
	.type	sortowanie, @function
sortowanie:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	sortowanie, .-sortowanie
	.section	.rodata
.LC12:
	.string	"Liczba wolnych miejsc to: %d\n"
	.text
	.globl	liczba_pustych_miejsc
	.type	liczba_pustych_miejsc, @function
liczba_pustych_miejsc:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L23
.L25:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	jne	.L24
	add	DWORD PTR -8[rbp], 1
.L24:
	add	DWORD PTR -4[rbp], 1
.L23:
	cmp	DWORD PTR -4[rbp], 11
	jle	.L25
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	liczba_pustych_miejsc, .-liczba_pustych_miejsc
	.section	.rodata
	.align 8
.LC13:
	.string	"Stan miejsca: wolne, numer miejsca: %d. \n"
	.text
	.globl	lista_pustch_miejsc
	.type	lista_pustch_miejsc, @function
lista_pustch_miejsc:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L27
.L29:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	jne	.L28
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L28:
	add	DWORD PTR -4[rbp], 1
.L27:
	cmp	DWORD PTR -4[rbp], 11
	jle	.L29
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	lista_pustch_miejsc, .-lista_pustch_miejsc
	.section	.rodata
	.align 8
.LC14:
	.string	"Pozycja alfabetyczna: %d \t Nazwisko: %s \n"
	.text
	.globl	alfabetyczne_miejsca
	.type	alfabetyczne_miejsca, @function
alfabetyczne_miejsca:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 816
	mov	QWORD PTR -808[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -792[rbp], 0
	jmp	.L31
.L32:
	mov	eax, DWORD PTR -792[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -808[rbp]
	add	rax, rdx
	lea	rdx, 72[rax]
	lea	rcx, -784[rbp]
	mov	eax, DWORD PTR -792[rbp]
	cdqe
	sal	rax, 6
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	add	DWORD PTR -792[rbp], 1
.L31:
	cmp	DWORD PTR -792[rbp], 11
	jle	.L32
	lea	rax, -784[rbp]
	lea	rcx, sortowanie[rip]
	mov	edx, 64
	mov	esi, 12
	mov	rdi, rax
	call	qsort@PLT
	mov	DWORD PTR -788[rbp], 0
	jmp	.L33
.L34:
	lea	rdx, -784[rbp]
	mov	eax, DWORD PTR -788[rbp]
	cdqe
	sal	rax, 6
	add	rdx, rax
	mov	eax, DWORD PTR -788[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -788[rbp], 1
.L33:
	cmp	DWORD PTR -788[rbp], 11
	jle	.L34
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	alfabetyczne_miejsca, .-alfabetyczne_miejsca
	.section	.rodata
.LC15:
	.string	"Podaj numer miejsca."
.LC16:
	.string	"%d"
.LC17:
	.string	"Miejsce zajete..."
.LC18:
	.string	"Podaj imie:"
.LC19:
	.string	"%s"
.LC20:
	.string	"Podaj nazwisko:"
.LC21:
	.string	"Miejsce\tstan\timie\t\tnazwisko\n"
.LC22:
	.string	"  %2d\t  %d   %8s %8s \n"
	.text
	.globl	rezerwacja_miejsca
	.type	rezerwacja_miejsca, @function
rezerwacja_miejsca:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -88[rbp], 0
	lea	rdi, .LC15[rip]
	call	puts@PLT
	lea	rax, -88[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -88[rbp]
	sub	eax, 1
	mov	DWORD PTR -88[rbp], eax
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 1
	jne	.L37
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L41
.L37:
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	lea	rdx, 8[rax]
	lea	rax, -80[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	lea	rdi, .LC20[rip]
	call	puts@PLT
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	lea	rdx, 72[rax]
	lea	rax, -80[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	DWORD PTR 4[rax], 1
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	rax, QWORD PTR -112[rbp]
	mov	rcx, rax
	mov	edx, 28
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
	mov	DWORD PTR -84[rbp], 0
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	lea	rdi, 72[rax]
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	lea	rsi, 8[rax]
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -112[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -84[rbp], 1
.L39:
	cmp	DWORD PTR -84[rbp], 11
	jle	.L40
	mov	eax, 1
.L41:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	rezerwacja_miejsca, .-rezerwacja_miejsca
	.section	.rodata
.LC23:
	.string	"Miejsce wolne..."
.LC24:
	.string	"Miejsce\tstan\timie\tnazwisko"
.LC25:
	.string	"%2d,  %d,  %16s,  %16s \n"
	.text
	.globl	usuwanie_rezerwacji
	.type	usuwanie_rezerwacji, @function
usuwanie_rezerwacji:
.LFB13:
	.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -16[rbp], 0
	lea	rdi, .LC15[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, 1
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	jne	.L44
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L48
.L44:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 8
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 72
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	DWORD PTR 4[rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC24[rip]
	call	fwrite@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L46
.L47:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rdi, 72[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rsi, 8[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 1
.L46:
	cmp	DWORD PTR -12[rbp], 11
	jle	.L47
	mov	eax, 1
.L48:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L49
	call	__stack_chk_fail@PLT
.L49:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	usuwanie_rezerwacji, .-usuwanie_rezerwacji
	.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	"568460.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Podano zla liczbe argumentow.\000"
	.align	2
.LC1:
	.ascii	"w\000"
	.align	2
.LC2:
	.ascii	"Nie mozna otworzyc pliku o nazwie %s. \012\000"
	.align	2
.LC3:
	.ascii	"Podales niewlasciwa litere\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1656
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1648
	sub	sp, sp, #8
	str	r0, [fp, #-1656]
	str	r1, [fp, #-1660]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1648]
	b	.L2
.L3:
	ldr	r3, [fp, #-1648]
	add	r1, r3, #1
	ldr	r2, [fp, #-1648]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1632
	sub	r3, r3, #4
	str	r1, [r3]
	ldr	r2, [fp, #-1648]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1632
	mov	r2, #0
	str	r2, [r3]
	sub	r2, fp, #1632
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, [fp, #-1648]
	mov	r3, r1
	lsl	r3, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r3, #8
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r2, fp, #1632
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, [fp, #-1648]
	mov	r3, r1
	lsl	r3, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r3, #72
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1648]
	add	r3, r3, #1
	str	r3, [fp, #-1648]
.L2:
	ldr	r3, [fp, #-1648]
	cmp	r3, #11
	ble	.L3
	ldr	r3, [fp, #-1656]
	cmp	r3, #2
	beq	.L4
	ldr	r0, .L17+4
	bl	puts
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, [fp, #-1660]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L17+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1644]
	ldr	r3, [fp, #-1644]
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-1660]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L17+12
	bl	printf
	mov	r0, #1
	bl	exit
.L14:
	ldrb	r3, [fp, #-1649]	@ zero_extendqisi2
	sub	r3, r3, #97
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L7
.L9:
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L8
.L13:
	sub	r3, fp, #1632
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	liczba_pustych_miejsc
	b	.L6
.L12:
	sub	r3, fp, #1632
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	lista_pustch_miejsc
	b	.L6
.L11:
	sub	r3, fp, #1632
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	alfabetyczne_miejsca
	b	.L6
.L10:
	sub	r3, fp, #1632
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-1644]
	mov	r0, r3
	bl	rezerwacja_miejsca
	b	.L6
.L8:
	sub	r3, fp, #1632
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-1644]
	mov	r0, r3
	bl	usuwanie_rezerwacji
	b	.L6
.L7:
	ldr	r0, .L17+16
	bl	puts
	nop
.L6:
	bl	wyswietl_menu
	mov	r3, r0
	strb	r3, [fp, #-1649]
	ldrb	r3, [fp, #-1649]	@ zero_extendqisi2
	cmp	r3, #102
	bne	.L14
	ldr	r0, [fp, #-1644]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\012\012Aby wybrac opcje, wpisz jej oznaczenie lite"
	.ascii	"rowe:\000"
	.align	2
.LC6:
	.ascii	"a) Pokaz liczbe pustych miejsc\000"
	.align	2
.LC7:
	.ascii	"b) Pokaz liste pustych miejsc\000"
	.align	2
.LC8:
	.ascii	"c) Pokaz alfabetyczna liste miejsc\000"
	.align	2
.LC9:
	.ascii	"d) zarezerwuj miejsce dla klienta\000"
	.align	2
.LC10:
	.ascii	"e) usun rezerwacje miejsca\000"
	.align	2
.LC11:
	.ascii	"f) koniec\000"
	.align	2
.LC12:
	.ascii	"%c\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	wyswietl_menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	wyswietl_menu, %function
wyswietl_menu:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L22+4
	bl	puts
	ldr	r0, .L22+8
	bl	puts
	ldr	r0, .L22+12
	bl	puts
	ldr	r0, .L22+16
	bl	puts
	ldr	r0, .L22+20
	bl	puts
	ldr	r0, .L22+24
	bl	puts
	ldr	r0, .L22+28
	bl	puts
	sub	r3, fp, #9
	mov	r1, r3
	ldr	r0, .L22+32
	bl	__isoc99_scanf
	bl	getchar
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC13
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	wyswietl_menu, .-wyswietl_menu
	.align	2
	.global	sortowanie
	.syntax unified
	.arm
	.fpu softvfp
	.type	sortowanie, %function
sortowanie:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	strcmp
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	sortowanie, .-sortowanie
	.section	.rodata
	.align	2
.LC14:
	.ascii	"Liczba wolnych miejsc to: %d\012\000"
	.text
	.align	2
	.global	liczba_pustych_miejsc
	.syntax unified
	.arm
	.fpu softvfp
	.type	liczba_pustych_miejsc, %function
liczba_pustych_miejsc:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L27
.L29:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L28
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L28:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L27:
	ldr	r3, [fp, #-8]
	cmp	r3, #11
	ble	.L29
	ldr	r1, [fp, #-12]
	ldr	r0, .L30
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC14
	.size	liczba_pustych_miejsc, .-liczba_pustych_miejsc
	.section	.rodata
	.align	2
.LC15:
	.ascii	"Stan miejsca: wolne, numer miejsca: %d. \012\000"
	.text
	.align	2
	.global	lista_pustch_miejsc
	.syntax unified
	.arm
	.fpu softvfp
	.type	lista_pustch_miejsc, %function
lista_pustch_miejsc:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L33
.L35:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L36
	bl	printf
.L34:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L33:
	ldr	r3, [fp, #-8]
	cmp	r3, #11
	ble	.L35
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC15
	.size	lista_pustch_miejsc, .-lista_pustch_miejsc
	.section	.rodata
	.align	2
.LC16:
	.ascii	"Pozycja alfabetyczna: %d \011 Nazwisko: %s \012\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	alfabetyczne_miejsca
	.syntax unified
	.arm
	.fpu softvfp
	.type	alfabetyczne_miejsca, %function
alfabetyczne_miejsca:
	@ args = 0, pretend = 0, frame = 792
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #792
	str	r0, [fp, #-792]
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-784]
	b	.L39
.L40:
	sub	r2, fp, #776
	ldr	r3, [fp, #-784]
	lsl	r3, r3, #6
	add	r0, r2, r3
	ldr	r2, [fp, #-784]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-792]
	add	r3, r3, r2
	add	r3, r3, #72
	mov	r1, r3
	bl	strcpy
	ldr	r3, [fp, #-784]
	add	r3, r3, #1
	str	r3, [fp, #-784]
.L39:
	ldr	r3, [fp, #-784]
	cmp	r3, #11
	ble	.L40
	sub	r0, fp, #776
	ldr	r3, .L44+4
	mov	r2, #64
	mov	r1, #12
	bl	qsort
	mov	r3, #0
	str	r3, [fp, #-780]
	b	.L41
.L42:
	ldr	r3, [fp, #-780]
	add	r1, r3, #1
	sub	r2, fp, #776
	ldr	r3, [fp, #-780]
	lsl	r3, r3, #6
	add	r3, r2, r3
	mov	r2, r3
	ldr	r0, .L44+8
	bl	printf
	ldr	r3, [fp, #-780]
	add	r3, r3, #1
	str	r3, [fp, #-780]
.L41:
	ldr	r3, [fp, #-780]
	cmp	r3, #11
	ble	.L42
	nop
	ldr	r3, .L44
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC17
	.word	sortowanie
	.word	.LC16
	.size	alfabetyczne_miejsca, .-alfabetyczne_miejsca
	.section	.rodata
	.align	2
.LC18:
	.ascii	"Podaj numer miejsca.\000"
	.align	2
.LC19:
	.ascii	"%d\000"
	.align	2
.LC20:
	.ascii	"Miejsce zajete...\000"
	.align	2
.LC21:
	.ascii	"Podaj imie:\000"
	.align	2
.LC22:
	.ascii	"%s\000"
	.align	2
.LC23:
	.ascii	"Podaj nazwisko:\000"
	.align	2
.LC24:
	.ascii	"Miejsce\011stan\011imie\011\011nazwisko\012\000"
	.align	2
.LC25:
	.ascii	"  %2d\011  %d   %8s %8s \012\000"
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	rezerwacja_miejsca
	.syntax unified
	.arm
	.fpu softvfp
	.type	rezerwacja_miejsca, %function
rezerwacja_miejsca:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	ldr	r3, .L53
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-80]
	ldr	r0, .L53+4
	bl	puts
	sub	r3, fp, #80
	mov	r1, r3
	ldr	r0, .L53+8
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-80]
	sub	r3, r3, #1
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-80]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	ldr	r3, [r3, #4]
	cmp	r3, #1
	bne	.L47
	ldr	r0, .L53+12
	bl	puts
	mov	r3, #0
	b	.L51
.L47:
	ldr	r0, .L53+16
	bl	puts
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, .L53+20
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-80]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	add	r3, r3, #8
	sub	r2, fp, #72
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r0, .L53+24
	bl	puts
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, .L53+20
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-80]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	add	r3, r3, #72
	sub	r2, fp, #72
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-80]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r0, [fp, #-92]
	bl	rewind
	ldr	r3, [fp, #-92]
	mov	r2, #28
	mov	r1, #1
	ldr	r0, .L53+28
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L49
.L50:
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	ldr	r0, [r3]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	ldr	ip, [r3, #4]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	add	r1, r3, #8
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, r2
	add	r3, r3, #72
	str	r3, [sp, #4]
	str	r1, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r1, .L53+32
	ldr	r0, [fp, #-92]
	bl	fprintf
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L49:
	ldr	r3, [fp, #-76]
	cmp	r3, #11
	ble	.L50
	mov	r3, #1
.L51:
	ldr	r2, .L53
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L52
	bl	__stack_chk_fail
.L52:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	.LC26
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	rezerwacja_miejsca, .-rezerwacja_miejsca
	.section	.rodata
	.align	2
.LC27:
	.ascii	"Miejsce wolne...\000"
	.align	2
.LC28:
	.ascii	"Miejsce\011stan\011imie\011nazwisko\000"
	.align	2
.LC29:
	.ascii	"%2d,  %d,  %16s,  %16s \012\000"
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	usuwanie_rezerwacji
	.syntax unified
	.arm
	.fpu softvfp
	.type	usuwanie_rezerwacji, %function
usuwanie_rezerwacji:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L62
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r0, .L62+4
	bl	puts
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L62+8
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L56
	ldr	r0, .L62+12
	bl	puts
	mov	r3, #0
	b	.L60
.L56:
	ldr	r3, [fp, #-16]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	add	r3, r3, #8
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	add	r3, r3, #72
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r0, [fp, #-28]
	bl	rewind
	ldr	r3, [fp, #-28]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L62+16
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L58
.L59:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r0, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	ip, [r3, #4]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	add	r1, r3, #8
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	add	r3, r3, #72
	str	r3, [sp, #4]
	str	r1, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r1, .L62+20
	ldr	r0, [fp, #-28]
	bl	fprintf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L58:
	ldr	r3, [fp, #-12]
	cmp	r3, #11
	ble	.L59
	mov	r3, #1
.L60:
	ldr	r2, .L62
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L61
	bl	__stack_chk_fail
.L61:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L63:
	.align	2
.L62:
	.word	.LC30
	.word	.LC18
	.word	.LC19
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.size	usuwanie_rezerwacji, .-usuwanie_rezerwacji
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
