	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_hash_tables
_init_hash_tables:                      ## @init_hash_tables
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	16(%rdi), %rax
	movl	(%rax), %edi
	callq	_get_dev_size
	movl	%eax, %ebx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_calc_max_buckets
	movq	8(%r15), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %ebx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_min
	cmpl	$65, %eax
	movl	$64, %r12d
	cmovll	%r12d, %eax
	movl	%eax, %edi
	callq	_rounddown_pow_of_two
	movl	%eax, %ebx
	movq	_DM_CHUNK_CONSECUTIVE_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_dm_exception_table_init
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	sarl	$3, %ebx
	cmpl	$65, %ebx
	cmovgel	%ebx, %r12d
	leaq	4(%r15), %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_dm_exception_table_init
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_exception_cache@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_dm_exception_table_exit
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
LBB0_4:
	subl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DM_CHUNK_CONSECUTIVE_BITS,4,2  ## @DM_CHUNK_CONSECUTIVE_BITS
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_exception_cache,4,2            ## @exception_cache
	.no_dead_strip	_init_hash_tables
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_hash_tables
_init_hash_tables:                      ; @init_hash_tables
	.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	x19, x0
	ldr	x8, [x0, #16]
	ldr	w0, [x8]
	bl	_get_dev_size
	mov	x20, x0
	bl	_calc_max_buckets
	mov	x1, x0
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	asr	w0, w20, w8
	bl	_min
	mov	w21, #64
	cmp	w0, #64
	csel	w0, w0, w21, gt
	bl	_rounddown_pow_of_two
	mov	x20, x0
Lloh0:
	adrp	x8, _DM_CHUNK_CONSECUTIVE_BITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DM_CHUNK_CONSECUTIVE_BITS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_dm_exception_table_init
	cbnz	x0, LBB0_3
; %bb.1:
	asr	w8, w20, #3
	cmp	w8, #64
	csel	w1, w8, w21, gt
	add	x0, x19, #4
	mov	w2, #0
	bl	_dm_exception_table_init
	cbz	x0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _exception_cache@GOTPAGE
Lloh4:
	ldr	x8, [x8, _exception_cache@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dm_exception_table_exit
LBB0_3:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DM_CHUNK_CONSECUTIVE_BITS,4,2  ; @DM_CHUNK_CONSECUTIVE_BITS
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_exception_cache,4,2            ; @exception_cache
	.no_dead_strip	_init_hash_tables
.subsections_via_symbols
