	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_list_sorted                 ## -- Begin function tl_list_sorted
	.p2align	4, 0x90
_tl_list_sorted:                        ## @tl_list_sorted
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %eax
	movq	_stats_buff@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movq	_tl_do_list_sorted@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_tl_do_list_sorted_full@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movl	$40, %esi
	callq	_tl_act_extra_init
	movq	%rax, %r15
	movq	(%rax), %rbx
	leaq	32(%rbx), %rdi
	callq	_fetch_list_id
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:
	xorl	%eax, %eax
	callq	_tl_fetch_int
	movq	%rax, 24(%rbx)
	xorl	%eax, %eax
	callq	_tl_fetch_int
	movq	%rax, 16(%rbx)
	xorl	%eax, %eax
	callq	_tl_fetch_int
	movq	%rax, 8(%rbx)
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_tl_fetch_int
	jmp	LBB0_8
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_7:
	movq	_MAX_RES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_8:
	movq	%rax, (%rbx)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_tl_fetch_end
	xorl	%eax, %eax
	callq	_tl_fetch_error
	testq	%rax, %rax
	cmoveq	%r15, %rbx
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stats_buff,4,2                 ## @stats_buff
	.comm	_tl_do_list_sorted_full,4,2     ## @tl_do_list_sorted_full
	.comm	_tl_do_list_sorted,4,2          ## @tl_do_list_sorted
	.comm	_CHECK_LIST_OBJECT_INTS,4,2     ## @CHECK_LIST_OBJECT_INTS
	.comm	_MAX_RES,8,3                    ## @MAX_RES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_list_sorted                 ; -- Begin function tl_list_sorted
	.p2align	2
_tl_list_sorted:                        ; @tl_list_sorted
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
Lloh0:
	adrp	x8, _stats_buff@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stats_buff@GOTPAGEOFF]
Lloh2:
	adrp	x9, _tl_do_list_sorted_full@GOTPAGE
Lloh3:
	ldr	x9, [x9, _tl_do_list_sorted_full@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x10, _tl_do_list_sorted@GOTPAGE
Lloh6:
	ldr	x10, [x10, _tl_do_list_sorted@GOTPAGEOFF]
	cmp	w0, #0
	csel	x9, x10, x9, eq
	ldr	w2, [x9]
	mov	x0, x8
	mov	w1, #40
	bl	_tl_act_extra_init
	mov	x19, x0
	ldr	x21, [x0]
	add	x0, x21, #32
	bl	_fetch_list_id
	tbnz	x0, #63, LBB0_3
; %bb.1:
	bl	_tl_fetch_int
	str	x0, [x21, #24]
	bl	_tl_fetch_int
	str	x0, [x21, #16]
	bl	_tl_fetch_int
	str	x0, [x21, #8]
	cbz	w20, LBB0_4
; %bb.2:
	bl	_tl_fetch_int
	b	LBB0_5
LBB0_3:
	mov	x0, #0
	b	LBB0_6
LBB0_4:
Lloh7:
	adrp	x8, _MAX_RES@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAX_RES@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
LBB0_5:
	str	x0, [x21]
	bl	_tl_fetch_end
	bl	_tl_fetch_error
	cmp	x0, #0
	csel	x0, x19, xzr, eq
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_stats_buff,4,2                 ; @stats_buff
	.comm	_tl_do_list_sorted_full,4,2     ; @tl_do_list_sorted_full
	.comm	_tl_do_list_sorted,4,2          ; @tl_do_list_sorted
	.comm	_CHECK_LIST_OBJECT_INTS,4,2     ; @CHECK_LIST_OBJECT_INTS
	.comm	_MAX_RES,8,3                    ; @MAX_RES
.subsections_via_symbols
