	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function element_alloc
_element_alloc:                         ## @element_alloc
	.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
	xorl	%r13d, %r13d
	cmpq	$0, 16(%rdi)
	je	LBB0_1
LBB0_17:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	24(%rdi), %r14
	movl	$8, %edi
	callq	_MAXALIGN
	movl	%eax, %r12d
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edi
	callq	_MAXALIGN
	movl	%eax, %r14d
	addl	%r12d, %r14d
	movl	8(%r15), %eax
	movq	_CurrentDynaHashCxt@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%r14d, %edi
	imull	%ebx, %edi
	callq	*(%r15)
	testq	%rax, %rax
	je	LBB0_17
## %bb.2:
	movq	%rax, %r15
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.4:
	movslq	%r14d, %rax
	leal	-1(%rbx), %edx
	movl	%ebx, %ecx
	andl	$7, %ecx
	cmpl	$7, %edx
	jae	LBB0_6
## %bb.5:
	xorl	%ebx, %ebx
	movq	%r15, %rdx
	jmp	LBB0_9
LBB0_3:
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_6:
	andl	$-8, %ebx
	xorl	%esi, %esi
	movq	%r15, %rdx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, (%rdx)
	leaq	(%rdx,%rax), %rsi
	movq	%rdx, (%rdx,%rax)
	leaq	(%rsi,%rax), %rdx
	movq	%rsi, (%rax,%rsi)
	leaq	(%rdx,%rax), %rsi
	movq	%rdx, (%rax,%rdx)
	leaq	(%rsi,%rax), %rdx
	movq	%rsi, (%rax,%rsi)
	leaq	(%rdx,%rax), %rsi
	movq	%rdx, (%rax,%rdx)
	leaq	(%rsi,%rax), %rdx
	movq	%rsi, (%rax,%rsi)
	leaq	(%rdx,%rax), %rsi
	movq	%rdx, (%rax,%rdx)
	leaq	(%rsi,%rax), %rdx
	addl	$-8, %ebx
	jne	LBB0_7
## %bb.8:
	movq	%rdx, %rbx
	subq	%rax, %rbx
LBB0_9:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	testl	%ecx, %ecx
	je	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, (%rdx)
	movq	%rdx, %rbx
	addq	%rax, %rdx
	decl	%ecx
	jne	LBB0_10
## %bb.11:
	subq	%rax, %rdx
	movq	%rdx, %rbx
LBB0_12:
	movq	%r12, %rdi
	callq	_IS_PARTITIONED
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movslq	-44(%rbp), %r14                 ## 4-byte Folded Reload
	movq	%r14, %rdi
	shlq	$4, %rdi
	addq	8(%r12), %rdi
	callq	_SpinLockAcquire
	jmp	LBB0_15
LBB0_13:
	movslq	-44(%rbp), %r14                 ## 4-byte Folded Reload
LBB0_15:
	movq	8(%r12), %rax
	shlq	$4, %r14
	movq	8(%rax,%r14), %rcx
	movq	%rcx, (%r15)
	movq	%rbx, 8(%rax,%r14)
	movq	%r12, %rdi
	callq	_IS_PARTITIONED
	movl	$1, %r13d
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	addq	8(%r12), %r14
	movq	%r14, %rdi
	callq	_SpinLockRelease
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_CurrentDynaHashCxt,4,2         ## @CurrentDynaHashCxt
	.no_dead_strip	_element_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function element_alloc
_element_alloc:                         ; @element_alloc
	.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
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_14
LBB0_2:
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	ldr	x19, [x0, #24]
	mov	w0, #8
	bl	_MAXALIGN
	mov	x23, x0
	ldr	w0, [x19]
	bl	_MAXALIGN
	add	w23, w0, w23
	ldr	w8, [x21, #8]
Lloh0:
	adrp	x9, _CurrentDynaHashCxt@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CurrentDynaHashCxt@GOTPAGEOFF]
Lloh2:
	str	w8, [x9]
	ldr	x8, [x21]
	mul	w0, w23, w22
	blr	x8
	cbz	x0, LBB0_14
; %bb.3:
	mov	x21, x0
	cmp	w22, #1
	b.lt	LBB0_7
; %bb.4:
	mov	x9, #0
	sxtw	x8, w23
	mov	x10, x21
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	str	x9, [x10]
	add	x11, x10, x8
	mov	x9, x10
	mov	x10, x11
	subs	w22, w22, #1
	b.ne	LBB0_5
; %bb.6:
	sub	x22, x11, x8
	b	LBB0_8
LBB0_7:
	mov	x22, #0
LBB0_8:
	mov	x0, x19
	bl	_IS_PARTITIONED
	cbz	x0, LBB0_10
; %bb.9:
	ldr	x8, [x19, #8]
	mov	x9, x20
	sxtw	x23, w9
	add	x0, x8, w20, sxtw #4
	bl	_SpinLockAcquire
	b	LBB0_11
LBB0_10:
	sxtw	x23, w20
LBB0_11:
	ldr	x8, [x19, #8]
	add	x8, x8, x23, lsl #4
	ldr	x9, [x8, #8]
	str	x9, [x21]
	str	x22, [x8, #8]
	mov	x0, x19
	bl	_IS_PARTITIONED
	cbz	x0, LBB0_13
; %bb.12:
	ldr	x8, [x19, #8]
	add	x0, x8, x23, lsl #4
	bl	_SpinLockRelease
LBB0_13:
	mov	w0, #1
LBB0_14:
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CurrentDynaHashCxt,4,2         ; @CurrentDynaHashCxt
	.no_dead_strip	_element_alloc
.subsections_via_symbols
