	.file	"extr_news-engine.c_exec_get_raw_user_comm_bookmarks.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"raw_user_comm_bookmarks%n"
.LC1:
	.string	"QL = %d, bookmarks_size = %d\n"
	.text
	.p2align 4
	.type	exec_get_raw_user_comm_bookmarks, @function
exec_get_raw_user_comm_bookmarks:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movsx	r12, ecx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	cmp	BYTE PTR [rsi], 37
	lea	rdx, 28[rsp]
	mov	DWORD PTR 28[rsp], 0
	sete	r14b
	movzx	edi, r14b
	add	rdi, rsi
	lea	rsi, .LC0[rip]
	call	sscanf@PLT
	xor	r8d, r8d
	test	rax, rax
	js	.L1
	mov	eax, DWORD PTR 28[rsp]
	test	eax, eax
	jg	.L13
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	movzx	r14d, r14b
	lea	r8, 32[rsp]
	mov	edx, 10
	mov	QWORD PTR 32[rsp], 0
	add	eax, r14d
	mov	rsi, r8
	mov	QWORD PTR 8[rsp], r8
	mov	DWORD PTR 28[rsp], eax
	cdqe
	lea	rdi, [rbx+rax]
	call	strtol@PLT
	mov	rdi, QWORD PTR 32[rsp]
	mov	esi, -1
	mov	r15d, eax
	movsx	rax, ebp
	add	rax, rbx
	cmp	rdi, rax
	jnb	.L3
	cmp	BYTE PTR [rdi], 44
	mov	r8, QWORD PTR 8[rsp]
	je	.L15
.L3:
	movsx	rcx, DWORD PTR MAX_QUERY[rip]
	mov	edi, r15d
	mov	rdx, rcx
	imul	rcx, rcx, 1431655766
	sar	edx, 31
	shr	rcx, 32
	sub	ecx, edx
	mov	edx, DWORD PTR Q[rip]
	call	get_bookmarks@PLT
	cmp	DWORD PTR verbosity[rip], 1
	mov	DWORD PTR QL[rip], eax
	mov	edx, eax
	jg	.L16
.L4:
	test	edx, edx
	js	.L10
	lea	eax, [rdx+rdx*2]
	xor	edi, edi
	cmp	eax, DWORD PTR MAX_QUERY[rip]
	setle	dil
	sub	rbx, r12
	neg	r14d
	call	assert@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	r8d, r14d
	mov	rsi, rbx
	mov	eax, DWORD PTR QL[rip]
	mov	r9d, DWORD PTR Q[rip]
	lea	edx, 0[rbp+r12]
	mov	rdi, r13
	mov	ecx, 2147483647
	lea	eax, [rax+rax*2]
	push	rax
	.cfi_def_cfa_offset 128
	call	return_one_key_list@PLT
	pop	rax
	.cfi_def_cfa_offset 120
	xor	r8d, r8d
	pop	rdx
	.cfi_def_cfa_offset 112
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	ecx, DWORD PTR bookmarks_size[rip]
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	call	fprintf@PLT
	mov	edx, DWORD PTR QL[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L15:
	add	rdi, 1
	mov	rsi, r8
	mov	edx, 10
	mov	QWORD PTR 32[rsp], rdi
	call	strtol@PLT
	mov	esi, eax
	jmp	.L3
.L10:
	mov	r8d, -2
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	exec_get_raw_user_comm_bookmarks, .-exec_get_raw_user_comm_bookmarks
	.comm	verbosity,4,4
	.comm	stderr,4,4
	.comm	bookmarks_size,4,4
	.comm	QL,4,4
	.comm	Q,4,4
	.comm	MAX_QUERY,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_news-engine.c_exec_get_raw_user_comm_bookmarks.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"raw_user_comm_bookmarks%n\000"
	.align	2
.LC1:
	.ascii	"QL = %d, bookmarks_size = %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	exec_get_raw_user_comm_bookmarks, %function
exec_get_raw_user_comm_bookmarks:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldrb	r6, [r1]	@ zero_extendqisi2
	mov	r5, #0
	sub	r6, r6, #37
	clz	r6, r6
	sub	sp, sp, #36
	mov	r8, r3
	lsr	r6, r6, #5
	ldr	r3, .L18
	mov	r4, r1
	mov	r9, r0
	mov	r7, r2
	add	r0, r1, r6
	add	r2, sp, #20
	ldr	r1, .L18+4
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	str	r5, [sp, #20]
	bl	sscanf
	cmp	r0, r5
	blt	.L12
	ldr	r3, [sp, #20]
	cmp	r3, r5
	bgt	.L14
.L12:
	mov	r0, #0
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	add	r3, r3, r6
	mov	r2, #10
	add	r0, r4, r3
	add	r1, sp, #24
	str	r3, [sp, #20]
	str	r5, [sp, #24]
	bl	strtol
	ldr	r3, [sp, #24]
	add	r2, r4, r7
	cmp	r3, r2
	mov	r5, r0
	bcc	.L16
.L9:
	mvn	r1, #0
.L3:
	ldr	fp, .L18+8
	ldr	r3, .L18+12
	ldr	r2, [fp]
	ldr	r10, .L18+16
	smull	r0, r3, r2, r3
	mov	r0, r5
	sub	r3, r3, r2, asr #31
	ldr	r2, [r10]
	bl	get_bookmarks
	ldr	r3, .L18+20
	ldr	r5, .L18+24
	ldr	r3, [r3]
	mov	r2, r0
	cmp	r3, #1
	str	r0, [r5]
	bgt	.L17
.L4:
	cmp	r2, #0
	blt	.L10
	ldr	r0, [fp]
	add	r2, r2, r2, lsl #1
	cmp	r2, r0
	movgt	r0, #0
	movle	r0, #1
	bl	assert
	ldr	r3, [r5]
	ldr	r2, [r10]
	add	r3, r3, r3, lsl #1
	rsb	r6, r6, #0
	stmib	sp, {r2, r3}
	mov	r0, r9
	mvn	r3, #-2147483648
	str	r6, [sp]
	add	r2, r7, r8
	sub	r1, r4, r8
	bl	return_one_key_list
	b	.L12
.L16:
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #44
	bne	.L9
	add	r0, r3, #1
	add	r1, sp, #24
	mov	r2, #10
	str	r0, [sp, #24]
	bl	strtol
	mov	r1, r0
	b	.L3
.L17:
	ldr	r1, .L18+28
	ldr	r3, .L18+32
	ldr	r0, [r1]
	ldr	r3, [r3]
	ldr	r1, .L18+36
	bl	fprintf
	ldr	r2, [r5]
	b	.L4
.L10:
	mvn	r0, #1
	b	.L1
.L15:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC2
	.word	.LC0
	.word	MAX_QUERY
	.word	1431655766
	.word	Q
	.word	verbosity
	.word	QL
	.word	stderr
	.word	bookmarks_size
	.word	.LC1
	.size	exec_get_raw_user_comm_bookmarks, .-exec_get_raw_user_comm_bookmarks
	.comm	verbosity,4,4
	.comm	stderr,4,4
	.comm	bookmarks_size,4,4
	.comm	QL,4,4
	.comm	Q,4,4
	.comm	MAX_QUERY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
