	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gistSplitByKey                 ## -- Begin function gistSplitByKey
	.p2align	4, 0x90
_gistSplitByKey:                        ## @gistSplitByKey
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %r14
	movl	%ecx, %r12d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	16(%rbp), %r13d
	movq	_GEVHDRSZ@GOTPCREL(%rip), %rax
	leal	1(%r12), %ebx
	leal	4(,%r12,4), %edi
	addl	(%rax), %edi
	callq	_palloc
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%ebx, (%rax)
	leal	(,%r12,4), %edi
	movl	%edi, -64(%rbp)                 ## 4-byte Spill
	callq	_palloc
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	testl	%r12d, %r12d
	jle	LBB0_11
## %bb.1:
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	leal	1(%r13), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	%ebx, %eax
	shlq	$2, %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	movl	$1, %r12d
	movl	$4, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	addq	$4, %r14
	cmpq	%r14, -128(%rbp)                ## 8-byte Folded Reload
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	-4(%rax,%r14), %edi
	movq	%r13, %r15
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movl	8(%r13), %edx
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	leaq	-100(%rbp), %rcx
	callq	_index_getattr
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rdx
	addq	%r14, %rdx
	movl	-100(%rbp), %ecx
	movl	%ecx, 16(%rsp)
	movl	%r12d, (%rsp)
	movl	$0, 8(%rsp)
	movq	%r13, %rdi
	movq	%r15, %r13
	movl	%r13d, %esi
	movl	%eax, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	callq	_gistdentryinit
	cmpl	$0, -100(%rbp)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%ebx, %rax
	incl	%ebx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%r12d, (%rcx,%rax,4)
	jmp	LBB0_4
LBB0_5:
	movq	-112(%rbp), %r12                ## 8-byte Reload
	cmpl	%r12d, %ebx
	movq	-120(%rbp), %r15                ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_12
## %bb.6:
	testl	%ebx, %ebx
	jle	LBB0_25
## %bb.7:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 24(%r15)
	movl	%ebx, 32(%r15)
	movq	(%r15), %rax
	movslq	%r13d, %rcx
	movl	$1, (%rax,%rcx,4)
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	callq	_palloc
	movq	%rax, 40(%r15)
	movl	$0, 48(%r15)
	negl	%r12d
	xorl	%ecx, %ecx
	movl	$1, %edx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=1
	movslq	48(%r15), %rsi
	leal	1(%rsi), %edi
	movl	%edi, 48(%r15)
	movl	%edx, (%rax,%rsi,4)
LBB0_19:                                ##   in Loop: Header=BB0_8 Depth=1
	leal	(%r12,%rdx), %esi
	incl	%esi
                                        ## kill: def $edx killed $edx killed $rdx
	incl	%edx
                                        ## kill: def $edx killed $edx def $rdx
	cmpl	$1, %esi
	je	LBB0_20
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	32(%r15), %ecx
	jge	LBB0_18
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movslq	%ecx, %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	cmpl	(%rdi,%rsi,4), %edx
	jne	LBB0_18
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	incl	%ecx
	jmp	LBB0_19
LBB0_11:
	je	LBB0_12
LBB0_25:
	movq	%r14, (%rsp)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	movq	%r15, %rcx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	%r12d, %r9d
	callq	_gistUserPicksplit
	testq	%rax, %rax
	je	LBB0_16
## %bb.26:
	leal	1(%r13), %ebx
	movq	(%r14), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %ebx
	setl	%dil
	callq	_Assert
	cmpq	$0, 16(%r15)
	je	LBB0_27
## %bb.28:
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	movl	-64(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_palloc
	movq	%rax, %r13
	movl	%ebx, %edi
	callq	_palloc
	movq	%rax, %rcx
	testl	%r12d, %r12d
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	jle	LBB0_29
## %bb.30:
	movq	%r15, %r14
	movq	16(%r15), %rax
	movl	%r12d, %r8d
	cmpl	$1, %r12d
	jne	LBB0_32
## %bb.31:
	xorl	%esi, %esi
	xorl	%r15d, %r15d
LBB0_38:
	testb	$1, %r8b
	je	LBB0_41
## %bb.39:
	cmpq	$0, 8(%rax,%rsi,8)
	je	LBB0_41
## %bb.40:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%rsi,4), %eax
	incq	%rsi
	movslq	%r15d, %r15
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%r15,4)
	movl	%esi, (%rcx,%r15,4)
	incl	%r15d
	jmp	LBB0_41
LBB0_12:
	movq	8(%r15), %rax
	movslq	%r13d, %rcx
	movl	$1, (%rax,%rcx,4)
	movq	(%r15), %rax
	movl	$1, (%rax,%rcx,4)
	leal	1(%r13), %eax
	movq	(%r14), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_15
