	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stb0899_calc_derot_time
_stb0899_calc_derot_time:               ## @stb0899_calc_derot_time
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	jle	LBB0_4
## %bb.1:
	shrq	$3, %rdi
	movabsq	$2361183241434822607, %rcx      ## imm = 0x20C49BA5E353F7CF
	movq	%rdi, %rax
	mulq	%rcx
	movq	%rdx, %rcx
	shrq	$4, %rcx
	cmpq	$100000, %rcx                   ## imm = 0x186A0
	ja	LBB0_4
## %bb.2:
	movl	$100000, %eax                   ## imm = 0x186A0
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stb0899_calc_derot_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stb0899_calc_derot_time
_stb0899_calc_derot_time:               ; @stb0899_calc_derot_time
	.cfi_startproc
; %bb.0:
	cmp	x0, #1
	b.lt	LBB0_2
; %bb.1:
	lsr	x8, x0, #3
	mov	x9, #63439
	movk	x9, #58195, lsl #16
	movk	x9, #39845, lsl #32
	movk	x9, #8388, lsl #48
	umulh	x8, x8, x9
	lsr	x8, x8, #4
	mov	w9, #34464
	movk	w9, #1, lsl #16
	udiv	x0, x9, x8
	ret
LBB0_2:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stb0899_calc_derot_time
.subsections_via_symbols
