	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nct6683_setup_sensors
_nct6683_setup_sensors:                 ## @nct6683_setup_sensors
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	_NCT6683_NUM_REG_MON@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_9
## %bb.1:
	movq	%rdi, %r14
	leaq	8(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	40(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	24(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	_NUM_MON_LABELS@GOTPCREL(%rip), %r13
	movq	_nct6683_mon_label@GOTPCREL(%rip), %r12
	jmp	LBB0_2
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rcx
	leaq	(,%rcx,4), %rdx
	addq	32(%r14), %rdx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, (%rdx)
	movq	(%rsi), %rdx
	movq	%rax, (%rdx,%rcx,8)
	incq	(%rdi)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	cmpl	(%r15), %ebx
	jge	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_NCT6683_REG_MON_CFG
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_nct6683_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$127, %eax
	cmpq	%rax, (%r13)
	jbe	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rcx
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_MON_VOLTAGE_START@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jbe	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rcx
	leaq	(,%rcx,4), %rdx
	addq	16(%r14), %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdi
	jmp	LBB0_7
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NCT6683_NUM_REG_MON,4,2        ## @NCT6683_NUM_REG_MON
	.comm	_NUM_MON_LABELS,8,3             ## @NUM_MON_LABELS
	.comm	_nct6683_mon_label,8,3          ## @nct6683_mon_label
	.comm	_MON_VOLTAGE_START,8,3          ## @MON_VOLTAGE_START
	.no_dead_strip	_nct6683_setup_sensors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nct6683_setup_sensors
_nct6683_setup_sensors:                 ; @nct6683_setup_sensors
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
	str	xzr, [x21, #8]!
	str	xzr, [x0]
Lloh0:
	adrp	x22, _NCT6683_NUM_REG_MON@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NCT6683_NUM_REG_MON@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x19, x0
	mov	w20, #0
	add	x23, x0, #40
	add	x24, x0, #24
Lloh2:
	adrp	x25, _NUM_MON_LABELS@GOTPAGE
Lloh3:
	ldr	x25, [x25, _NUM_MON_LABELS@GOTPAGEOFF]
Lloh4:
	adrp	x26, _nct6683_mon_label@GOTPAGE
Lloh5:
	ldr	x26, [x26, _nct6683_mon_label@GOTPAGEOFF]
Lloh6:
	adrp	x27, _MON_VOLTAGE_START@GOTPAGE
Lloh7:
	ldr	x27, [x27, _MON_VOLTAGE_START@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x19, #32]
	ldr	x9, [x19, #8]
	add	x10, x10, x9, lsl #2
	mov	x11, x23
	mov	x12, x21
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	w20, [x10]
	ldr	x10, [x11]
	str	x8, [x10, x9, lsl #3]
	ldr	x8, [x12]
	add	x8, x8, #1
	str	x8, [x12]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w20, w20, #1
	ldr	w8, [x22]
	cmp	w20, w8
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_NCT6683_REG_MON_CFG
	mov	x1, x0
	mov	x0, x19
	bl	_nct6683_read
	and	w8, w0, #0x7f
	ldr	x9, [x25]
	cmp	x9, x8
	b.ls	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x26]
	ldr	x9, [x9, x8, lsl #3]
	cbz	x9, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x27]
	cmp	x9, x8
	b.ls	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x19, #16]
	ldr	x9, [x19]
	add	x10, x10, x9, lsl #2
	mov	x11, x24
	mov	x12, x19
	b	LBB0_3
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_NCT6683_NUM_REG_MON,4,2        ; @NCT6683_NUM_REG_MON
	.comm	_NUM_MON_LABELS,8,3             ; @NUM_MON_LABELS
	.comm	_nct6683_mon_label,8,3          ; @nct6683_mon_label
	.comm	_MON_VOLTAGE_START,8,3          ; @MON_VOLTAGE_START
	.no_dead_strip	_nct6683_setup_sensors
.subsections_via_symbols
