	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aspeed_get_fan_tach_ch_measure_period
_aspeed_get_fan_tach_ch_measure_period: ## @aspeed_get_fan_tach_ch_measure_period
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rax
	movb	(%rax,%rsi,8), %cl
	movq	24(%rdi), %rax
	movq	(%rax,%rsi,8), %rax
	leaq	(%rax,%rax), %r8
	testq	%rax, %rax
	movl	$1, %r9d
	cmovneq	%r8, %r9
	movl	$1, %r8d
	shll	%cl, %r8d
	movq	(%rdi), %rax
	movq	40(%rdi), %rcx
	movl	(%rcx,%rsi,8), %ecx
	addl	%ecx, %ecx
	movl	$4, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	movq	8(%rdi), %r10
	movslq	%r8d, %rcx
	imulq	(%r10,%rsi,8), %rcx
	movq	32(%rdi), %rdi
	imulq	%r9, %rcx
	imulq	(%rdi,%rsi,8), %rcx
	movslq	%edx, %rdx
	imulq	%rdx, %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%rcx
	popq	%rbp
	retq
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_aspeed_get_fan_tach_ch_measure_period
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aspeed_get_fan_tach_ch_measure_period
_aspeed_get_fan_tach_ch_measure_period: ; @aspeed_get_fan_tach_ch_measure_period
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0]
	lsl	x10, x1, #3
	ldr	x9, [x9, x10]
	ldp	x11, x12, [x0, #16]
	ldr	w11, [x11, x10]
	ldr	x12, [x12, x10]
	lsl	x13, x12, #1
	cmp	x12, #0
	csinc	x12, x13, xzr, ne
	mov	w13, #1
	lsl	w11, w13, w11
	sxtw	x11, w11
	ldp	x13, x14, [x0, #32]
	ldr	x13, [x13, x10]
	ldr	w10, [x14, x10]
	lsl	w10, w10, #1
	mov	w14, #4
	lsl	w10, w14, w10
	sxtw	x10, w10
	mul	x9, x9, x11
	mul	x9, x9, x12
	mul	x9, x9, x13
	mul	x9, x9, x10
	udiv	x0, x8, x9
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_aspeed_get_fan_tach_ch_measure_period
.subsections_via_symbols
