	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cinit
_cinit:                                 ## @cinit
	.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
	movq	_sblock@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_BLKFACTOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	(%rax), %ecx
	movq	_MAXBSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	cmovgel	%eax, %ecx
	movq	_BlockSize@GOTPCREL(%rip), %r15
	movl	%ecx, (%r15)
	movq	_cachesize@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	%ecx
	movl	%eax, %edi
	movq	_NBlocks@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	movq	_HFACTOR@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
	movq	_HSize@GOTPCREL(%rip), %r13
	movl	%eax, (%r13)
	imull	%ecx, %edi
	leal	1048575(%rdi), %esi
	testl	%edi, %edi
	cmovnsl	%edi, %esi
	sarl	$20, %esi
	leaq	L_.str(%rip), %rdi
	movl	%ecx, %edx
	callq	_msg
	movl	(%r12), %r14d
	movl	$24, %edi
	movl	%r14d, %esi
	callq	_calloc
	movq	%rax, %rbx
	movl	(%r13), %esi
	movl	$8, %edi
	callq	_calloc
	movq	_BlockHash@GOTPCREL(%rip), %r13
	imull	(%r15), %r14d
	movq	%rax, (%r13)
	movq	_PROT_READ@GOTPCREL(%rip), %rax
	movq	_PROT_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_MAP_ANON@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	movl	%r14d, %esi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	_mmap
	movq	%rax, %rcx
	movq	_DataBase@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	movl	(%r12), %r8d
	testl	%r8d, %r8d
	jle	LBB0_3
## %bb.1:
	movslq	(%r15), %r9
	movq	_HFACTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, 16(%rbx)
	movq	$-1, 8(%rbx)
	movl	%esi, %eax
	cltd
	idivl	%r10d
	movq	(%r13), %rdx
	cltq
	movq	(%rdx,%rax,8), %rdi
	movq	%rdi, (%rbx)
	movq	%rbx, (%rdx,%rax,8)
	incq	%rsi
	addq	%r9, %rcx
	addq	$24, %rbx
	cmpq	%rsi, %r8
	jne	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sblock,8,3                     ## @sblock
	.comm	_BLKFACTOR,4,2                  ## @BLKFACTOR
	.comm	_BlockSize,4,2                  ## @BlockSize
	.comm	_MAXBSIZE,4,2                   ## @MAXBSIZE
	.comm	_cachesize,4,2                  ## @cachesize
	.comm	_NBlocks,4,2                    ## @NBlocks
	.comm	_HFACTOR,4,2                    ## @HFACTOR
	.comm	_HSize,4,2                      ## @HSize
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cache %d MB, blocksize = %d\n"

	.comm	_BlockHash,8,3                  ## @BlockHash
	.comm	_PROT_READ,4,2                  ## @PROT_READ
	.comm	_PROT_WRITE,4,2                 ## @PROT_WRITE
	.comm	_MAP_ANON,4,2                   ## @MAP_ANON
	.comm	_DataBase,8,3                   ## @DataBase
	.no_dead_strip	_cinit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cinit
_cinit:                                 ; @cinit
	.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
Lloh0:
	adrp	x8, _sblock@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sblock@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BLKFACTOR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BLKFACTOR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mul	w8, w9, w8
Lloh6:
	adrp	x9, _MAXBSIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAXBSIZE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w2, w8, w9, lt
Lloh9:
	adrp	x21, _BlockSize@GOTPAGE
Lloh10:
	ldr	x21, [x21, _BlockSize@GOTPAGEOFF]
	str	w2, [x21]
Lloh11:
	adrp	x8, _cachesize@GOTPAGE
Lloh12:
	ldr	x8, [x8, _cachesize@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	sdiv	w8, w8, w2
Lloh14:
	adrp	x24, _NBlocks@GOTPAGE
Lloh15:
	ldr	x24, [x24, _NBlocks@GOTPAGEOFF]
Lloh16:
	adrp	x22, _HFACTOR@GOTPAGE
Lloh17:
	ldr	x22, [x22, _HFACTOR@GOTPAGEOFF]
	str	w8, [x24]
	ldr	w9, [x22]
	sdiv	w9, w8, w9
Lloh18:
	adrp	x23, _HSize@GOTPAGE
Lloh19:
	ldr	x23, [x23, _HSize@GOTPAGEOFF]
	str	w9, [x23]
	mul	w8, w8, w2
	mov	w9, #1048575
	add	w9, w8, w9
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w1, w8, #20
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	bl	_msg
	ldr	w20, [x24]
	mov	w0, #24
	mov	x1, x20
	bl	_calloc
	mov	x19, x0
	ldr	w1, [x23]
	mov	w0, #8
	bl	_calloc
Lloh22:
	adrp	x23, _BlockHash@GOTPAGE
Lloh23:
	ldr	x23, [x23, _BlockHash@GOTPAGEOFF]
	str	x0, [x23]
	ldr	w8, [x21]
	mul	w1, w8, w20
Lloh24:
	adrp	x8, _PROT_READ@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PROT_READ@GOTPAGEOFF]
Lloh26:
	adrp	x9, _PROT_WRITE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _PROT_WRITE@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh30:
	adrp	x8, _MAP_ANON@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MAP_ANON@GOTPAGEOFF]
Lloh32:
	ldr	w3, [x8]
	mov	x0, #0
	mov	w4, #-1
	mov	w5, #0
	bl	_mmap
Lloh33:
	adrp	x8, _DataBase@GOTPAGE
Lloh34:
	ldr	x8, [x8, _DataBase@GOTPAGEOFF]
Lloh35:
	str	x0, [x8]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x9, #0
	ldrsw	x10, [x21]
	ldr	w11, [x22]
	mov	x12, #-1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	x0, [x19, #16]
	sdiv	w13, w9, w11
	ldr	x14, [x23]
	sbfiz	x13, x13, #3, #32
	ldr	x15, [x14, x13]
	stp	x15, x12, [x19]
	str	x19, [x14, x13]
	add	x9, x9, #1
	add	x0, x0, x10
	add	x19, x19, #24
	cmp	x8, x9
	b.ne	LBB0_2
LBB0_3:
	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 AdrpLdrGotStr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sblock,8,3                     ; @sblock
	.comm	_BLKFACTOR,4,2                  ; @BLKFACTOR
	.comm	_BlockSize,4,2                  ; @BlockSize
	.comm	_MAXBSIZE,4,2                   ; @MAXBSIZE
	.comm	_cachesize,4,2                  ; @cachesize
	.comm	_NBlocks,4,2                    ; @NBlocks
	.comm	_HFACTOR,4,2                    ; @HFACTOR
	.comm	_HSize,4,2                      ; @HSize
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cache %d MB, blocksize = %d\n"

	.comm	_BlockHash,8,3                  ; @BlockHash
	.comm	_PROT_READ,4,2                  ; @PROT_READ
	.comm	_PROT_WRITE,4,2                 ; @PROT_WRITE
	.comm	_MAP_ANON,4,2                   ; @MAP_ANON
	.comm	_DataBase,8,3                   ; @DataBase
	.no_dead_strip	_cinit
.subsections_via_symbols
