	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exec_get_common_friends_num    ## -- Begin function exec_get_common_friends_num
	.p2align	4, 0x90
_exec_get_common_friends_num:           ## @exec_get_common_friends_num
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	$0, -52(%rbp)
	cmpb	$37, (%rsi)
	sete	-45(%rbp)                       ## 1-byte Folded Spill
	movl	$0, -44(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-52(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%r13, %rdi
	callq	_sscanf
	testl	%eax, %eax
	jle	LBB0_2
## %bb.1:
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jg	LBB0_4
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	leaq	-52(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%r13, %rdi
	callq	_sscanf
	testl	%eax, %eax
	jle	LBB0_16
## %bb.3:
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_16
LBB0_4:
	movl	%eax, %ecx
	leaq	(%rcx,%r13), %r12
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	subl	%eax, %r14d
	cmpb	$45, (%r13,%rcx)
	jne	LBB0_5
## %bb.11:
	leaq	L_.str.2(%rip), %rsi
	leaq	-60(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%r12, %rdi
	callq	_sscanf
	testl	%eax, %eax
	jle	LBB0_16
## %bb.12:
	cmpl	%r14d, -44(%rbp)
	jne	LBB0_16
## %bb.13:
	movl	-60(%rbp), %esi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_get_saved_userlist
	movl	%eax, %ebx
	jmp	LBB0_15
LBB0_5:
	movq	_userlist@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.2(%rip), %rsi
	leaq	-44(%rbp), %rcx
	movq	%r12, %rdi
	callq	_sscanf
	testl	%eax, %eax
	jle	LBB0_16
## %bb.6:
	movl	$1, %ebx
	movl	$4, %r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movslq	-44(%rbp), %rax
	cmpl	%eax, %r14d
	je	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_MAX_USERLIST_NUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpq	%rcx, %rbx
	je	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	addq	%rax, %r12
	cmpb	$44, (%r12)
	jne	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	incq	%r12
	notl	%eax
	addl	%eax, %r14d
	incq	%rbx
	movq	_userlist@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%r15, %rdx
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	-44(%rbp), %rcx
	callq	_sscanf
	addq	$4, %r15
	testl	%eax, %eax
	jg	LBB0_7
	jmp	LBB0_16
LBB0_14:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
LBB0_15:
	xorl	%r15d, %r15d
	movb	-45(%rbp), %al                  ## 1-byte Reload
	movb	%al, %r15b
	negl	%r15d
	movq	_MAX_USERLIST_NUM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %ebx
	setle	%dil
	callq	_assert
	movl	-52(%rbp), %edi
	movq	_userlist@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_resultlist@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movl	%ebx, %esi
	callq	_get_common_friends_num
	movl	(%r14), %r9d
	movl	%ebx, (%rsp)
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	$1, %ecx
	movl	%r15d, %r8d
	callq	_return_one_key_list
LBB0_16:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"common_friends_num%d:%n"

L_.str.1:                               ## @.str.1
	.asciz	"%%common_friends_num%d:%n"

L_.str.2:                               ## @.str.2
	.asciz	"%d%n"

	.comm	_userlist,8,3                   ## @userlist
	.comm	_MAX_USERLIST_NUM,4,2           ## @MAX_USERLIST_NUM
	.comm	_resultlist,4,2                 ## @resultlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exec_get_common_friends_num    ; -- Begin function exec_get_common_friends_num
	.p2align	2
_exec_get_common_friends_num:           ; @exec_get_common_friends_num
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	str	xzr, [sp, #8]
	ldrb	w8, [x1]
	cmp	w8, #37
	csetm	w8, eq
	str	w8, [sp]                        ; 4-byte Folded Spill
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x20
	bl	_sscanf
	ldr	w8, [sp, #8]
	cmp	w0, #1
	ccmp	w8, #0, #4, ge
	b.gt	LBB0_3
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x20
	bl	_sscanf
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.2:
	ldr	w8, [sp, #8]
	cmp	w8, #1
	b.lt	LBB0_13
LBB0_3:
	add	x24, x20, w8, uxtw
	sub	w26, w19, w8
	ldrb	w8, [x24]
	cmp	w8, #45
	b.ne	LBB0_7
; %bb.4:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #4
	add	x3, sp, #8
	mov	x0, x24
	bl	_sscanf
	ldr	w8, [sp, #8]
	cmp	w0, #1
	ccmp	w8, w26, #0, ge
	b.ne	LBB0_13
; %bb.5:
	ldr	w1, [sp, #4]
	mov	x0, x21
	bl	_get_saved_userlist
	mov	x23, x0
LBB0_6:
Lloh6:
	adrp	x8, _MAX_USERLIST_NUM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_USERLIST_NUM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w23, w8
	cset	w0, le
	bl	_assert
	ldr	w0, [sp, #12]
Lloh9:
	adrp	x8, _userlist@GOTPAGE
Lloh10:
	ldr	x8, [x8, _userlist@GOTPAGEOFF]
Lloh11:
	ldr	x2, [x8]
Lloh12:
	adrp	x22, _resultlist@GOTPAGE
Lloh13:
	ldr	x22, [x22, _resultlist@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x1, x23
	bl	_get_common_friends_num
	ldr	w5, [x22]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w3, #1
	ldr	w4, [sp]                        ; 4-byte Folded Reload
	mov	x6, x23
	bl	_return_one_key_list
	b	LBB0_13
LBB0_7:
Lloh14:
	adrp	x27, _userlist@GOTPAGE
Lloh15:
	ldr	x27, [x27, _userlist@GOTPAGEOFF]
	ldr	x2, [x27]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x3, sp, #8
	mov	x0, x24
	bl	_sscanf
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.8:
	mov	w23, #1
	mov	w28, #4
Lloh18:
	adrp	x22, _MAX_USERLIST_NUM@GOTPAGE
Lloh19:
	ldr	x22, [x22, _MAX_USERLIST_NUM@GOTPAGEOFF]
Lloh20:
	adrp	x25, l_.str.2@PAGE
Lloh21:
	add	x25, x25, l_.str.2@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [sp, #8]
	cmp	w26, w8
	b.eq	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w9, [x22]
	cmp	x23, x9
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x9, x24, x8
	ldrb	w10, [x9]
	cmp	w10, #44
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x24, x9, #1
	mvn	w8, w8
	add	w26, w26, w8
	ldr	x8, [x27]
	add	x23, x23, #1
	add	x2, x8, x28
	add	x3, sp, #8
	mov	x0, x24
	mov	x1, x25
	bl	_sscanf
	add	x28, x28, #4
	cmp	w0, #1
	b.ge	LBB0_9
LBB0_13:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"common_friends_num%d:%n"

l_.str.1:                               ; @.str.1
	.asciz	"%%common_friends_num%d:%n"

l_.str.2:                               ; @.str.2
	.asciz	"%d%n"

	.comm	_userlist,8,3                   ; @userlist
	.comm	_MAX_USERLIST_NUM,4,2           ; @MAX_USERLIST_NUM
	.comm	_resultlist,4,2                 ; @resultlist
.subsections_via_symbols
