	.file	"extr_setup.c_main_install.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"1"
.LC1:
	.string	"Harddisk Install"
.LC2:
	.string	"2"
.LC3:
	.string	"Network Install(NFS)"
.LC4:
	.string	"3"
.LC5:
	.string	"Premounted on /source"
.LC6:
	.string	"mke2fs %s %s"
.LC7:
	.string	"mount -t ext2 %s /install %s"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC8:
	.string	"\\nPlease say from where you want to install.\\n"
	.section	.rodata.str1.1
.LC9:
	.string	"Choose install medium"
.LC10:
	.string	"umount /install %s"
	.text
	.p2align 4
	.type	main_install, @function
main_install:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	sub	rsp, 64
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	cmp	QWORD PTR num_linux[rip], 0
	mov	QWORD PTR [rsp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR 8[rsp], rax
	lea	rax, .LC2[rip]
	mov	QWORD PTR 16[rsp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR 24[rsp], rax
	lea	rax, .LC4[rip]
	mov	QWORD PTR 32[rsp], rax
	lea	rax, .LC5[rip]
	mov	QWORD PTR 40[rsp], rax
	jne	.L11
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 64
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	xor	eax, eax
	call	select_install_partition@PLT
	test	eax, eax
	js	.L1
	mov	rdx, QWORD PTR partitions[rip]
	cdqe
	lea	rdi, .LC6[rip]
	mov	rbp, QWORD PTR [rdx+rax*8]
	mov	edx, DWORD PTR null[rip]
	xor	eax, eax
	mov	rsi, rbp
	mov	QWORD PTR install_partition[rip], rbp
	call	my_system@PLT
	test	rax, rax
	jne	.L1
	mov	edx, DWORD PTR null[rip]
	mov	rsi, rbp
	lea	rdi, .LC7[rip]
	call	my_system@PLT
	test	rax, rax
	jne	.L1
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	edx, 12
	mov	ecx, 62
	mov	r9d, 3
	lea	rax, 8[rsp]
	mov	r8d, 3
	lea	rsi, .LC8[rip]
	push	rax
	.cfi_def_cfa_offset 96
	lea	rdi, .LC9[rip]
	call	dialog_menu@PLT
	mov	ebp, eax
	xor	eax, eax
	call	dialog_clear@PLT
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	cmp	ebp, 1
	je	.L5
	cmp	ebp, 2
	je	.L6
	test	ebp, ebp
	je	.L13
.L7:
	movsx	rsi, DWORD PTR null[rip]
	lea	rdi, .LC10[rip]
	xor	eax, eax
	call	my_system@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
	call	install_nfs@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L13:
	xor	eax, eax
	call	install_harddisk@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	xor	eax, eax
	call	install_premounted@PLT
	jmp	.L7
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main_install, .-main_install
	.comm	partitions,8,8
	.comm	num_linux,8,8
	.comm	null,4,4
	.comm	install_partition,8,8
	.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_setup.c_main_install.c"
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"1\000"
	.align	2
.LC1:
	.ascii	"Harddisk Install\000"
	.align	2
.LC2:
	.ascii	"2\000"
	.align	2
.LC3:
	.ascii	"Network Install(NFS)\000"
	.align	2
.LC4:
	.ascii	"3\000"
	.align	2
.LC5:
	.ascii	"Premounted on /source\000"
	.text
	.section	.rodata.str1.4
	.align	2
.LC8:
	.ascii	"mke2fs %s %s\000"
	.align	2
.LC9:
	.ascii	"mount -t ext2 %s /install %s\000"
	.align	2
.LC10:
	.ascii	"\\nPlease say from where you want to install.\\n\000"
	.align	2
.LC11:
	.ascii	"Choose install medium\000"
	.align	2
.LC12:
	.ascii	"umount /install %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	main_install, %function
main_install:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	lr, .L14
	sub	sp, sp, #52
	add	ip, sp, #20
	ldmia	lr!, {r0, r1, r2, r3}
	ldr	r4, .L14+4
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	ldr	r3, [r4]
	ldr	r2, .L14+8
	cmp	r3, #0
	ldr	r2, [r2]
	str	r2, [sp, #44]
	mov	r2,#0
	stm	ip, {r0, r1}
	bne	.L11
.L1:
	ldr	r3, .L14+8
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, pc}
.L11:
	bl	select_install_partition
	cmp	r0, #0
	blt	.L1
	ldr	r3, .L14+12
	ldr	r5, .L14+16
	ldr	r2, [r3]
	ldr	r3, .L14+20
	ldr	r4, [r2, r0, lsl #2]
	ldr	r2, [r5]
	mov	r1, r4
	ldr	r0, .L14+24
	str	r4, [r3]
	bl	my_system
	cmp	r0, #0
	bne	.L1
	mov	r1, r4
	ldr	r2, [r5]
	ldr	r0, .L14+28
	bl	my_system
	cmp	r0, #0
	bne	.L1
	mov	r3, #3
	add	r2, sp, #20
	ldr	r1, .L14+32
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	mov	r2, #12
	str	r3, [sp]
	ldr	r0, .L14+36
	mov	r3, #62
	bl	dialog_menu
	mov	r4, r0
	bl	dialog_clear
	cmp	r4, #1
	beq	.L5
	cmp	r4, #2
	beq	.L6
	cmp	r4, #0
	beq	.L13
.L7:
	ldr	r1, [r5]
	ldr	r0, .L14+40
	bl	my_system
	b	.L1
.L5:
	bl	install_nfs
	b	.L7
.L13:
	bl	install_harddisk
	b	.L7
.L6:
	bl	install_premounted
	b	.L7
.L12:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LANCHOR0
	.word	num_linux
	.word	.LC13
	.word	partitions
	.word	null
	.word	install_partition
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main_install, .-main_install
	.comm	partitions,4,4
	.comm	num_linux,4,4
	.comm	null,4,4
	.comm	install_partition,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
.LC7:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
