	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prepare_list_date_distr        ## -- Begin function prepare_list_date_distr
	.p2align	4, 0x90
_prepare_list_date_distr:               ## @prepare_list_date_distr
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r12d
	testl	%edx, %edx
	jle	LBB0_15
## %bb.1:
	movl	%esi, %r13d
	cmpl	$15, %esi
	ja	LBB0_15
## %bb.2:
	movl	%edx, %ebx
	movl	%ecx, %eax
	subl	%edx, %eax
	jle	LBB0_15
## %bb.3:
	movl	%r8d, %r15d
	testl	%r8d, %r8d
	jle	LBB0_15
## %bb.4:
	cltd
	idivl	%r15d
                                        ## kill: def $eax killed $eax def $rax
	testl	%edx, %edx
	jne	LBB0_15
## %bb.5:
	movq	_MAX_RES@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	addl	$-2, %edx
	cmpl	%edx, %eax
	jg	LBB0_15
## %bb.6:
	movl	%edi, %r14d
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	_metafile_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.7:
	movl	%r14d, %edi
	movl	$1, %esi
	callq	_prepare_list_metafile
	testq	%rax, %rax
	js	LBB0_8
LBB0_9:
	movq	_R@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	_R_end@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	%r14d, %edi
	movl	$2, %esi
	callq	___get_list_f
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, %rdi
	callq	_unpack_metafile_pointers
	movq	(%r12), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	8(,%rax,4), %edx
	xorl	%esi, %esi
	callq	_memset
	testl	%r13d, %r13d
	je	LBB0_12
## %bb.13:
	movq	_carray_account_date@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_in_array@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_ctree_account_date@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_in_tree@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	andl	$7, %r13d
	leaq	-60(%rbp), %r14
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_load_o_tree_sub
	jmp	LBB0_14
LBB0_10:
	movl	%r14d, %edi
	callq	_conv_list_id
	movq	%rax, %r12
	sarq	$63, %r12
	jmp	LBB0_15
LBB0_8:
	movl	$-2, %r12d
	jmp	LBB0_15
LBB0_12:
	movq	_barray_account_date@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_in_array@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_btree_account_date@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_in_tree@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_OTree@GOTPCREL(%rip), %r14
LBB0_14:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	_R_end@GOTPCREL(%rip), %r13
	leal	2(%rsi), %r12d
	movq	_account_min_date@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movq	_account_max_date@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	movq	_account_date_step@GOTPCREL(%rip), %rax
	movl	%r15d, (%rax)
	movq	_account_date_buckets@GOTPCREL(%rip), %rax
	movl	%esi, (%rax)
	movq	_MAXINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rsi, %rbx
	xorl	%esi, %esi
	callq	_listree_get_range
	movq	_R@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	addq	%rcx, %rax
	addq	$2, %rax
	movq	%rax, (%r13)
LBB0_15:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_RES,4,2                    ## @MAX_RES
	.comm	_metafile_mode,8,3              ## @metafile_mode
	.comm	_R,8,3                          ## @R
	.comm	_R_end,8,3                      ## @R_end
	.comm	_barray_account_date,4,2        ## @barray_account_date
	.comm	_in_array,4,2                   ## @in_array
	.comm	_btree_account_date,4,2         ## @btree_account_date
	.comm	_in_tree,4,2                    ## @in_tree
	.comm	_OTree,4,2                      ## @OTree
	.comm	_carray_account_date,4,2        ## @carray_account_date
	.comm	_ctree_account_date,4,2         ## @ctree_account_date
	.comm	_account_min_date,4,2           ## @account_min_date
	.comm	_account_max_date,4,2           ## @account_max_date
	.comm	_account_date_step,4,2          ## @account_date_step
	.comm	_account_date_buckets,4,2       ## @account_date_buckets
	.comm	_MAXINT,4,2                     ## @MAXINT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prepare_list_date_distr        ; -- Begin function prepare_list_date_distr
	.p2align	2
_prepare_list_date_distr:               ; @prepare_list_date_distr
	.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
	cmp	w2, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x23, x1
	mov	w22, #-1
	cmp	w1, #15
	b.hi	LBB0_7
; %bb.2:
	mov	x20, x3
	mov	x21, x2
	subs	w8, w3, w2
	b.le	LBB0_7
; %bb.3:
	mov	x19, x4
	cmp	w4, #1
	b.lt	LBB0_7
; %bb.4:
	sdiv	w25, w8, w19
	msub	w8, w25, w19, w8
	cbnz	w8, LBB0_6
; %bb.5:
Lloh0:
	adrp	x8, _MAX_RES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_RES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, #2
	cmp	w25, w8
	b.le	LBB0_8
LBB0_6:
	mov	w22, #-1
LBB0_7:
	mov	x0, x22
	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_8:
	mov	x24, x0
Lloh3:
	adrp	x8, _metafile_mode@GOTPAGE
