	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WI_drawNum                     ## -- Begin function WI_drawNum
	.p2align	4, 0x90
_WI_drawNum:                            ## @WI_drawNum
	.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
	movl	%ecx, %ebx
	movl	%edx, %r13d
	movl	%esi, %r14d
	movl	%edi, %r12d
	movq	_num@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_SHORT
	movl	%eax, %esi
	testl	%ebx, %ebx
	jns	LBB0_5
## %bb.1:
	testl	%r13d, %r13d
	je	LBB0_2
## %bb.3:
	xorl	%ebx, %ebx
	movl	%r13d, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%eax, %rcx
	imulq	$1717986919, %rcx, %rax         ## imm = 0x66666667
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$34, %rax
	addl	%edx, %eax
	incl	%ebx
	addl	$9, %ecx
	cmpl	$18, %ecx
	ja	LBB0_4
LBB0_5:
	movq	%r15, %rcx
	movl	%r13d, %r15d
	negl	%r15d
	cmovsl	%r13d, %r15d
	xorl	%eax, %eax
	cmpl	$1994, %r15d                    ## imm = 0x7CA
	je	LBB0_13
## %bb.6:
	shrl	$31, %r13d
	testl	%ebx, %ebx
	jne	LBB0_7
## %bb.10:
	testb	%r13b, %r13b
	je	LBB0_12
LBB0_11:
	addl	$-8, %r12d
	movq	_FB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_wiminus@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%r12d, %edi
	movl	%r14d, %esi
	callq	_V_DrawPatch
LBB0_12:
	movl	%r12d, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r15, %rcx
	xorl	%r13d, %r13d
	movl	$1, %ebx
	xorl	%r15d, %r15d
LBB0_7:
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	%esi, %eax
	negl	%eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r12), %edi
	subl	%esi, %r12d
	movq	_FB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r13), %rax
	movslq	%r15d, %rcx
	imulq	$1717986919, %rcx, %r15         ## imm = 0x66666667
	movl	%esi, %r14d
	movq	%r15, %rsi
	shrq	$63, %rsi
	sarq	$34, %r15
	addl	%esi, %r15d
	leal	(%r15,%r15), %esi
	leal	(%rsi,%rsi,4), %esi
	subl	%esi, %ecx
	movq	(%rax,%rcx,8), %rcx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_V_DrawPatch
	movl	%r14d, %esi
	decl	%ebx
	jne	LBB0_8
## %bb.9:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	testb	%r13b, %r13b
	jne	LBB0_11
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_num,8,3                        ## @num
	.comm	_FB,4,2                         ## @FB
	.comm	_wiminus,8,3                    ## @wiminus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WI_drawNum                     ; -- Begin function WI_drawNum
	.p2align	2
_WI_drawNum:                            ; @WI_drawNum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _num@GOTPAGE
Lloh1:
	ldr	x24, [x24, _num@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_SHORT
	mov	x22, x0
	tbz	w21, #31, LBB0_4
; %bb.1:
	cbz	w23, LBB0_10
; %bb.2:
	mov	w21, #0
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	mov	x9, x23
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	smull	x10, w9, w8
	lsr	x11, x10, #63
	asr	x10, x10, #34
	add	w12, w9, #9
	add	w9, w10, w11
	add	w21, w21, #1
	cmp	w12, #18
	b.hi	LBB0_3
LBB0_4:
	cmp	w23, #0
	cneg	w8, w23, mi
	cmp	w8, #1994
	b.ne	LBB0_6
; %bb.5:
	mov	w19, #0
	b	LBB0_9
LBB0_6:
	lsr	w9, w23, #31
	cbnz	w21, LBB0_11
; %bb.7:
	cbz	w9, LBB0_9
LBB0_8:
	sub	w19, w19, #8
Lloh2:
	adrp	x8, _FB@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FB@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _wiminus@GOTPAGE
Lloh6:
	ldr	x8, [x8, _wiminus@GOTPAGEOFF]
Lloh7:
	ldr	x3, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_V_DrawPatch
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_10:
	mov	w9, #0
	mov	w8, #0
	mov	w21, #1
LBB0_11:
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	neg	w25, w22
Lloh8:
	adrp	x26, _FB@GOTPAGE
Lloh9:
	ldr	x26, [x26, _FB@GOTPAGEOFF]
	mov	w27, #26215
	movk	w27, #26214, lsl #16
	mov	w28, #10
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	sub	w21, w21, #1
	add	w0, w25, w19
	sub	w19, w19, w22
	ldr	w2, [x26]
	ldr	x9, [x24]
	smull	x10, w8, w27
	lsr	x11, x10, #63
	asr	x10, x10, #34
	add	w23, w10, w11
	msub	w8, w23, w28, w8
	ldr	x3, [x9, w8, uxtw #3]
	mov	x1, x20
	bl	_V_DrawPatch
	mov	x8, x23
	cbnz	w21, LBB0_12
; %bb.13:
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	cbnz	w9, LBB0_8
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_num,8,3                        ; @num
	.comm	_FB,4,2                         ; @FB
	.comm	_wiminus,8,3                    ; @wiminus
.subsections_via_symbols
