	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calc_startup_ticks_9x5
_calc_startup_ticks_9x5:                ## @calc_startup_ticks_9x5
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %r15d
	leaq	_calc_startup_ticks_9x5.startup_lookup(%rip), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %ecx
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	imull	%r15d, %r14d
	movslq	%r14d, %rax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$38, %rax
	addl	%edx, %eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%rbx), %eax
	jb	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	addq	$4, %rbx
	cmpq	%rdx, %rcx
	jne	LBB0_3
## %bb.5:
	movl	%ecx, %edx
	jmp	LBB0_6
LBB0_1:
	xorl	%edx, %edx
LBB0_6:
	leal	-1(%rcx), %eax
	cmpl	%ecx, %edx
	cmovnel	%edx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @calc_startup_ticks_9x5.startup_lookup
_calc_startup_ticks_9x5.startup_lookup:
	.long	0                               ## 0x0
	.long	8                               ## 0x8
	.long	16                              ## 0x10
	.long	24                              ## 0x18
	.long	64                              ## 0x40
	.long	80                              ## 0x50
	.long	96                              ## 0x60
	.long	112                             ## 0x70
	.long	512                             ## 0x200
	.long	576                             ## 0x240
	.long	640                             ## 0x280
	.long	704                             ## 0x2c0
	.long	768                             ## 0x300
	.long	832                             ## 0x340
	.long	896                             ## 0x380
	.long	960                             ## 0x3c0

	.no_dead_strip	_calc_startup_ticks_9x5
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calc_startup_ticks_9x5
_calc_startup_ticks_9x5:                ; @calc_startup_ticks_9x5
	.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	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x19, _calc_startup_ticks_9x5.startup_lookup@PAGE
Lloh1:
	add	x19, x19, _calc_startup_ticks_9x5.startup_lookup@PAGEOFF
	mov	x0, x19
	bl	_ARRAY_SIZE
	mov	w8, w0
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x9, #0
	mul	w10, w20, w21
	mov	w11, #19923
	movk	w11, #4194, lsl #16
	smull	x10, w10, w11
	lsr	x11, x10, #63
	asr	x10, x10, #38
	add	w10, w10, w11
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x19, x9, lsl #2]
	cmp	w10, w11
	b.lo	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.4:
	mov	x9, x8
	b	LBB0_6
LBB0_5:
	mov	w9, #0
LBB0_6:
	sub	w10, w8, #1
	cmp	w9, w8
	csel	w0, w10, w9, eq
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @calc_startup_ticks_9x5.startup_lookup
_calc_startup_ticks_9x5.startup_lookup:
	.long	0                               ; 0x0
	.long	8                               ; 0x8
	.long	16                              ; 0x10
	.long	24                              ; 0x18
	.long	64                              ; 0x40
	.long	80                              ; 0x50
	.long	96                              ; 0x60
	.long	112                             ; 0x70
	.long	512                             ; 0x200
	.long	576                             ; 0x240
	.long	640                             ; 0x280
	.long	704                             ; 0x2c0
	.long	768                             ; 0x300
	.long	832                             ; 0x340
	.long	896                             ; 0x380
	.long	960                             ; 0x3c0

	.no_dead_strip	_calc_startup_ticks_9x5
.subsections_via_symbols