Lloh4:
	ldr	x8, [x8, _metafile_mode@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.9:
	mov	x0, x24
	mov	w1, #1
	bl	_prepare_list_metafile
	tbnz	x0, #63, LBB0_14
LBB0_10:
Lloh6:
	adrp	x27, _R@GOTPAGE
Lloh7:
	ldr	x27, [x27, _R@GOTPAGEOFF]
	ldr	x8, [x27]
Lloh8:
	adrp	x26, _R_end@GOTPAGE
Lloh9:
	ldr	x26, [x26, _R_end@GOTPAGEOFF]
	str	x8, [x26]
	mov	x0, x24
	mov	w1, #2
	bl	___get_list_f
	cbz	x0, LBB0_13
; %bb.11:
	bl	_unpack_metafile_pointers
	ldr	x0, [x27]
	add	w22, w25, #2
	lsl	w2, w22, #2
	mov	w1, #0
	bl	_memset
	cbz	w23, LBB0_15
; %bb.12:
Lloh10:
	adrp	x8, _carray_account_date@GOTPAGE
Lloh11:
	ldr	x8, [x8, _carray_account_date@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _in_array@GOTPAGE
Lloh14:
	ldr	x9, [x9, _in_array@GOTPAGEOFF]
Lloh15:
	adrp	x10, _ctree_account_date@GOTPAGE
Lloh16:
	ldr	x10, [x10, _ctree_account_date@GOTPAGEOFF]
Lloh17:
	str	w8, [x9]
Lloh18:
	ldr	w8, [x10]
Lloh19:
	adrp	x9, _in_tree@GOTPAGE
Lloh20:
	ldr	x9, [x9, _in_tree@GOTPAGEOFF]
Lloh21:
	str	w8, [x9]
	and	w1, w23, #0x7
	add	x23, sp, #12
	add	x0, sp, #12
	bl	_load_o_tree_sub
	b	LBB0_16
LBB0_13:
	mov	x0, x24
	bl	_conv_list_id
	asr	x22, x0, #63
	b	LBB0_7
LBB0_14:
	mov	w22, #-2
	b	LBB0_7
LBB0_15:
Lloh22:
	adrp	x8, _barray_account_date@GOTPAGE
Lloh23:
	ldr	x8, [x8, _barray_account_date@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _in_array@GOTPAGE
Lloh26:
	ldr	x9, [x9, _in_array@GOTPAGEOFF]
Lloh27:
	str	w8, [x9]
Lloh28:
	adrp	x8, _btree_account_date@GOTPAGE
Lloh29:
	ldr	x8, [x8, _btree_account_date@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _in_tree@GOTPAGE
Lloh32:
	ldr	x9, [x9, _in_tree@GOTPAGEOFF]
Lloh33:
	str	w8, [x9]
Lloh34:
	adrp	x23, _OTree@GOTPAGE
Lloh35:
	ldr	x23, [x23, _OTree@GOTPAGEOFF]
LBB0_16:
Lloh36:
	adrp	x8, _account_min_date@GOTPAGE
Lloh37:
	ldr	x8, [x8, _account_min_date@GOTPAGEOFF]
Lloh38:
	str	w21, [x8]
Lloh39:
	adrp	x8, _account_max_date@GOTPAGE
Lloh40:
	ldr	x8, [x8, _account_max_date@GOTPAGEOFF]
Lloh41:
	str	w20, [x8]
Lloh42:
	adrp	x8, _account_date_step@GOTPAGE
Lloh43:
	ldr	x8, [x8, _account_date_step@GOTPAGEOFF]
Lloh44:
	str	w19, [x8]
Lloh45:
	adrp	x8, _account_date_buckets@GOTPAGE
Lloh46:
	ldr	x8, [x8, _account_date_buckets@GOTPAGEOFF]
Lloh47:
	str	w25, [x8]
Lloh48:
	adrp	x8, _MAXINT@GOTPAGE
Lloh49:
	ldr	x8, [x8, _MAXINT@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
	mov	x0, x23
	mov	w1, #0
	bl	_listree_get_range
	ldr	x8, [x27]
	add	x8, x8, w25, sxtw
	add	x8, x8, #2
	str	x8, [x26]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh18
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh17
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotStr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotStr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotStr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotStr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotStr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_RES,4,2                    ; @MAX_RES
	.comm	_metafile_mode,8,3              ; @metafile_mode
	.comm	_R,8,3                          ; @R
	.comm	_R_end,8,3                      ; @R_end
	.comm	_barray_account_date,4,2        ; @barray_account_date
	.comm	_in_array,4,2                   ; @in_array
	.comm	_btree_account_date,4,2         ; @btree_account_date
	.comm	_in_tree,4,2                    ; @in_tree
	.comm	_OTree,4,2                      ; @OTree
	.comm	_carray_account_date,4,2        ; @carray_account_date
	.comm	_ctree_account_date,4,2         ; @ctree_account_date
	.comm	_account_min_date,4,2           ; @account_min_date
	.comm	_account_max_date,4,2           ; @account_max_date
	.comm	_account_date_step,4,2          ; @account_date_step
	.comm	_account_date_buckets,4,2       ; @account_date_buckets
	.comm	_MAXINT,4,2                     ; @MAXINT
.subsections_via_symbols
