	.file	"extr_friend-engine.c_exec_get_common_friends_num.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"common_friends_num%d:%n"
.LC1:
	.string	"%%common_friends_num%d:%n"
.LC2:
	.string	"%d%n"
	.text
	.p2align 4
	.globl	exec_get_common_friends_num
	.type	exec_get_common_friends_num, @function
exec_get_common_friends_num:
.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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 16[rsp], rdi
	lea	r13, 48[rsp]
	lea	r12, 44[rsp]
	mov	rdi, rsi
	mov	QWORD PTR 8[rsp], rsi
	mov	rcx, r13
	mov	DWORD PTR 24[rsp], edx
	mov	rdx, r12
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	movzx	eax, BYTE PTR [rsi]
	lea	rsi, .LC0[rip]
	mov	DWORD PTR 44[rsp], 0
	mov	DWORD PTR 48[rsp], 0
	mov	BYTE PTR 31[rsp], al
	call	sscanf@PLT
	test	eax, eax
	jle	.L2
	mov	eax, DWORD PTR 48[rsp]
	test	eax, eax
	jle	.L2
.L3:
	mov	rcx, QWORD PTR 8[rsp]
	mov	ebx, DWORD PTR 24[rsp]
	movsx	rdi, eax
	xor	ebp, ebp
	xor	r15d, r15d
	lea	r12, .LC2[rip]
	lea	r14, [rcx+rdi]
	sub	ebx, eax
	cmp	BYTE PTR [r14], 45
	jne	.L7
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L19:
	movsx	rdi, DWORD PTR 48[rsp]
	mov	edx, DWORD PTR MAX_USERLIST_NUM[rip]
	mov	rax, rdi
	add	rdi, r14
	sub	ebx, eax
	je	.L9
	cmp	r15d, edx
	je	.L1
	add	rbp, 4
	cmp	BYTE PTR [rdi], 44
	jne	.L1
	lea	r14, 1[rdi]
	sub	ebx, 1
