	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sort_user_objects              ## -- Begin function sort_user_objects
	.p2align	4, 0x90
_sort_user_objects:                     ## @sort_user_objects
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movl	%r8d, %r15d
	movl	%ecx, %r13d
	movq	%rdx, %r14
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movl	%edi, %ebx
	callq	_check_user_id
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movl	%r15d, %edi
	callq	_check_rating_num
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	callq	_get_local_user_id
	testl	%eax, %eax
	je	LBB0_11
## %bb.3:
	movl	%eax, %r13d
	setg	%al
	movzbl	%al, %edi
	callq	_assert
	movl	%ebx, %edi
	callq	_conv_user_id
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	_NOAIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_load_user_metafile
	testq	%rax, %rax
	je	LBB0_29
## %bb.4:
	xorl	%edi, %edi
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	testq	%r14, %r14
	setne	%dil
	callq	_assert
	movq	_MAX_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, %eax
	cmovll	%eax, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, %eax
	cmovll	%eax, %ecx
	xorl	%esi, %esi
	testl	%ecx, %ecx
	movl	$0, %eax
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	cmovgl	%ecx, %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	testl	%edx, %edx
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	jle	LBB0_31
## %bb.5:
	movl	%edx, %r13d
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r14
	cmpq	%r14, %r13
	je	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r14,8), %rsi
	movq	%r12, %rdi
	callq	_user_get_object_local_id_type_id
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_objects_to_sort@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%ebx, %rdx
	incl	%ebx
	movl	%eax, (%rcx,%rdx,4)
	jmp	LBB0_6
LBB0_9:
	movq	_bad_requests@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	$-1, %eax
	jmp	LBB0_10
LBB0_12:
	xorl	%esi, %esi
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_30
## %bb.13:
	testl	%ebx, %ebx
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	jle	LBB0_31
## %bb.14:
	movl	%ebx, %edi
	xorl	%r14d, %r14d
	movq	_heap@GOTPCREL(%rip), %r8
	xorl	%esi, %esi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	_objects_to_sort@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %eax
	movq	(%r8), %rcx
	movslq	%esi, %rdx
	incl	%esi
	movl	%eax, 4(%rcx,%rdx,4)
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%r14
	cmpq	%rdi, %r14
	je	LBB0_31
LBB0_17:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_21 Depth 2
	testl	%r13d, %r13d
	jne	LBB0_15
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpl	-56(%rbp), %esi                 ## 4-byte Folded Reload
	jge	LBB0_24
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	_objects_to_sort@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %ecx
	movq	(%r8), %rax
	leal	1(%rsi), %ebx
	movslq	%esi, %rdx
	movl	%ecx, 4(%rax,%rdx,4)
	testl	%esi, %esi
	jle	LBB0_26
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	%ebx, %ecx
	movl	(%rax,%rcx,4), %esi
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %r13d
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r8, %r15
	shrl	%ebx
	movl	(%rax,%rbx,4), %edx
	movq	%r12, %rdi
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	callq	_object_cmp
	testq	%rax, %rax
	jns	LBB0_28
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=2
	movl	%r13d, %ecx
	movq	%r15, %r8
	movq	(%r15), %rax
	movl	(%rax,%rcx,4), %esi
	movl	(%rax,%rbx,4), %edx
	movl	%edx, (%rax,%rcx,4)
	movl	%esi, (%rax,%rbx,4)
	cmpl	$3, %r13d
	movl	%ebx, %r13d
	ja	LBB0_21
## %bb.23:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %esi
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_16
LBB0_24:                                ##   in Loop: Header=BB0_17 Depth=1
	movl	%r15d, %ebx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	(%r8), %rax
	movl	4(%rax), %esi
	movq	_objects_to_sort@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %edx
	movq	%r12, %rdi
	movl	%r15d, %ecx
	movq	%r8, %r15
	callq	_object_cmp
	testq	%rax, %rax
	js	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %r8
	movl	%ebx, %r15d
	jmp	LBB0_16
LBB0_26:                                ##   in Loop: Header=BB0_17 Depth=1
	movl	%ebx, %esi
	jmp	LBB0_16
LBB0_27:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	_objects_to_sort@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %eax
	movq	(%r15), %rsi
	movl	%eax, 4(%rsi)
	movq	%r12, %rdi
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, %edx
	movl	%ebx, %ecx
	callq	_fix_down
	movq	%r12, %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %r8
	movl	%ebx, %r15d
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_28:                                ##   in Loop: Header=BB0_17 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %esi
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %r8
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_16
LBB0_29:
	movl	$-2, %eax
	jmp	LBB0_10
LBB0_30:
	movl	-52(%rbp), %r13d                ## 4-byte Reload
LBB0_31:
	testl	%r13d, %r13d
	je	LBB0_35
## %bb.32:
	testl	%esi, %esi
	jle	LBB0_39
