	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nct7904_in_is_visible
_nct7904_in_is_visible:                 ## @nct7904_in_is_visible
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %rax
	movq	_nct7904_chan_to_index@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%edx, %rdi
	movl	(%rcx,%rdi,4), %edi
	leal	-128(%rsi), %ecx
	cmpl	$2, %ecx
	jb	LBB0_4
## %bb.1:
	addl	$-130, %esi
	cmpl	$1, %esi
	ja	LBB0_7
## %bb.2:
	testl	%edx, %edx
	jle	LBB0_7
## %bb.3:
	movl	(%rax), %ebx
	callq	_BIT
	movl	%eax, %ecx
	movl	$292, %eax                      ## imm = 0x124
	testl	%ebx, %ecx
	jne	LBB0_8
	jmp	LBB0_7
LBB0_4:
	testl	%edx, %edx
	jle	LBB0_7
## %bb.5:
	movl	(%rax), %ebx
	callq	_BIT
	movl	%eax, %ecx
	movl	$420, %eax                      ## imm = 0x1A4
	testl	%ebx, %ecx
	jne	LBB0_8
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nct7904_chan_to_index,8,3      ## @nct7904_chan_to_index
	.no_dead_strip	_nct7904_in_is_visible
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nct7904_in_is_visible
_nct7904_in_is_visible:                 ; @nct7904_in_is_visible
	.cfi_startproc
; %bb.0:
	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
	mov	x8, x0
Lloh0:
	adrp	x9, _nct7904_chan_to_index@GOTPAGE
Lloh1:
	ldr	x9, [x9, _nct7904_chan_to_index@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x9, w2, sxtw #2]
	sub	w9, w1, #128
	cmp	w9, #2
	b.lo	LBB0_5
; %bb.1:
	sub	w9, w1, #130
	cmp	w9, #1
	b.hi	LBB0_8
; %bb.2:
	cmp	w2, #1
	b.lt	LBB0_8
; %bb.3:
	ldr	w19, [x8]
	bl	_BIT
	tst	w0, w19
	b.eq	LBB0_8
; %bb.4:
	mov	w0, #292
	b	LBB0_9
LBB0_5:
	cmp	w2, #1
	b.lt	LBB0_8
; %bb.6:
	ldr	w19, [x8]
	bl	_BIT
	tst	w0, w19
	b.eq	LBB0_8
; %bb.7:
	mov	w0, #420
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_nct7904_chan_to_index,8,3      ; @nct7904_chan_to_index
	.no_dead_strip	_nct7904_in_is_visible
.subsections_via_symbols