.L7:
	mov	rdx, QWORD PTR userlist[rip]
	mov	rcx, r13
	mov	rsi, r12
	mov	rdi, r14
	add	r15d, 1
	add	rdx, rbp
	call	sscanf@PLT
	test	eax, eax
	jg	.L19
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L2:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rsp]
	mov	rcx, r13
	mov	rdx, r12
	lea	rsi, .LC1[rip]
	call	sscanf@PLT
	test	eax, eax
	jle	.L1
	mov	eax, DWORD PTR 48[rsp]
	test	eax, eax
	jg	.L3
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	lea	rdx, 52[rsp]
	mov	rcx, r13
	mov	rsi, r12
	mov	rdi, r14
	call	sscanf@PLT
	test	eax, eax
	jle	.L1
	cmp	DWORD PTR 48[rsp], ebx
	jne	.L1
	mov	esi, DWORD PTR 52[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	call	get_saved_userlist@PLT
	mov	edx, DWORD PTR MAX_USERLIST_NUM[rip]
	mov	r15d, eax
	.p2align 4,,10
	.p2align 3
.L9:
	xor	edi, edi
	cmp	r15d, edx
	setle	dil
	call	assert@PLT
	mov	edi, DWORD PTR 44[rsp]
	mov	ecx, DWORD PTR resultlist[rip]
	mov	esi, r15d
	mov	rdx, QWORD PTR userlist[rip]
	call	get_common_friends_num@PLT
	xor	r8d, r8d
	cmp	BYTE PTR 31[rsp], 37
	mov	r9d, DWORD PTR resultlist[rip]
	sete	r8b
	sub	rsp, 8
	.cfi_def_cfa_offset 136
	mov	ecx, 1
	push	r15
	.cfi_def_cfa_offset 144
	mov	edx, DWORD PTR 40[rsp]
	neg	r8d
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, QWORD PTR 32[rsp]
	call	return_one_key_list@PLT
	pop	rax
	.cfi_def_cfa_offset 136
	pop	rdx
	.cfi_def_cfa_offset 128
	jmp	.L1
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	exec_get_common_friends_num, .-exec_get_common_friends_num
	.comm	userlist,8,8
	.comm	resultlist,4,4
	.comm	MAX_USERLIST_NUM,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_friend-engine.c_exec_get_common_friends_num.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"common_friends_num%d:%n\000"
	.align	2
.LC1:
	.ascii	"%%common_friends_num%d:%n\000"
	.align	2
.LC2:
	.ascii	"%d%n\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	exec_get_common_friends_num
	.syntax unified
	.arm
	.fpu softvfp
	.type	exec_get_common_friends_num, %function
exec_get_common_friends_num:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	fp, r0
	mov	r7, r1
	mov	ip, #0
	sub	sp, sp, #44
	ldr	lr, .L21
	str	fp, [sp, #16]
	ldr	lr, [lr]
	str	lr, [sp, #36]
	mov	lr,#0
	ldrb	lr, [r7]	@ zero_extendqisi2
	mov	r0, r1
	mov	r10, r2
	ldr	r1, .L21+4
	add	r3, sp, #28
	add	r2, sp, #24
	str	lr, [sp, #20]
	str	ip, [sp, #24]
	str	ip, [sp, #28]
	bl	sscanf
	cmp	r0, #0
	ble	.L2
	ldr	r5, [sp, #28]
	cmp	r5, #0
	ble	.L2
.L3:
	ldrb	r3, [r7, r5]	@ zero_extendqisi2
	add	r4, r7, r5
	cmp	r3, #45
	sub	r5, r10, r5
	beq	.L18
	mov	r6, #0
	ldr	r8, .L21+8
	ldr	fp, .L21+12
	ldr	r9, .L21+16
	b	.L7
.L19:
	ldr	r3, [sp, #28]
	ldr	r0, [r9]
	subs	r5, r5, r3
	add	r4, r4, r3
	beq	.L9
	cmp	r6, r0
	beq	.L1
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #44
	bne	.L1
	add	r4, r4, #1
	sub	r5, r5, #1
.L7:
	add	r6, r6, #1
	ldr	r2, [r8]
	lsl	r3, r6, #2
	sub	r3, r3, #4
	add	r2, r2, r3
	mov	r1, fp
	mov	r0, r4
	add	r3, sp, #28
	bl	sscanf
	cmp	r0, #0
	bgt	.L19
.L1:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r0, r7
	ldr	r1, .L21+20
	add	r2, sp, #24
	add	r3, sp, #28
	bl	sscanf
	cmp	r0, #0
	ble	.L1
	ldr	r5, [sp, #28]
	cmp	r5, #0
	bgt	.L3
	b	.L1
.L18:
	mov	r0, r4
	ldr	r1, .L21+12
	add	r3, sp, #28
	add	r2, sp, #32
	bl	sscanf
	cmp	r0, #0
	ble	.L1
	ldr	r3, [sp, #28]
	cmp	r3, r5
	bne	.L1
	ldr	r1, [sp, #32]
	ldr	r0, [sp, #16]
	bl	get_saved_userlist
	ldr	r3, .L21+16
	mov	r6, r0
	ldr	r8, .L21+8
	ldr	r0, [r3]
.L9:
	cmp	r6, r0
	ldr	r4, .L21+24
	movgt	r0, #0
	movle	r0, #1
	bl	assert
	mov	r1, r6
	ldr	r2, [r8]
	ldr	r3, [r4]
	ldr	r0, [sp, #24]
	bl	get_common_friends_num
	ldr	r3, [sp, #20]
	ldr	r2, [r4]
	cmp	r3, #37
	movne	r3, #0
	mvneq	r3, #0
	stmib	sp, {r2, r6}
	str	r3, [sp]
	mov	r2, r10
	mov	r1, r7
	mov	r3, #1
	ldr	r0, [sp, #16]
	bl	return_one_key_list
	b	.L1
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC3
	.word	.LC0
	.word	userlist
	.word	.LC2
	.word	MAX_USERLIST_NUM
	.word	.LC1
	.word	resultlist
	.size	exec_get_common_friends_num, .-exec_get_common_friends_num
	.comm	userlist,4,4
	.comm	resultlist,4,4
	.comm	MAX_USERLIST_NUM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