## %bb.13:
	movl	%eax, (%rsp)
	jmp	LBB0_14
LBB0_15:
	leaq	24(%r15), %rdi
	movl	%r12d, %esi
	callq	_gistSplitHalf
	testl	%r13d, %r13d
	jne	LBB0_17
	jmp	LBB0_23
LBB0_20:
	testl	%r13d, %r13d
	jne	LBB0_17
## %bb.21:
	movq	(%r14), %rax
	cmpl	$1, (%rax)
	jne	LBB0_23
## %bb.22:
	movq	$0, 16(%r15)
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_gistunionsubkey
	jmp	LBB0_23
LBB0_27:
	movl	%ebx, (%rsp)
LBB0_14:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%r12d, %ecx
	movq	%r14, %r8
	movq	%r15, %r9
	callq	_gistSplitByKey
LBB0_16:
	testl	%r13d, %r13d
	jne	LBB0_17
LBB0_23:
	movq	(%r14), %rax
	cmpl	$2, (%rax)
	jl	LBB0_17
## %bb.24:
	movq	$0, 16(%r15)
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_gistunionsubkey
	jmp	LBB0_17
LBB0_29:
	movq	%r15, %r14
	xorl	%r15d, %r15d
LBB0_41:
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	xorl	%edi, %edi
	testl	%r15d, %r15d
	setg	%dil
	callq	_Assert
	movq	%r14, %rbx
	movl	32(%r14), %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	36(%r14), %eax
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movl	48(%r14), %r12d
	movl	52(%r14), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	-64(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	_palloc
	movq	%rax, %r13
	movq	40(%rbx), %rsi
	movl	48(%rbx), %edx
	shll	$2, %edx
	movq	%rax, %rdi
	callq	_memcpy
	movl	%r14d, %edi
	callq	_palloc
	movq	%rax, %r14
	movq	24(%rbx), %rsi
	movl	32(%rbx), %edx
	shll	$2, %edx
	movq	%rax, %rdi
	callq	_memcpy
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rsp)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	%r15d, %ecx
	movq	%rbx, %r15
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movq	%rbx, %r9
	callq	_gistSplitByKey
	cmpl	$0, 48(%rbx)
	jle	LBB0_42
## %bb.49:
	movslq	%r12d, %rax
	movq	40(%r15), %rcx
	leaq	(,%rax,4), %rdx
	addq	%r13, %rdx
	xorl	%eax, %eax
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_50:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rcx,%rax,4), %rsi
	movl	-4(%rdi,%rsi,4), %esi
	movl	%esi, (%rdx,%rax,4)
	incq	%rax
	movslq	48(%r15), %rsi
	cmpq	%rsi, %rax
	jl	LBB0_50
## %bb.43:
	addl	%r12d, %eax
	movl	%eax, %r12d
	jmp	LBB0_44
LBB0_42:
	movq	-128(%rbp), %rdi                ## 8-byte Reload
LBB0_44:
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	cmpl	$0, 32(%r15)
	jle	LBB0_48
## %bb.45:
	movslq	%ebx, %rax
	movq	24(%r15), %rcx
	leaq	(%r14,%rax,4), %rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rcx,%rax,4), %rsi
	movl	-4(%rdi,%rsi,4), %esi
	movl	%esi, (%rdx,%rax,4)
	incq	%rax
	movslq	32(%r15), %rsi
	cmpq	%rsi, %rax
	jl	LBB0_46
## %bb.47:
	addl	%ebx, %eax
	movl	%eax, %ebx
LBB0_48:
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	movl	-120(%rbp), %ecx                ## 4-byte Reload
	movq	%r14, 24(%r15)
	movl	%ebx, 32(%r15)
	movl	%ecx, 36(%r15)
	movq	%r13, 40(%r15)
	movl	%r12d, 48(%r15)
	movl	%eax, 52(%r15)
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movl	16(%rbp), %r13d
	testl	%r13d, %r13d
	je	LBB0_23
LBB0_17:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	movl	%r8d, %edx
	andl	$-2, %edx
	xorl	%edi, %edi
	xorl	%r15d, %r15d
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	%rsi, %rdi
	cmpq	%rsi, %rdx
	je	LBB0_38
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%rax,%rdi,8)
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi,%rdi,4), %esi
	movslq	%r15d, %r15
	movl	%esi, (%r13,%r15,4)
	leal	1(%rdi), %esi
	movl	%esi, (%rcx,%r15,4)
	incl	%r15d
LBB0_35:                                ##   in Loop: Header=BB0_33 Depth=1
	leaq	2(%rdi), %rsi
	cmpq	$0, 16(%rax,%rdi,8)
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	4(%rbx,%rdi,4), %ebx
	movslq	%r15d, %r15
	movl	%ebx, (%r13,%r15,4)
	addl	$2, %edi
	movl	%edi, (%rcx,%r15,4)
	incl	%r15d
	jmp	LBB0_37
	.cfi_endproc
                                        ## -- End function
	.comm	_GEVHDRSZ,4,2                   ## @GEVHDRSZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gistSplitByKey                 ; -- Begin function gistSplitByKey
	.p2align	2
