	.file	"242330872.c"
	.intel_syntax noprefix
	.text
	.local	tfile
	.comm	tfile,8192,32
	.local	msg
	.comm	msg,8192,32
	.section	.rodata
.LC0:
	.string	"st_atime"
.LC1:
	.string	"st_mtime"
.LC2:
	.string	"st_ctime"
	.section	.data.rel.local,"aw"
	.align 32
	.type	timetest_table, @object
	.size	timetest_table, 264
timetest_table:
	.long	0
	.zero	4
	.quad	.LC0
	.quad	do_read
	.long	0
	.zero	4
	.quad	.LC0
	.quad	do_utime
	.long	2
	.zero	4
	.quad	.LC1
	.quad	do_creat
	.long	2
	.zero	4
	.quad	.LC1
	.quad	do_write
	.long	2
	.zero	4
	.quad	.LC1
	.quad	do_utime
	.long	1
	.zero	4
	.quad	.LC2
	.quad	do_creat
	.long	1
	.zero	4
	.quad	.LC2
	.quad	do_write
	.long	1
	.zero	4
	.quad	.LC2
	.quad	do_chmod
	.long	1
	.zero	4
	.quad	.LC2
	.quad	do_chown
	.long	1
	.zero	4
	.quad	.LC2
	.quad	do_link
	.long	1
	.zero	4
	.quad	.LC2
	.quad	do_utime
	.section	.rodata
.LC3:
	.string	"TESTDIR"
.LC4:
	.string	"TESTFILE"
.LC5:
	.string	"getenv(%s) returned NULL\n"
.LC6:
	.string	"%s/%s"
.LC7:
	.string	"open"
	.align 8
.LC8:
	.string	"ERROR: get_file_time(%s, %d, &t1) returned %d\n"
.LC9:
	.string	"get_file_time(%s, %d, &t2)\n"
.LC10:
	.string	"%s: t1(%ld) == t2(%ld)\n"
	.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, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -76[rbp], 0
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	rax, QWORD PTR -48[rbp+rax*8]
	mov	rdi, rax
	call	getenv@PLT
	mov	edx, DWORD PTR -76[rbp]
	movsx	rdx, edx
	mov	QWORD PTR -32[rbp+rdx*8], rax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	rax, QWORD PTR -32[rbp+rax*8]
	test	rax, rax
	jne	.L3
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	rdx, QWORD PTR -48[rbp+rax*8]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	add	DWORD PTR -76[rbp], 1
.L2:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, 1
	jbe	.L4
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	r8, rdx
	mov	rcx, rax
	lea	rdx, .LC6[rip]
	mov	esi, 8192
	lea	rdi, tfile[rip]
	mov	eax, 0
	call	snprintf@PLT
	mov	esi, 0
	lea	rdi, tfile[rip]
	call	access@PLT
	test	eax, eax
	jne	.L5
	lea	rdi, tfile[rip]
	call	unlink@PLT
