	.file	"3263812.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"h"
	.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -8[rbp], 0
	cmp	DWORD PTR -20[rbp], 1
	jg	.L4
	mov	eax, 0
	call	usage
	mov	eax, 1
	jmp	.L3
.L6:
	cmp	DWORD PTR -4[rbp], 63
	je	.L5
	cmp	DWORD PTR -4[rbp], 104
	jne	.L4
	mov	eax, 0
	call	usage
	mov	eax, 0
	jmp	.L3
.L5:
	mov	eax, 0
	call	usage
	mov	eax, 1
	jmp	.L3
.L4:
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, .LC0[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L6
	mov	eax, DWORD PTR optind[rip]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	dostat
	add	DWORD PTR -8[rbp], eax
	add	DWORD PTR -12[rbp], 1
.L7:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L8
	mov	eax, DWORD PTR -8[rbp]
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC1:
	.string	"-- %s --\n"
.LC2:
	.string	"type: "
.LC3:
	.string	"named pipe (fifo)"
.LC4:
	.string	"character special"
.LC5:
	.string	"directory"
.LC6:
	.string	"block special"
.LC7:
	.string	"regular file"
.LC8:
	.string	"symbolic link"
.LC9:
	.string	"socket"
.LC10:
	.string	"unknown filetype"
.LC11:
	.string	"size: %d bytes\n"
.LC12:
	.string	"uid: %d\n"
.LC13:
	.string	"gid: %d\n"
.LC14:
	.string	"mode: %o\n"
.LC15:
	.string	"inode: %d\n"
.LC16:
	.string	"%m/%d/%y-%I:%M:%S"
.LC17:
	.string	"mtime: %s\n"
.LC18:
	.string	"atime: %s\n"
.LC19:
	.string	"ctime: %s\n"
	.text
	.globl	dostat
	.type	dostat, @function
dostat:
.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, 192
	mov	QWORD PTR -184[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -176[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	lstat@PLT
	cmp	eax, -1
	jne	.L10
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	eax, 1
	jmp	.L24
.L10:
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -152[rbp]
	and	eax, 61440
	cmp	eax, 49152
	je	.L12
	cmp	eax, 49152
	ja	.L13
	cmp	eax, 40960
	je	.L14
	cmp	eax, 40960
	ja	.L13
	cmp	eax, 32768
	je	.L15
	cmp	eax, 32768
	ja	.L13
	cmp	eax, 24576
	je	.L16
	cmp	eax, 24576
	ja	.L13
	cmp	eax, 16384
	je	.L17
	cmp	eax, 16384
	ja	.L13
	cmp	eax, 4096
	je	.L18
	cmp	eax, 8192
	je	.L19
	jmp	.L13
.L18:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L20
.L19:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L20
.L17:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L20
.L16:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L20
.L15:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L20
.L14:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L20
.L12:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	jmp	.L20
.L13:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	nop
.L20:
	mov	rax, QWORD PTR -128[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -148[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -144[rbp]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -152[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -168[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -176[rbp]
	add	rax, 88
	mov	rdi, rax
	call	localtime@PLT
	mov	rdx, rax
	lea	rax, -32[rbp]
	mov	rcx, rdx
	lea	rdx, .LC16[rip]
	mov	esi, 18
	mov	rdi, rax
	call	strftime@PLT
	test	rax, rax
	je	.L21
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
.L21:
	lea	rax, -176[rbp]
	add	rax, 72
	mov	rdi, rax
	call	localtime@PLT
	mov	rdx, rax
	lea	rax, -32[rbp]
	mov	rcx, rdx
	lea	rdx, .LC16[rip]
	mov	esi, 18
	mov	rdi, rax
	call	strftime@PLT
	test	rax, rax
	je	.L22
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
.L22:
	lea	rax, -176[rbp]
	add	rax, 104
	mov	rdi, rax
	call	localtime@PLT
	mov	rdx, rax
	lea	rax, -32[rbp]
	mov	rcx, rdx
	lea	rdx, .LC16[rip]
	mov	esi, 18
	mov	rdi, rax
	call	strftime@PLT
	test	rax, rax
	je	.L23
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
.L23:
	mov	eax, 0
.L24:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	dostat, .-dostat
	.section	.rodata
.LC20:
	.string	"usage: stat file ...\n"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	usage, .-usage
	.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	"3263812.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"h\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bgt	.L4
	bl	usage
	mov	r3, #1
	b	.L3
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #63
	beq	.L5
	ldr	r3, [fp, #-8]
	cmp	r3, #104
	bne	.L4
	bl	usage
	mov	r3, #0
	b	.L3
.L5:
	bl	usage
	mov	r3, #1
	b	.L3
.L4:
	ldr	r2, .L9
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	getopt
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L6
	ldr	r3, .L9+4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L7
.L8:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	dostat
	mov	r2, r0
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L7:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-12]
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	optind
	.size	main, .-main
	.section	.rodata
	.align	2
.LC1:
	.ascii	"-- %s --\012\000"
	.align	2
.LC2:
	.ascii	"type: \000"
	.align	2
.LC3:
	.ascii	"named pipe (fifo)\000"
	.align	2
.LC4:
	.ascii	"character special\000"
	.align	2
.LC5:
	.ascii	"directory\000"
	.align	2
.LC6:
	.ascii	"block special\000"
	.align	2
.LC7:
	.ascii	"regular file\000"
	.align	2
.LC8:
	.ascii	"symbolic link\000"
	.align	2
.LC9:
	.ascii	"socket\000"
	.align	2
.LC10:
	.ascii	"unknown filetype\000"
	.align	2
.LC11:
	.ascii	"size: %d bytes\012\000"
	.align	2
.LC12:
	.ascii	"uid: %d\012\000"
	.align	2
.LC13:
	.ascii	"gid: %d\012\000"
	.align	2
.LC14:
	.ascii	"mode: %o\012\000"
	.align	2
.LC15:
	.ascii	"inode: %d\012\000"
	.align	2
.LC16:
	.ascii	"%m/%d/%y-%I:%M:%S\000"
	.align	2
.LC17:
	.ascii	"mtime: %s\012\000"
	.align	2
.LC18:
	.ascii	"atime: %s\012\000"
	.align	2
.LC19:
	.ascii	"ctime: %s\012\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	dostat
	.syntax unified
	.arm
	.fpu softvfp
	.type	dostat, %function
dostat:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-120]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #116
	mov	r1, r3
	ldr	r0, [fp, #-120]
	bl	lstat
	mov	r3, r0
	cmn	r3, #1
	bne	.L12
	ldr	r0, [fp, #-120]
	bl	perror
	mov	r3, #1
	b	.L26
.L12:
	ldr	r1, [fp, #-120]
	ldr	r0, .L28+4
	bl	printf
	ldr	r0, .L28+8
	bl	printf
	ldr	r3, [fp, #-100]
	and	r3, r3, #61440
	cmp	r3, #49152
	beq	.L14
	cmp	r3, #49152
	bhi	.L15
	cmp	r3, #40960
	beq	.L16
	cmp	r3, #40960
	bhi	.L15
	cmp	r3, #32768
	beq	.L17
	cmp	r3, #32768
	bhi	.L15
	cmp	r3, #24576
	beq	.L18
	cmp	r3, #24576
	bhi	.L15
	cmp	r3, #16384
	beq	.L19
	cmp	r3, #16384
	bhi	.L15
	cmp	r3, #4096
	beq	.L20
	cmp	r3, #8192
	beq	.L21
	b	.L15
.L20:
	ldr	r0, .L28+12
	bl	puts
	b	.L22
.L21:
	ldr	r0, .L28+16
	bl	puts
	b	.L22
.L19:
	ldr	r0, .L28+20
	bl	puts
	b	.L22
.L18:
	ldr	r0, .L28+24
	bl	puts
	b	.L22
.L17:
	ldr	r0, .L28+28
	bl	puts
	b	.L22
.L16:
	ldr	r0, .L28+32
	bl	puts
	b	.L22
.L14:
	ldr	r0, .L28+36
	bl	puts
	b	.L22
.L15:
	ldr	r0, .L28+40
	bl	puts
	nop
.L22:
	ldr	r3, [fp, #-72]
	mov	r1, r3
	ldr	r0, .L28+44
	bl	printf
	ldr	r3, [fp, #-92]
	mov	r1, r3
	ldr	r0, .L28+48
	bl	printf
	ldr	r3, [fp, #-88]
	mov	r1, r3
	ldr	r0, .L28+52
	bl	printf
	ldr	r3, [fp, #-100]
	mov	r1, r3
	ldr	r0, .L28+56
	bl	printf
	ldr	r3, [fp, #-104]
	mov	r1, r3
	ldr	r0, .L28+60
	bl	printf
	sub	r3, fp, #116
	add	r3, r3, #64
	mov	r0, r3
	bl	localtime
	mov	r3, r0
	sub	r0, fp, #28
	ldr	r2, .L28+64
	mov	r1, #18
	bl	strftime
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L28+68
	bl	printf
.L23:
	sub	r3, fp, #116
	add	r3, r3, #56
	mov	r0, r3
	bl	localtime
	mov	r3, r0
	sub	r0, fp, #28
	ldr	r2, .L28+64
	mov	r1, #18
	bl	strftime
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L28+72
	bl	printf
.L24:
	sub	r3, fp, #116
	add	r3, r3, #72
	mov	r0, r3
	bl	localtime
	mov	r3, r0
	sub	r0, fp, #28
	ldr	r2, .L28+64
	mov	r1, #18
	bl	strftime
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L28+76
	bl	printf
.L25:
	mov	r3, #0
.L26:
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC20
	.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
	.size	dostat, .-dostat
	.section	.rodata
	.align	2
.LC21:
	.ascii	"usage: stat file ...\012\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L31
	ldr	r3, [r3]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L31+4
	bl	fwrite
	nop
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	stderr
	.word	.LC21
	.size	usage, .-usage
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
