	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nct7904_write
_nct7904_write:                         ## @nct7904_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$3, %esi
	ja	LBB0_6
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rsi
	addq	%rax, %rsi
	jmpq	*%rsi
LBB0_5:
	movl	%edx, %esi
	movl	%ecx, %edx
	movq	%r8, %rcx
	popq	%rbp
	jmp	_nct7904_write_temp             ## TAILCALL
LBB0_6:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_4:
	movl	%edx, %esi
	movl	%ecx, %edx
	movq	%r8, %rcx
	popq	%rbp
	jmp	_nct7904_write_pwm              ## TAILCALL
LBB0_2:
	movl	%edx, %esi
	movl	%ecx, %edx
	movq	%r8, %rcx
	popq	%rbp
	jmp	_nct7904_write_in               ## TAILCALL
LBB0_3:
	movl	%edx, %esi
	movl	%ecx, %edx
	movq	%r8, %rcx
	popq	%rbp
	jmp	_nct7904_write_fan              ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_nct7904_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nct7904_write
_nct7904_write:                         ; @nct7904_write
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
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:
	mov	x1, x2
	mov	x2, x3
	mov	x3, x4
	b	_nct7904_write_temp
LBB0_3:
Lloh2:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_4:
	mov	x1, x2
	mov	x2, x3
	mov	x3, x4
	b	_nct7904_write_pwm
LBB0_5:
	mov	x1, x2
	mov	x2, x3
	mov	x3, x4
	b	_nct7904_write_in
LBB0_6:
	mov	x1, x2
	mov	x2, x3
	mov	x3, x4
	b	_nct7904_write_fan
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.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	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_nct7904_write
.subsections_via_symbols
