	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_recommend_place_f
_get_recommend_place_f:                 ## @get_recommend_place_f
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %ebx
	movl	%esi, %r14d
	movl	%edi, %r12d
	movq	_RECOMMEND_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_assert
	imull	$17239, %r12d, %ecx             ## imm = 0x4357
	imull	$239, %r14d, %eax
	addl	%ecx, %eax
	addl	%ebx, %eax
	movq	_RECOMMEND_PLACES_HASH@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	divl	(%rcx)
	movl	%edx, %r15d
	movq	_Place@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rcx
	movq	(%rcx,%r15,8), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	leaq	(%rcx,%r15,8), %rcx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rcx
	movq	48(%rax), %rdx
	addq	$48, %rcx
	movq	%rdx, %rax
	testq	%rdx, %rdx
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, (%rax)
	jne	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r14d, 4(%rax)
	jne	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r12d, 8(%rax)
	jne	LBB0_2
## %bb.6:
	movq	48(%rax), %rdx
	movq	%rdx, (%rcx)
	testl	%r13d, %r13d
	js	LBB0_13
## %bb.7:
	movq	(%rsi), %rcx
	movq	(%rcx,%r15,8), %rdx
	movq	%rdx, 48(%rax)
	movq	%rax, (%rcx,%r15,8)
	jmp	LBB0_13
LBB0_8:
	testl	%r13d, %r13d
	jle	LBB0_12
## %bb.9:
	movq	_tot_places@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	_MAX_GROUPS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_12
## %bb.10:
	movl	$56, %edi
	callq	_zmalloc
	movl	%r12d, 8(%rax)
	movl	%r14d, 4(%rax)
	movl	%ebx, (%rax)
	movq	_Place@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r15,8), %rdx
	movq	%rdx, 48(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rax)
	movups	%xmm0, 32(%rax)
	movq	%rax, (%rcx,%r15,8)
	incq	(%r13)
	jmp	LBB0_13
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RECOMMEND_MODE,4,2             ## @RECOMMEND_MODE
	.comm	_RECOMMEND_PLACES_HASH,4,2      ## @RECOMMEND_PLACES_HASH
	.comm	_Place,8,3                      ## @Place
	.comm	_tot_places,8,3                 ## @tot_places
	.comm	_MAX_GROUPS,8,3                 ## @MAX_GROUPS
	.no_dead_strip	_get_recommend_place_f
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_recommend_place_f
_get_recommend_place_f:                 ; @get_recommend_place_f
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _RECOMMEND_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RECOMMEND_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_assert
	mov	w8, #17239
	mul	w8, w21, w8
	mov	w9, #239
	madd	w8, w20, w9, w8
	add	w8, w8, w19
Lloh3:
	adrp	x9, _RECOMMEND_PLACES_HASH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RECOMMEND_PLACES_HASH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	udiv	w10, w8, w9
	msub	w23, w10, w9, w8
Lloh6:
	adrp	x24, _Place@GOTPAGE
Lloh7:
	ldr	x24, [x24, _Place@GOTPAGEOFF]
	ldr	x8, [x24]
	add	x8, x8, w23, uxtw #3
	ldr	x0, [x8]
	cbnz	x0, LBB0_5
LBB0_1:
	cmp	w22, #1
	b.lt	LBB0_10
; %bb.2:
Lloh8:
	adrp	x22, _tot_places@GOTPAGE
Lloh9:
	ldr	x22, [x22, _tot_places@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh10:
	adrp	x9, _MAX_GROUPS@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MAX_GROUPS@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_10
; %bb.3:
	mov	w0, #56
	bl	_zmalloc
	stp	w20, w21, [x0, #4]
	str	w19, [x0]
	ldr	x8, [x24]
	lsl	x9, x23, #3
	ldr	x10, [x8, x9]
	str	x10, [x0, #48]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x0, #16]
	str	x0, [x8, x9]
	ldr	x8, [x22]
	add	x8, x8, #1
	str	x8, [x22]
	b	LBB0_11
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x0, #48]!
	mov	x8, x0
	mov	x0, x9
	cbz	x9, LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x0]
	cmp	w9, w19
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x0, #4]
	cmp	w9, w20
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x0, #8]
	cmp	w9, w21
	b.ne	LBB0_4
; %bb.8:
	ldr	x9, [x0, #48]
	str	x9, [x8]
	tbnz	w22, #31, LBB0_11
; %bb.9:
	ldr	x8, [x24]
	lsl	x9, x23, #3
	ldr	x10, [x8, x9]
	str	x10, [x0, #48]
	str	x0, [x8, x9]
	b	LBB0_11
LBB0_10:
	mov	x0, #0
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_RECOMMEND_MODE,4,2             ; @RECOMMEND_MODE
	.comm	_RECOMMEND_PLACES_HASH,4,2      ; @RECOMMEND_PLACES_HASH
	.comm	_Place,8,3                      ; @Place
	.comm	_tot_places,8,3                 ; @tot_places
	.comm	_MAX_GROUPS,8,3                 ; @MAX_GROUPS
	.no_dead_strip	_get_recommend_place_f
.subsections_via_symbols
