	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dshash_create                  ## -- Begin function dshash_create
	.p2align	4, 0x90
_dshash_create:                         ## @dshash_create
	.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
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	$56, %edi
	callq	_palloc
	movq	%rax, %r12
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_dsa_allocate
	movl	%eax, %ebx
	movq	%r14, 48(%r12)
	movl	(%r15), %eax
	movl	%eax, 40(%r12)
	movq	%r13, 32(%r12)
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_dsa_get_address
	movq	%rax, 8(%r12)
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, 28(%rax)
	movq	_DSHASH_MAGIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movl	(%r15), %r13d
	movl	%r13d, (%rax)
	movq	_DSHASH_NUM_PARTITIONS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_4
## %bb.1:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rax), %rbx
	addq	$8, %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_LWLockInitialize
	movq	$0, -8(%rbx)
	incq	%r14
	movslq	(%r15), %rax
	addq	$16, %rbx
	cmpq	%rax, %r14
	jl	LBB0_2
## %bb.3:
	movq	8(%r12), %rax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_4:
	movq	$0, (%r12)
	movq	_DSHASH_NUM_PARTITIONS_LOG2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movl	(%r15), %esi
	shll	$2, %esi
	movq	_DSA_ALLOC_NO_OOM@GOTPCREL(%rip), %rax
	movq	_DSA_ALLOC_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r14, %rdi
	callq	_dsa_allocate_extended
	movq	8(%r12), %rcx
	movl	%eax, 8(%rcx)
	movl	%eax, %edi
	callq	_DsaPointerIsValid
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_dsa_free
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	(%r15), %esi
	shll	$2, %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_errdetail
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_6:
	movq	8(%r12), %rax
	movl	8(%rax), %esi
	movq	%r14, %rdi
	callq	_dsa_get_address
	movq	%rax, 24(%r12)
	movq	8(%r12), %rax
	movl	4(%rax), %eax
	movl	%eax, 16(%r12)
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSHASH_MAGIC,4,2               ## @DSHASH_MAGIC
	.comm	_DSHASH_NUM_PARTITIONS,4,2      ## @DSHASH_NUM_PARTITIONS
	.comm	_DSHASH_NUM_PARTITIONS_LOG2,4,2 ## @DSHASH_NUM_PARTITIONS_LOG2
	.comm	_DSA_ALLOC_NO_OOM,4,2           ## @DSA_ALLOC_NO_OOM
	.comm	_DSA_ALLOC_ZERO,4,2             ## @DSA_ALLOC_ZERO
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_OUT_OF_MEMORY,4,2      ## @ERRCODE_OUT_OF_MEMORY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory"

L_.str.1:                               ## @.str.1
	.asciz	"Failed on DSA request of size %zu."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dshash_create                  ; -- Begin function dshash_create
	.p2align	2
_dshash_create:                         ; @dshash_create
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	mov	w0, #56
	bl	_palloc
	mov	x19, x0
	mov	x0, x20
	mov	w1, #4
	bl	_dsa_allocate
	mov	x21, x0
	str	x20, [x19, #48]
	ldr	w8, [x23]
	str	w8, [x19, #40]
	str	x22, [x19, #32]
	mov	x0, x20
	mov	x1, x21
	bl	_dsa_get_address
	str	x0, [x19, #8]
Lloh0:
	adrp	x8, _DSHASH_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSHASH_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w21, [x0, #24]
	ldr	w22, [x23]
	str	w22, [x0]
Lloh3:
	adrp	x24, _DSHASH_NUM_PARTITIONS@GOTPAGE
Lloh4:
	ldr	x24, [x24, _DSHASH_NUM_PARTITIONS@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x25, #0
	ldr	x8, [x0, #16]
	add	x23, x8, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x22
	bl	_LWLockInitialize
	stur	xzr, [x23, #-8]
	add	x25, x25, #1
	ldrsw	x8, [x24]
	add	x23, x23, #16
	cmp	x25, x8
	b.lt	LBB0_2
; %bb.3:
	ldr	x0, [x19, #8]
LBB0_4:
Lloh5:
	adrp	x8, _DSHASH_NUM_PARTITIONS_LOG2@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DSHASH_NUM_PARTITIONS_LOG2@GOTPAGEOFF]
	str	xzr, [x19]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x0, #4]
	ldr	w8, [x24]
Lloh8:
	adrp	x9, _DSA_ALLOC_NO_OOM@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DSA_ALLOC_NO_OOM@GOTPAGEOFF]
	lsl	w1, w8, #2
Lloh10:
	ldr	w8, [x9]
Lloh11:
	adrp	x9, _DSA_ALLOC_ZERO@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DSA_ALLOC_ZERO@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_dsa_allocate_extended
	ldr	x8, [x19, #8]
	str	w0, [x8, #8]
	bl	_DsaPointerIsValid
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x21
	bl	_dsa_free
Lloh14:
	adrp	x8, _ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
Lloh17:
	adrp	x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_errcode
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	ldr	w8, [x24]
	lsl	w1, w8, #2
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errdetail
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_6:
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #8]
	mov	x0, x20
	bl	_dsa_get_address
	str	x0, [x19, #24]
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #4]
	str	w8, [x19, #16]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_DSHASH_MAGIC,4,2               ; @DSHASH_MAGIC
	.comm	_DSHASH_NUM_PARTITIONS,4,2      ; @DSHASH_NUM_PARTITIONS
	.comm	_DSHASH_NUM_PARTITIONS_LOG2,4,2 ; @DSHASH_NUM_PARTITIONS_LOG2
	.comm	_DSA_ALLOC_NO_OOM,4,2           ; @DSA_ALLOC_NO_OOM
	.comm	_DSA_ALLOC_ZERO,4,2             ; @DSA_ALLOC_ZERO
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_OUT_OF_MEMORY,4,2      ; @ERRCODE_OUT_OF_MEMORY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory"

l_.str.1:                               ; @.str.1
	.asciz	"Failed on DSA request of size %zu."

.subsections_via_symbols
