	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acerhdf_check_param
_acerhdf_check_param:                   ## @acerhdf_check_param
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_fanon@GOTPCREL(%rip), %r14
	movq	_ACERHDF_MAX_FANON@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	cmpq	%rsi, (%r14)
	jle	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_pr_err
	movq	(%rbx), %rax
	movq	%rax, (%r14)
LBB0_2:
	movq	_kernelmode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.3:
	movq	_prev_interval@GOTPCREL(%rip), %r14
	movq	_interval@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	cmpl	%esi, (%r14)
	je	LBB0_9
## %bb.4:
	movq	_ACERHDF_MAX_INTERVAL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	cmpl	%eax, %esi
	jle	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_err
	movl	(%rbx), %esi
	movl	%esi, (%r15)
LBB0_6:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_notice
	movl	(%r15), %esi
LBB0_8:
	imull	$1000, %esi, %eax               ## imm = 0x3E8
	movl	%eax, (%r12)
	movl	(%r15), %eax
	movl	%eax, (%r14)
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fanon,8,3                      ## @fanon
	.comm	_ACERHDF_MAX_FANON,8,3          ## @ACERHDF_MAX_FANON
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fanon temperature too high, set to %d\n"

	.comm	_kernelmode,8,3                 ## @kernelmode
	.comm	_prev_interval,4,2              ## @prev_interval
	.comm	_interval,4,2                   ## @interval
	.comm	_ACERHDF_MAX_INTERVAL,4,2       ## @ACERHDF_MAX_INTERVAL
L_.str.1:                               ## @.str.1
	.asciz	"interval too high, set to %d\n"

	.comm	_verbose,8,3                    ## @verbose
L_.str.2:                               ## @.str.2
	.asciz	"interval changed to: %d\n"

	.no_dead_strip	_acerhdf_check_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acerhdf_check_param
_acerhdf_check_param:                   ; @acerhdf_check_param
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _fanon@GOTPAGE
Lloh1:
	ldr	x20, [x20, _fanon@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x21, _ACERHDF_MAX_FANON@GOTPAGE
Lloh3:
	ldr	x21, [x21, _ACERHDF_MAX_FANON@GOTPAGEOFF]
	ldr	x1, [x21]
	cmp	x8, x1
	b.le	LBB0_2
; %bb.1:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_pr_err
	ldr	x8, [x21]
	str	x8, [x20]
LBB0_2:
Lloh6:
	adrp	x8, _kernelmode@GOTPAGE
Lloh7:
	ldr	x8, [x8, _kernelmode@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.3:
Lloh9:
	adrp	x20, _prev_interval@GOTPAGE
Lloh10:
	ldr	x20, [x20, _prev_interval@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh11:
	adrp	x21, _interval@GOTPAGE
Lloh12:
	ldr	x21, [x21, _interval@GOTPAGEOFF]
	ldr	w1, [x21]
	cmp	w8, w1
	b.eq	LBB0_9
; %bb.4:
Lloh13:
	adrp	x22, _ACERHDF_MAX_INTERVAL@GOTPAGE
Lloh14:
	ldr	x22, [x22, _ACERHDF_MAX_INTERVAL@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w1, w8
	b.le	LBB0_6
; %bb.5:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x8
	bl	_pr_err
	ldr	w1, [x22]
	str	w1, [x21]
LBB0_6:
Lloh17:
	adrp	x8, _verbose@GOTPAGE
Lloh18:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_notice
	ldr	w1, [x21]
LBB0_8:
	mov	w8, #1000
	mul	w8, w1, w8
	str	w8, [x19]
	ldr	w8, [x21]
	str	w8, [x20]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_fanon,8,3                      ; @fanon
	.comm	_ACERHDF_MAX_FANON,8,3          ; @ACERHDF_MAX_FANON
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fanon temperature too high, set to %d\n"

	.comm	_kernelmode,8,3                 ; @kernelmode
	.comm	_prev_interval,4,2              ; @prev_interval
	.comm	_interval,4,2                   ; @interval
	.comm	_ACERHDF_MAX_INTERVAL,4,2       ; @ACERHDF_MAX_INTERVAL
l_.str.1:                               ; @.str.1
	.asciz	"interval too high, set to %d\n"

	.comm	_verbose,8,3                    ; @verbose
l_.str.2:                               ; @.str.2
	.asciz	"interval changed to: %d\n"

	.no_dead_strip	_acerhdf_check_param
.subsections_via_symbols
