	.file	"791790.c"
	.intel_syntax noprefix
	.text
	.globl	framelock
	.data
	.align 16
	.type	framelock, @object
	.size	framelock, 20
framelock:
	.byte	-57
	.byte	0
	.byte	67
	.byte	0
	.byte	0
	.byte	1
	.byte	0
	.byte	1
	.byte	0
	.byte	1
	.byte	0
	.byte	1
	.byte	0
	.byte	1
	.byte	76
	.byte	0
	.byte	-119
	.byte	0
	.byte	-85
	.byte	0
	.globl	framelock_speed_fix
	.align 32
	.type	framelock_speed_fix, @object
	.size	framelock_speed_fix, 42
framelock_speed_fix:
	.byte	-13
	.byte	0
	.byte	15
	.byte	0
	.byte	88
	.byte	0
	.byte	0
	.byte	1
	.byte	15
	.byte	0
	.byte	-58
	.byte	0
	.byte	0
	.byte	1
	.byte	0
	.byte	0
	.byte	15
	.byte	0
	.byte	81
	.byte	0
	.byte	0
	.byte	1
	.byte	-13
	.byte	0
	.byte	15
	.byte	0
	.byte	89
	.byte	0
	.byte	0
	.byte	1
	.byte	0
	.byte	1
	.byte	0
	.byte	1
	.byte	0
	.byte	1
	.byte	0
	.byte	1
	.byte	15
	.byte	0
	.byte	47
	.byte	0
	.globl	patch_framelock_speed_fix_matrix
	.align 32
	.type	patch_framelock_speed_fix_matrix, @object
	.size	patch_framelock_speed_fix_matrix, 140
patch_framelock_speed_fix_matrix:
	.long	1097859072
	.long	1098907648
	.long	1099257191
	.long	1099956224
	.long	1100316672
	.long	1100402708
	.long	1101004800
	.long	1103101952
	.long	1103626240
	.long	1104936960
	.long	1106247680
	.long	1107296256
	.long	1109000192
	.long	1109393408
	.long	1111490560
	.long	1111883776
	.long	1112014848
	.long	1113927398
	.long	1114636288
	.long	1115684864
	.long	1116045312
	.long	1116078080
	.long	1117630471
	.long	1117782016
	.long	1118306304
	.long	1119092736
	.long	1119590810
	.long	1120403456
	.long	1123024896
	.long	1123942400
	.long	1124073472
	.long	1124204544
	.long	1124859904
	.long	1125122048
	.long	1125515264
	.text
	.type	long_to_size_t, @function
long_to_size_t:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	cmp	QWORD PTR -8[rbp], 0
	jns	.L2
	mov	eax, 0
	jmp	.L3
.L2:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 1
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	long_to_size_t, .-long_to_size_t
	.type	find_speed_fix_for_refresh_rate, @function