_gistSplitByKey:                        ; @gistSplitByKey
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x25, x6
	mov	x22, x5
	mov	x20, x4
	mov	x23, x3
	str	x2, [sp, #48]                   ; 8-byte Folded Spill
	str	w1, [sp, #44]                   ; 4-byte Folded Spill
	mov	x24, x0
Lloh0:
	adrp	x8, _GEVHDRSZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GEVHDRSZ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w19, w3, #1
	add	w0, w8, w19, lsl #2
	bl	_palloc
	mov	x28, x0
	str	w19, [x0]
	lsl	w21, w23, #2
	mov	x0, x21
	bl	_palloc
	cmp	w23, #1
	str	w21, [sp, #40]                  ; 4-byte Folded Spill
	b.lt	LBB0_13
; %bb.1:
	mov	x27, x0
	str	w23, [sp, #28]                  ; 4-byte Folded Spill
	str	x22, [sp, #32]                  ; 8-byte Folded Spill
	mov	x22, #0
	mov	w21, #0
	mov	x26, x25
	add	w23, w25, #1
	lsl	x8, x19, #2
	sub	x19, x8, #4
	mov	w25, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w25, w25, #1
	add	x22, x22, #4
	cmp	x19, x22
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	w0, [x8, x22]
	ldr	w2, [x20, #8]
	add	x3, sp, #60
	mov	x1, x23
	bl	_index_getattr
	mov	x3, x0
	ldr	x8, [x28, #8]
	add	x8, x8, x22
	add	x2, x8, #4
	ldr	w8, [sp, #60]
	str	w8, [sp]
	mov	x0, x20
	mov	x1, x26
	mov	x4, x24
	ldr	w5, [sp, #44]                   ; 4-byte Folded Reload
	mov	x6, x25
	mov	w7, #0
	bl	_gistdentryinit
	ldr	w8, [sp, #60]
	cbz	w8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w25, [x27, w21, sxtw #2]
	add	w21, w21, #1
	b	LBB0_2
LBB0_5:
	ldr	w23, [sp, #28]                  ; 4-byte Folded Reload
	cmp	w21, w23
	ldr	x22, [sp, #32]                  ; 8-byte Folded Reload
	mov	x25, x26
	b.eq	LBB0_21
; %bb.6:
	cmp	w21, #1
	b.lt	LBB0_14
; %bb.7:
	str	x27, [x22, #24]
	str	w21, [x22, #32]
	ldr	x8, [x22]
	mov	w9, #1
	str	w9, [x8, w25, sxtw #2]
	ldr	w0, [sp, #40]                   ; 4-byte Folded Reload
	bl	_palloc
	mov	w8, #0
	mov	w9, #0
	str	x0, [x22, #40]
	str	wzr, [x22, #48]
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldrsw	x11, [x22, #48]
	add	w12, w11, #1
	str	w12, [x22, #48]
	str	w10, [x0, x11, lsl #2]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w8, w8, #1
	cmp	w23, w8
	b.eq	LBB0_24
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	w10, w8, #1
	ldr	w11, [x22, #32]
	cmp	w9, w11
	b.ge	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w11, [x27, w9, sxtw #2]
	cmp	w10, w11
	b.ne	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w9, w9, #1
	b	LBB0_9
LBB0_13:
	cbz	w23, LBB0_21
LBB0_14:
	mov	x0, x24
	mov	x1, x28
	mov	x2, x25
	mov	x3, x22
	ldr	x4, [sp, #48]                   ; 8-byte Folded Reload
	mov	x5, x23
	mov	x6, x20
	bl	_gistUserPicksplit
	cbz	x0, LBB0_28
; %bb.15:
	add	w21, w25, #1
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w21, w8
	cset	w0, lt
	bl	_Assert
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_27
; %bb.16:
	ldr	w19, [sp, #40]                  ; 4-byte Folded Reload
	mov	x0, x19
	bl	_palloc
	mov	x28, x0
	mov	x0, x19
	bl	_palloc
	mov	x27, x0
	cmp	w23, #1
	str	w21, [sp, #32]                  ; 4-byte Folded Spill
	b.lt	LBB0_31
; %bb.17:
	mov	x8, #0
	mov	w26, #0
	ldr	x10, [x22, #16]
	mov	w9, w23
	add	x10, x10, #8
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x8, x8, #1
	cmp	x9, x8
	b.eq	LBB0_32
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10, x8, lsl #3]
	cbz	x11, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x11, [sp, #48]                  ; 8-byte Folded Reload
	ldr	w11, [x11, x8, lsl #2]
	sbfiz	x12, x26, #2, #32
	str	w11, [x28, x12]
	add	w11, w8, #1
	str	w11, [x27, x12]
	add	w26, w26, #1
	b	LBB0_18
LBB0_21:
	sbfiz	x8, x25, #2, #32
	mov	w9, #1
	ldp	x11, x10, [x22]
	str	w9, [x10, x8]
	str	w9, [x11, x8]
	add	w6, w25, #1
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w6, w8
	b.ge	LBB0_23
; %bb.22:
	mov	x0, x24
	ldr	w1, [sp, #44]                   ; 4-byte Folded Reload
	ldr	x2, [sp, #48]                   ; 8-byte Folded Reload
	mov	x3, x23
	mov	x4, x20
	mov	x5, x22
	bl	_gistSplitByKey
	cbnz	w25, LBB0_41
	b	LBB0_29
LBB0_23:
	add	x0, x22, #24
	mov	x1, x23
	bl	_gistSplitHalf
	cbnz	w25, LBB0_41
	b	LBB0_29
LBB0_24:
	cbnz	w25, LBB0_41
; %bb.25:
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_29
; %bb.26:
	str	xzr, [x22, #16]
	mov	x0, x20
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	mov	x2, x22
	bl	_gistunionsubkey
	b	LBB0_29
LBB0_27:
	mov	x0, x24
	ldr	w1, [sp, #44]                   ; 4-byte Folded Reload
	ldr	x2, [sp, #48]                   ; 8-byte Folded Reload
	mov	x3, x23
	mov	x4, x20
	mov	x5, x22
	mov	x6, x21
	bl	_gistSplitByKey
LBB0_28:
	cbnz	w25, LBB0_41
LBB0_29:
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_41
; %bb.30:
	str	xzr, [x22, #16]
	mov	x0, x20
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	mov	x2, x22
	bl	_gistunionsubkey
	b	LBB0_41
LBB0_31:
	mov	w26, #0
LBB0_32:
	cmp	w26, #0
	cset	w0, gt
	bl	_Assert
	ldr	w8, [x22, #32]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	ldr	w8, [x22, #36]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldp	w21, w8, [x22, #48]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	mov	x0, x19
	bl	_palloc
	mov	x23, x0
	ldr	x1, [x22, #40]
	ldr	w8, [x22, #48]
	lsl	w2, w8, #2
	bl	_memcpy
	mov	x0, x19
	bl	_palloc
	mov	x19, x0
	ldr	x1, [x22, #24]
	ldr	w8, [x22, #32]
	lsl	w2, w8, #2
	bl	_memcpy
	mov	x0, x24
	ldr	w1, [sp, #44]                   ; 4-byte Folded Reload
	mov	x2, x28
	mov	x3, x26
	mov	x4, x20
	mov	x5, x22
	ldr	w6, [sp, #32]                   ; 4-byte Folded Reload
	bl	_gistSplitByKey
	ldr	w8, [x22, #48]
	cmp	w8, #1
	b.lt	LBB0_36
; %bb.33:
	mov	x8, #0
	mov	x9, x21
	sxtw	x10, w9
	ldr	x9, [x22, #40]
	add	x10, x23, x10, lsl #2
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	lsl	x11, x8, #2
	ldrsw	x12, [x9, x11]
	add	x12, x27, x12, lsl #2
	ldur	w12, [x12, #-4]
	str	w12, [x10, x11]
	add	x8, x8, #1
	ldrsw	x11, [x22, #48]
	cmp	x8, x11
	b.lt	LBB0_34
; %bb.35:
	add	w21, w21, w8
LBB0_36:
	ldr	x13, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w14, [sp, #12]                  ; 4-byte Folded Reload
	ldr	w8, [x22, #32]
	cmp	w8, #1
	b.lt	LBB0_40
; %bb.37:
	mov	x8, #0
	mov	x9, x13
	sxtw	x10, w9
	ldr	x9, [x22, #24]
	add	x10, x19, x10, lsl #2
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	lsl	x11, x8, #2
	ldrsw	x12, [x9, x11]
	add	x12, x27, x12, lsl #2
	ldur	w12, [x12, #-4]
	str	w12, [x10, x11]
	add	x8, x8, #1
	ldrsw	x11, [x22, #32]
	cmp	x8, x11
	b.lt	LBB0_38
; %bb.39:
	add	w13, w13, w8
LBB0_40:
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	str	x19, [x22, #24]
	stp	w13, w14, [x22, #32]
	str	x23, [x22, #40]
	stp	w21, w8, [x22, #48]
	cbz	w25, LBB0_29
LBB0_41:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GEVHDRSZ,4,2                   ; @GEVHDRSZ
.subsections_via_symbols
