	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gistSplitHalf
_gistSplitHalf:                         ## @gistSplitHalf
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leal	(,%r14,4), %r15d
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rdi)
	movl	%r15d, %edi
	callq	_palloc
	movq	%rax, (%rbx)
	movl	%r15d, %edi
	callq	_palloc
	movq	%rax, 8(%rbx)
	testl	%r14d, %r14d
	jle	LBB0_16
## %bb.1:
	movl	%r14d, %r9d
	shrl	%r9d
	movl	$1, %ecx
	cmpl	$1, %r14d
	je	LBB0_11
## %bb.2:
	movl	%r14d, %r8d
	andl	$-2, %r8d
	movl	$1, %esi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%rbx), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, 24(%rbx)
	leaq	(%rax,%rdx,4), %rsi
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%edi, (%rsi)
	leal	1(%rdi), %esi
	cmpl	%r8d, %edi
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, %ecx
	cmpl	%r9d, %esi
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%rbx), %rsi
	leaq	1(%rsi), %rdi
	movq	%rdi, 24(%rbx)
	leaq	(%rax,%rsi,4), %rdi
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rdi
	leaq	1(%rdi), %rsi
	movq	%rsi, 16(%rbx)
	shlq	$2, %rdi
	addq	(%rbx), %rdi
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, (%rdi)
	leal	1(%rcx), %edi
	cmpl	%r9d, %edi
	jl	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rsi
	leaq	1(%rsi), %rdx
	movq	%rdx, 16(%rbx)
	shlq	$2, %rsi
	addq	(%rbx), %rsi
	jmp	LBB0_9
LBB0_10:
	addl	$2, %ecx
LBB0_11:
	testb	$1, %r14b
	je	LBB0_16
## %bb.12:
	cmpl	%r9d, %ecx
	jge	LBB0_13
## %bb.14:
	movq	24(%rbx), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, 24(%rbx)
	leaq	(%rax,%rdx,4), %rax
	jmp	LBB0_15
LBB0_13:
	movq	16(%rbx), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, 16(%rbx)
	shlq	$2, %rax
	addq	(%rbx), %rax
LBB0_15:
	movl	%ecx, (%rax)
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gistSplitHalf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gistSplitHalf
_gistSplitHalf:                         ; @gistSplitHalf
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	lsl	w21, w1, #2
	stp	xzr, xzr, [x0, #16]
	mov	x0, x21
	bl	_palloc
	str	x0, [x20]
	mov	x0, x21
	bl	_palloc
	str	x0, [x20, #8]
	cmp	w19, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w8, #0
	lsr	w9, w19, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x20]
	ldr	x12, [x20, #16]
	add	x13, x12, #1
	str	x13, [x20, #16]
	add	x11, x11, x12, lsl #2
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w10, [x11]
	add	w8, w8, #1
	cmp	w19, w8
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	w10, w8, #1
	cmp	w10, w9
	b.ge	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x20, #24]
	add	x12, x11, #1
	str	x12, [x20, #24]
	add	x11, x0, x11, lsl #2
	b	LBB0_3
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gistSplitHalf
.subsections_via_symbols
