	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_partition_bounds_copy          ## -- Begin function partition_bounds_copy
	.p2align	4, 0x90
_partition_bounds_copy:                 ## @partition_bounds_copy
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	$4, %edi
	callq	_palloc
	movq	%rax, %r14
	movl	40(%r15), %eax
	movl	%eax, 40(%r14)
	movl	(%r15), %r13d
	movl	%r13d, (%r14)
	movl	(%r12), %ebx
	movq	%r15, %rdi
	callq	_get_partition_bound_num_indexes
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	8(%r12), %rax
	movq	_PARTITION_STRATEGY_LIST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setne	%al
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	cmpl	$1, %ebx
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_Assert
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	leal	(,%r13,8), %r13d
	movl	%r13d, %edi
	callq	_palloc
	movq	%rax, 32(%r14)
	cmpq	$0, 8(%r15)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.1:
	movl	%r13d, %edi
	callq	_palloc
	movq	%rax, 8(%r14)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	testl	%r14d, %r14d
	jle	LBB0_17
## %bb.2:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	callq	_palloc
	movq	8(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rsi
	movl	(%r12), %edx
	shll	$2, %edx
	callq	_memcpy
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_3
## %bb.5:
	testl	%r14d, %r14d
	jg	LBB0_6
	jmp	LBB0_17
LBB0_4:
	movq	$0, 8(%r14)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	testl	%r14d, %r14d
	jle	LBB0_17
LBB0_6:
	xorl	%ebx, %ebx
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	cmpq	%r14, %rbx
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_17
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	8(%r12), %r13
	movq	_PARTITION_STRATEGY_HASH@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	cmpq	%r14, %r13
	movq	-80(%rbp), %r15                 ## 8-byte Reload
                                        ## kill: def $r15d killed $r15d killed $r15 def $r15
	movl	$2, %eax
	cmovel	%eax, %r15d
	leal	(,%r15,4), %edi
	callq	_palloc
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	32(%rdi), %rcx
	movq	%rax, (%rcx,%rbx,8)
	testl	%r15d, %r15d
	jle	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%r15d, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax,%r12,4), %edi
	callq	_datumCopy
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	32(%rdi), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movl	%eax, (%rcx,%r12,4)
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=2
	incq	%r12
	cmpq	%r12, %r15
	je	LBB0_16
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r14, %r13
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	$4, %edx
	movl	$1, %esi
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rcx), %rax
	movq	24(%rcx), %rcx
	movl	(%rax,%r12,4), %esi
	movl	(%rcx,%r12,4), %edx
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	(%rax,%rbx,8), %rax
	movslq	(%rax,%r12,4), %rax
	movq	_PARTITION_RANGE_DATUM_VALUE@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_14
	jmp	LBB0_15
LBB0_17:
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	shll	$2, %ebx
	movl	%ebx, %edi
	callq	_palloc
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%rax, 16(%r15)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	16(%r14), %rsi
	movq	%rax, %rdi
	movl	%ebx, %edx
	callq	_memcpy
	movl	28(%r14), %eax
	movl	%eax, 28(%r15)
	movl	24(%r14), %eax
	movl	%eax, 24(%r15)
	movq	%r15, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PARTITION_STRATEGY_LIST,8,3    ## @PARTITION_STRATEGY_LIST
	.comm	_PARTITION_STRATEGY_HASH,8,3    ## @PARTITION_STRATEGY_HASH
	.comm	_PARTITION_RANGE_DATUM_VALUE,8,3 ## @PARTITION_RANGE_DATUM_VALUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_partition_bounds_copy          ; -- Begin function partition_bounds_copy
	.p2align	2