## %bb.33:
	movq	%rsi, %r13
	movl	%esi, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	_heap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_user_get_object_weight
	movq	_weight@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_34
	jmp	LBB0_40
LBB0_35:
	testl	%esi, %esi
	je	LBB0_11
## %bb.36:
	movslq	%esi, %rax
	movq	%rsi, %r13
	leal	-1(%rsi), %ebx
	.p2align	4, 0x90
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movq	_heap@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movl	4(%rsi), %ecx
	movq	_objects_to_sort@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leaq	-1(%rax), %r14
	movl	%ecx, -4(%rdx,%rax,4)
	movl	(%rsi,%rax,4), %eax
	movl	%eax, 4(%rsi)
	movq	%r12, %rdi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	callq	_fix_down
	movq	%r14, %rax
	addl	$-1, %ebx
	jb	LBB0_37
## %bb.38:
	movq	%r13, %rax
	jmp	LBB0_41
LBB0_11:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_39:
	movq	%rsi, %r13
	movq	_weight@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
LBB0_40:
	movq	_heap@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	$4, %rdx
	movq	_objects_to_sort@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	callq	_get_random
                                        ## kill: def $eax killed $eax def $rax
LBB0_41:
	testl	%eax, %eax
	jle	LBB0_10
## %bb.42:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, %r14d
	xorl	%ebx, %ebx
	movq	_objects_to_sort@GOTPCREL(%rip), %r15
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_43:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	callq	_user_get_object_type_id
	movq	%rax, (%r13,%rbx,8)
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_43
## %bb.44:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_10:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bad_requests,4,2               ## @bad_requests
	.comm	_NOAIO,4,2                      ## @NOAIO
	.comm	_MAX_CNT,4,2                    ## @MAX_CNT
	.comm	_objects_to_sort,8,3            ## @objects_to_sort
	.comm	_heap,8,3                       ## @heap
	.comm	_weight,8,3                     ## @weight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sort_user_objects              ; -- Begin function sort_user_objects
	.p2align	2
_sort_user_objects:                     ; @sort_user_objects
	.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	x22, x5
	mov	x21, x4
	mov	x23, x3
	mov	x19, x2
	mov	x24, x1
	mov	x20, x0
	bl	_check_user_id
	cbz	w0, LBB0_9
; %bb.1:
	mov	x0, x21
	bl	_check_rating_num
	cbz	w0, LBB0_9
; %bb.2:
	mov	x0, x20
	bl	_get_local_user_id
	cbz	w0, LBB0_11
; %bb.3:
	mov	x25, x0
	cmp	w0, #0
	cset	w0, gt
	bl	_assert
	mov	x0, x20
	bl	_conv_user_id
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
Lloh0:
	adrp	x8, _NOAIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NOAIO@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x25
	bl	_load_user_metafile
	cbz	x0, LBB0_27
; %bb.4:
	cmp	x19, #0
	cset	w0, ne
	bl	_assert
Lloh3:
	adrp	x8, _MAX_CNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_CNT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w24
	csel	w24, w8, w24, lt
	cmp	w8, w23
	csel	w26, w8, w23, lt
	cmp	w26, #0
	csel	w8, w26, wzr, gt
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
Lloh6:
	adrp	x25, _objects_to_sort@GOTPAGE
Lloh7:
	ldr	x25, [x25, _objects_to_sort@GOTPAGEOFF]
	cmp	w24, #1
	b.lt	LBB0_28
