	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spgMakeInnerItem
_spgMakeInnerItem:                      ## @spgMakeInnerItem
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	16(%rbp), %rdx
	movl	%r9d, %esi
	callq	_spgAllocSearchItem
	movq	%rax, %rbx
	movl	(%r13), %eax
	movl	%eax, 40(%rbx)
	movq	16(%r14), %rcx
	movq	32(%r12), %rax
	movslq	-44(%rbp), %r12                 ## 4-byte Folded Reload
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	addq	(%rcx,%r12,8), %rax
LBB0_2:
	movq	%rax, 32(%rbx)
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	(%rax,%r12,4), %edi
	movl	(%r15), %edx
	movl	4(%r15), %esi
	callq	_datumCopy
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	movl	%eax, 24(%rbx)
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	(%rax,%r12,8), %rax
	jmp	LBB0_8
LBB0_6:
	xorl	%eax, %eax
LBB0_8:
	movq	%rax, 16(%rbx)
	movq	$0, (%rbx)
	movl	$0, 8(%rbx)
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_spgMakeInnerItem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spgMakeInnerItem
_spgMakeInnerItem:                      ; @spgMakeInnerItem
	.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
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x24, x1
	mov	x22, x0
	mov	x1, x5
	mov	x2, x6
	bl	_spgAllocSearchItem
	mov	x19, x0
	ldr	w8, [x23]
	str	w8, [x0, #40]
	ldr	x9, [x21, #16]
	ldr	x8, [x24, #32]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	x9, [x9, w20, sxtw #3]
	add	x8, x9, x8
LBB0_2:
	str	x8, [x19, #32]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x8, w20, sxtw #2]
	ldp	w2, w1, [x22]
	bl	_datumCopy
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	str	w0, [x19, #24]
	ldr	x8, [x21]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	x8, [x8, w20, sxtw #3]
LBB0_7:
	str	x8, [x19, #16]
	str	xzr, [x19]
	str	wzr, [x19, #8]
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_spgMakeInnerItem
.subsections_via_symbols
