	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rac_get_model2_sym
_rac_get_model2_sym:                    ## @rac_get_model2_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	(%rdi), %eax
	movq	_MODEL2_SCALE@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %ebx
	sarl	%cl, %ebx
	movl	4(%rdi), %r12d
	imull	(%rsi), %ebx
	movl	%r12d, %edx
	movl	%ebx, %ecx
	subl	%ebx, %edx
	jl	LBB0_2
## %bb.1:
	movl	%edx, 4(%rdi)
	subl	%ebx, %eax
	movl	%eax, %ecx
LBB0_2:
	movl	%ecx, (%rdi)
	movslq	%ecx, %rax
	movq	_RAC_BOTTOM@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jle	LBB0_4
## %bb.3:
	callq	_rac_normalise
LBB0_4:
	xorl	%r15d, %r15d
	cmpl	%ebx, %r12d
	setge	%r15b
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_model2_update
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODEL2_SCALE,4,2               ## @MODEL2_SCALE
	.comm	_RAC_BOTTOM,8,3                 ## @RAC_BOTTOM
	.no_dead_strip	_rac_get_model2_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_model2_sym
_rac_get_model2_sym:                    ; @rac_get_model2_sym
	.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
	ldr	w9, [x1]
Lloh0:
	adrp	x8, _MODEL2_SCALE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODEL2_SCALE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
	ldp	w8, w20, [x0]
	asr	w10, w8, w10
	mul	w21, w10, w9
	mov	x9, x21
	subs	w10, w20, w21
	b.lt	LBB0_2
; %bb.1:
	str	w10, [x0, #4]
	sub	w9, w8, w21
LBB0_2:
	str	w9, [x0]
Lloh3:
	adrp	x8, _RAC_BOTTOM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RAC_BOTTOM@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, w9, sxtw
	b.le	LBB0_4
; %bb.3:
	bl	_rac_normalise
LBB0_4:
	cmp	w20, w21
	cset	w20, ge
	mov	x0, x19
	mov	x1, x20
	bl	_model2_update
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MODEL2_SCALE,4,2               ; @MODEL2_SCALE
	.comm	_RAC_BOTTOM,8,3                 ; @RAC_BOTTOM
	.no_dead_strip	_rac_get_model2_sym
.subsections_via_symbols
