	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bwrite_interpolative_sublist   ## -- Begin function bwrite_interpolative_sublist
	.p2align	4, 0x90
_bwrite_interpolative_sublist:          ## @bwrite_interpolative_sublist
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $ecx killed $ecx def $rcx
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpl	$2, %eax
	jl	LBB0_3
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movslq	%eax, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %ecx
	subl	%eax, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	(%rdx,%rax), %r15d
	sarl	%r15d
	movslq	%edx, %r13
	movl	%r15d, %eax
	subl	%r13d, %eax
	addl	(%r12,%r13,4), %eax
	movslq	%r15d, %rbx
	movl	(%r12,%rbx,4), %esi
	subl	%eax, %esi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rbx), %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	(%r12,%rcx,4), %edx
	subl	%eax, %edx
	movq	%r14, %rdi
	callq	_bwrite_interpolative_encode_value
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	callq	_bwrite_interpolative_sublist
	movq	-48(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	subl	%ebx, %eax
	movl	%r15d, %edx
	cmpl	$1, %eax
	jg	LBB0_2
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bwrite_interpolative_sublist   ; -- Begin function bwrite_interpolative_sublist
	.p2align	2
_bwrite_interpolative_sublist:          ; @bwrite_interpolative_sublist
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	w8, w3, w2
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	sxtw	x24, w19
	mov	w8, #1
	sub	w25, w8, w3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w22, w19
	asr	w23, w8, #1
	ldr	w8, [x20, x24, lsl #2]
	ldr	w9, [x20, w22, sxtw #2]
	sub	w10, w23, w22
	add	w9, w9, w10
	ldr	w10, [x20, w23, sxtw #2]
	sub	w1, w10, w9
	add	w10, w25, w23
	add	w8, w10, w8
	sub	w2, w8, w9
	mov	x0, x21
	bl	_bwrite_interpolative_encode_value
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	x3, x23
	bl	_bwrite_interpolative_sublist
	sub	w8, w19, w23
	mov	x22, x23
	cmp	w8, #1
	b.gt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
