	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spgLeafTest
_spgLeafTest:                           ## @spgLeafTest
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rdi, %r15
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	testl	%ecx, %ecx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.1:
	movl	(%r15), %edi
	callq	_Assert
	xorl	%ebx, %ebx
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_2
LBB0_4:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	48(%r15), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	44(%r15), %eax
	movl	%eax, -100(%rbp)
	movl	40(%r15), %eax
	movl	%eax, -104(%rbp)
	movl	36(%r15), %eax
	movl	%eax, -108(%rbp)
	movq	8(%r15), %rax
	movq	%rax, -168(%rbp)
	movl	8(%rbx), %eax
	movl	%eax, -112(%rbp)
	movl	4(%rbx), %eax
	movl	%eax, -116(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -120(%rbp)
	movl	32(%r15), %eax
	movl	%eax, -124(%rbp)
	leaq	28(%r15), %rsi
	movq	%r14, %rdi
	callq	_SGLTDATUM
	movl	%eax, -128(%rbp)
	movq	$0, -208(%rbp)
	movl	$0, -232(%rbp)
	movq	$0, -224(%rbp)
	movl	$0, -216(%rbp)
	leaq	24(%r15), %r14
	movl	20(%r15), %ebx
	leaq	-168(%rbp), %rdi
	callq	_PointerGetDatum
	movl	%eax, %r12d
	leaq	-240(%rbp), %rdi
	callq	_PointerGetDatum
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_FunctionCall2Coll
	movl	%eax, %edi
	callq	_DatumGetBool
	movl	%eax, %r13d
	movl	-232(%rbp), %r14d
	movl	-216(%rbp), %r12d
	movq	-208(%rbp), %rbx
	movq	-224(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_MemoryContextSwitchTo
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	testl	%r13d, %r13d
	je	LBB0_5
LBB0_2:
	cmpq	$0, 8(%r15)
	jle	LBB0_6
## %bb.3:
	movl	16(%r15), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r13d
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movl	%r14d, %r8d
	movl	%r12d, %r9d
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_spgNewHeapItem
	addq	$16, %rsp
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_spgAddSearchItemToQueue
	movl	%r13d, %edi
	callq	_MemoryContextSwitchTo
	jmp	LBB0_7
LBB0_6:
	xorl	%edi, %edi
	testl	%r12d, %r12d
	sete	%dil
	callq	_Assert
	subq	$8, %rsp
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r14d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	callq	*-80(%rbp)                      ## 8-byte Folded Reload
	addq	$16, %rsp
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_7:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_8:
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_spgLeafTest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spgLeafTest
_spgLeafTest:                           ; @spgLeafTest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x5, [sp, #16]                   ; 8-byte Folded Spill
	mov	x28, x4
	mov	x20, x3
	mov	x21, x2
	mov	x24, x1
	mov	x19, x0
	cbz	w3, LBB0_2
; %bb.1:
	ldr	w0, [x19]
	bl	_Assert
	mov	x27, #0
	mov	x23, #0
	mov	w22, #0
	mov	w26, #0
	mov	w25, #1
	b	LBB0_4
LBB0_2:
	str	x28, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w0, [x19, #48]
	bl	_MemoryContextSwitchTo
	mov	x28, x0
	ldr	w8, [x19, #44]
	str	w8, [sp, #164]
	ldur	d0, [x19, #36]
	stur	d0, [sp, #156]
	ldr	x8, [x19, #8]
	str	x8, [sp, #96]
	ldr	w8, [x24, #8]
	str	w8, [sp, #152]
	ldr	d0, [x24]
	str	d0, [sp, #144]
	ldr	w8, [x19, #32]
	add	x1, x19, #28
	str	w8, [sp, #140]
	mov	x0, x21
	bl	_SGLTDATUM
	str	w0, [sp, #136]
	str	xzr, [sp, #56]
	str	wzr, [sp, #32]
	str	xzr, [sp, #40]
	str	wzr, [sp, #48]
	add	x22, x19, #24
	ldr	w23, [x19, #20]
	add	x0, sp, #96
	bl	_PointerGetDatum
	mov	x25, x0
	add	x0, sp, #24
	bl	_PointerGetDatum
	mov	x3, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x25
	bl	_FunctionCall2Coll
	bl	_DatumGetBool
	mov	x25, x0
	ldr	w26, [sp, #32]
	ldr	w22, [sp, #48]
	ldr	x27, [sp, #56]
	ldr	x23, [sp, #40]
	mov	x0, x28
	bl	_MemoryContextSwitchTo
	cbz	w25, LBB0_7
; %bb.3:
	ldr	x28, [sp, #8]                   ; 8-byte Folded Reload
LBB0_4:
	ldr	x8, [x19, #8]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.5:
	ldr	w0, [x19, #16]
	bl	_MemoryContextSwitchTo
	mov	x28, x0
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x21
	mov	x3, x27
	mov	x4, x26
	mov	x5, x22
	mov	x6, x20
	mov	x7, x23
	bl	_spgNewHeapItem
	mov	x1, x0
	mov	x0, x19
	bl	_spgAddSearchItemToQueue
	mov	x0, x28
	bl	_MemoryContextSwitchTo
	b	LBB0_7
LBB0_6:
	cmp	w22, #0
	cset	w0, eq
	bl	_Assert
	mov	x0, x19
	mov	x1, x21
	mov	x2, x27
	mov	x3, x20
	mov	x4, x26
	mov	w5, #0
	mov	x6, #0
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	blr	x8
	mov	w8, #1
	str	w8, [x28]
LBB0_7:
	mov	x0, x25
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_spgLeafTest
.subsections_via_symbols