find_speed_fix_for_refresh_rate:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, QWORD PTR -40[rbp]
	movss	xmm1, DWORD PTR .LC0[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -16[rbp], xmm0
	movss	xmm0, DWORD PTR .LC1[rip]
	movss	DWORD PTR -20[rbp], xmm0
	mov	QWORD PTR -8[rbp], 0
	jmp	.L5
.L8:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, patch_framelock_speed_fix_matrix[rip]
	movss	xmm0, DWORD PTR [rdx+rax]
	movss	DWORD PTR -12[rbp], xmm0
	movss	xmm0, DWORD PTR -16[rbp]
	subss	xmm0, DWORD PTR -12[rbp]
	movss	xmm1, DWORD PTR .LC2[rip]
	andps	xmm1, xmm0
	movss	xmm0, DWORD PTR -16[rbp]
	subss	xmm0, DWORD PTR -20[rbp]
	movss	xmm2, DWORD PTR .LC2[rip]
	andps	xmm0, xmm2
	comiss	xmm0, xmm1
	jbe	.L6
	movss	xmm0, DWORD PTR -12[rbp]
	movss	DWORD PTR -20[rbp], xmm0
.L6:
	add	QWORD PTR -8[rbp], 1
.L5:
	cmp	QWORD PTR -8[rbp], 34
	jbe	.L8
	movss	xmm0, DWORD PTR -20[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	find_speed_fix_for_refresh_rate, .-find_speed_fix_for_refresh_rate
	.type	uint32_from_float, @function
uint32_from_float:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	movss	DWORD PTR -4[rbp], xmm0
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	uint32_from_float, .-uint32_from_float
	.section	.rodata
.LC3:
	.string	"getline() failed"
.LC4:
	.string	"getline() reached EOF\n"
.LC5:
	.string	"-"
.LC6:
	.string	"140001000"
.LC7:
	.string	"found .text start: %s-%s"
.LC8:
	.string	"%zx"
	.text
	.type	read_size_of_text_from_file, @function
read_size_of_text_from_file:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	jmp	.L14
.L19:
	mov	rdx, QWORD PTR -72[rbp]
	lea	rcx, -56[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	test	rax, rax
	jns	.L15
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L16
	lea	rdi, .LC3[rip]
	call	perror@PLT
	jmp	.L18
.L16:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	jmp	.L18
.L15:
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, -48[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strtok_r@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
	mov	rcx, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rax, -48[rbp]
	mov	rdx, rax
	lea	rsi, .LC5[rip]
	mov	edi, 0
	call	strtok_r@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rdx, -40[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	jmp	.L18
.L14:
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	je	.L19
.L18:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	sub	rax, rdx
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	read_size_of_text_from_file, .-read_size_of_text_from_file
	.section	.rodata
.LC9:
	.string	"/proc"
.LC10:
	.string	"pathconf() failed"
	.align 8
.LC11:
	.string	"max path length is indeterminable\n"
.LC12:
	.string	"long_to_size_t() failed\n"
.LC13:
	.string	"%s:%d: calloc() failed\n"
.LC14:
	.string	"/proc/%ld/maps"
.LC15:
	.string	"%s:%d: sprintf() failed\n"
.LC16:
	.string	"r"
.LC17:
	.string	"%s:%d: fopen() failed\n"
	.text
	.type	fopen_maps, @function
fopen_maps:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -40[rbp], 0
	mov	esi, 4
	lea	rdi, .LC9[rip]
	call	pathconf@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], -1
	jne	.L23
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L24
	lea	rdi, .LC10[rip]
	call	perror@PLT
	jmp	.L25
.L24:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
.L25:
	mov	eax, 0
	jmp	.L31
.L23:
	lea	rdx, -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	long_to_size_t
	xor	eax, 1
	test	al, al
	je	.L27
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L31
.L27:
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L28
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 187
	lea	rdx, __func__.2[rip]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L31
.L28:
	mov	QWORD PTR -32[rbp], 0
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	test	eax, eax
	jns	.L29
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 193
	lea	rdx, __func__.2[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L30
.L29:
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L33
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 199
	lea	rdx, __func__.2[rip]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L30
.L33:
	nop
.L30:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -32[rbp]
.L31:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	fopen_maps, .-fopen_maps
	.section	.rodata
.LC18:
	.string	"%s:%d: fopen_maps() failed\n"
.LC19:
	.string	"fclose() failed"
	.text
	.type	read_size_of_text, @function
read_size_of_text:
.LFB5:
	.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 -24[rbp]
	mov	rdi, rax
	call	fopen_maps
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L35
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 211
	lea	rdx, __func__.1[rip]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L36
.L35:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	read_size_of_text_from_file
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	cmp	eax, -1
	jne	.L37
	lea	rdi, .LC19[rip]
	call	perror@PLT
	mov	eax, 0
	jmp	.L36
.L37:
	mov	rax, QWORD PTR -8[rbp]
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	read_size_of_text, .-read_size_of_text
	.section	.rodata
.LC20:
	.string	"pread() failed"
.LC21:
	.string	"pread() reached EOF\n"
	.align 8
.LC22:
	.string	"pread() read less bytes than requested\n"
	.text
	.globl	find_pattern
	.type	find_pattern, @function
find_pattern:
.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, 80
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L39
	mov	eax, 0
	jmp	.L40
.L39:
	mov	rdx, QWORD PTR -80[rbp]
	mov	rsi, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -52[rbp]
	movabs	rcx, 5368713216
	mov	edi, eax
	call	pread@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jns	.L41
	lea	rdi, .LC20[rip]
	call	perror@PLT
	mov	eax, 0
	jmp	.L40
.L41:
	cmp	QWORD PTR -8[rbp], 0
	jg	.L42
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L40
.L42:
	cmp	QWORD PTR -8[rbp], 0
	js	.L43
	mov	rax, QWORD PTR -8[rbp]
	cmp	QWORD PTR -80[rbp], rax
	jbe	.L43
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC22[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L40
.L43:
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	jmp	.L44
.L52:
	mov	QWORD PTR -24[rbp], 0
	jmp	.L45
.L51:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 1[rax]
	test	al, al
	jne	.L53
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L54
	mov	rax, QWORD PTR -72[rbp]
	sub	rax, QWORD PTR -24[rbp]
	cmp	rax, 1
	jne	.L47
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L50
.L53:
	nop
.L47:
	add	QWORD PTR -24[rbp], 1
.L45:
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -72[rbp]
	jb	.L51
	jmp	.L49
.L54:
	nop
.L49:
	add	QWORD PTR -32[rbp], 1
.L44:
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -80[rbp]
	jb	.L52
	nop
.L50:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	find_pattern, .-find_pattern
	.type	read_speed_fix_pointer_address, @function
read_speed_fix_pointer_address:
.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	mov	rdx, QWORD PTR -32[rbp]
	lea	rsi, -12[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	edi, eax
	call	pread@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	add	rax, 8
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L57
	call	__stack_chk_fail@PLT
.L57:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	read_speed_fix_pointer_address, .-read_speed_fix_pointer_address
	.type	write_float_mem, @function
write_float_mem:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	movss	DWORD PTR -8[rbp], xmm0
	mov	rdx, QWORD PTR -16[rbp]
	lea	rsi, -8[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	edi, eax
	call	pwrite@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	write_float_mem, .-write_float_mem
	.section	.rodata
.LC23:
	.string	"failed to strtol()"
	.align 8
.LC24:
	.string	"failed to strtol(), no digits\n"
	.text
	.type	strtol_safer, @function
strtol_safer:
.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 -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -21[rbp], 0
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	QWORD PTR -16[rbp], 0
	lea	rcx, -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR [rdx], rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L60
	lea	rdi, .LC23[rip]
	call	perror@PLT
	jmp	.L61
.L60:
	mov	rax, QWORD PTR -16[rbp]
	cmp	QWORD PTR -40[rbp], rax
	jne	.L62
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 30
	mov	esi, 1
	lea	rdi, .LC24[rip]
	call	fwrite@PLT
	jmp	.L61
.L62:
	mov	BYTE PTR -21[rbp], 1
.L61:
	call	__errno_location@PLT
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	movzx	eax, BYTE PTR -21[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L64
	call	__stack_chk_fail@PLT
.L64:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	strtol_safer, .-strtol_safer
	.section	.rodata
	.align 8
.LC25:
	.string	"usage: sekirofpsunlock [PID] [FPS]\n"
	.align 8
.LC26:
	.string	"failed to strtol_safer() the PID\n"
	.align 8
.LC27:
	.string	"failed to strtol_safer() the FPS\n"
.LC28:
	.string	"PID is %ld, FPS is %ld\n"
	.align 8
.LC29:
	.string	"FPS is < 1, will be set to 60\n"
	.align 8
.LC30:
	.string	"FPS is < 30, will be set to 30\n"
	.align 8
.LC31:
	.string	"FPS is > 300, will be set to 300\n"
.LC33:
	.string	"deltatime hex: %#x\n"
.LC34:
	.string	"speed hex: %#x\n"
.LC35:
	.string	"size of .text map is %#zx\n"
.LC36:
	.string	"%s %d: calloc() failed\n"
.LC37:
	.string	"/proc/%ld/mem"
	.align 8
.LC38:
	.string	"open(\"%s\", O_RDWR) failed, errno = %d\n"
.LC39:
	.string	"error"
	.align 8
.LC40:
	.string	"framelock_location find_pattern failed\n"
.LC41:
	.string	"framelock location is %#lx\n"
	.align 8
.LC42:
	.string	"speed_fix_location find_pattern failed\n"
	.align 8
.LC43:
	.string	"framelock speed fix location is %#lx\n"
	.align 8
.LC44:
	.string	"framelock speed fix pointer address is %#lx\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 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
	cmp	DWORD PTR -84[rbp], 2
	jg	.L66
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 35
	mov	esi, 1
	lea	rdi, .LC25[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L85
.L66:
	mov	QWORD PTR -56[rbp], 0
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtol_safer
	xor	eax, 1
	test	al, al
	je	.L68
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC26[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L85
.L68:
	mov	QWORD PTR -48[rbp], 0
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rdx, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtol_safer
	xor	eax, 1
	test	al, al
	je	.L69
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC27[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L85
.L69:
	mov	rcx, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	test	eax, eax
	jns	.L70
	mov	eax, 1
	jmp	.L85
.L70:
	mov	rax, QWORD PTR -48[rbp]
	test	rax, rax
	jg	.L71
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	test	eax, eax
	jns	.L72
	mov	eax, 1
	jmp	.L85
.L72:
	mov	QWORD PTR -48[rbp], 60
	jmp	.L73
.L71:
	mov	rax, QWORD PTR -48[rbp]
	cmp	rax, 1
	jle	.L74
	mov	rax, QWORD PTR -48[rbp]
	cmp	rax, 29
	jg	.L74
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	test	eax, eax
	jns	.L75
	mov	eax, 1
	jmp	.L85
.L75:
	mov	QWORD PTR -48[rbp], 30
	jmp	.L73
.L74:
	mov	rax, QWORD PTR -48[rbp]
	cmp	rax, 300
	jle	.L73
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	test	eax, eax
	jns	.L76
	mov	eax, 1
	jmp	.L85
.L76:
	mov	QWORD PTR -48[rbp], 300
.L73:
	mov	rax, QWORD PTR -48[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, rax
	movss	xmm0, DWORD PTR .LC32[rip]
	divss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC32[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -68[rbp], xmm0
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	find_speed_fix_for_refresh_rate
	movd	eax, xmm0
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	movd	xmm0, eax
	call	uint32_from_float
	mov	edx, eax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	test	eax, eax
	jns	.L77
	mov	eax, 1
	jmp	.L85
.L77:
	mov	eax, DWORD PTR -64[rbp]
	movd	xmm0, eax
	call	uint32_from_float
	mov	edx, eax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	test	eax, eax
	jns	.L78
	mov	eax, 1
	jmp	.L85
.L78:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	read_size_of_text
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	test	eax, eax
	jns	.L79
	mov	eax, 1
	jmp	.L85
.L79:
	mov	esi, 1
	mov	edi, 4096
	call	calloc@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L80
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 353
	lea	rdx, __func__.0[rip]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L85
.L80:
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rdx
	lea	rdx, .LC37[rip]
	mov	esi, 4096
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -60[rbp], 0
	jns	.L81
	call	__errno_location@PLT
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -32[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC39[rip]
	call	perror@PLT
.L81:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	cmp	DWORD PTR -60[rbp], 0
	jns	.L82
	mov	eax, 1
	jmp	.L85
.L82:
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	rcx, rdx
	mov	edx, 10
	lea	rsi, framelock[rip]
	mov	edi, eax
	call	find_pattern
	movabs	rdx, 5368713216
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	movabs	rax, 5368713216
	cmp	QWORD PTR -24[rbp], rax
	jne	.L83
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC40[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L85
.L83:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC41[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	rcx, rdx
	mov	edx, 21
	lea	rsi, framelock_speed_fix[rip]
	mov	edi, eax
	call	find_pattern
	movabs	rdx, 5368713227
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	movabs	rax, 5368713227
	cmp	QWORD PTR -16[rbp], rax
	jne	.L84
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC42[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L85
.L84:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -16[rbp]
	lea	rsi, .LC43[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	read_speed_fix_pointer_address
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -16[rbp]
	lea	rsi, .LC44[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 3
	mov	rcx, rax
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -60[rbp]
	movd	xmm0, edx
	mov	rsi, rcx
	mov	edi, eax
	call	write_float_mem
	mov	rdx, QWORD PTR -16[rbp]
	mov	ecx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -60[rbp]
	movd	xmm0, ecx
	mov	rsi, rdx
	mov	edi, eax
	call	write_float_mem
	mov	eax, DWORD PTR -60[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L85:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L86
	call	__stack_chk_fail@PLT
.L86:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__func__.2, @object
	.size	__func__.2, 11
__func__.2:
	.string	"fopen_maps"
	.align 16
	.type	__func__.1, @object
	.size	__func__.1, 18
__func__.1:
	.string	"read_size_of_text"
	.type	__func__.0, @object
	.size	__func__.0, 5
__func__.0:
	.string	"main"
	.align 4
.LC0:
	.long	1073741824
	.align 4
.LC1:
	.long	1106247680
	.align 16
.LC2:
	.long	2147483647
	.long	0
	.long	0
	.long	0
	.align 4
.LC32:
	.long	1148846080
	.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	"791790.c"
	.text
	.global	framelock
	.data
	.align	2
	.type	framelock, %object
	.size	framelock, 20
framelock:
	.byte	-57
	.byte	0
	.byte	67
	.byte	0
	.byte	0
	.byte	1
	.byte	0
	.byte	1
	.byte	0
	.byte	1
	.byte	0
	.byte	1
	.byte	0
	.byte	1
	.byte	76
	.byte	0
	.byte	-119
	.byte	0
	.byte	-85
	.byte	0
	.global	framelock_speed_fix
	.align	2
	.type	framelock_speed_fix, %object
	.size	framelock_speed_fix, 42
framelock_speed_fix:
	.byte	-13
	.byte	0
	.byte	15
	.byte	0
	.byte	88
	.byte	0
	.byte	0
	.byte	1
	.byte	15
	.byte	0
	.byte	-58
	.byte	0
	.byte	0
	.byte	1
	.byte	0
	.byte	0
	.byte	15
	.byte	0
	.byte	81
	.byte	0
	.byte	0
	.byte	1
	.byte	-13
	.byte	0
	.byte	15
	.byte	0
	.byte	89
	.byte	0
	.byte	0
	.byte	1
	.byte	0
	.byte	1
	.byte	0
	.byte	1
	.byte	0
	.byte	1
	.byte	0
	.byte	1
	.byte	15
	.byte	0
	.byte	47
	.byte	0
	.global	patch_framelock_speed_fix_matrix
	.align	2
	.type	patch_framelock_speed_fix_matrix, %object
	.size	patch_framelock_speed_fix_matrix, 140
patch_framelock_speed_fix_matrix:
	.word	1097859072
	.word	1098907648
	.word	1099257191
	.word	1099956224
	.word	1100316672
	.word	1100402708
	.word	1101004800
	.word	1103101952
	.word	1103626240
	.word	1104936960
	.word	1106247680
	.word	1107296256
	.word	1109000192
	.word	1109393408
	.word	1111490560
	.word	1111883776
	.word	1112014848
	.word	1113927398
	.word	1114636288
	.word	1115684864
	.word	1116045312
	.word	1116078080
	.word	1117630471
	.word	1117782016
	.word	1118306304
	.word	1119092736
	.word	1119590810
	.word	1120403456
	.word	1123024896
	.word	1123942400
	.word	1124073472
	.word	1124204544
	.word	1124859904
	.word	1125122048
	.word	1125515264
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	long_to_size_t, %function
long_to_size_t:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L2
	mov	r3, #0
	b	.L3
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	mov	r3, #1
.L3:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	long_to_size_t, .-long_to_size_t
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_fsub
	.global	__aeabi_fcmplt
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_speed_fix_for_refresh_rate, %function
find_speed_fix_for_refresh_rate:
	@ 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, #-32]
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, #1073741824
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r3, .L11
	str	r3, [fp, #-28]	@ float
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L5
.L8:
	ldr	r2, .L11+4
	ldr	r3, [fp, #-24]
	ldr	r3, [r2, r3, lsl #2]	@ float
	str	r3, [fp, #-16]	@ float
	ldr	r1, [fp, #-16]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	bic	r4, r3, #-2147483648
	ldr	r1, [fp, #-28]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	bic	r3, r3, #-2147483648
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-16]	@ float
	str	r3, [fp, #-28]	@ float
.L6:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L5:
	ldr	r3, [fp, #-24]
	cmp	r3, #34
	bls	.L8
	ldr	r3, [fp, #-28]	@ float
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L12:
	.align	2
.L11:
	.word	1106247680
	.word	patch_framelock_speed_fix_matrix
	.size	find_speed_fix_for_refresh_rate, .-find_speed_fix_for_refresh_rate
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uint32_from_float, %function
uint32_from_float:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]	@ float
	ldr	r3, [fp, #-16]	@ float
	str	r3, [fp, #-8]	@ float
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	uint32_from_float, .-uint32_from_float
	.section	.rodata
	.align	2
.LC0:
	.ascii	"getline() failed\000"
	.align	2
.LC1:
	.ascii	"getline() reached EOF\012\000"
	.align	2
.LC2:
	.ascii	"-\000"
	.align	2
.LC3:
	.ascii	"140001000\000"
	.align	2
.LC4:
	.ascii	"found .text start: %s-%s\000"
	.align	2
.LC5:
	.ascii	"%zx\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_size_of_text_from_file, %function
read_size_of_text_from_file:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L16
.L21:
	sub	r1, fp, #32
	sub	r3, fp, #36
	ldr	r2, [fp, #-40]
	mov	r0, r3
	bl	getline
	mov	r3, r0
	cmp	r3, #0
	bge	.L17
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L18
	ldr	r0, .L24+4
	bl	perror
	b	.L20
.L18:
	ldr	r3, .L24+8
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L24+12
	bl	fwrite
	b	.L20
.L17:
	ldr	r3, [fp, #-36]
	sub	r2, fp, #28
	ldr	r1, .L24+16
	mov	r0, r3
	bl	strtok_r
	str	r0, [fp, #-12]
	ldr	r1, .L24+20
	ldr	r0, [fp, #-12]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L24+8
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	ldr	r1, .L24+24
	bl	fprintf
	sub	r3, fp, #28
	mov	r2, r3
	ldr	r1, .L24+16
	mov	r0, #0
	bl	strtok_r
	str	r0, [fp, #-16]
	sub	r3, fp, #24
	mov	r2, r3
	ldr	r1, .L24+28
	ldr	r0, [fp, #-12]
	bl	__isoc99_sscanf
	sub	r3, fp, #20
	mov	r2, r3
	ldr	r1, .L24+28
	ldr	r0, [fp, #-16]
	bl	__isoc99_sscanf
	b	.L20
.L16:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L21
.L20:
	ldr	r3, [fp, #-36]
	mov	r0, r3
	bl	free
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC6
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	read_size_of_text_from_file, .-read_size_of_text_from_file
	.section	.rodata
	.align	2
.LC7:
	.ascii	"/proc\000"
	.align	2
.LC8:
	.ascii	"pathconf() failed\000"
	.align	2
.LC9:
	.ascii	"max path length is indeterminable\012\000"
	.align	2
.LC10:
	.ascii	"long_to_size_t() failed\012\000"
	.align	2
.LC11:
	.ascii	"%s:%d: calloc() failed\012\000"
	.align	2
.LC12:
	.ascii	"/proc/%ld/maps\000"
	.align	2
.LC13:
	.ascii	"%s:%d: sprintf() failed\012\000"
	.align	2
.LC14:
	.ascii	"r\000"
	.align	2
.LC15:
	.ascii	"%s:%d: fopen() failed\012\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fopen_maps, %function
fopen_maps:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r1, #4
	ldr	r0, .L38+4
	bl	pathconf
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	bne	.L27
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L28
	ldr	r0, .L38+8
	bl	perror
	b	.L29
.L28:
	ldr	r3, .L38+12
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L38+16
	bl	fwrite
.L29:
	mov	r3, #0
	b	.L35
.L27:
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	long_to_size_t
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L31
	ldr	r3, .L38+12
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L38+20
	bl	fwrite
	mov	r3, #0
	b	.L35
.L31:
	ldr	r3, [fp, #-24]
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L32
	ldr	r3, .L38+12
	ldr	r0, [r3]
	mov	r3, #187
	ldr	r2, .L38+24
	ldr	r1, .L38+28
	bl	fprintf
	mov	r3, #0
	b	.L35
.L32:
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	ldr	r1, .L38+32
	ldr	r0, [fp, #-12]
	bl	sprintf
	mov	r3, r0
	cmp	r3, #0
	bge	.L33
	ldr	r3, .L38+12
	ldr	r0, [r3]
	mov	r3, #193
	ldr	r2, .L38+24
	ldr	r1, .L38+36
	bl	fprintf
	b	.L34
.L33:
	ldr	r1, .L38+40
	ldr	r0, [fp, #-12]
	bl	fopen
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L37
	ldr	r3, .L38+12
	ldr	r0, [r3]
	mov	r3, #199
	ldr	r2, .L38+24
	ldr	r1, .L38+44
	bl	fprintf
	b	.L34
.L37:
	nop
.L34:
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-20]
.L35:
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC16
	.word	.LC7
	.word	.LC8
	.word	stderr
	.word	.LC9
	.word	.LC10
	.word	__func__.6395
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	fopen_maps, .-fopen_maps
	.section	.rodata
	.align	2
.LC17:
	.ascii	"%s:%d: fopen_maps() failed\012\000"
	.align	2
.LC18:
	.ascii	"fclose() failed\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_size_of_text, %function
read_size_of_text:
	@ 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	r0, [fp, #-16]
	bl	fopen_maps
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L41
	ldr	r3, .L44
	ldr	r0, [r3]
	mov	r3, #211
	ldr	r2, .L44+4
	ldr	r1, .L44+8
	bl	fprintf
	mov	r3, #0
	b	.L42
.L41:
	ldr	r0, [fp, #-12]
	bl	read_size_of_text_from_file
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	fclose
	mov	r3, r0
	cmn	r3, #1
	bne	.L43
	ldr	r0, .L44+12
	bl	perror
	mov	r3, #0
	b	.L42
.L43:
	ldr	r3, [fp, #-8]
.L42:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	stderr
	.word	__func__.6402
	.word	.LC17
	.word	.LC18
	.size	read_size_of_text, .-read_size_of_text
	.section	.rodata
	.align	2
.LC19:
	.ascii	"pread() failed\000"
	.align	2
.LC20:
	.ascii	"pread() reached EOF\012\000"
	.align	2
.LC21:
	.ascii	"pread() read less bytes than requested\012\000"
	.text
	.align	2
	.global	find_pattern
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_pattern, %function
find_pattern:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r1, #1
	ldr	r0, [fp, #-44]
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L47
	mov	r3, #0
	b	.L48
.L47:
	ldr	r3, .L63
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-32]
	bl	pread
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L49
	ldr	r0, .L63+4
	bl	perror
	mov	r3, #0
	b	.L48
.L49:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L50
	ldr	r3, .L63+8
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L63+12
	bl	fwrite
	mov	r3, #0
	b	.L48
.L50:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L51
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bls	.L51
	ldr	r3, .L63+8
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L63+16
	bl	fwrite
	mov	r3, #0
	b	.L48
.L51:
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L52
.L60:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L53
.L59:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L61
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	ldr	r1, [fp, #-12]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L62
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	cmp	r3, #1
	bne	.L55
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
	b	.L58
.L61:
	nop
.L55:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L53:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bcc	.L59
	b	.L57
.L62:
	nop
.L57:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L52:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bcc	.L60
	nop
.L58:
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-24]
.L48:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L64:
	.align	2
.L63:
	.word	1073745920
	.word	.LC19
	.word	stderr
	.word	.LC20
	.word	.LC21
	.size	find_pattern, .-find_pattern
	.section	.rodata
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_speed_fix_pointer_address, %function
read_speed_fix_pointer_address:
	@ 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]
	ldr	r3, .L68
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r1, fp, #12
	mov	r2, #4
	ldr	r0, [fp, #-16]
	bl	pread
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	add	r3, r3, #8
	ldr	r2, .L68
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L67
	bl	__stack_chk_fail
.L67:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L69:
	.align	2
.L68:
	.word	.LC22
	.size	read_speed_fix_pointer_address, .-read_speed_fix_pointer_address
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_float_mem, %function
write_float_mem:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]	@ float
	sub	r1, fp, #16
	ldr	r3, [fp, #-12]
	mov	r2, #4
	ldr	r0, [fp, #-8]
	bl	pwrite
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	write_float_mem, .-write_float_mem
	.section	.rodata
	.align	2
.LC23:
	.ascii	"failed to strtol()\000"
	.align	2
.LC24:
	.ascii	"failed to strtol(), no digits\012\000"
	.align	2
.LC25:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	strtol_safer, %function
strtol_safer:
	@ 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]
	ldr	r3, .L77
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-17]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-16]
	sub	r3, fp, #16
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	strtol
	mov	r2, r0
	ldr	r3, [fp, #-28]
	str	r2, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L72
	ldr	r0, .L77+4
	bl	perror
	b	.L73
.L72:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L74
	ldr	r3, .L77+8
	ldr	r3, [r3]
	mov	r2, #30
	mov	r1, #1
	ldr	r0, .L77+12
	bl	fwrite
	b	.L73
.L74:
	mov	r3, #1
	strb	r3, [fp, #-17]
.L73:
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	ldr	r2, .L77
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L76
	bl	__stack_chk_fail
.L76:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L78:
	.align	2
.L77:
	.word	.LC25
	.word	.LC23
	.word	stderr
	.word	.LC24
	.size	strtol_safer, .-strtol_safer
	.section	.rodata
	.align	2
.LC26:
	.ascii	"usage: sekirofpsunlock [PID] [FPS]\012\000"
	.align	2
.LC27:
	.ascii	"failed to strtol_safer() the PID\012\000"
	.align	2
.LC28:
	.ascii	"failed to strtol_safer() the FPS\012\000"
	.align	2
.LC29:
	.ascii	"PID is %ld, FPS is %ld\012\000"
	.align	2
.LC30:
	.ascii	"FPS is < 1, will be set to 60\012\000"
	.align	2
.LC31:
	.ascii	"FPS is < 30, will be set to 30\012\000"
	.align	2
.LC32:
	.ascii	"FPS is > 300, will be set to 300\012\000"
	.align	2
.LC33:
	.ascii	"deltatime hex: %#x\012\000"
	.align	2
.LC34:
	.ascii	"speed hex: %#x\012\000"
	.align	2
.LC35:
	.ascii	"size of .text map is %#zx\012\000"
	.align	2
.LC36:
	.ascii	"%s %d: calloc() failed\012\000"
	.align	2
.LC37:
	.ascii	"/proc/%ld/mem\000"
	.align	2
.LC38:
	.ascii	"open(\"%s\", O_RDWR) failed, errno = %d\012\000"
	.align	2
.LC39:
	.ascii	"error\000"
	.align	2
.LC40:
	.ascii	"framelock location is %#x\012\000"
	.align	2
.LC41:
	.ascii	"framelock speed fix location is %#x\012\000"
	.align	2
.LC42:
	.ascii	"framelock speed fix pointer address is %#x\012\000"
	.align	2
.LC43:
	.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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L99
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	bgt	.L80
	ldr	r3, .L99+4
	ldr	r3, [r3]
	mov	r2, #35
	mov	r1, #1
	ldr	r0, .L99+8
	bl	fwrite
	mov	r3, #1
	b	.L97
.L80:
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #52
	mov	r1, r2
	mov	r0, r3
	bl	strtol_safer
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L82
	ldr	r3, .L99+4
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L99+12
	bl	fwrite
	mov	r3, #1
	b	.L97
.L82:
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-60]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #48
	mov	r1, r2
	mov	r0, r3
	bl	strtol_safer
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L83
	ldr	r3, .L99+4
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L99+16
	bl	fwrite
	mov	r3, #1
	b	.L97
.L83:
	ldr	r3, .L99+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	ldr	r1, .L99+20
	bl	fprintf
	mov	r3, r0
	cmp	r3, #0
	bge	.L84
	mov	r3, #1
	b	.L97
.L84:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bgt	.L85
	ldr	r3, .L99+4
	ldr	r3, [r3]
	ldr	r1, .L99+24
	mov	r0, r3
	bl	fprintf
	mov	r3, r0
	cmp	r3, #0
	bge	.L86
	mov	r3, #1
	b	.L97
.L86:
	mov	r3, #60
	str	r3, [fp, #-48]
	b	.L87
.L85:
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	ble	.L88
	ldr	r3, [fp, #-48]
	cmp	r3, #29
	bgt	.L88
	ldr	r3, .L99+4
	ldr	r3, [r3]
	ldr	r1, .L99+28
	mov	r0, r3
	bl	fprintf
	mov	r3, r0
	cmp	r3, #0
	bge	.L89
	mov	r3, #1
	b	.L97
.L89:
	mov	r3, #30
	str	r3, [fp, #-48]
	b	.L87
.L88:
	ldr	r3, [fp, #-48]
	cmp	r3, #300
	ble	.L87
	ldr	r3, .L99+4
	ldr	r3, [r3]
	ldr	r1, .L99+32
	mov	r0, r3
	bl	fprintf
	mov	r3, r0
	cmp	r3, #0
	bge	.L90
	mov	r3, #1
	b	.L97
.L90:
	mov	r3, #300
	str	r3, [fp, #-48]
.L87:
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L99+36
	bl	__aeabi_fdiv
	mov	r3, r0
	ldr	r1, .L99+36
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-44]	@ float
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	find_speed_fix_for_refresh_rate
	str	r0, [fp, #-40]	@ float
	ldr	r3, .L99+4
	ldr	r4, [r3]
	ldr	r0, [fp, #-44]	@ float
	bl	uint32_from_float
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L99+40
	mov	r0, r4
	bl	fprintf
	mov	r3, r0
	cmp	r3, #0
	bge	.L91
	mov	r3, #1
	b	.L97
.L91:
	ldr	r3, .L99+4
	ldr	r4, [r3]
	ldr	r0, [fp, #-40]	@ float
	bl	uint32_from_float
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L99+44
	mov	r0, r4
	bl	fprintf
	mov	r3, r0
	cmp	r3, #0
	bge	.L92
	mov	r3, #1
	b	.L97
.L92:
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	read_size_of_text
	str	r0, [fp, #-36]
	ldr	r3, .L99+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	ldr	r1, .L99+48
	mov	r0, r3
	bl	fprintf
	mov	r3, r0
	cmp	r3, #0
	bge	.L93
	mov	r3, #1
	b	.L97
.L93:
	mov	r1, #1
	mov	r0, #4096
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L94
	ldr	r3, .L99+4
	ldr	r0, [r3]
	ldr	r3, .L99+52
	ldr	r2, .L99+56
	ldr	r1, .L99+60
	bl	fprintf
	mov	r3, #1
	b	.L97
.L94:
	ldr	r3, [fp, #-52]
	ldr	r2, .L99+64
	mov	r1, #4096
	ldr	r0, [fp, #-32]
	bl	snprintf
	mov	r1, #2
	ldr	r0, [fp, #-32]
	bl	open
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L95
	ldr	r3, .L99+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, .L99+68
	mov	r0, r4
	bl	fprintf
	ldr	r0, .L99+72
	bl	perror
.L95:
	ldr	r0, [fp, #-32]
	bl	free
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L96
	mov	r3, #1
	b	.L97
.L96:
	ldr	r3, [fp, #-36]
	mov	r2, #10
	ldr	r1, .L99+76
	ldr	r0, [fp, #-28]
	bl	find_pattern
	mov	r3, r0
	add	r3, r3, #1073741824
	add	r3, r3, #4096
	str	r3, [fp, #-24]
	ldr	r3, .L99+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	ldr	r1, .L99+80
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-36]
	mov	r2, #21
	ldr	r1, .L99+84
	ldr	r0, [fp, #-28]
	bl	find_pattern
	mov	r3, r0
	add	r3, r3, #4096
	add	r3, r3, #1073741835
	str	r3, [fp, #-20]
	ldr	r3, .L99+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, .L99+88
	mov	r0, r3
	bl	fprintf
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	read_speed_fix_pointer_address
	str	r0, [fp, #-20]
	ldr	r3, .L99+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, .L99+92
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-24]
	add	r3, r3, #3
	ldr	r2, [fp, #-44]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	write_float_mem
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	write_float_mem
	ldr	r0, [fp, #-28]
	bl	close
	mov	r3, #0
.L97:
	ldr	r2, .L99
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L98
	bl	__stack_chk_fail
.L98:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L100:
	.align	2
.L99:
	.word	.LC43
	.word	stderr
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	1148846080
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	353
	.word	__func__.6450
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	framelock
	.word	.LC40
	.word	framelock_speed_fix
	.word	.LC41
	.word	.LC42
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__func__.6395, %object
	.size	__func__.6395, 11
__func__.6395:
	.ascii	"fopen_maps\000"
	.align	2
	.type	__func__.6402, %object
	.size	__func__.6402, 18
__func__.6402:
	.ascii	"read_size_of_text\000"
	.align	2
	.type	__func__.6450, %object
	.size	__func__.6450, 5
__func__.6450:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
