	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spgNewHeapItem
_spgNewHeapItem:                        ## @spgNewHeapItem
	.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
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %r13
	movl	16(%rbp), %r15d
	movq	24(%rbp), %rdx
	movl	%r15d, %esi
	callq	_spgAllocSearchItem
	movq	%rax, %rbx
	movl	%r14d, (%rax)
	movl	(%r12), %eax
	movl	%eax, 28(%rbx)
	xorl	%eax, %eax
	testl	%r15d, %r15d
	jne	LBB0_2
## %bb.1:
	movl	(%r13), %edx
	movl	4(%r13), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_datumCopy
LBB0_2:
	movl	%eax, 24(%rbx)
	movq	$0, 16(%rbx)
	movl	$1, 4(%rbx)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%rbx)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 12(%rbx)
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_spgNewHeapItem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spgNewHeapItem
_spgNewHeapItem:                        ; @spgNewHeapItem
	.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	x24, x6
	mov	x19, x5
	mov	x20, x4
	mov	x22, x3
	mov	x25, x2
	mov	x26, x1
	mov	x23, x0
	mov	x1, x6
	mov	x2, x7
	bl	_spgAllocSearchItem
	mov	x21, x0
	str	w26, [x0]
	ldr	w8, [x25]
	str	w8, [x0, #28]
	cbz	w24, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	ldp	w2, w1, [x23]
	mov	x0, x22
	bl	_datumCopy
LBB0_3:
	str	w0, [x21, #24]
	str	xzr, [x21, #16]
	mov	w8, #1
	stp	w8, w20, [x21, #4]
	str	w19, [x21, #12]
	mov	x0, x21
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_spgNewHeapItem
.subsections_via_symbols
