	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nct6775_write_fan_div
_nct6775_write_fan_div:                 ## @nct6775_write_fan_div
	.cfi_startproc
## %bb.0:
	cmpl	$3, %esi
	ja	LBB0_9
## %bb.1:
	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, %rbx
	movl	%esi, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_NCT6775_REG_FANDIV1@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_nct6775_read_value
	andl	$112, %eax
	movq	(%rbx), %rcx
	movl	(%rcx), %edx
	andl	$7, %edx
	jmp	LBB0_8
LBB0_9:
	retq
LBB0_4:
	movq	_NCT6775_REG_FANDIV1@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_nct6775_read_value
	andl	$7, %eax
	movq	(%rbx), %rcx
	movl	4(%rcx), %edx
	jmp	LBB0_7
LBB0_5:
	movq	_NCT6775_REG_FANDIV2@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_nct6775_read_value
	andl	$112, %eax
	movq	(%rbx), %rcx
	movl	8(%rcx), %edx
	andl	$7, %edx
	jmp	LBB0_8
LBB0_6:
	movq	_NCT6775_REG_FANDIV2@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_nct6775_read_value
	andl	$7, %eax
	movq	(%rbx), %rcx
	movl	12(%rcx), %edx
LBB0_7:
	shll	$4, %edx
	andl	$112, %edx
LBB0_8:
	orl	%eax, %edx
	movl	(%r14), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nct6775_write_value            ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_NCT6775_REG_FANDIV1,4,2        ## @NCT6775_REG_FANDIV1
	.comm	_NCT6775_REG_FANDIV2,4,2        ## @NCT6775_REG_FANDIV2
	.no_dead_strip	_nct6775_write_fan_div
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nct6775_write_fan_div
_nct6775_write_fan_div:                 ; @nct6775_write_fan_div
	.cfi_startproc
; %bb.0:
	cmp	w1, #3
	b.hi	LBB0_3
; %bb.1:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_remember_state
	mov	x19, x0
	mov	w8, w1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x20, _NCT6775_REG_FANDIV1@GOTPAGE
Lloh3:
	ldr	x20, [x20, _NCT6775_REG_FANDIV1@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_nct6775_read_value
	and	w2, w0, #0x70
	ldr	x8, [x19]
	ldr	w8, [x8]
	bfxil	w2, w8, #0, #3
	b	LBB0_8
LBB0_3:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
LBB0_4:
	.cfi_restore_state
Lloh4:
	adrp	x20, _NCT6775_REG_FANDIV1@GOTPAGE
Lloh5:
	ldr	x20, [x20, _NCT6775_REG_FANDIV1@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_nct6775_read_value
	and	w2, w0, #0x7
	ldr	x8, [x19]
	ldr	w8, [x8, #4]
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x20, _NCT6775_REG_FANDIV2@GOTPAGE
Lloh7:
	ldr	x20, [x20, _NCT6775_REG_FANDIV2@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_nct6775_read_value
	and	w2, w0, #0x70
	ldr	x8, [x19]
	ldr	w8, [x8, #8]
	bfxil	w2, w8, #0, #3
	b	LBB0_8
LBB0_6:
Lloh8:
	adrp	x20, _NCT6775_REG_FANDIV2@GOTPAGE
Lloh9:
	ldr	x20, [x20, _NCT6775_REG_FANDIV2@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_nct6775_read_value
	and	w2, w0, #0x7
	ldr	x8, [x19]
	ldr	w8, [x8, #12]
LBB0_7:
	bfi	w2, w8, #4, #3
LBB0_8:
	ldr	w1, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nct6775_write_value
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_NCT6775_REG_FANDIV1,4,2        ; @NCT6775_REG_FANDIV1
	.comm	_NCT6775_REG_FANDIV2,4,2        ; @NCT6775_REG_FANDIV2
	.no_dead_strip	_nct6775_write_fan_div
.subsections_via_symbols
