	.file	"extr_news-data.c_process_news_recommend.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	process_news_recommend, @function
process_news_recommend:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rcx, QWORD PTR min_logevent_time[rip]
	xor	eax, eax
	cmp	QWORD PTR now[rip], rcx
	jge	.L14
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, 1
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 20[rdi]
	call	get_user_f@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L4
	mov	eax, DWORD PTR RECOMMEND_MODE[rip]
	test	eax, eax
	jne	.L15
.L4:
	mov	eax, -1
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	movzx	r12d, BYTE PTR [rbx]
	mov	edi, r12d
	call	valid_type@PLT
	test	eax, eax
	je	.L4
	xor	eax, eax
	mov	r13, QWORD PTR 8[rbp]
	call	new_recommend_item@PLT
	mov	edx, DWORD PTR 16[rbx]
	mov	rdi, rbp
	mov	QWORD PTR 40[rax], r13
	mov	QWORD PTR 32[r13], rax
	mov	QWORD PTR 32[rax], rbp
	add	DWORD PTR 0[rbp], 1
	mov	QWORD PTR 8[rbp], rax
	mov	DWORD PTR 24[rax], edx
	mov	edx, DWORD PTR 12[rbx]
	mov	DWORD PTR 20[rax], edx
	mov	edx, DWORD PTR 8[rbx]
	mov	DWORD PTR 16[rax], edx
	mov	rdx, QWORD PTR now[rip]
	mov	DWORD PTR [rax], r12d
	mov	QWORD PTR 8[rax], rdx
	mov	edx, DWORD PTR 4[rbx]
	mov	DWORD PTR 4[rax], edx
	call	remove_old_recommend_items@PLT
	add	DWORD PTR items_removed_in_process_new[rip], eax
	mov	eax, 1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	process_news_recommend, .-process_news_recommend
	.comm	now,8,8
	.comm	min_logevent_time,8,8
	.comm	items_removed_in_process_new,4,4
	.comm	RECOMMEND_MODE,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-data.c_process_news_recommend.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_news_recommend, %function
process_news_recommend:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L16
	ldr	r6, .L16+4
	ldr	r3, [r3]
	ldr	r2, [r6]
	cmp	r2, r3
	bge	.L14
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	mov	r4, r0
	mov	r1, #1
	ldr	r0, [r0, #20]
	bl	get_user_f
	subs	r5, r0, #0
	beq	.L4
	ldr	r3, .L16+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L15
.L4:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	ldrb	r7, [r4]	@ zero_extendqisi2
	mov	r0, r7
	bl	valid_type
	cmp	r0, #0
	beq	.L4
	ldr	r8, [r5, #4]
	bl	new_recommend_item
	mov	r3, r0
	ldr	r2, [r5]
	ldr	ip, [r4, #16]
	ldr	lr, [r4, #12]
	ldr	r1, [r6]
	add	r2, r2, #1
	str	r8, [r0, #28]
	str	r0, [r8, #24]
	str	r5, [r0, #24]
	stm	r5, {r2, r3}
	mov	r0, r5
	str	ip, [r3, #20]
	ldmib	r4, {r2, ip}
	str	lr, [r3, #16]
	str	ip, [r3, #12]
	str	r1, [r3, #8]
	str	r7, [r3]
	str	r2, [r3, #4]
	bl	remove_old_recommend_items
	mov	r1, r0
	ldr	r2, .L16+12
	mov	r0, #1
	ldr	r3, [r2]
	add	r3, r3, r1
	str	r3, [r2]
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	.align	2
.L16:
	.word	min_logevent_time
	.word	now
	.word	RECOMMEND_MODE
	.word	items_removed_in_process_new
	.size	process_news_recommend, .-process_news_recommend
	.comm	now,4,4
	.comm	min_logevent_time,4,4
	.comm	items_removed_in_process_new,4,4
	.comm	RECOMMEND_MODE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
