	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cvtSSima16K
_cvtSSima16K:                           ## @cvtSSima16K
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	movl	(%rdx), %eax
	cltd
	idivl	%ecx
	movl	%eax, %edi
	movl	(%r8), %eax
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leal	(,%rcx,4), %r14d
	cltd
	idivl	%r14d
	movl	%eax, %esi
	callq	_min
                                        ## kill: def $eax killed $eax def $rax
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	(%r13), %rcx
	movl	(%rcx), %ecx
	imull	%eax, %ecx
	movl	%ecx, (%rbx)
	imull	%eax, %r14d
	movl	%r14d, (%r12)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%rax, %r14
	testl	%r14d, %r14d
	jle	LBB0_7
## %bb.1:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addl	$7, %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	leaq	-52(%rbp), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movslq	(%rax), %rax
	addq	%rax, %r15
	leal	-1(%r14), %eax
	cmpl	$1, %r14d
	movl	%eax, %r14d
	jle	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	%r15, %rdi
	callq	_R16
	movl	%eax, -48(%rbp)
	movzbl	2(%r15), %eax
	movl	%eax, -68(%rbp)
	leaq	-68(%rbp), %rdi
	callq	_clamp_step_index
	leaq	4(%r15), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	-48(%rbp), %esi
	movq	%r12, %rdi
	callq	_W16
	leaq	2(%r12), %rbx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_R16
	movl	%eax, -44(%rbp)
	movzbl	6(%r15), %eax
	movl	%eax, -52(%rbp)
	movq	%r13, %rdi
	callq	_clamp_step_index
	movl	-44(%rbp), %esi
	movq	%rbx, %rdi
	callq	_W16
	addq	$4, %r12
	cmpl	$2, -80(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	leaq	15(%r15), %r14
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movzbl	-7(%r14), %edi
	leaq	-68(%rbp), %r15
	movq	%r15, %rsi
	leaq	-48(%rbp), %r13
	movq	%r13, %rdx
	callq	_process_nibble
	movl	-48(%rbp), %esi
	movq	%r12, %rdi
	callq	_W16
	movzbl	-7(%r14), %eax
	shrb	$4, %al
	movzbl	%al, %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_process_nibble
	movl	-48(%rbp), %esi
	leaq	4(%r12), %rdi
	callq	_W16
	movzbl	-6(%r14), %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_process_nibble
	movl	-48(%rbp), %esi
	leaq	8(%r12), %rdi
	callq	_W16
	movzbl	-6(%r14), %eax
	shrb	$4, %al
	movzbl	%al, %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_process_nibble
	movl	-48(%rbp), %esi
	leaq	12(%r12), %rdi
	callq	_W16
	movzbl	-5(%r14), %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_process_nibble
	movl	-48(%rbp), %esi
	leaq	16(%r12), %rdi
	callq	_W16
	movzbl	-5(%r14), %eax
	shrb	$4, %al
	movzbl	%al, %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_process_nibble
	movl	-48(%rbp), %esi
	leaq	20(%r12), %rdi
	callq	_W16
	movzbl	-4(%r14), %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_process_nibble
	movl	-48(%rbp), %esi
	leaq	24(%r12), %rdi
	callq	_W16
	movzbl	-4(%r14), %eax
	shrb	$4, %al
	movzbl	%al, %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_process_nibble
	movl	-48(%rbp), %esi
	leaq	28(%r12), %rdi
	callq	_W16
	movzbl	-3(%r14), %edi
	leaq	-52(%rbp), %rbx
	movq	%rbx, %rsi
	leaq	-44(%rbp), %r15
	movq	%r15, %rdx
	callq	_process_nibble
	movl	-44(%rbp), %esi
	leaq	2(%r12), %rdi
	callq	_W16
	movzbl	-3(%r14), %eax
	shrb	$4, %al
	movzbl	%al, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_process_nibble
	movl	-44(%rbp), %esi
	leaq	6(%r12), %rdi
	callq	_W16
	movzbl	-2(%r14), %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_process_nibble
	movl	-44(%rbp), %esi
	leaq	10(%r12), %rdi
	callq	_W16
	movzbl	-2(%r14), %eax
	shrb	$4, %al
	movzbl	%al, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_process_nibble
	movl	-44(%rbp), %esi
	leaq	14(%r12), %rdi
	callq	_W16
	movzbl	-1(%r14), %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_process_nibble
	movl	-44(%rbp), %esi
	leaq	18(%r12), %rdi
	callq	_W16
	movzbl	-1(%r14), %eax
	shrb	$4, %al
	movzbl	%al, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_process_nibble
	movl	-44(%rbp), %esi
	leaq	22(%r12), %rdi
	callq	_W16
	movzbl	(%r14), %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_process_nibble
	movl	-44(%rbp), %esi
	leaq	26(%r12), %rdi
	callq	_W16
	movzbl	(%r14), %eax
	shrb	$4, %al
	movzbl	%al, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_process_nibble
	movl	-44(%rbp), %esi
	leaq	30(%r12), %rdi
	callq	_W16
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	addq	$32, %r12
	addq	$8, %r14
	addl	$-8, %eax
	cmpl	$8, %eax
	ja	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	leaq	-52(%rbp), %r13
	jmp	LBB0_6
LBB0_7:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cvtSSima16K
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cvtSSima16K
_cvtSSima16K:                           ; @cvtSSima16K
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x23, x4
	mov	x19, x3
	mov	x24, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	ldr	w25, [x8]
	ldr	w8, [x2]
	sdiv	w0, w8, w25
	ldr	w8, [x4]
	lsl	w26, w25, #2
	sdiv	w1, w8, w26
	bl	_min
	ldr	x8, [x21]
	ldr	w8, [x8]
	mul	w8, w8, w0
	str	w8, [x24]
	mul	w8, w0, w26
	str	w8, [x23]
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x22, x0
	add	w26, w25, #7
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	ldrsw	x8, [x8]
	add	x20, x20, x8
	subs	w22, w22, #1
	b.le	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	x0, x20
	bl	_R16
	str	w0, [sp, #12]
	ldrb	w8, [x20, #2]
	str	w8, [sp, #4]
	add	x0, sp, #4
	bl	_clamp_step_index
	add	x23, x20, #4
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_W16
	add	x24, x19, #2
	mov	x0, x23
	bl	_R16
	str	w0, [sp, #8]
	ldrb	w8, [x20, #6]
	str	w8, [sp]
	mov	x0, sp
	bl	_clamp_step_index
	ldr	w1, [sp, #8]
	mov	x0, x24
	bl	_W16
	add	x19, x19, #4
	cmp	w25, #2
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x20, #15
	mov	x24, x26
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldurb	w0, [x23, #-7]
	add	x1, sp, #4
	add	x2, sp, #12
	bl	_process_nibble
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_W16
	ldurb	w8, [x23, #-7]
	lsr	w0, w8, #4
	add	x1, sp, #4
	add	x2, sp, #12
	bl	_process_nibble
	ldr	w1, [sp, #12]
	add	x0, x19, #4
	bl	_W16
	ldurb	w0, [x23, #-6]
	add	x1, sp, #4
	add	x2, sp, #12
	bl	_process_nibble
	ldr	w1, [sp, #12]
	add	x0, x19, #8
	bl	_W16
	ldurb	w8, [x23, #-6]
	lsr	w0, w8, #4
	add	x1, sp, #4
	add	x2, sp, #12
	bl	_process_nibble
	ldr	w1, [sp, #12]
	add	x0, x19, #12
	bl	_W16
	ldurb	w0, [x23, #-5]
	add	x1, sp, #4
	add	x2, sp, #12
	bl	_process_nibble
	ldr	w1, [sp, #12]
	add	x0, x19, #16
	bl	_W16
	ldurb	w8, [x23, #-5]
	lsr	w0, w8, #4
	add	x1, sp, #4
	add	x2, sp, #12
	bl	_process_nibble
	ldr	w1, [sp, #12]
	add	x0, x19, #20
	bl	_W16
	ldurb	w0, [x23, #-4]
	add	x1, sp, #4
	add	x2, sp, #12
	bl	_process_nibble
	ldr	w1, [sp, #12]
	add	x0, x19, #24
	bl	_W16
	ldurb	w8, [x23, #-4]
	lsr	w0, w8, #4
	add	x1, sp, #4
	add	x2, sp, #12
	bl	_process_nibble
	ldr	w1, [sp, #12]
	add	x0, x19, #28
	bl	_W16
	ldurb	w0, [x23, #-3]
	mov	x1, sp
	add	x2, sp, #8
	bl	_process_nibble
	ldr	w1, [sp, #8]
	add	x0, x19, #2
	bl	_W16
	ldurb	w8, [x23, #-3]
	lsr	w0, w8, #4
	mov	x1, sp
	add	x2, sp, #8
	bl	_process_nibble
	ldr	w1, [sp, #8]
	add	x0, x19, #6
	bl	_W16
	ldurb	w0, [x23, #-2]
	mov	x1, sp
	add	x2, sp, #8
	bl	_process_nibble
	ldr	w1, [sp, #8]
	add	x0, x19, #10
	bl	_W16
	ldurb	w8, [x23, #-2]
	lsr	w0, w8, #4
	mov	x1, sp
	add	x2, sp, #8
	bl	_process_nibble
	ldr	w1, [sp, #8]
	add	x0, x19, #14
	bl	_W16
	ldurb	w0, [x23, #-1]
	mov	x1, sp
	add	x2, sp, #8
	bl	_process_nibble
	ldr	w1, [sp, #8]
	add	x0, x19, #18
	bl	_W16
	ldurb	w8, [x23, #-1]
	lsr	w0, w8, #4
	mov	x1, sp
	add	x2, sp, #8
	bl	_process_nibble
	ldr	w1, [sp, #8]
	add	x0, x19, #22
	bl	_W16
	ldrb	w0, [x23]
	mov	x1, sp
	add	x2, sp, #8
	bl	_process_nibble
	ldr	w1, [sp, #8]
	add	x0, x19, #26
	bl	_W16
	ldrb	w8, [x23], #8
	lsr	w0, w8, #4
	mov	x1, sp
	add	x2, sp, #8
	bl	_process_nibble
	ldr	w1, [sp, #8]
	add	x0, x19, #30
	bl	_W16
	add	x19, x19, #32
	sub	w24, w24, #8
	cmp	w24, #8
	b.hi	LBB0_5
	b	LBB0_2
LBB0_6:
	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
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cvtSSima16K
.subsections_via_symbols
