	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function abituguru_detect_no_bank2_sensors
_abituguru_detect_no_bank2_sensors:     ## @abituguru_detect_no_bank2_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_fan_sensors@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_ABIT_UGURU_MAX_BANK2_SENSORS@GOTPCREL(%rip), %r15
	testq	%rdx, %rdx
	jle	LBB0_4
## %bb.1:
	cmpq	(%r15), %rdx
	jg	LBB0_4
## %bb.2:
	movl	%edx, (%r14)
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	jmp	LBB0_3
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_ABIT_UGURU_DEBUG
	movq	(%r15), %rdx
	testq	%rdx, %rdx
	jle	LBB0_15
## %bb.5:
	movq	8(%r14), %rsi
	movq	_abituguru_bank2_min_threshold@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_abituguru_bank2_max_threshold@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rbx,8), %rdi
	movl	(%rdi), %ecx
	testl	$-202, %ecx
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	4(%rdi), %ecx
	cmpl	%r8d, %ecx
	jl	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%eax, %ecx
	jg	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	cmpq	%rbx, %rdx
	jne	LBB0_6
## %bb.14:
	movl	%edx, %ebx
	jmp	LBB0_15
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	movl	$2, %edi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_ABIT_UGURU_DEBUG
	jmp	LBB0_15
LBB0_9:
	leaq	L_.str.3(%rip), %rsi
	movl	$2, %edi
	movl	%ebx, %edx
	jmp	LBB0_10
LBB0_12:
	leaq	L_.str.4(%rip), %rsi
	movl	$2, %edi
	movl	%ebx, %edx
	movl	%eax, %r8d
LBB0_10:
	xorl	%eax, %eax
	callq	_ABIT_UGURU_DEBUG
LBB0_15:
	movl	%ebx, (%r14)
	leaq	L_.str.5(%rip), %rsi
	movl	$2, %edi
	movl	%ebx, %edx
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ABIT_UGURU_DEBUG               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_fan_sensors,8,3                ## @fan_sensors
	.comm	_ABIT_UGURU_MAX_BANK2_SENSORS,8,3 ## @ABIT_UGURU_MAX_BANK2_SENSORS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"assuming %d fan sensors because of \"fan_sensors\" module param\n"

L_.str.1:                               ## @.str.1
	.asciz	"detecting number of fan sensors\n"

L_.str.2:                               ## @.str.2
	.asciz	"  bank2 sensor %d does not seem to be a fan sensor: settings[0] = %02X\n"

	.comm	_abituguru_bank2_min_threshold,4,2 ## @abituguru_bank2_min_threshold
L_.str.3:                               ## @.str.3
	.asciz	"  bank2 sensor %d does not seem to be a fan sensor: the threshold (%d) is below the minimum (%d)\n"

	.comm	_abituguru_bank2_max_threshold,4,2 ## @abituguru_bank2_max_threshold
L_.str.4:                               ## @.str.4
	.asciz	"  bank2 sensor %d does not seem to be a fan sensor: the threshold (%d) is above the maximum (%d)\n"

L_.str.5:                               ## @.str.5
	.asciz	" found: %d fan sensors\n"

	.no_dead_strip	_abituguru_detect_no_bank2_sensors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function abituguru_detect_no_bank2_sensors
_abituguru_detect_no_bank2_sensors:     ; @abituguru_detect_no_bank2_sensors
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _fan_sensors@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fan_sensors@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x20, _ABIT_UGURU_MAX_BANK2_SENSORS@GOTPAGE
Lloh4:
	ldr	x20, [x20, _ABIT_UGURU_MAX_BANK2_SENSORS@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, #1
	ccmp	x8, x9, #0, ge
	b.le	LBB0_8
; %bb.1:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	bl	_ABIT_UGURU_DEBUG
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x20, #0
Lloh7:
	adrp	x9, _abituguru_bank2_min_threshold@GOTPAGE
Lloh8:
	ldr	x9, [x9, _abituguru_bank2_min_threshold@GOTPAGEOFF]
	ldr	x11, [x19, #8]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _abituguru_bank2_max_threshold@GOTPAGE
Lloh11:
	ldr	x10, [x10, _abituguru_bank2_max_threshold@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	mov	w12, #-202
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x11, x20, lsl #3]
	ldr	w13, [x14]
	tst	w13, w12
	b.ne	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w13, [x14, #4]
	cmp	w13, w9
	b.lt	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w13, w10
	b.gt	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	cmp	x8, x20
	b.ne	LBB0_3
; %bb.7:
	mov	x20, x8
	b	LBB0_14
LBB0_8:
	str	w8, [x19]
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_15
LBB0_9:
	mov	w20, #0
	b	LBB0_14
LBB0_10:
	stp	x20, x13, [sp]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_11:
	stp	x13, x9, [sp, #8]
	str	x20, [sp]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_12:
                                        ; kill: def $w13 killed $w13 killed $x13 def $x13
	stp	x13, x10, [sp, #8]
	str	x20, [sp]
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_13:
	mov	w0, #2
	bl	_ABIT_UGURU_DEBUG
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
LBB0_14:
	str	w20, [x19]
	str	x20, [sp]
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_15:
	mov	w0, #2
	bl	_ABIT_UGURU_DEBUG
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_fan_sensors,8,3                ; @fan_sensors
	.comm	_ABIT_UGURU_MAX_BANK2_SENSORS,8,3 ; @ABIT_UGURU_MAX_BANK2_SENSORS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"assuming %d fan sensors because of \"fan_sensors\" module param\n"

l_.str.1:                               ; @.str.1
	.asciz	"detecting number of fan sensors\n"

l_.str.2:                               ; @.str.2
	.asciz	"  bank2 sensor %d does not seem to be a fan sensor: settings[0] = %02X\n"

	.comm	_abituguru_bank2_min_threshold,4,2 ; @abituguru_bank2_min_threshold
l_.str.3:                               ; @.str.3
	.asciz	"  bank2 sensor %d does not seem to be a fan sensor: the threshold (%d) is below the minimum (%d)\n"

	.comm	_abituguru_bank2_max_threshold,4,2 ; @abituguru_bank2_max_threshold
l_.str.4:                               ; @.str.4
	.asciz	"  bank2 sensor %d does not seem to be a fan sensor: the threshold (%d) is above the maximum (%d)\n"

l_.str.5:                               ; @.str.5
	.asciz	" found: %d fan sensors\n"

	.no_dead_strip	_abituguru_detect_no_bank2_sensors
.subsections_via_symbols
