	.file	"270557.c"
	.intel_syntax noprefix
	.text
	.local	subst_table
	.comm	subst_table,8,8
	.type	add_subst, @function
add_subst:
.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	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -8[rbp], 0
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L8
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L9
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L10
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rdx, QWORD PTR subst_table[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR subst_table[rip], rax
	mov	eax, 0
	jmp	.L6
.L8:
	nop
	jmp	.L3
.L9:
	nop
	jmp	.L3
.L10:
	nop
.L3:
	cmp	QWORD PTR -8[rbp], 0
	je	.L7
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L7:
	mov	eax, 12
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	add_subst, .-add_subst
	.type	fetch_subst_entry, @function
fetch_subst_entry:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR subst_table[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L12
.L15:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L17
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
.L12:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L15
	jmp	.L14
.L17:
	nop
.L14:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fetch_subst_entry, .-fetch_subst_entry
	.type	get_subst_symbol, @function
get_subst_symbol:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	eax, edx
	mov	BYTE PTR -36[rbp], al
	lea	rax, replace_name.0[rip]
	mov	QWORD PTR -8[rbp], rax
	cmp	BYTE PTR -36[rbp], 0
	je	.L19
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	movzx	edx, BYTE PTR -36[rbp]
	mov	BYTE PTR [rax], dl
.L19:
	cmp	QWORD PTR -32[rbp], 126
	jbe	.L20
	mov	eax, 0
	jmp	.L21
.L20:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L22
.L27:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 96
	jle	.L23
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 122
	jle	.L24
.L23:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 64
	jle	.L25
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 90
	jle	.L24
.L25:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L26
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jle	.L24
.L26:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 95
	je	.L24
	mov	eax, 0
	jmp	.L21
.L24:
	add	QWORD PTR -16[rbp], 1
.L22:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L27
	lea	rax, replace_name.0[rip]
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	get_subst_symbol, .-get_subst_symbol
	.type	replace_string, @function
replace_string:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	jne	.L29
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove@PLT
	jmp	.L30
.L29:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cmp	DWORD PTR -8[rbp], eax
	je	.L30
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, -1[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	memmove@PLT
.L30:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	replace_string, .-replace_string
	.section	.rodata
.LC0:
	.string	"Unfound expansion: '%s'\n"
	.text
	.type	substitute_line, @function
substitute_line:
.LFB10:
	.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, 72
	.cfi_offset 3, -24
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -64[rbp], rax
	jmp	.L32
.L39:
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, 64
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	je	.L48
	add	QWORD PTR -56[rbp], 1
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 64
	jne	.L35
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, -1[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	memmove@PLT
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 1
	mov	QWORD PTR -64[rbp], rax
	jmp	.L32
.L35:
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 64
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	je	.L49
	mov	rax, QWORD PTR -48[rbp]
	sub	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	get_subst_symbol
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L37
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -64[rbp], rax
	jmp	.L32
.L37:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fetch_subst_entry
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L38
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -32[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	mov	QWORD PTR -64[rbp], rax
	jmp	.L32
.L38:
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, 1
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	replace_string
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 64
	jne	.L32
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 2
	cmp	rbx, rax
	jne	.L32
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -2[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L32
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	strlen@PLT
	add	QWORD PTR -64[rbp], rax
.L32:
	cmp	QWORD PTR -64[rbp], 0
	jne	.L39
	jmp	.L34
.L48:
	nop
	jmp	.L34
.L49:
	nop
.L34:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -64[rbp], rax
	jmp	.L40
.L47:
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, 36
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	je	.L50
	add	QWORD PTR -56[rbp], 1
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 123
	je	.L43
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -64[rbp], rax
	jmp	.L40
.L43:
	add	QWORD PTR -56[rbp], 1
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 125
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	je	.L51
	mov	rax, QWORD PTR -48[rbp]
	sub	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 36
	mov	rsi, rcx
	mov	rdi, rax
	call	get_subst_symbol
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L45
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -64[rbp], rax
	jmp	.L40
.L45:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fetch_subst_entry
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L46
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	mov	QWORD PTR -64[rbp], rax
	jmp	.L40
.L46:
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, 2
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	replace_string
.L40:
	cmp	QWORD PTR -64[rbp], 0
	jne	.L47
	jmp	.L52
.L50:
	nop
	jmp	.L52
.L51:
	nop
.L52:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	substitute_line, .-substitute_line
	.type	parse_config_file, @function
parse_config_file:
.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, 2096
	mov	QWORD PTR -2088[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L54
.L76:
	lea	rax, -2064[rbp]
	mov	edx, 2048
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rdx, QWORD PTR -2088[rbp]
	lea	rax, -2064[rbp]
	mov	esi, 2048
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	je	.L78
	lea	rax, -2064[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -2080[rbp], rax
	cmp	QWORD PTR -2080[rbp], 0
	je	.L57
	mov	rax, QWORD PTR -2080[rbp]
	mov	BYTE PTR [rax], 0
.L57:
	lea	rax, -2064[rbp]
	mov	esi, 35
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -2080[rbp], rax
	cmp	QWORD PTR -2080[rbp], 0
	je	.L58
	mov	rax, QWORD PTR -2080[rbp]
	mov	BYTE PTR [rax], 0
.L58:
	lea	rax, -2064[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -1[rax]
	lea	rax, -2064[rbp]
	add	rax, rdx
	mov	QWORD PTR -2080[rbp], rax
	jmp	.L59
.L62:
	mov	rax, QWORD PTR -2080[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L60
	mov	rax, QWORD PTR -2080[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	jne	.L61
.L60:
	mov	rax, QWORD PTR -2080[rbp]
	mov	BYTE PTR [rax], 0
	sub	QWORD PTR -2080[rbp], 1
.L59:
	lea	rax, -2064[rbp]
	cmp	QWORD PTR -2080[rbp], rax
	jnb	.L62
.L61:
	lea	rax, -2064[rbp]
	mov	QWORD PTR -2080[rbp], rax
	jmp	.L63
.L65:
	add	QWORD PTR -2080[rbp], 1
.L63:
	mov	rax, QWORD PTR -2080[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L64
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -2080[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L65
.L64:
	mov	rax, QWORD PTR -2080[rbp]
	mov	QWORD PTR -2072[rbp], rax
	mov	rax, QWORD PTR -2072[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L66
	jmp	.L54
.L66:
	mov	rax, QWORD PTR -2072[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 64
	jne	.L67
	jmp	.L54
.L67:
	mov	rax, QWORD PTR -2072[rbp]
	mov	QWORD PTR -2080[rbp], rax
	jmp	.L68
.L71:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -2080[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L79
	add	QWORD PTR -2080[rbp], 1
.L68:
	mov	rax, QWORD PTR -2080[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L71
	jmp	.L70
.L79:
	nop
.L70:
	mov	rax, QWORD PTR -2080[rbp]
	mov	BYTE PTR [rax], 0
	add	QWORD PTR -2080[rbp], 1
	jmp	.L72
.L75:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -2080[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L80
	add	QWORD PTR -2080[rbp], 1
.L72:
	mov	rax, QWORD PTR -2080[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L75
	jmp	.L74
.L80:
	nop
.L74:
	mov	rdx, QWORD PTR -2080[rbp]
	mov	rax, QWORD PTR -2072[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	add_subst
.L54:
	mov	rax, QWORD PTR -2088[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L76
	jmp	.L56
.L78:
	nop
.L56:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L77
	call	__stack_chk_fail@PLT
.L77:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	parse_config_file, .-parse_config_file
	.section	.rodata
.LC1:
	.string	"r"
	.text
	.type	compare_file, @function
compare_file:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 80
	mov	QWORD PTR -4168[rbp], rdi
	mov	QWORD PTR -4176[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -4168[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -4144[rbp], rax
	cmp	QWORD PTR -4144[rbp], 0
	jne	.L82
	mov	eax, 0
	jmp	.L89
.L82:
	mov	rax, QWORD PTR -4176[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -4136[rbp], rax
	cmp	QWORD PTR -4136[rbp], 0
	jne	.L84
	mov	rax, QWORD PTR -4144[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	jmp	.L89
.L84:
	mov	rdx, QWORD PTR -4144[rbp]
	lea	rax, -4112[rbp]
	mov	esi, 2048
	mov	rdi, rax
	call	fgets@PLT
	mov	QWORD PTR -4128[rbp], rax
	mov	rdx, QWORD PTR -4136[rbp]
	lea	rax, -2064[rbp]
	mov	esi, 2048
	mov	rdi, rax
	call	fgets@PLT
	mov	QWORD PTR -4120[rbp], rax
	cmp	QWORD PTR -4128[rbp], 0
	jne	.L85
	cmp	QWORD PTR -4120[rbp], 0
	jne	.L85
	mov	DWORD PTR -4148[rbp], 1
	jmp	.L86
.L85:
	cmp	QWORD PTR -4128[rbp], 0
	je	.L87
	cmp	QWORD PTR -4120[rbp], 0
	je	.L87
	lea	rdx, -2064[rbp]
	lea	rax, -4112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L84
.L87:
	mov	DWORD PTR -4148[rbp], 0
.L86:
	mov	rax, QWORD PTR -4144[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -4136[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -4148[rbp]
.L89:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L90
	call	__stack_chk_fail@PLT
.L90:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	compare_file, .-compare_file
	.section	.rodata
.LC2:
	.string	"%s: [-f config-file] [file]\n"
.LC3:
	.string	"f:tv"
.LC4:
	.string	"Memory error!  Exiting.\n"
.LC5:
	.string	"w"
.LC6:
	.string	"No change, keeping %s.\n"
.LC7:
	.string	"Updating modtime for %s\n"
.LC8:
	.string	"utime"
.LC9:
	.string	"Creating or replacing %s.\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 2432
	mov	DWORD PTR -2420[rbp], edi
	mov	QWORD PTR -2432[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -2384[rbp], 0
	mov	QWORD PTR -2376[rbp], 0
	mov	DWORD PTR -2412[rbp], 0
	mov	DWORD PTR -2408[rbp], 0
	jmp	.L92
.L98:
	cmp	DWORD PTR -2404[rbp], 118
	je	.L93
	cmp	DWORD PTR -2404[rbp], 118
	jg	.L94
	cmp	DWORD PTR -2404[rbp], 102
	je	.L95
	cmp	DWORD PTR -2404[rbp], 116
	je	.L96
	jmp	.L94
.L95:
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -2400[rbp], rax
	cmp	QWORD PTR -2400[rbp], 0
	jne	.L97
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L97:
	mov	rax, QWORD PTR -2400[rbp]
	mov	rdi, rax
	call	parse_config_file
	mov	rax, QWORD PTR -2400[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L92
.L96:
	add	DWORD PTR -2408[rbp], 1
	jmp	.L92
.L93:
	add	DWORD PTR -2412[rbp], 1
	jmp	.L92
.L94:
	mov	rax, QWORD PTR -2432[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
	nop
.L92:
	mov	rcx, QWORD PTR -2432[rbp]
	mov	eax, DWORD PTR -2420[rbp]
	lea	rdx, .LC3[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -2404[rbp], eax
	cmp	DWORD PTR -2404[rbp], -1
	jne	.L98
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -2420[rbp], eax
	jle	.L99
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2432[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -2400[rbp], rax
	cmp	QWORD PTR -2400[rbp], 0
	jne	.L100
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2432[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L100:
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
	jmp	.L101
.L99:
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -2400[rbp], rax
.L101:
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -2420[rbp], eax
	jle	.L102
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2432[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -2384[rbp], rax
	mov	rax, QWORD PTR -2384[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 20
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -2376[rbp], rax
	cmp	QWORD PTR -2376[rbp], 0
	jne	.L103
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L103:
	mov	rdx, QWORD PTR -2384[rbp]
	mov	rax, QWORD PTR -2376[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -2376[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -2376[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 2003136046
	mov	BYTE PTR 4[rax], 0
	mov	rax, QWORD PTR -2376[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -2392[rbp], rax
	cmp	QWORD PTR -2392[rbp], 0
	jne	.L105
	mov	rax, QWORD PTR -2376[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L102:
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR -2392[rbp], rax
	mov	QWORD PTR -2384[rbp], 0
	jmp	.L105
.L108:
	mov	rdx, QWORD PTR -2400[rbp]
	lea	rax, -2064[rbp]
	mov	esi, 2048
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	je	.L119
	lea	rax, -2064[rbp]
	mov	rdi, rax
	call	substitute_line
	mov	rdx, QWORD PTR -2392[rbp]
	lea	rax, -2064[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
.L105:
	mov	rax, QWORD PTR -2400[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L108
	jmp	.L107
.L119:
	nop
.L107:
	mov	rax, QWORD PTR -2400[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -2392[rbp]
	mov	rdi, rax
	call	fclose@PLT
	cmp	QWORD PTR -2384[rbp], 0
	je	.L109
	mov	rdx, QWORD PTR -2376[rbp]
	mov	rax, QWORD PTR -2384[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	compare_file
	test	eax, eax
	je	.L110
	cmp	DWORD PTR -2412[rbp], 0
	je	.L111
	mov	rax, QWORD PTR -2384[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L111:
	cmp	DWORD PTR -2408[rbp], 0
	je	.L112
	lea	rdx, -2352[rbp]
	mov	rax, QWORD PTR -2384[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	jne	.L112
	cmp	DWORD PTR -2412[rbp], 0
	je	.L113
	mov	rax, QWORD PTR -2384[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L113:
	mov	rax, QWORD PTR -2280[rbp]
	mov	QWORD PTR -2368[rbp], rax
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -2360[rbp], rax
	lea	rdx, -2368[rbp]
	mov	rax, QWORD PTR -2384[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	utime@PLT
	test	eax, eax
	jns	.L112
	lea	rdi, .LC8[rip]
	call	perror@PLT
.L112:
	mov	rax, QWORD PTR -2376[rbp]
	mov	rdi, rax
	call	unlink@PLT
	jmp	.L114
.L110:
	cmp	DWORD PTR -2412[rbp], 0
	je	.L115
	mov	rax, QWORD PTR -2384[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L115:
	mov	rdx, QWORD PTR -2384[rbp]
	mov	rax, QWORD PTR -2376[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rename@PLT
.L114:
	lea	rdx, -2208[rbp]
	mov	rax, QWORD PTR -2384[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	jne	.L109
	mov	eax, DWORD PTR -2184[rbp]
	and	al, 109
	mov	edx, eax
	mov	rax, QWORD PTR -2384[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	chmod@PLT
.L109:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L118
	call	__stack_chk_fail@PLT
.L118:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	main, .-main
	.local	replace_name.0
	.comm	replace_name.0,128,32
	.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	"270557.c"
	.text
	.local	subst_table
	.comm	subst_table,4,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_subst, %function
add_subst:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L8
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L9
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strcpy
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r2, .L11
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	mov	r3, #0
	b	.L6
.L8:
	nop
	b	.L3
.L9:
	nop
	b	.L3
.L10:
	nop
.L3:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-8]
	bl	free
.L7:
	mov	r3, #12
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	subst_table
	.size	add_subst, .-add_subst
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fetch_subst_entry, %function
fetch_subst_entry:
	@ 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]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L14
.L17:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
.L14:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L17
	b	.L16
.L19:
	nop
.L16:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	subst_table
	.size	fetch_subst_entry, .-fetch_subst_entry
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_subst_symbol, %function
get_subst_symbol:
	@ 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, #-16]
	str	r1, [fp, #-20]
	mov	r3, r2
	strb	r3, [fp, #-21]
	ldr	r3, .L32
	str	r3, [fp, #-8]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
.L23:
	ldr	r3, [fp, #-20]
	cmp	r3, #126
	bls	.L24
	mov	r3, #0
	b	.L25
.L24:
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	memcpy
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
	b	.L26
.L31:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L27
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #122
	bls	.L28
.L27:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L29
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #90
	bls	.L28
.L29:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L30
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L28
.L30:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #95
	beq	.L28
	mov	r3, #0
	b	.L25
.L28:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L26:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L31
	ldr	r3, .L32
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	replace_name.6254
	.size	get_subst_symbol, .-get_subst_symbol
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	replace_string, %function
replace_string:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L35
	ldr	r3, [fp, #-28]
	add	r4, r3, #1
	ldr	r0, [fp, #-28]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r2, r3
	mov	r1, r4
	ldr	r0, [fp, #-24]
	bl	memmove
	b	.L36
.L35:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	beq	.L36
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-28]
	add	r4, r2, r3
	ldr	r0, [fp, #-28]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-28]
	mov	r0, r4
	bl	memmove
.L36:
	ldr	r3, [fp, #-20]
	mov	r2, r3
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-24]
	bl	memcpy
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	replace_string, .-replace_string
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Unfound expansion: '%s'\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	substitute_line, %function
substitute_line:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-36]
	b	.L38
.L45:
	mov	r1, #64
	ldr	r0, [fp, #-36]
	bl	strchr
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L54
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #64
	bne	.L41
	ldr	r3, [fp, #-32]
	sub	r4, r3, #1
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-32]
	mov	r0, r4
	bl	memmove
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	b	.L38
.L41:
	mov	r1, #64
	ldr	r0, [fp, #-32]
	bl	strchr
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L55
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	mov	r2, #0
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-32]
	bl	get_subst_symbol
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L43
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-36]
	b	.L38
.L43:
	ldr	r0, [fp, #-20]
	bl	fetch_subst_entry
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L44
	ldr	r3, .L59
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, .L59+4
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	b	.L38
.L44:
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-36]
	bl	replace_string
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #64
	bne	.L38
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r4, r0
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #2
	cmp	r4, r3
	bne	.L38
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	add	r4, r3, #1
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #2
	mov	r2, r3
	mov	r1, r4
	ldr	r0, [fp, #-20]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L38
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	str	r3, [fp, #-36]
.L38:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L45
	b	.L40
.L54:
	nop
	b	.L40
.L55:
	nop
.L40:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-36]
	b	.L46
.L53:
	mov	r1, #36
	ldr	r0, [fp, #-36]
	bl	strchr
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L56
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #123
	beq	.L49
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-36]
	b	.L46
.L49:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	mov	r1, #125
	ldr	r0, [fp, #-32]
	bl	strchr
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L57
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	mov	r2, #36
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-32]
	bl	get_subst_symbol
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L51
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-36]
	b	.L46
.L51:
	ldr	r0, [fp, #-20]
	bl	fetch_subst_entry
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L52
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	b	.L46
.L52:
	ldr	r3, [fp, #-32]
	sub	r3, r3, #2
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-36]
	bl	replace_string
.L46:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L53
	b	.L58
.L56:
	nop
	b	.L58
.L57:
	nop
.L58:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L60:
	.align	2
.L59:
	.word	stderr
	.word	.LC0
	.size	substitute_line, .-substitute_line
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_config_file, %function
parse_config_file:
	@ args = 0, pretend = 0, frame = 2072
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2064
	sub	sp, sp, #8
	str	r0, [fp, #-2072]
	ldr	r3, .L89
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L62
.L84:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #2048
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-2072]
	mov	r1, #2048
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L86
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, #10
	mov	r0, r3
	bl	strchr
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	beq	.L65
	ldr	r3, [fp, #-2064]
	mov	r2, #0
	strb	r2, [r3]
.L65:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, #35
	mov	r0, r3
	bl	strchr
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	beq	.L66
	ldr	r3, [fp, #-2064]
	mov	r2, #0
	strb	r2, [r3]
.L66:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, r3, #1
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, r2
	str	r3, [fp, #-2064]
	b	.L67
.L70:
	ldr	r3, [fp, #-2064]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L68
	ldr	r3, [fp, #-2064]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	bne	.L69
.L68:
	ldr	r3, [fp, #-2064]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-2064]
	sub	r3, r3, #1
	str	r3, [fp, #-2064]
.L67:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-2064]
	cmp	r2, r3
	bcs	.L70
.L69:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-2064]
	b	.L71
.L73:
	ldr	r3, [fp, #-2064]
	add	r3, r3, #1
	str	r3, [fp, #-2064]
.L71:
	ldr	r3, [fp, #-2064]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L72
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-2064]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L73
.L72:
	ldr	r3, [fp, #-2064]
	str	r3, [fp, #-2060]
	ldr	r3, [fp, #-2060]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L74
	b	.L62
.L74:
	ldr	r3, [fp, #-2060]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #64
	bne	.L75
	b	.L62
.L75:
	ldr	r3, [fp, #-2060]
	str	r3, [fp, #-2064]
	b	.L76
.L79:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-2064]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L87
	ldr	r3, [fp, #-2064]
	add	r3, r3, #1
	str	r3, [fp, #-2064]
.L76:
	ldr	r3, [fp, #-2064]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L79
	b	.L78
.L87:
	nop
.L78:
	ldr	r3, [fp, #-2064]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-2064]
	add	r3, r3, #1
	str	r3, [fp, #-2064]
	b	.L80
.L83:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-2064]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L88
	ldr	r3, [fp, #-2064]
	add	r3, r3, #1
	str	r3, [fp, #-2064]
.L80:
	ldr	r3, [fp, #-2064]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L83
	b	.L82
.L88:
	nop
.L82:
	ldr	r1, [fp, #-2064]
	ldr	r0, [fp, #-2060]
	bl	add_subst
.L62:
	ldr	r0, [fp, #-2072]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L84
	b	.L64
.L86:
	nop
.L64:
	nop
	ldr	r3, .L89
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L85
	bl	__stack_chk_fail
.L85:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L90:
	.align	2
.L89:
	.word	.LC1
	.size	parse_config_file, .-parse_config_file
	.section	.rodata
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	compare_file, %function
compare_file:
	@ args = 0, pretend = 0, frame = 4128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4096
	sub	sp, sp, #36
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-32]
	ldr	r3, .L101
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L101+4
	ldr	r0, [r3, #-28]
	bl	fopen
	str	r0, [r4, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmp	r3, #0
	bne	.L92
	mov	r3, #0
	b	.L99
.L92:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L101+4
	ldr	r0, [r3, #-32]
	bl	fopen
	str	r0, [r4, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #0
	bne	.L94
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-20]
	bl	fclose
	mov	r3, #0
	b	.L99
.L94:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-20]
	mov	r1, #2048
	mov	r0, r3
	bl	fgets
	str	r0, [r4, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-16]
	mov	r1, #2048
	mov	r0, r3
	bl	fgets
	str	r0, [r4, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmp	r3, #0
	bne	.L95
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	bne	.L95
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-24]
	b	.L96
.L95:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmp	r3, #0
	beq	.L97
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	beq	.L97
	sub	r2, fp, #2048
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L94
.L97:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-24]
.L96:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-20]
	bl	fclose
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-16]
	bl	fclose
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
.L99:
	ldr	r2, .L101
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L100
	bl	__stack_chk_fail
.L100:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L102:
	.align	2
.L101:
	.word	.LC3
	.word	.LC2
	.size	compare_file, .-compare_file
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%s: [-f config-file] [file]\012\000"
	.align	2
.LC5:
	.ascii	"f:tv\000"
	.align	2
.LC6:
	.ascii	"Memory error!  Exiting.\012\000"
	.align	2
.LC7:
	.ascii	".new\000"
	.align	2
.LC8:
	.ascii	"w\000"
	.align	2
.LC9:
	.ascii	"No change, keeping %s.\012\000"
	.align	2
.LC10:
	.ascii	"Updating modtime for %s\012\000"
	.align	2
.LC11:
	.ascii	"utime\000"
	.align	2
.LC12:
	.ascii	"Creating or replacing %s.\012\000"
	.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 = 2280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2272
	sub	sp, sp, #8
	str	r0, [fp, #-2280]
	str	r1, [fp, #-2284]
	ldr	r3, .L132
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-2264]
	mov	r3, #0
	str	r3, [fp, #-2260]
	mov	r3, #0
	str	r3, [fp, #-2256]
	mov	r3, #0
	str	r3, [fp, #-2252]
	b	.L104
.L110:
	ldr	r3, [fp, #-2248]
	cmp	r3, #118
	beq	.L105
	ldr	r3, [fp, #-2248]
	cmp	r3, #118
	bgt	.L106
	ldr	r3, [fp, #-2248]
	cmp	r3, #102
	beq	.L107
	ldr	r3, [fp, #-2248]
	cmp	r3, #116
	beq	.L108
	b	.L106
.L107:
	ldr	r3, .L132+4
	ldr	r3, [r3]
	ldr	r1, .L132+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-2272]
	ldr	r3, [fp, #-2272]
	cmp	r3, #0
	bne	.L109
	ldr	r3, .L132+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	mov	r0, #1
	bl	exit
.L109:
	ldr	r0, [fp, #-2272]
	bl	parse_config_file
	ldr	r0, [fp, #-2272]
	bl	fclose
	b	.L104
.L108:
	ldr	r3, [fp, #-2252]
	add	r3, r3, #1
	str	r3, [fp, #-2252]
	b	.L104
.L105:
	ldr	r3, [fp, #-2256]
	add	r3, r3, #1
	str	r3, [fp, #-2256]
	b	.L104
.L106:
	ldr	r3, .L132+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-2284]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L132+16
	bl	fprintf
	nop
.L104:
	ldr	r2, .L132+20
	ldr	r1, [fp, #-2284]
	ldr	r0, [fp, #-2280]
	bl	getopt
	str	r0, [fp, #-2248]
	ldr	r3, [fp, #-2248]
	cmn	r3, #1
	bne	.L110
	ldr	r3, .L132+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-2280]
	cmp	r2, r3
	ble	.L111
	ldr	r3, .L132+24
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2284]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L132+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-2272]
	ldr	r3, [fp, #-2272]
	cmp	r3, #0
	bne	.L112
	ldr	r3, .L132+24
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2284]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	mov	r0, #1
	bl	exit
.L112:
	ldr	r3, .L132+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L132+24
	str	r3, [r2]
	b	.L113
.L111:
	ldr	r3, .L132+28
	ldr	r3, [r3]
	str	r3, [fp, #-2272]
.L113:
	ldr	r3, .L132+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-2280]
	cmp	r2, r3
	ble	.L114
	ldr	r3, .L132+24
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2284]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-2264]
	ldr	r0, [fp, #-2264]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #20
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-2260]
	ldr	r3, [fp, #-2260]
	cmp	r3, #0
	bne	.L115
	ldr	r3, .L132+12
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L132+32
	bl	fwrite
	mov	r0, #1
	bl	exit
.L115:
	ldr	r1, [fp, #-2264]
	ldr	r0, [fp, #-2260]
	bl	strcpy
	ldr	r0, [fp, #-2260]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-2260]
	add	r3, r3, r2
	ldr	r2, .L132+36
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	ldr	r1, .L132+40
	ldr	r0, [fp, #-2260]
	bl	fopen
	str	r0, [fp, #-2268]
	ldr	r3, [fp, #-2268]
	cmp	r3, #0
	bne	.L117
	ldr	r0, [fp, #-2260]
	bl	perror
	mov	r0, #1
	bl	exit
.L114:
	ldr	r3, .L132+44
	ldr	r3, [r3]
	str	r3, [fp, #-2268]
	mov	r3, #0
	str	r3, [fp, #-2264]
	b	.L117
.L120:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-2272]
	mov	r1, #2048
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L131
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	substitute_line
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-2268]
	mov	r0, r3
	bl	fputs
.L117:
	ldr	r0, [fp, #-2272]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L120
	b	.L119
.L131:
	nop
.L119:
	ldr	r0, [fp, #-2272]
	bl	fclose
	ldr	r0, [fp, #-2268]
	bl	fclose
	ldr	r3, [fp, #-2264]
	cmp	r3, #0
	beq	.L121
	ldr	r1, [fp, #-2260]
	ldr	r0, [fp, #-2264]
	bl	compare_file
	mov	r3, r0
	cmp	r3, #0
	beq	.L122
	ldr	r3, [fp, #-2256]
	cmp	r3, #0
	beq	.L123
	ldr	r1, [fp, #-2264]
	ldr	r0, .L132+48
	bl	printf
.L123:
	ldr	r3, [fp, #-2252]
	cmp	r3, #0
	beq	.L124
	sub	r3, fp, #2224
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, [fp, #-2264]
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	bne	.L124
	ldr	r3, [fp, #-2256]
	cmp	r3, #0
	beq	.L125
	ldr	r1, [fp, #-2264]
	ldr	r0, .L132+52
	bl	printf
.L125:
	ldr	r3, [fp, #-2180]
	str	r3, [fp, #-2244]
	mov	r0, #0
	bl	time
	mov	r3, r0
	str	r3, [fp, #-2240]
	sub	r3, fp, #2240
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-2264]
	bl	utime
	mov	r3, r0
	cmp	r3, #0
	bge	.L124
	ldr	r0, .L132+56
	bl	perror
.L124:
	ldr	r0, [fp, #-2260]
	bl	unlink
	b	.L126
.L122:
	ldr	r3, [fp, #-2256]
	cmp	r3, #0
	beq	.L127
	ldr	r1, [fp, #-2264]
	ldr	r0, .L132+60
	bl	printf
.L127:
	ldr	r1, [fp, #-2264]
	ldr	r0, [fp, #-2260]
	bl	rename
.L126:
	sub	r3, fp, #2144
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-2264]
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	bne	.L121
	ldr	r3, [fp, #-2132]
	bic	r3, r3, #146
	mov	r1, r3
	ldr	r0, [fp, #-2264]
	bl	chmod
.L121:
	mov	r3, #0
	ldr	r2, .L132
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L130
	bl	__stack_chk_fail
.L130:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L133:
	.align	2
.L132:
	.word	.LC13
	.word	optarg
	.word	.LC2
	.word	stderr
	.word	.LC4
	.word	.LC5
	.word	optind
	.word	stdin
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	stdout
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.local	replace_name.6254
	.comm	replace_name.6254,128,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
