	.file	"1161165.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Running %s"
.LC1:
	.string	": %s\n"
.LC2:
	.string	"%s died with signal %s\n"
.LC3:
	.string	"%s died with exit code %d\n"
	.text
	.type	run, @function
run:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rcx, QWORD PTR environ[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rax, -16[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	posix_spawnp@PLT
	cmp	eax, -1
	jne	.L2
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	eax, DWORD PTR -16[rbp]
	lea	rcx, -12[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 127
	add	eax, 1
	sar	al
	test	al, al
	jle	.L3
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 127
	mov	edi, eax
	call	strsignal@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	eax, DWORD PTR -12[rbp]
	sar	eax, 8
	movzx	eax, al
	test	eax, eax
	je	.L6
	mov	eax, DWORD PTR -12[rbp]
	sar	eax, 8
	movzx	ecx, al
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	run, .-run
	.section	.rodata
.LC4:
	.string	"/nix-initrd"
.LC5:
	.string	"/mnt-root/nix"
	.align 8
.LC6:
	.string	"Creating /nix symlink for resizing"
.LC7:
	.string	"/nix"
.LC8:
	.string	"Swapping /nix and /nix-initrd"
.LC9:
	.string	"sgdisk"
.LC10:
	.string	"--clear"
.LC11:
	.string	"--new"
.LC12:
	.string	"1"
	.align 8
.LC13:
	.string	"--change-name=1:riscv-base-nix-image"
.LC14:
	.string	"/dev/sda"
.LC15:
	.string	"/mnt-root"
	.align 8
.LC16:
	.string	"Unmounting real root for resizing"
	.align 8
.LC17:
	.string	"Opening /dev/sda to rescan partition table"
.LC18:
	.string	"Rescanning partition table"
.LC19:
	.string	"Closing /dev/sda"
.LC20:
	.string	""
.LC21:
	.string	"btrfs"
.LC22:
	.string	"/dev/disk/by-label/root"
	.align 8
.LC23:
	.string	"Remounting root filesystem after resize"
.LC24:
	.string	"filesystem"
.LC25:
	.string	"resize"
.LC26:
	.string	"max"
.LC27:
	.string	"Removing the /nix symlink"
.LC28:
	.string	"/mnt-root/needs-resize"
.LC29:
	.string	"Removing needs-resize marker"
	.text
	.globl	main
	.type	main, @function
main:
.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, 144
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC4[rip]
	lea	rdi, .LC5[rip]
	call	symlink@PLT
	cmp	eax, -1
	jne	.L8
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	r9d, 2
	lea	r8, .LC4[rip]
	mov	ecx, -100
	lea	rdx, .LC7[rip]
	mov	esi, -100
	mov	edi, 316
	mov	eax, 0
	call	syscall@PLT
	cmp	rax, -1
	jne	.L9
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	lea	rax, .LC9[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC10[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC11[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC12[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC13[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC14[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -16[rbp], 0
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	run
	lea	rdi, .LC15[rip]
	call	umount@PLT
	cmp	eax, -1
	jne	.L10
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	mov	esi, 524288
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -116[rbp], eax
	cmp	DWORD PTR -116[rbp], -1
	jne	.L11
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	mov	eax, DWORD PTR -116[rbp]
	mov	edx, 0
	mov	esi, 4703
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	cmp	eax, -1
	jne	.L12
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC18[rip]
	call	fwrite@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	mov	eax, DWORD PTR -116[rbp]
	mov	edi, eax
	call	close@PLT
	cmp	eax, -1
	jne	.L13
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	lea	r8, .LC20[rip]
	mov	ecx, 0
	lea	rdx, .LC21[rip]
	lea	rsi, .LC15[rip]
	lea	rdi, .LC22[rip]
	call	mount@PLT
	cmp	eax, -1
	jne	.L14
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L14:
	lea	rax, .LC21[rip]
	mov	QWORD PTR -112[rbp], rax
	lea	rax, .LC24[rip]
	mov	QWORD PTR -104[rbp], rax
	lea	rax, .LC25[rip]
	mov	QWORD PTR -96[rbp], rax
	lea	rax, .LC26[rip]
	mov	QWORD PTR -88[rbp], rax
	lea	rax, .LC15[rip]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], 0
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	run
	mov	r9d, 2
	lea	r8, .LC4[rip]
	mov	ecx, -100
	lea	rdx, .LC7[rip]
	mov	esi, -100
	mov	edi, 316
	mov	eax, 0
	call	syscall@PLT
	cmp	rax, -1
	jne	.L15
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	lea	rdi, .LC4[rip]
	call	unlink@PLT
	cmp	eax, -1
	jne	.L16
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC27[rip]
	call	fwrite@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	call	sync@PLT
	lea	rdi, .LC28[rip]
	call	unlink@PLT
	cmp	eax, -1
	jne	.L17
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 28
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"1161165.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"sgdisk\000"
	.align	2
.LC1:
	.ascii	"--clear\000"
	.align	2
.LC2:
	.ascii	"--new\000"
	.align	2
.LC3:
	.ascii	"1\000"
	.align	2
.LC4:
	.ascii	"--change-name=1:riscv-base-nix-image\000"
	.align	2
.LC5:
	.ascii	"/dev/sda\000"
	.align	2
.LC7:
	.ascii	"btrfs\000"
	.align	2
.LC8:
	.ascii	"filesystem\000"
	.align	2
.LC9:
	.ascii	"resize\000"
	.align	2
.LC10:
	.ascii	"max\000"
	.align	2
.LC11:
	.ascii	"/mnt-root\000"
	.text
	.section	.rodata
	.align	2
.LC13:
	.ascii	"Running %s\000"
	.align	2
.LC14:
	.ascii	": %s\012\000"
	.align	2
.LC15:
	.ascii	"%s died with signal %s\012\000"
	.align	2
.LC16:
	.ascii	"%s died with exit code %d\012\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	run, %function
run:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	ldr	r1, [r3]
	ldr	r3, .L7+4
	ldr	r3, [r3]
	sub	r0, fp, #24
	str	r3, [sp, #4]
	ldr	r3, [fp, #-32]
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	posix_spawnp
	mov	r3, r0
	cmn	r3, #1
	bne	.L2
	ldr	r3, .L7+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L7+12
	bl	fprintf
	ldr	r3, .L7+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L7+16
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-24]
	sub	r1, fp, #20
	mov	r2, #0
	mov	r0, r3
	bl	waitpid
	ldr	r3, [fp, #-20]
	and	r3, r3, #255
	and	r3, r3, #127
	and	r3, r3, #255
	add	r3, r3, #1
	and	r3, r3, #255
	lsl	r3, r3, #24
	asr	r3, r3, #24
	asr	r3, r3, #1
	lsl	r3, r3, #24
	asr	r3, r3, #24
	cmp	r3, #0
	ble	.L3
	ldr	r3, .L7+8
	ldr	r4, [r3]
	ldr	r3, [fp, #-32]
	ldr	r5, [r3]
	ldr	r3, [fp, #-20]
	and	r3, r3, #127
	mov	r0, r3
	bl	strsignal
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L7+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L3:
	ldr	r3, [fp, #-20]
	asr	r3, r3, #8
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L6
	ldr	r3, .L7+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	asr	r3, r3, #8
	and	r3, r3, #255
	ldr	r1, .L7+24
	bl	fprintf
	mov	r0, #1
	bl	exit
.L6:
	nop
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC17
	.word	environ
	.word	stderr
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	run, .-run
	.section	.rodata
	.align	2
.LC18:
	.ascii	"/nix-initrd\000"
	.align	2
.LC19:
	.ascii	"/mnt-root/nix\000"
	.align	2
.LC20:
	.ascii	"Creating /nix symlink for resizing\000"
	.align	2
.LC21:
	.ascii	"/nix\000"
	.align	2
.LC22:
	.ascii	"Swapping /nix and /nix-initrd\000"
	.align	2
.LC24:
	.ascii	"Unmounting real root for resizing\000"
	.align	2
.LC25:
	.ascii	"Opening /dev/sda to rescan partition table\000"
	.align	2
.LC26:
	.ascii	"Rescanning partition table\000"
	.align	2
.LC27:
	.ascii	"Closing /dev/sda\000"
	.align	2
.LC28:
	.ascii	"/dev/disk/by-label/root\000"
	.align	2
.LC29:
	.ascii	"\000"
	.align	2
.LC30:
	.ascii	"Remounting root filesystem after resize\000"
	.align	2
.LC32:
	.ascii	"Removing the /nix symlink\000"
	.align	2
.LC33:
	.ascii	"/mnt-root/needs-resize\000"
	.align	2
.LC34:
	.ascii	"Removing needs-resize marker\000"
	.align	2
.LC23:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	0
	.align	2
.LC31:
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	0
	.align	2
.LC35:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #84
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L22+4
	ldr	r0, .L22+8
	bl	symlink
	mov	r3, r0
	cmn	r3, #1
	bne	.L10
	ldr	r3, .L22+12
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L22+16
	bl	fwrite
	ldr	r3, .L22+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L10:
	mov	r3, #2
	str	r3, [sp, #4]
	ldr	r3, .L22+4
	str	r3, [sp]
	mvn	r3, #99
	ldr	r2, .L22+24
	mvn	r1, #99
	ldr	r0, .L22+28
	bl	syscall
	mov	r3, r0
	cmn	r3, #1
	bne	.L11
	ldr	r3, .L22+12
	ldr	r3, [r3]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L22+32
	bl	fwrite
	ldr	r3, .L22+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L11:
	ldr	r3, .L22+36
	sub	ip, fp, #44
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	sub	r3, fp, #44
	mov	r0, r3
	bl	run
	ldr	r0, .L22+40
	bl	umount
	mov	r3, r0
	cmn	r3, #1
	bne	.L12
	ldr	r3, .L22+12
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L22+44
	bl	fwrite
	ldr	r3, .L22+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L12:
	mov	r1, #524288
	ldr	r0, .L22+48
	bl	open
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmn	r3, #1
	bne	.L13
	ldr	r3, .L22+12
	ldr	r3, [r3]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L22+52
	bl	fwrite
	ldr	r3, .L22+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L13:
	mov	r2, #0
	ldr	r1, .L22+56
	ldr	r0, [fp, #-72]
	bl	ioctl
	mov	r3, r0
	cmn	r3, #1
	bne	.L14
	ldr	r3, .L22+12
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L22+60
	bl	fwrite
	ldr	r3, .L22+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L14:
	ldr	r0, [fp, #-72]
	bl	close
	mov	r3, r0
	cmn	r3, #1
	bne	.L15
	ldr	r3, .L22+12
	ldr	r3, [r3]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L22+64
	bl	fwrite
	ldr	r3, .L22+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L15:
	ldr	r3, .L22+68
	str	r3, [sp]
	mov	r3, #0
	ldr	r2, .L22+72
	ldr	r1, .L22+40
	ldr	r0, .L22+76
	bl	mount
	mov	r3, r0
	cmn	r3, #1
	bne	.L16
	ldr	r3, .L22+12
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L22+80
	bl	fwrite
	ldr	r3, .L22+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L16:
	ldr	r3, .L22+84
	sub	ip, fp, #68
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	sub	r3, fp, #68
	mov	r0, r3
	bl	run
	mov	r3, #2
	str	r3, [sp, #4]
	ldr	r3, .L22+4
	str	r3, [sp]
	mvn	r3, #99
	ldr	r2, .L22+24
	mvn	r1, #99
	ldr	r0, .L22+28
	bl	syscall
	mov	r3, r0
	cmn	r3, #1
	bne	.L17
	ldr	r3, .L22+12
	ldr	r3, [r3]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L22+32
	bl	fwrite
	ldr	r3, .L22+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L17:
	ldr	r0, .L22+4
	bl	unlink
	mov	r3, r0
	cmn	r3, #1
	bne	.L18
	ldr	r3, .L22+12
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L22+88
	bl	fwrite
	ldr	r3, .L22+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L18:
	bl	sync
	ldr	r0, .L22+92
	bl	unlink
	mov	r3, r0
	cmn	r3, #1
	bne	.L19
	ldr	r3, .L22+12
	ldr	r3, [r3]
	mov	r2, #28
	mov	r1, #1
	ldr	r0, .L22+96
	bl	fwrite
	ldr	r3, .L22+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L19:
	mov	r3, #0
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC35
	.word	.LC18
	.word	.LC19
	.word	stderr
	.word	.LC20
	.word	.LC14
	.word	.LC21
	.word	382
	.word	.LC22
	.word	.LC23
	.word	.LC11
	.word	.LC24
	.word	.LC5
	.word	.LC25
	.word	4703
	.word	.LC26
	.word	.LC27
	.word	.LC29
	.word	.LC7
	.word	.LC28
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
