	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function partition_rbound_cmp
_partition_rbound_cmp:                  ## @partition_rbound_cmp
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rax
	movl	(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testl	%edi, %edi
	jle	LBB0_9
## %bb.1:
	movq	%r8, %rbx
	movq	16(%rax), %r14
	movq	8(%rax), %r15
	movl	%edi, %r12d
	shlq	$2, %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r13,2), %rax
	cmpq	(%r15,%r13,2), %rax
	jl	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	jg	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_PARTITION_RANGE_DATUM_VALUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13), %rdi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r13), %esi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r13), %edx
	movl	(%r14,%r13), %ecx
	callq	_FunctionCall2Coll
	movl	%eax, %edi
	callq	_DatumGetInt32
	testl	%eax, %eax
	jne	LBB0_11
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$4, %r13
	cmpq	%r13, %r12
	jne	LBB0_3
LBB0_9:
	xorl	%eax, %eax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_11
## %bb.10:
	xorl	%eax, %eax
	cmpl	$1, %ecx
	sbbl	%eax, %eax
	orl	$1, %eax
	jmp	LBB0_11
LBB0_4:
	movl	$-1, %eax
	jmp	LBB0_11
LBB0_6:
	movl	$1, %eax
LBB0_11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PARTITION_RANGE_DATUM_VALUE,8,3 ## @PARTITION_RANGE_DATUM_VALUE
	.no_dead_strip	_partition_rbound_cmp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function partition_rbound_cmp
_partition_rbound_cmp:                  ; @partition_rbound_cmp
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x5
	ldr	w24, [x6]
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	ldp	x26, x25, [x6, #8]
	mov	w27, w0
Lloh0:
	adrp	x28, _PARTITION_RANGE_DATUM_VALUE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _PARTITION_RANGE_DATUM_VALUE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x9, [x26]
	cmp	x8, x9
	b.lt	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	b.gt	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x22]
	ldr	w2, [x21]
	ldr	w3, [x25]
	mov	x0, x23
	bl	_FunctionCall2Coll
	bl	_DatumGetInt32
	cbnz	w0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x25, #4
	add	x21, x21, #4
	add	x22, x22, #4
	add	x23, x23, #4
	add	x26, x26, #8
	add	x20, x20, #8
	subs	x27, x27, #1
	b.ne	LBB0_2
LBB0_7:
	cmp	w19, #0
	mov	w8, #-1
	cneg	w8, w8, ne
	cmp	w24, w19
	csel	w0, wzr, w8, eq
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w0, #-1
	b	LBB0_8
LBB0_10:
	mov	w0, #1
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PARTITION_RANGE_DATUM_VALUE,8,3 ; @PARTITION_RANGE_DATUM_VALUE
	.no_dead_strip	_partition_rbound_cmp
.subsections_via_symbols
