	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SpinControl_Init
_SpinControl_Init:                      ## @SpinControl_Init
	.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	%rdi, %r14
	movq	16(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	callq	_strlen
	movq	_SMALLCHAR_WIDTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	%ecx, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_SMALLCHAR_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
LBB0_3:
	addl	%eax, %ecx
	movl	28(%r14), %eax
	movl	%eax, %edx
	subl	%ecx, %edx
	movl	%edx, 24(%r14)
	movl	$0, (%r14)
	movq	8(%r14), %rcx
	movq	(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	callq	_strlen
	cmpl	%ebx, %eax
	cmovgl	%eax, %ebx
	movslq	(%r14), %rax
	leaq	1(%rax), %rcx
	movl	%ecx, (%r14)
	movq	8(%r14), %rcx
	movq	8(%rcx,%rax,8), %rdi
	testq	%rdi, %rdi
	jne	LBB0_6
## %bb.7:
	movl	28(%r14), %eax
	incl	%ebx
	jmp	LBB0_8
LBB0_4:
	movl	$1, %ebx
LBB0_8:
	movq	40(%r14), %rcx
	movq	%rcx, 56(%r14)
	movq	_SMALLCHAR_WIDTH@GOTPCREL(%rip), %rdx
	imull	(%rdx), %ebx
	addl	%eax, %ebx
	movl	%ebx, 32(%r14)
	movq	_SMALLCHAR_HEIGHT@GOTPCREL(%rip), %rax
	addq	(%rax), %rcx
	movq	%rcx, 48(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMALLCHAR_WIDTH,4,2            ## @SMALLCHAR_WIDTH
	.comm	_SMALLCHAR_HEIGHT,8,3           ## @SMALLCHAR_HEIGHT
	.no_dead_strip	_SpinControl_Init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SpinControl_Init
_SpinControl_Init:                      ; @SpinControl_Init
	.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, x0
	ldr	x0, [x0, #16]
Lloh0:
	adrp	x20, _SMALLCHAR_WIDTH@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SMALLCHAR_WIDTH@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_strlen
	ldr	w9, [x20]
	mul	w10, w9, w0
	b	LBB0_3
LBB0_2:
	mov	w10, #0
	ldr	w9, [x20]
LBB0_3:
	ldr	w8, [x19, #28]
	add	w9, w10, w9
	sub	w9, w8, w9
	str	w9, [x19, #24]
	str	wzr, [x19]
	ldr	x9, [x19, #8]
	ldr	x0, [x9]
	cbz	x0, LBB0_7
; %bb.4:
	mov	w21, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	bl	_strlen
	cmp	w0, w21
	csel	w21, w0, w21, gt
	ldrsw	x8, [x19]
	add	x8, x8, #1
	str	w8, [x19]
	ldr	x9, [x19, #8]
	ldr	x0, [x9, x8, lsl #3]
	cbnz	x0, LBB0_5
; %bb.6:
	ldr	w8, [x19, #28]
	add	w9, w21, #1
	b	LBB0_8
LBB0_7:
	mov	w9, #1
LBB0_8:
	ldr	x10, [x19, #40]
	ldr	w11, [x20]
	madd	w8, w11, w9, w8
	str	w8, [x19, #32]
Lloh2:
	adrp	x8, _SMALLCHAR_HEIGHT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SMALLCHAR_HEIGHT@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	add	x8, x8, x10
	stp	x8, x10, [x19, #48]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SMALLCHAR_WIDTH,4,2            ; @SMALLCHAR_WIDTH
	.comm	_SMALLCHAR_HEIGHT,8,3           ; @SMALLCHAR_HEIGHT
	.no_dead_strip	_SpinControl_Init
.subsections_via_symbols
