	.file	"extr_23228.c_skip_to_filepos.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	skip_to_filepos
	.type	skip_to_filepos, @function
skip_to_filepos:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	sub	rsp, 1040
	.cfi_def_cfa_offset 1072
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 1032[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR file_pos[rip]
	mov	rbp, rsp
	lea	edx, 1002[rax]
	cmp	esi, edx
	jle	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edx, 998
	mov	esi, 65
	mov	rdi, rbp
	call	memset@PLT
	mov	edx, 998
	mov	rsi, rbp
	mov	edi, r12d
	mov	ecx, 1
	call	write_buffer@PLT
	mov	eax, DWORD PTR file_pos[rip]
	lea	edx, 1002[rax]
	cmp	edx, ebx
	jl	.L3
.L2:
	sub	ebx, eax
	mov	ecx, 1
	mov	rsi, rbp
	mov	edi, r12d
	lea	edx, -2[rbx]
	call	write_buffer@PLT
	mov	rax, QWORD PTR 1032[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 1040
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	skip_to_filepos, .-skip_to_filepos
	.comm	file_pos,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_23228.c_skip_to_filepos.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	skip_to_filepos
	.syntax unified
	.arm
	.fpu softvfp
	.type	skip_to_filepos, %function
skip_to_filepos:
	@ args = 0, pretend = 0, frame = 1032
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, .L11
	ldr	r3, .L11+4
	ldr	ip, [r8]
	sub	sp, sp, #1024
	sub	sp, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #1028]
	mov	r3,#0
	add	r3, ip, #1000
	add	r3, r3, #2
	cmp	r1, r3
	mov	r6, r1
	mov	r7, r0
	addle	r4, sp, #4
	ble	.L2
	ldr	r5, .L11+8
	add	r4, sp, #4
.L3:
	mov	r2, r5
	mov	r1, #65
	mov	r0, r4
	bl	memset
	mov	r3, #1
	mov	r2, r5
	mov	r1, r4
	mov	r0, r7
	bl	write_buffer
	ldr	ip, [r8]
	add	r3, ip, #1000
	add	r3, r3, #2
	cmp	r3, r6
	blt	.L3
.L2:
	sub	r2, r6, ip
	mov	r3, #1
	sub	r2, r2, #2
	mov	r1, r4
	mov	r0, r7
	bl	write_buffer
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [sp, #1028]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #1024
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	file_pos
	.word	.LC0
	.word	998
	.size	skip_to_filepos, .-skip_to_filepos
	.comm	file_pos,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