.L5:
	mov	edx, 511
	mov	esi, 577
	lea	rdi, tfile[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -72[rbp], eax
	cmp	DWORD PTR -72[rbp], 0
	jns	.L6
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	eax, DWORD PTR -72[rbp]
	mov	edi, eax
	call	close@PLT
	mov	DWORD PTR -76[rbp], 0
	jmp	.L7
.L11:
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, timetest_table[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	rdx, -64[rbp]
	mov	esi, eax
	lea	rdi, tfile[rip]
	call	get_file_time
	mov	DWORD PTR -68[rbp], eax
	cmp	DWORD PTR -68[rbp], 0
	je	.L8
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, timetest_table[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -68[rbp]
	mov	r8d, ecx
	mov	ecx, edx
	lea	rdx, tfile[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	edi, 2
	call	sleep@PLT
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, timetest_table[rip+16]
	mov	rax, QWORD PTR [rdx+rax]
	lea	rdi, tfile[rip]
	call	rax
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, timetest_table[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	rdx, -56[rbp]
	mov	esi, eax
	lea	rdi, tfile[rip]
	call	get_file_time
	mov	DWORD PTR -68[rbp], eax
	cmp	DWORD PTR -68[rbp], 0
	je	.L9
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, timetest_table[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	lea	rdx, tfile[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	cmp	rdx, rax
	jne	.L10
	mov	rsi, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, timetest_table[rip+8]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	r8, rsi
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	add	DWORD PTR -76[rbp], 1
.L7:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, 10
	jbe	.L11
	lea	rdi, tfile[rip]
	call	unlink@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	get_file_time
	.type	get_file_time, @function
get_file_time:
.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 -168[rbp], rdi
	mov	DWORD PTR -172[rbp], esi
	mov	QWORD PTR -184[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -168[rbp], 0
	je	.L15
	cmp	QWORD PTR -184[rbp], 0
	jne	.L16
.L15:
	mov	eax, -1
	jmp	.L23
.L16:
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	cmp	eax, -1
	jne	.L18
	mov	eax, -1
	jmp	.L23
.L18:
	cmp	DWORD PTR -172[rbp], 2
	je	.L19
	cmp	DWORD PTR -172[rbp], 2
	jg	.L20
	cmp	DWORD PTR -172[rbp], 0
	je	.L21
	cmp	DWORD PTR -172[rbp], 1
	je	.L22
	jmp	.L20
.L21:
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 0
	jmp	.L23
.L22:
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 0
	jmp	.L23
.L19:
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 0
	jmp	.L23
.L20:
	mov	eax, -1
.L23:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	get_file_time, .-get_file_time
	.section	.rodata
.LC11:
	.string	"read(%d, buf, %d)\n"
	.text
	.globl	do_read
	.type	do_read, @function
do_read:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 48
	mov	QWORD PTR -8232[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -8216[rbp], 0
	mov	QWORD PTR -8208[rbp], 0
	mov	QWORD PTR -8200[rbp], 0
	lea	rdx, -8192[rbp]
	mov	eax, 0
	mov	ecx, 1022
	mov	rdi, rdx
	rep stosq
	cmp	QWORD PTR -8232[rbp], 0
	jne	.L26
	mov	eax, -1
	jmp	.L31
.L26:
	mov	rax, QWORD PTR -8232[rbp]
	mov	edx, 511
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8212[rbp], eax
	cmp	DWORD PTR -8212[rbp], -1
	jne	.L28
	mov	eax, -1
	jmp	.L31
.L28:
	lea	rcx, -8208[rbp]
	mov	eax, DWORD PTR -8212[rbp]
	mov	edx, 8192
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	cmp	rax, -1
	jne	.L29
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -8216[rbp], eax
.L29:
	mov	eax, DWORD PTR -8212[rbp]
	mov	edi, eax
	call	close@PLT
	cmp	DWORD PTR -8216[rbp], 0
	je	.L30
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -8212[rbp]
	mov	ecx, 8192
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L30:
	mov	eax, DWORD PTR -8216[rbp]
.L31:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	do_read, .-do_read
	.section	.rodata
.LC12:
	.string	"write(%d, buf, %d)\n"
	.text
	.globl	do_write
	.type	do_write, @function
do_write:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 48
	mov	QWORD PTR -8232[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -8216[rbp], 0
	movabs	rax, 7959380205891248483
	movabs	rdx, 8026576094568739939
	mov	QWORD PTR -8208[rbp], rax
	mov	QWORD PTR -8200[rbp], rdx
	movabs	rax, 2965731905283192671
	mov	edx, 0
	mov	QWORD PTR -8192[rbp], rax
	mov	QWORD PTR -8184[rbp], rdx
	lea	rdx, -8176[rbp]
	mov	eax, 0
	mov	ecx, 1020
	mov	rdi, rdx
	rep stosq
	cmp	QWORD PTR -8232[rbp], 0
	jne	.L34
	mov	eax, -1
	jmp	.L39
.L34:
	mov	rax, QWORD PTR -8232[rbp]
	mov	edx, 511
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8212[rbp], eax
	cmp	DWORD PTR -8212[rbp], -1
	jne	.L36
	mov	eax, -1
	jmp	.L39
.L36:
	lea	rax, -8208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -8208[rbp]
	mov	eax, DWORD PTR -8212[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	cmp	rax, -1
	jne	.L37
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -8216[rbp], eax
.L37:
	mov	eax, DWORD PTR -8212[rbp]
	mov	edi, eax
	call	close@PLT
	cmp	DWORD PTR -8216[rbp], 0
	je	.L38
	lea	rax, -8208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -8212[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L38:
	mov	eax, DWORD PTR -8216[rbp]
.L39:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	do_write, .-do_write
	.section	.rodata
.LC13:
	.string	"%s"
.LC14:
	.string	"link_file"
.LC15:
	.string	"link(%s, %s)\n"
	.text
	.globl	do_link
	.type	do_link, @function
do_link:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 48
	mov	QWORD PTR -8232[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -8220[rbp], 0
	mov	QWORD PTR -8208[rbp], 0
	mov	QWORD PTR -8200[rbp], 0
	lea	rdx, -8192[rbp]
	mov	eax, 0
	mov	ecx, 1022
	mov	rdi, rdx
	rep stosq
	lea	rax, -8208[rbp]
	mov	QWORD PTR -8216[rbp], rax
	cmp	QWORD PTR -8232[rbp], 0
	jne	.L42
	mov	eax, -1
	jmp	.L46
.L42:
	mov	rdx, QWORD PTR -8232[rbp]
	lea	rax, -8208[rbp]
	mov	rcx, rdx
	lea	rdx, .LC13[rip]
	mov	esi, 8192
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -8208[rbp]
	mov	esi, 47
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -8216[rbp], rax
	mov	rax, QWORD PTR -8216[rbp]
	add	rax, 1
	lea	rdx, -8208[rbp]
	sub	rax, rdx
	mov	rdx, rax
	mov	eax, 8192
	sub	rax, rdx
	mov	rcx, rax
	mov	rax, QWORD PTR -8216[rbp]
	add	rax, 1
	lea	rdx, .LC14[rip]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rdx, -8208[rbp]
	mov	rax, QWORD PTR -8232[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	link@PLT
	cmp	eax, -1
	jne	.L44
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -8220[rbp], eax
.L44:
	cmp	DWORD PTR -8220[rbp], 0
	je	.L45
	mov	rax, QWORD PTR stderr[rip]
	lea	rcx, -8208[rbp]
	mov	rdx, QWORD PTR -8232[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L45:
	lea	rax, -8208[rbp]
	mov	rdi, rax
	call	unlink@PLT
	mov	eax, DWORD PTR -8220[rbp]
.L46:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L47
	call	__stack_chk_fail@PLT
.L47:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	do_link, .-do_link
	.section	.rodata
.LC16:
	.string	"creat(%s, ALL_MODE)\n"
	.text
	.globl	do_creat
	.type	do_creat, @function
do_creat:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	cmp	QWORD PTR -24[rbp], 0
	jne	.L49
	mov	eax, -1
	jmp	.L50
.L49:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 511
	mov	rdi, rax
	call	creat@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L51
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -8[rbp], eax
.L51:
	cmp	DWORD PTR -4[rbp], -1
	je	.L52
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	close@PLT
.L52:
	cmp	DWORD PTR -8[rbp], 0
	je	.L53
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L53:
	mov	eax, DWORD PTR -8[rbp]
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	do_creat, .-do_creat
	.section	.rodata
.LC17:
	.string	"utime(%s, NULL)\n"
	.text
	.globl	do_utime
	.type	do_utime, @function
do_utime:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	cmp	QWORD PTR -24[rbp], 0
	jne	.L55
	mov	eax, -1
	jmp	.L56
.L55:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	utime@PLT
	cmp	eax, -1
	jne	.L57
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
.L57:
	cmp	DWORD PTR -4[rbp], 0
	je	.L58
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L58:
	mov	eax, DWORD PTR -4[rbp]
.L56:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	do_utime, .-do_utime
	.section	.rodata
.LC18:
	.string	"chmod(%s, ALL_MODE)\n"
	.text
	.globl	do_chmod
	.type	do_chmod, @function
do_chmod:
.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	DWORD PTR -4[rbp], 0
	cmp	QWORD PTR -24[rbp], 0
	jne	.L60
	mov	eax, -1
	jmp	.L61
.L60:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 511
	mov	rdi, rax
	call	chmod@PLT
	cmp	eax, -1
	jne	.L62
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
.L62:
	cmp	DWORD PTR -4[rbp], 0
	je	.L63
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L63:
	mov	eax, DWORD PTR -4[rbp]
.L61:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	do_chmod, .-do_chmod
	.section	.rodata
.LC19:
	.string	"chown(%s, %d, %d)\n"
	.text
	.globl	do_chown
	.type	do_chown, @function
do_chown:
.LFB14:
	.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, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -20[rbp], 0
	cmp	QWORD PTR -40[rbp], 0
	jne	.L65
	mov	eax, -1
	jmp	.L66
.L65:
	call	getgid@PLT
	mov	ebx, eax
	call	getuid@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, ebx
	mov	esi, ecx
	mov	rdi, rax
	call	chown@PLT
	cmp	eax, -1
	jne	.L67
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
.L67:
	cmp	DWORD PTR -20[rbp], 0
	je	.L68
	call	getgid@PLT
	mov	ebx, eax
	call	getuid@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	mov	r8d, ebx
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L68:
	mov	eax, DWORD PTR -20[rbp]
.L66:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	do_chown, .-do_chown
	.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	"242330872.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"TESTDIR\000"
	.align	2
.LC1:
	.ascii	"TESTFILE\000"
	.text
	.local	tfile
	.comm	tfile,8192,4
	.local	msg
	.comm	msg,8192,4
	.section	.rodata
	.align	2
.LC3:
	.ascii	"st_atime\000"
	.align	2
.LC4:
	.ascii	"st_mtime\000"
	.align	2
.LC5:
	.ascii	"st_ctime\000"
	.data
	.align	2
	.type	timetest_table, %object
	.size	timetest_table, 132
timetest_table:
	.word	0
	.word	.LC3
	.word	do_read
	.word	0
	.word	.LC3
	.word	do_utime
	.word	2
	.word	.LC4
	.word	do_creat
	.word	2
	.word	.LC4
	.word	do_write
	.word	2
	.word	.LC4
	.word	do_utime
	.word	1
	.word	.LC5
	.word	do_creat
	.word	1
	.word	.LC5
	.word	do_write
	.word	1
	.word	.LC5
	.word	do_chmod
	.word	1
	.word	.LC5
	.word	do_chown
	.word	1
	.word	.LC5
	.word	do_link
	.word	1
	.word	.LC5
	.word	do_utime
	.section	.rodata
	.align	2
.LC7:
	.ascii	"getenv(%s) returned NULL\012\000"
	.align	2
.LC8:
	.ascii	"%s/%s\000"
	.align	2
.LC9:
	.ascii	"open\000"
	.align	2
.LC10:
	.ascii	"ERROR: get_file_time(%s, %d, &t1) returned %d\012\000"
	.align	2
.LC11:
	.ascii	"get_file_time(%s, %d, &t2)\012\000"
	.align	2
.LC12:
	.ascii	"%s: t1(%ld) == t2(%ld)\012\000"
	.align	2
.LC6:
	.word	.LC0
	.word	.LC1
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L14+4
	sub	r3, fp, #24
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L2
.L4:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-20]
	mov	r0, r3
	bl	getenv
	mov	r2, r0
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-12]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-12]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L14+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-20]
	mov	r2, r3
	ldr	r1, .L14+12
	bl	fprintf
	mov	r0, #1
	bl	exit
.L3:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L2:
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	bls	.L4
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L14+16
	mov	r1, #8192
	ldr	r0, .L14+20
	bl	snprintf
	mov	r1, #0
	ldr	r0, .L14+20
	bl	access
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r0, .L14+20
	bl	unlink
.L5:
	ldr	r2, .L14+24
	ldr	r1, .L14+28
	ldr	r0, .L14+20
	bl	open
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bge	.L6
	ldr	r0, .L14+32
	bl	perror
	mov	r0, #1
	bl	exit
.L6:
	ldr	r0, [fp, #-32]
	bl	close
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L7
.L11:
	ldr	r1, .L14+36
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	sub	r2, fp, #44
	mov	r1, r3
	ldr	r0, .L14+20
	bl	get_file_time
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L8
	ldr	r3, .L14+8
	ldr	r0, [r3]
	ldr	r1, .L14+36
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L14+20
	ldr	r1, .L14+40
	bl	fprintf
	mov	r0, #1
	bl	exit
.L8:
	mov	r0, #2
	bl	sleep
	ldr	r1, .L14+36
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r0, .L14+20
	blx	r3
	ldr	r1, .L14+36
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	sub	r2, fp, #40
	mov	r1, r3
	ldr	r0, .L14+20
	bl	get_file_time
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L14+8
	ldr	r0, [r3]
	ldr	r1, .L14+36
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	ldr	r2, .L14+20
	ldr	r1, .L14+44
	bl	fprintf
	mov	r0, #1
	bl	exit
.L9:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bne	.L10
	ldr	r3, .L14+8
	ldr	r0, [r3]
	ldr	r1, .L14+36
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r1, [fp, #-44]
	ldr	r3, [fp, #-40]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L14+48
	bl	fprintf
	mov	r0, #1
	bl	exit
.L10:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L7:
	ldr	r3, [fp, #-36]
	cmp	r3, #10
	bls	.L11
	ldr	r0, .L14+20
	bl	unlink
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC13
	.word	.LC6
	.word	stderr
	.word	.LC7
	.word	.LC8
	.word	tfile
	.word	511
	.word	577
	.word	.LC9
	.word	timetest_table
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.section	.rodata
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_file_time
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_file_time, %function
get_file_time:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	str	r2, [fp, #-112]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bne	.L18
.L17:
	mvn	r3, #0
	b	.L25
.L18:
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-104]
	bl	stat
	mov	r3, r0
	cmn	r3, #1
	bne	.L20
	mvn	r3, #0
	b	.L25
.L20:
	ldr	r3, [fp, #-108]
	cmp	r3, #2
	beq	.L21
	ldr	r3, [fp, #-108]
	cmp	r3, #2
	bgt	.L22
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-108]
	cmp	r3, #1
	beq	.L24
	b	.L22
.L23:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-112]
	str	r2, [r3]
	mov	r3, #0
	b	.L25
.L24:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-112]
	str	r2, [r3]
	mov	r3, #0
	b	.L25
.L21:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-112]
	str	r2, [r3]
	mov	r3, #0
	b	.L25
.L22:
	mvn	r3, #0
.L25:
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC14
	.size	get_file_time, .-get_file_time
	.section	.rodata
	.align	2
.LC15:
	.ascii	"read(%d, buf, %d)\012\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	do_read
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_read, %function
do_read:
	@ args = 0, pretend = 0, frame = 8216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8192
	sub	sp, sp, #28
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-20]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-12]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4]
	mov	r0, r2
	ldr	r3, .L37+4
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmp	r3, #0
	bne	.L30
	mvn	r3, #0
	b	.L35
.L30:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, .L37+8
	mov	r1, #0
	ldr	r0, [r3, #-20]
	bl	open
	str	r0, [r4, #-8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmn	r3, #1
	bne	.L32
	mvn	r3, #0
	b	.L35
.L32:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #8192
	mov	r1, r3
	ldr	r0, [r0, #-8]
	bl	read
	mov	r3, r0
	cmn	r3, #1
	bne	.L33
	bl	__errno_location
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r3, [r3]
	str	r3, [r2, #-12]
.L33:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-8]
	bl	close
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmp	r3, #0
	beq	.L34
	ldr	r3, .L37+12
	ldr	r0, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #8192
	ldr	r2, [r2, #-8]
	ldr	r1, .L37+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L34:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
.L35:
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC16
	.word	8188
	.word	511
	.word	stderr
	.word	.LC15
	.size	do_read, .-do_read
	.section	.rodata
	.align	2
.LC18:
	.ascii	"write(%d, buf, %d)\012\000"
	.align	2
.LC17:
	.ascii	"call function do_write()\000"
	.space	8167
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	do_write
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_write, %function
do_write:
	@ args = 0, pretend = 0, frame = 8216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8192
	sub	sp, sp, #28
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-20]
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-12]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r3, .L47+4
	sub	ip, r4, #4
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stmia	ip!, {r0, r1}
	strb	r2, [ip]
	add	r3, r4, #21
	ldr	r2, .L47+8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmp	r3, #0
	bne	.L40
	mvn	r3, #0
	b	.L45
.L40:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, .L47+12
	mov	r1, #1
	ldr	r0, [r3, #-20]
	bl	open
	str	r0, [r4, #-8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmn	r3, #1
	bne	.L42
	mvn	r3, #0
	b	.L45
.L42:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-8]
	bl	write
	mov	r3, r0
	cmn	r3, #1
	bne	.L43
	bl	__errno_location
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r3, [r3]
	str	r3, [r2, #-12]
.L43:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-8]
	bl	close
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmp	r3, #0
	beq	.L44
	ldr	r3, .L47+16
	ldr	r4, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-8]
	ldr	r1, .L47+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L44:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
.L45:
	ldr	r2, .L47
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L46
	bl	__stack_chk_fail
.L46:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC19
	.word	.LC17
	.word	8167
	.word	511
	.word	stderr
	.word	.LC18
	.size	do_write, .-do_write
	.section	.rodata
	.align	2
.LC20:
	.ascii	"%s\000"
	.align	2
.LC21:
	.ascii	"link_file\000"
	.align	2
.LC22:
	.ascii	"link(%s, %s)\012\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	do_link
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_link, %function
do_link:
	@ args = 0, pretend = 0, frame = 8216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8192
	sub	sp, sp, #28
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-20]
	ldr	r3, .L56
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-12]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4]
	mov	r0, r2
	ldr	r3, .L56+4
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmp	r3, #0
	bne	.L50
	mvn	r3, #0
	b	.L54
.L50:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r0, fp, #8192
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r3, [r3, #-20]
	ldr	r2, .L56+8
	mov	r1, #8192
	bl	snprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #47
	mov	r0, r3
	bl	strrchr
	str	r0, [r4, #-8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	add	r0, r3, #1
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	add	r2, r3, #1
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r3, r2, r3
	rsb	r3, r3, #8192
	ldr	r2, .L56+12
	mov	r1, r3
	bl	snprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-20]
	bl	link
	mov	r3, r0
	cmn	r3, #1
	bne	.L52
	bl	__errno_location
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r3, [r3]
	str	r3, [r2, #-12]
.L52:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmp	r3, #0
	beq	.L53
	ldr	r3, .L56+16
	ldr	r0, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-20]
	ldr	r1, .L56+20
	bl	fprintf
	mov	r0, #1
	bl	exit
.L53:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	unlink
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
.L54:
	ldr	r2, .L56
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L55
	bl	__stack_chk_fail
.L55:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L57:
	.align	2
.L56:
	.word	.LC23
	.word	8188
	.word	.LC20
	.word	.LC21
	.word	stderr
	.word	.LC22
	.size	do_link, .-do_link
	.section	.rodata
	.align	2
.LC24:
	.ascii	"creat(%s, ALL_MODE)\012\000"
	.text
	.align	2
	.global	do_creat
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_creat, %function
do_creat:
	@ 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]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L59
	mvn	r3, #0
	b	.L60
.L59:
	ldr	r1, .L64
	ldr	r0, [fp, #-16]
	bl	creat
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L61
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-12]
.L61:
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	beq	.L62
	ldr	r0, [fp, #-8]
	bl	close
.L62:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L63
	ldr	r3, .L64+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r1, .L64+8
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L63:
	ldr	r3, [fp, #-12]
.L60:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L65:
	.align	2
.L64:
	.word	511
	.word	stderr
	.word	.LC24
	.size	do_creat, .-do_creat
	.section	.rodata
	.align	2
.LC25:
	.ascii	"utime(%s, NULL)\012\000"
	.text
	.align	2
	.global	do_utime
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_utime, %function
do_utime:
	@ 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]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L67
	mvn	r3, #0
	b	.L68
.L67:
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	utime
	mov	r3, r0
	cmn	r3, #1
	bne	.L69
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-8]
.L69:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L70
	ldr	r3, .L71
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r1, .L71+4
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L70:
	ldr	r3, [fp, #-8]
.L68:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L72:
	.align	2
.L71:
	.word	stderr
	.word	.LC25
	.size	do_utime, .-do_utime
	.section	.rodata
	.align	2
.LC26:
	.ascii	"chmod(%s, ALL_MODE)\012\000"
	.text
	.align	2
	.global	do_chmod
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_chmod, %function
do_chmod:
	@ 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]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L74
	mvn	r3, #0
	b	.L75
.L74:
	ldr	r1, .L78
	ldr	r0, [fp, #-16]
	bl	chmod
	mov	r3, r0
	cmn	r3, #1
	bne	.L76
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-8]
.L76:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L77
	ldr	r3, .L78+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r1, .L78+8
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L77:
	ldr	r3, [fp, #-8]
.L75:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L79:
	.align	2
.L78:
	.word	511
	.word	stderr
	.word	.LC26
	.size	do_chmod, .-do_chmod
	.section	.rodata
	.align	2
.LC27:
	.ascii	"chown(%s, %d, %d)\012\000"
	.text
	.align	2
	.global	do_chown
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_chown, %function
do_chown:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L81
	mvn	r3, #0
	b	.L82
.L81:
	bl	getuid
	mov	r4, r0
	bl	getgid
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, [fp, #-24]
	bl	chown
	mov	r3, r0
	cmn	r3, #1
	bne	.L83
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-16]
.L83:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L84
	ldr	r3, .L85
	ldr	r4, [r3]
	bl	getuid
	mov	r3, r0
	mov	r5, r3
	bl	getgid
	mov	r3, r0
	str	r3, [sp]
	mov	r3, r5
	ldr	r2, [fp, #-24]
	ldr	r1, .L85+4
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L84:
	ldr	r3, [fp, #-16]
.L82:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L86:
	.align	2
.L85:
	.word	stderr
	.word	.LC27
	.size	do_chown, .-do_chown
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
