	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scrup
_scrup:                                 ## @scrup
	.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
	pushq	%rax
	.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
	movl	%esi, %r12d
	leal	(%rcx,%r12), %eax
	movl	%esi, %ebx
	notl	%ebx
	addl	%edx, %ebx
	cmpl	%edx, %eax
	cmovbl	%ecx, %ebx
	cmpl	%edx, (%rdi)
	jae	LBB0_1
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%edx, %r15d
	cmpl	%r12d, %edx
	jbe	LBB0_5
## %bb.2:
	testl	%ebx, %ebx
	jle	LBB0_5
## %bb.3:
	movq	%rdi, %r14
	callq	_CON_IS_VISIBLE
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	24(%r14), %rax
	movq	_SM_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%ebx, %r8d
	callq	*(%rax)
	testq	%rax, %rax
	jne	LBB0_5
LBB0_6:
	movq	16(%r14), %rax
	movl	4(%r14), %edx
	movl	%edx, %r13d
	imull	%r12d, %r13d
	addq	%rax, %r13
	addl	%ebx, %r12d
	movl	%edx, %esi
	imull	%r12d, %esi
	addq	%rax, %rsi
	subl	%r12d, %r15d
	imull	%r15d, %edx
	movq	%r13, %rdi
	callq	_scr_memmovew
	imull	8(%r14), %r15d
	leaq	(,%r15,2), %rdi
	addq	%r13, %rdi
	movl	12(%r14), %esi
	imull	4(%r14), %ebx
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_scr_memsetw                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SM_UP,4,2                      ## @SM_UP
	.no_dead_strip	_scrup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scrup
_scrup:                                 ; @scrup
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mvn	w8, w1
	add	w8, w8, w2
	add	w9, w3, w1
	cmp	w9, w2
	csel	w20, w3, w8, lo
	ldr	w8, [x0]
	cmp	w8, w2
	ccmp	w2, w1, #0, hs
	ccmp	w20, #1, #8, hi
	b.ge	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_CON_IS_VISIBLE
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _SM_UP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SM_UP@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x9]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x4, x20
	blr	x8
	cbnz	x0, LBB0_1
LBB0_4:
	ldr	x8, [x19, #16]
	ldr	w9, [x19, #4]
	mul	w10, w9, w22
	add	x23, x8, x10
	add	w10, w20, w22
	sub	w21, w21, w10
	mul	w10, w9, w10
	add	x1, x8, x10
	mul	w2, w9, w21
	mov	x0, x23
	bl	_scr_memmovew
	ldp	w9, w8, [x19, #4]
	mul	w8, w8, w21
	add	x0, x23, w8, uxtw #1
	ldr	w1, [x19, #12]
	mul	w2, w9, w20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_scr_memsetw
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SM_UP,4,2                      ; @SM_UP
	.no_dead_strip	_scrup
.subsections_via_symbols
