	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_order
_init_order:                            ## @init_order
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_Q_order@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movzbl	%dl, %ecx
	movq	_Q_type@GOTPCREL(%rip), %rbx
	movl	%ecx, (%rbx)
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	callq	_vkprintf
	movq	_evaluate_rating@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	movl	(%rbx), %eax
	movq	_MAX_RATES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	1(%rcx), %edx
	cmpl	%edx, %eax
	jne	LBB0_2
## %bb.1:
	movq	_random_rating@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	cmpl	%ecx, %eax
	jne	LBB0_4
## %bb.3:
	movq	_get_rating_as_object_id@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	xorl	%edi, %edi
	cmpl	$16, %eax
	setl	%dil
	callq	_assert
	movq	_get_rating@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rax
	movq	%rax, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Q_order,4,2                    ## @Q_order
	.comm	_Q_type,4,2                     ## @Q_type
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Q_order = %d, Q_type = %d\n"

	.comm	_evaluate_rating,8,3            ## @evaluate_rating
	.comm	_MAX_RATES,4,2                  ## @MAX_RATES
	.comm	_random_rating,8,3              ## @random_rating
	.comm	_get_rating_as_object_id,8,3    ## @get_rating_as_object_id
	.comm	_get_rating,8,3                 ## @get_rating
	.no_dead_strip	_init_order
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_order
_init_order:                            ; @init_order
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _Q_order@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Q_order@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	and	w3, w2, #0xff
Lloh3:
	adrp	x20, _Q_type@GOTPAGE
Lloh4:
	ldr	x20, [x20, _Q_type@GOTPAGEOFF]
	str	w3, [x20]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	bl	_vkprintf
Lloh7:
	adrp	x19, _evaluate_rating@GOTPAGE
Lloh8:
	ldr	x19, [x19, _evaluate_rating@GOTPAGEOFF]
	str	xzr, [x19]
	ldr	w8, [x20]
Lloh9:
	adrp	x9, _MAX_RATES@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MAX_RATES@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	add	w10, w9, #1
	cmp	w8, w10
	b.ne	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _random_rating@GOTPAGE
Lloh13:
	ldr	x8, [x8, _random_rating@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:
Lloh14:
	adrp	x8, _get_rating_as_object_id@GOTPAGE
Lloh15:
	ldr	x8, [x8, _get_rating_as_object_id@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	cmp	w8, #16
	cset	w0, lt
	bl	_assert
Lloh16:
	adrp	x8, _get_rating@GOTPAGE
Lloh17:
	ldr	x8, [x8, _get_rating@GOTPAGEOFF]
LBB0_5:
	ldr	x8, [x8]
	str	x8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_Q_order,4,2                    ; @Q_order
	.comm	_Q_type,4,2                     ; @Q_type
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Q_order = %d, Q_type = %d\n"

	.comm	_evaluate_rating,8,3            ; @evaluate_rating
	.comm	_MAX_RATES,4,2                  ; @MAX_RATES
	.comm	_random_rating,8,3              ; @random_rating
	.comm	_get_rating_as_object_id,8,3    ; @get_rating_as_object_id
	.comm	_get_rating,8,3                 ; @get_rating
	.no_dead_strip	_init_order
.subsections_via_symbols