_partition_bounds_copy:                 ; @partition_bounds_copy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x1
	mov	x19, x0
	mov	w0, #4
	bl	_palloc
	mov	x20, x0
	ldr	w8, [x19, #40]
	str	w8, [x0, #40]
	ldr	w24, [x19]
	str	w24, [x0]
	ldr	w22, [x21]
	mov	x0, x19
	bl	_get_partition_bound_num_indexes
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	ldr	x8, [x21, #8]
Lloh0:
	adrp	x9, _PARTITION_STRATEGY_LIST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PARTITION_STRATEGY_LIST@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	str	w22, [sp, #28]                  ; 4-byte Folded Spill
	ccmp	w22, #1, #4, eq
	cset	w0, eq
	bl	_Assert
	lsl	w23, w24, #3
	mov	x0, x23
	bl	_palloc
	str	x0, [x20, #32]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x0, x23
	bl	_palloc
	str	x0, [x20, #8]
	cmp	w24, #1
	b.lt	LBB0_16
; %bb.2:
	mov	x22, #0
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	lsl	w23, w8, #2
	lsl	x25, x24, #3
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_palloc
	ldr	x8, [x20, #8]
	str	x0, [x8, x22]
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x22]
	ldr	x8, [x19, #8]
	ldr	x1, [x8, x22]
	ldr	w8, [x21]
	lsl	w2, w8, #2
	bl	_memcpy
	add	x22, x22, #8
	cmp	x25, x22
	b.ne	LBB0_3
; %bb.4:
	cmp	w24, #1
	b.ge	LBB0_6
	b	LBB0_16
LBB0_5:
	str	xzr, [x20, #8]
	cmp	w24, #1
	b.lt	LBB0_16
LBB0_6:
	mov	x23, #0
Lloh3:
	adrp	x28, _PARTITION_RANGE_DATUM_VALUE@GOTPAGE
Lloh4:
	ldr	x28, [x28, _PARTITION_RANGE_DATUM_VALUE@GOTPAGEOFF]
	str	x24, [sp, #16]                  ; 8-byte Folded Spill
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, #1
	ldr	x24, [sp, #16]                  ; 8-byte Folded Reload
	cmp	x23, x24
	b.eq	LBB0_16
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldr	x22, [x21, #8]
Lloh5:
	adrp	x8, _PARTITION_STRATEGY_HASH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PARTITION_STRATEGY_HASH@GOTPAGEOFF]
Lloh7:
	ldr	x26, [x8]
	cmp	x22, x26
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	mov	w9, #2
	csel	w25, w9, w8, eq
	lsl	w0, w25, #2
	bl	_palloc
	ldr	x8, [x20, #32]
	str	x0, [x8, x23, lsl #3]
	cmp	w25, #1
	b.lt	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x27, #0
	lsl	x25, x25, #2
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	x8, [x19, #32]
	lsl	x24, x23, #3
	ldr	x8, [x8, x24]
	ldr	w0, [x8, x27]
	bl	_datumCopy
	ldr	x8, [x20, #32]
	ldr	x8, [x8, x24]
	str	w0, [x8, x27]
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	add	x27, x27, #4
	cmp	x25, x27
	b.eq	LBB0_7
LBB0_12:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x22, x26
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	w2, #4
	mov	w1, #1
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_15
	b	LBB0_10
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=2
	ldp	x8, x9, [x21, #16]
	ldr	w1, [x8, x27]
	ldr	w2, [x9, x27]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_10
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	x8, [x8, x23, lsl #3]
	ldrsw	x8, [x8, x27]
	ldr	x9, [x28]
	cmp	x9, x8
	b.eq	LBB0_10
	b	LBB0_11
LBB0_16:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	lsl	w21, w8, #2
	mov	x0, x21
	bl	_palloc
	str	x0, [x20, #16]
	ldr	x1, [x19, #16]
	mov	x2, x21
	bl	_memcpy
	ldr	d0, [x19, #24]
	str	d0, [x20, #24]
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PARTITION_STRATEGY_LIST,8,3    ; @PARTITION_STRATEGY_LIST
	.comm	_PARTITION_STRATEGY_HASH,8,3    ; @PARTITION_STRATEGY_HASH
	.comm	_PARTITION_RANGE_DATUM_VALUE,8,3 ; @PARTITION_RANGE_DATUM_VALUE
.subsections_via_symbols
