	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aspeed_set_tacho_type_values
_aspeed_set_tacho_type_values:          ## @aspeed_set_tacho_type_values
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	_TYPE_CTRL_FAN_MODE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlq	%cl, %rdx
	movq	_TYPE_CTRL_FAN_PERIOD@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movq	%r14, %rax
	shlq	%cl, %rax
	movq	_TYPE_CTRL_FAN_DIVISION@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %r8
	movq	%rsi, %rbx
	movq	%rdi, %r15
	orq	%rdx, %rax
	orq	%r8, %rax
	movq	_type_params@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movl	4(%rcx,%rsi,8), %esi
	movq	_TYPE_CTRL_FAN_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rcx
	callq	_regmap_update_bits
	movq	(%r12), %rax
	movl	(%rax,%rbx,8), %esi
	movq	_TYPE_CTRL_FAN1_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shlq	$16, %r14
	movq	%r15, %rdi
	movq	%r14, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_CTRL_FAN_MODE,8,3         ## @TYPE_CTRL_FAN_MODE
	.comm	_TYPE_CTRL_FAN_PERIOD,8,3       ## @TYPE_CTRL_FAN_PERIOD
	.comm	_TYPE_CTRL_FAN_DIVISION,8,3     ## @TYPE_CTRL_FAN_DIVISION
	.comm	_type_params,8,3                ## @type_params
	.comm	_TYPE_CTRL_FAN_MASK,4,2         ## @TYPE_CTRL_FAN_MASK
	.comm	_TYPE_CTRL_FAN1_MASK,4,2        ## @TYPE_CTRL_FAN1_MASK
	.no_dead_strip	_aspeed_set_tacho_type_values
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aspeed_set_tacho_type_values
_aspeed_set_tacho_type_values:          ; @aspeed_set_tacho_type_values
	.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, x3
	mov	x20, x0
	lsl	x21, x1, #3
Lloh0:
	adrp	x8, _TYPE_CTRL_FAN_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_CTRL_FAN_MODE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	lsl	x8, x2, x8
Lloh3:
	adrp	x9, _TYPE_CTRL_FAN_PERIOD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TYPE_CTRL_FAN_PERIOD@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	lsl	x9, x3, x9
Lloh6:
	adrp	x10, _TYPE_CTRL_FAN_DIVISION@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TYPE_CTRL_FAN_DIVISION@GOTPAGEOFF]
	orr	x8, x9, x8
Lloh8:
	ldr	x9, [x10]
	lsl	x9, x4, x9
	orr	x3, x8, x9
Lloh9:
	adrp	x22, _type_params@GOTPAGE
Lloh10:
	ldr	x22, [x22, _type_params@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x8, x8, x21
	ldr	w1, [x8, #4]
Lloh11:
	adrp	x8, _TYPE_CTRL_FAN_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TYPE_CTRL_FAN_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	bl	_regmap_update_bits
	ldr	x8, [x22]
	ldr	w1, [x8, x21]
Lloh14:
	adrp	x8, _TYPE_CTRL_FAN1_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TYPE_CTRL_FAN1_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	lsl	x3, x19, #16
	mov	x0, x20
	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
	b	_regmap_update_bits
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_CTRL_FAN_MODE,8,3         ; @TYPE_CTRL_FAN_MODE
	.comm	_TYPE_CTRL_FAN_PERIOD,8,3       ; @TYPE_CTRL_FAN_PERIOD
	.comm	_TYPE_CTRL_FAN_DIVISION,8,3     ; @TYPE_CTRL_FAN_DIVISION
	.comm	_type_params,8,3                ; @type_params
	.comm	_TYPE_CTRL_FAN_MASK,4,2         ; @TYPE_CTRL_FAN_MASK
	.comm	_TYPE_CTRL_FAN1_MASK,4,2        ; @TYPE_CTRL_FAN1_MASK
	.no_dead_strip	_aspeed_set_tacho_type_values
.subsections_via_symbols
