	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ShmemInitHash                  ## -- Begin function ShmemInitHash
	.p2align	4, 0x90
_ShmemInitHash:                         ## @ShmemInitHash
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movq	%rcx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_hash_select_dirsize
	movl	%eax, 12(%r15)
	movl	%eax, 16(%r15)
	movq	_ShmemAllocNoError@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	_HASH_SHARED_MEM@GOTPCREL(%rip), %rax
	movq	_HASH_ALLOC@GOTPCREL(%rip), %rcx
	movq	_HASH_DIRSIZE@GOTPCREL(%rip), %rdx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	orl	(%rdx), %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_hash_get_shared_size
	leaq	-36(%rbp), %rdx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_ShmemInitStruct
	movl	-36(%rbp), %ecx
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movq	_HASH_ATTACH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	orl	%ebx, %ecx
	movq	%rax, (%r15)
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_hash_create
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ShmemAllocNoError,4,2          ## @ShmemAllocNoError
	.comm	_HASH_SHARED_MEM,4,2            ## @HASH_SHARED_MEM
	.comm	_HASH_ALLOC,4,2                 ## @HASH_ALLOC
	.comm	_HASH_DIRSIZE,4,2               ## @HASH_DIRSIZE
	.comm	_HASH_ATTACH,4,2                ## @HASH_ATTACH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ShmemInitHash                  ; -- Begin function ShmemInitHash
	.p2align	2
_ShmemInitHash:                         ; @ShmemInitHash
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x1
	mov	x22, x0
	mov	x0, x2
	bl	_hash_select_dirsize
	str	w0, [x20, #16]
Lloh0:
	adrp	x8, _ShmemAllocNoError@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ShmemAllocNoError@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w0, [x20, #8]
Lloh3:
	adrp	x8, _HASH_SHARED_MEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HASH_SHARED_MEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _HASH_ALLOC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HASH_ALLOC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _HASH_DIRSIZE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _HASH_DIRSIZE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w8, w8, w19
	orr	w8, w8, w9
	orr	w19, w8, w10
	mov	x0, x20
	mov	x1, x19
	bl	_hash_get_shared_size
	mov	x1, x0
	add	x2, sp, #12
	mov	x0, x22
	bl	_ShmemInitStruct
Lloh12:
	adrp	x8, _HASH_ATTACH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HASH_ATTACH@GOTPAGEOFF]
	ldr	w9, [sp, #12]
Lloh14:
	ldr	w8, [x8]
	cmp	w9, #0
	csel	w8, wzr, w8, eq
	orr	w3, w8, w19
	str	x0, [x20]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_hash_create
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ShmemAllocNoError,4,2          ; @ShmemAllocNoError
	.comm	_HASH_SHARED_MEM,4,2            ; @HASH_SHARED_MEM
	.comm	_HASH_ALLOC,4,2                 ; @HASH_ALLOC
	.comm	_HASH_DIRSIZE,4,2               ; @HASH_DIRSIZE
	.comm	_HASH_ATTACH,4,2                ; @HASH_ATTACH
.subsections_via_symbols
