	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rac_get_model256_sym
_rac_get_model256_sym:                  ## @rac_get_model256_sym
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	(%rdi), %r9d
	movl	4(%rdi), %r8d
	movq	_MODEL_SCALE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r9d, %r10d
	shrl	%cl, %r10d
	movl	%r10d, (%rdi)
	movl	%r8d, %eax
	xorl	%edx, %edx
	divl	%r10d
	movq	_MODEL256_SEC_SCALE@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %edx
	shrl	%cl, %edx
	movq	(%rsi), %rcx
	movslq	%edx, %rdx
	movl	(%rcx,%rdx,4), %ebx
	movl	4(%rcx,%rdx,4), %edx
	cmpl	%ebx, %edx
	jle	LBB0_1
## %bb.2:
	incl	%edx
	movq	8(%r14), %r11
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%esi, %ebx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	leal	1(%rbx), %esi
	cmpl	%esi, %edx
	jle	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rbx,%rdx), %esi
	sarl	%esi
	movslq	%esi, %rcx
	cmpl	%eax, (%r11,%rcx,4)
	jbe	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%esi, %edx
	jmp	LBB0_6
LBB0_1:
	leal	1(%rbx), %esi
	movq	8(%r14), %r11
LBB0_7:
	movslq	%ebx, %rcx
	movl	(%r11,%rcx,4), %eax
	imull	%r10d, %eax
	cmpl	$255, %ecx
	je	LBB0_9
## %bb.8:
	movslq	%esi, %rcx
	imull	(%r11,%rcx,4), %r10d
	movl	%r10d, %r9d
LBB0_9:
	subl	%eax, %r8d
	movl	%r8d, 4(%rdi)
	subl	%eax, %r9d
	movl	%r9d, (%rdi)
	movq	_RAC_BOTTOM@GOTPCREL(%rip), %rax
	cmpq	%r9, (%rax)
	jle	LBB0_11
## %bb.10:
	callq	_rac_normalise
LBB0_11:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_model256_update
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODEL_SCALE,4,2                ## @MODEL_SCALE
	.comm	_MODEL256_SEC_SCALE,4,2         ## @MODEL256_SEC_SCALE
	.comm	_RAC_BOTTOM,8,3                 ## @RAC_BOTTOM
	.no_dead_strip	_rac_get_model256_sym
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rac_get_model256_sym
_rac_get_model256_sym:                  ; @rac_get_model256_sym
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _MODEL_SCALE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODEL_SCALE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
	ldp	w8, w9, [x0]
	lsr	w10, w8, w10
	str	w10, [x0]
	udiv	w12, w9, w10
Lloh3:
	adrp	x11, _MODEL256_SEC_SCALE@GOTPAGE
Lloh4:
	ldr	x11, [x11, _MODEL256_SEC_SCALE@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	lsr	w11, w12, w11
	ldr	x13, [x1]
	add	x11, x13, w11, sxtw #2
	ldp	w20, w11, [x11]
	cmp	w11, w20
	b.le	LBB0_3
; %bb.1:
	add	w14, w11, #1
	ldr	x11, [x19, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w13, w20, w14
	asr	w13, w13, #1
	ldr	w15, [x11, w13, sxtw #2]
	cmp	w15, w12
	csel	w14, w13, w14, hi
	csel	w20, w20, w13, hi
	add	w13, w20, #1
	cmp	w14, w13
	b.gt	LBB0_2
	b	LBB0_4
LBB0_3:
	add	w13, w20, #1
	ldr	x11, [x19, #8]
LBB0_4:
	ldr	w12, [x11, w20, sxtw #2]
	mul	w12, w12, w10
	cmp	w20, #255
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [x11, w13, sxtw #2]
	mul	w8, w8, w10
LBB0_6:
Lloh6:
	adrp	x10, _RAC_BOTTOM@GOTPAGE
Lloh7:
	ldr	x10, [x10, _RAC_BOTTOM@GOTPAGEOFF]
	sub	w9, w9, w12
Lloh8:
	ldr	x10, [x10]
	sub	w8, w8, w12
	cmp	x10, x8
	stp	w8, w9, [x0]
	b.le	LBB0_8
; %bb.7:
	bl	_rac_normalise
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	bl	_model256_update
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MODEL_SCALE,4,2                ; @MODEL_SCALE
	.comm	_MODEL256_SEC_SCALE,4,2         ; @MODEL256_SEC_SCALE
	.comm	_RAC_BOTTOM,8,3                 ; @RAC_BOTTOM
	.no_dead_strip	_rac_get_model256_sym
.subsections_via_symbols
