	.file	"886943.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"USAGE: mstat {file}"
.LC1:
	.string	"open"
.LC2:
	.string	"fstat"
.LC3:
	.string	"   FILE:  %s\n"
.LC4:
	.string	"  INODE:  %ld\n"
.LC5:
	.string	" DEVICE:  %d,%d\n"
.LC6:
	.string	"   MODE:  %#o\n"
.LC7:
	.string	"  LINKS:  %d\n"
.LC8:
	.string	"    UID:  %d\n"
.LC9:
	.string	"    GID:  %d\n"
.LC10:
	.string	"    TYPE: %s\n"
.LC11:
	.string	"    SIZE: %ld\n"
.LC12:
	.string	"BLK SIZE: %ld\n"
.LC13:
	.string	"  BLOCKS: %d\n"
.LC14:
	.string	"ACCESSED: %s\n"
.LC15:
	.string	"MODIFIED: %s\n"
.LC16:
	.string	" CHANGED: %s\n"
.LC17:
	.string	"close"
	.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
	push	rbx
	sub	rsp, 280
	.cfi_offset 3, -24
	mov	DWORD PTR -276[rbp], edi
	mov	QWORD PTR -288[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -276[rbp], 2
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -264[rbp], eax
	cmp	DWORD PTR -264[rbp], 0
	jns	.L3
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	lea	rdx, -256[rbp]
	mov	eax, DWORD PTR -264[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fstat@PLT
	test	eax, eax
	jns	.L4
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	eax, DWORD PTR -232[rbp]
	mov	DWORD PTR -260[rbp], eax
	mov	rax, QWORD PTR -288[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -248[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -256[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	minor@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -256[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	major@PLT
	mov	edx, ebx
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -260[rbp]
	and	ah, 15
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -240[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -228[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -224[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -260[rbp]
	and	eax, 61440
	cmp	eax, 40960
	jne	.L5
	lea	rax, -112[rbp]
	movabs	rcx, 7163375907957995859
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 1852402720
	mov	WORD PTR 12[rax], 101
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -260[rbp]
	and	eax, 61440
	cmp	eax, 32768
	jne	.L7
	lea	rax, -112[rbp]
	movabs	rdx, 2338038275012781394
	mov	QWORD PTR [rax], rdx
	mov	DWORD PTR 8[rax], 1701603686
	mov	BYTE PTR 12[rax], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -260[rbp]
	and	eax, 61440
	cmp	eax, 16384
	jne	.L8
	lea	rax, -112[rbp]
	movabs	rcx, 8245937412991248708
	mov	QWORD PTR [rax], rcx
	mov	WORD PTR 8[rax], 121
	jmp	.L6
.L8:
	mov	eax, DWORD PTR -260[rbp]
	and	eax, 61440
	cmp	eax, 8192
	jne	.L9
	lea	rax, -112[rbp]
	movabs	rcx, 7310577365311121475
	movabs	rbx, 7305798977753194610
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	BYTE PTR 16[rax], 0
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -260[rbp]
	and	eax, 61440
	cmp	eax, 24576
	jne	.L10
	lea	rax, -112[rbp]
	movabs	rbx, 7306000141103623234
	mov	QWORD PTR [rax], rbx
	mov	DWORD PTR 8[rax], 1701013878
	mov	BYTE PTR 12[rax], 0
	jmp	.L6
.L10:
	mov	eax, DWORD PTR -260[rbp]
	and	eax, 61440
	cmp	eax, 4096
	jne	.L11
	lea	rax, -112[rbp]
	mov	DWORD PTR [rax], 1330006342
	mov	BYTE PTR 4[rax], 0
	jmp	.L6
.L11:
	mov	eax, DWORD PTR -260[rbp]
	and	eax, 61440
	cmp	eax, 49152
	jne	.L12
	lea	rax, -112[rbp]
	mov	DWORD PTR [rax], 1801678675
	mov	WORD PTR 4[rax], 29797
	mov	BYTE PTR 6[rax], 0
	jmp	.L6
.L12:
	lea	rax, -112[rbp]
	movabs	rdx, 2336936577129475669
	mov	QWORD PTR [rax], rdx
	mov	DWORD PTR 8[rax], 1701869940
	mov	BYTE PTR 12[rax], 0
.L6:
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -208[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -256[rbp]
	add	rax, 72
	mov	rdi, rax
	call	ctime@PLT
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -256[rbp]
	add	rax, 88
	mov	rdi, rax
	call	ctime@PLT
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -256[rbp]
	add	rax, 104
	mov	rdi, rax
	call	ctime@PLT
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -264[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jns	.L13
	lea	rdi, .LC17[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.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	"886943.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"USAGE: mstat {file}\000"
	.align	2
.LC1:
	.ascii	"open\000"
	.align	2
.LC2:
	.ascii	"fstat\000"
	.align	2
.LC3:
	.ascii	"   FILE:  %s\012\000"
	.align	2
.LC4:
	.ascii	"  INODE:  %ld\012\000"
	.align	2
.LC5:
	.ascii	" DEVICE:  %d,%d\012\000"
	.align	2
.LC6:
	.ascii	"   MODE:  %#o\012\000"
	.align	2
.LC7:
	.ascii	"  LINKS:  %d\012\000"
	.align	2
.LC8:
	.ascii	"    UID:  %d\012\000"
	.align	2
.LC9:
	.ascii	"    GID:  %d\012\000"
	.align	2
.LC10:
	.ascii	"Symbolic line\000"
	.align	2
.LC11:
	.ascii	"Regular file\000"
	.align	2
.LC12:
	.ascii	"Directory\000"
	.align	2
.LC13:
	.ascii	"Character device\000"
	.align	2
.LC14:
	.ascii	"Block device\000"
	.align	2
.LC15:
	.ascii	"FIFO\000"
	.align	2
.LC16:
	.ascii	"Socket\000"
	.align	2
.LC17:
	.ascii	"Unknown type\000"
	.align	2
.LC18:
	.ascii	"    TYPE: %s\012\000"
	.align	2
.LC19:
	.ascii	"    SIZE: %ld\012\000"
	.align	2
.LC20:
	.ascii	"BLK SIZE: %ld\012\000"
	.align	2
.LC21:
	.ascii	"  BLOCKS: %d\012\000"
	.align	2
.LC22:
	.ascii	"ACCESSED: %s\012\000"
	.align	2
.LC23:
	.ascii	"MODIFIED: %s\012\000"
	.align	2
.LC24:
	.ascii	" CHANGED: %s\012\000"
	.align	2
.LC25:
	.ascii	"close\000"
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 192
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #196
	str	r0, [fp, #-200]
	str	r1, [fp, #-204]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-200]
	cmp	r3, #2
	beq	.L2
	ldr	r0, .L15+4
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-204]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [fp, #-196]
	ldr	r3, [fp, #-196]
	cmp	r3, #0
	bge	.L3
	ldr	r0, .L15+8
	bl	perror
	mov	r0, #1
	bl	exit
.L3:
	sub	r3, fp, #188
	mov	r1, r3
	ldr	r0, [fp, #-196]
	bl	fstat
	mov	r3, r0
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L15+12
	bl	perror
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, [fp, #-172]
	str	r3, [fp, #-192]
	ldr	r3, [fp, #-204]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L15+16
	bl	printf
	ldr	r3, [fp, #-176]
	mov	r1, r3
	ldr	r0, .L15+20
	bl	printf
	sub	r3, fp, #188
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	major
	mov	r4, r0
	sub	r3, fp, #188
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	minor
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L15+24
	bl	printf
	ldr	r3, [fp, #-192]
	bic	r3, r3, #61440
	mov	r1, r3
	ldr	r0, .L15+28
	bl	printf
	ldr	r3, [fp, #-168]
	mov	r1, r3
	ldr	r0, .L15+32
	bl	printf
	ldr	r3, [fp, #-164]
	mov	r1, r3
	ldr	r0, .L15+36
	bl	printf
	ldr	r3, [fp, #-160]
	mov	r1, r3
	ldr	r0, .L15+40
	bl	printf
	ldr	r3, [fp, #-192]
	and	r3, r3, #61440
	cmp	r3, #40960
	bne	.L5
	sub	r3, fp, #96
	ldr	r2, .L15+44
	mov	ip, r3
	mov	r3, r2
	ldm	r3, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strh	r3, [ip]	@ movhi
	b	.L6
.L5:
	ldr	r3, [fp, #-192]
	and	r3, r3, #61440
	cmp	r3, #32768
	bne	.L7
	sub	r3, fp, #96
	ldr	r2, .L15+48
	mov	ip, r3
	mov	r3, r2
	ldm	r3, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strb	r3, [ip]
	b	.L6
.L7:
	ldr	r3, [fp, #-192]
	and	r3, r3, #61440
	cmp	r3, #16384
	bne	.L8
	sub	r3, fp, #96
	ldr	r2, .L15+52
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	b	.L6
.L8:
	ldr	r3, [fp, #-192]
	and	r3, r3, #61440
	cmp	r3, #8192
	bne	.L9
	sub	r3, fp, #96
	ldr	r2, .L15+56
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	strb	r3, [ip]
	b	.L6
.L9:
	ldr	r3, [fp, #-192]
	and	r3, r3, #61440
	cmp	r3, #24576
	bne	.L10
	sub	r3, fp, #96
	ldr	r2, .L15+60
	mov	ip, r3
	mov	r3, r2
	ldm	r3, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strb	r3, [ip]
	b	.L6
.L10:
	ldr	r3, [fp, #-192]
	and	r3, r3, #61440
	cmp	r3, #4096
	bne	.L11
	sub	r3, fp, #96
	ldr	r2, .L15+64
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strb	r1, [r3]
	b	.L6
.L11:
	ldr	r3, [fp, #-192]
	and	r3, r3, #61440
	cmp	r3, #49152
	bne	.L12
	sub	r3, fp, #96
	ldr	r2, .L15+68
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r1, #16
	strb	r2, [r3]
	b	.L6
.L12:
	sub	r3, fp, #96
	ldr	r2, .L15+72
	mov	ip, r3
	mov	r3, r2
	ldm	r3, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strb	r3, [ip]
.L6:
	sub	r3, fp, #96
	mov	r1, r3
	ldr	r0, .L15+76
	bl	printf
	ldr	r3, [fp, #-144]
	mov	r1, r3
	ldr	r0, .L15+80
	bl	printf
	ldr	r3, [fp, #-140]
	mov	r1, r3
	ldr	r0, .L15+84
	bl	printf
	ldr	r3, [fp, #-136]
	mov	r1, r3
	ldr	r0, .L15+88
	bl	printf
	sub	r3, fp, #188
	add	r3, r3, #56
	mov	r0, r3
	bl	ctime
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L15+92
	bl	printf
	sub	r3, fp, #188
	add	r3, r3, #64
	mov	r0, r3
	bl	ctime
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L15+96
	bl	printf
	sub	r3, fp, #188
	add	r3, r3, #72
	mov	r0, r3
	bl	ctime
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L15+100
	bl	printf
	ldr	r0, [fp, #-196]
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bge	.L13
	ldr	r0, .L15+104
	bl	perror
	mov	r0, #1
	bl	exit
.L13:
	mov	r0, #0
	bl	exit
.L16:
	.align	2
.L15:
	.word	.LC26
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