; %bb.5:
	mov	w28, #0
	mov	x23, x19
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x23, x23, #8
	subs	x24, x24, #1
	b.eq	LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x23]
	mov	x0, x20
	bl	_user_get_object_local_id_type_id
	cbz	w0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x25]
	str	w0, [x8, w28, sxtw #2]
	add	w28, w28, #1
	b	LBB0_6
LBB0_9:
Lloh8:
	adrp	x8, _bad_requests@GOTPAGE
Lloh9:
	ldr	x8, [x8, _bad_requests@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	w24, #-1
LBB0_10:
	mov	x0, x24
	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
LBB0_11:
	mov	w24, #0
	b	LBB0_10
LBB0_12:
	cmp	w26, #1
	b.lt	LBB0_29
; %bb.13:
	cmp	w28, #1
	b.lt	LBB0_29
; %bb.14:
	mov	x26, #0
	mov	w24, #0
Lloh10:
	adrp	x27, _heap@GOTPAGE
Lloh11:
	ldr	x27, [x27, _heap@GOTPAGEOFF]
	mov	w28, w28
	str	w22, [sp, #8]                   ; 4-byte Folded Spill
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x25]
	ldr	w8, [x8, x26, lsl #2]
	ldr	x9, [x27]
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	sxtw	x10, w24
	add	x24, x10, #1
	str	w8, [x9, x24, lsl #2]
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x26, x26, #1
	cmp	x26, x28
	b.eq	LBB0_29
LBB0_17:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
	cbnz	w22, LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w24, w8
	b.ge	LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x25]
	ldr	w9, [x8, x26, lsl #2]
	ldr	x8, [x27]
	sxtw	x10, w24
	add	x23, x10, #1
	str	w9, [x8, x23, lsl #2]
	cmp	w24, #1
	b.lt	LBB0_26
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w1, [x8, w23, uxtw #2]
	mov	x24, x23
LBB0_21:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsr	w22, w24, #1
	ldr	w2, [x8, w22, uxtw #2]
	mov	x0, x20
	mov	x3, x21
	bl	_object_cmp
	tbz	x0, #63, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	mov	w9, w24
	ldr	x8, [x27]
	lsl	x9, x9, #2
	ldr	w1, [x8, x9]
	lsl	x10, x22, #2
	ldr	w11, [x8, x10]
	str	w11, [x8, x9]
	str	w1, [x8, x10]
	cmp	w24, #3
	mov	x24, x22
	b.hi	LBB0_21
LBB0_23:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x24, x23
	ldr	w22, [sp, #8]                   ; 4-byte Folded Reload
	b	LBB0_16
LBB0_24:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x27]
	ldr	w1, [x8, #4]
	ldr	x8, [x25]
	ldr	w2, [x8, x26, lsl #2]
	mov	x0, x20
	mov	x3, x21
	bl	_object_cmp
	tbz	x0, #63, LBB0_16
; %bb.25:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x25]
	ldr	w8, [x8, x26, lsl #2]
	ldr	x1, [x27]
	str	w8, [x1, #4]
	mov	x0, x20
	mov	x2, x24
	mov	x3, x21
	bl	_fix_down
	b	LBB0_16
LBB0_26:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x24, x23
	b	LBB0_16
LBB0_27:
	mov	w24, #-2
	b	LBB0_10
LBB0_28:
	mov	w24, #0
LBB0_29:
	cbz	w22, LBB0_33
; %bb.30:
Lloh12:
	adrp	x22, _heap@GOTPAGE
Lloh13:
	ldr	x22, [x22, _heap@GOTPAGEOFF]
	cmp	w24, #0
	b.le	LBB0_36
; %bb.31:
	mov	x23, #0
	add	w8, w24, #1
	lsl	x8, x8, #2
	sub	x26, x8, #4
Lloh14:
	adrp	x27, _weight@GOTPAGE
Lloh15:
	ldr	x27, [x27, _weight@GOTPAGEOFF]
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	add	x8, x8, x23
	ldr	w1, [x8, #4]
	mov	x0, x20
	mov	x2, x21
	bl	_user_get_object_weight
	ldr	x3, [x27]
	str	w0, [x3, x23]
	add	x23, x23, #4
	cmp	x26, x23
	b.ne	LBB0_32
	b	LBB0_37
LBB0_33:
	cbz	w24, LBB0_10
; %bb.34:
	mov	x8, x24
	sbfiz	x23, x8, #2, #32
	sub	w22, w24, #1
Lloh16:
	adrp	x26, _heap@GOTPAGE
Lloh17:
	ldr	x26, [x26, _heap@GOTPAGEOFF]
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x26]
	ldr	w8, [x1, #4]
	ldr	x9, [x25]
	add	x9, x9, x23
	stur	w8, [x9, #-4]
	ldr	w8, [x1, x23]
	str	w8, [x1, #4]
	mov	x0, x20
	mov	x2, x22
	mov	x3, x21
	bl	_fix_down
	sub	x23, x23, #4
	sub	w22, w22, #1
	cmn	w22, #1
	b.ne	LBB0_35
	b	LBB0_38
LBB0_36:
Lloh18:
	adrp	x8, _weight@GOTPAGE
Lloh19:
	ldr	x8, [x8, _weight@GOTPAGEOFF]
Lloh20:
	ldr	x3, [x8]
LBB0_37:
	ldr	x8, [x22]
	add	x2, x8, #4
	ldr	x4, [x25]
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	mov	x1, x24
	bl	_get_random
	mov	x24, x0
LBB0_38:
	cmp	w24, #1
	b.lt	LBB0_10
; %bb.39:
	mov	x21, #0
	mov	w22, w24
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	w1, [x8, x21, lsl #2]
	mov	x0, x20
	bl	_user_get_object_type_id
	str	x0, [x19, x21, lsl #3]
	add	x21, x21, #1
	cmp	x22, x21
	b.ne	LBB0_40
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_bad_requests,4,2               ; @bad_requests
	.comm	_NOAIO,4,2                      ; @NOAIO
	.comm	_MAX_CNT,4,2                    ; @MAX_CNT
	.comm	_objects_to_sort,8,3            ; @objects_to_sort
	.comm	_heap,8,3                       ; @heap
	.comm	_weight,8,3                     ; @weight
.subsections_via_symbols
