	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acerhdf_get_mode
_acerhdf_get_mode:                      ## @acerhdf_get_mode
	.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
	movq	%rsi, %rbx
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_kernelmode@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_pr_notice
LBB0_2:
	movq	_kernelmode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.4:
	movq	_THERMAL_DEVICE_DISABLED@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_THERMAL_DEVICE_ENABLED@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbose,8,3                    ## @verbose
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kernel mode fan control %d\n"

	.comm	_kernelmode,8,3                 ## @kernelmode
	.comm	_THERMAL_DEVICE_ENABLED,4,2     ## @THERMAL_DEVICE_ENABLED
	.comm	_THERMAL_DEVICE_DISABLED,4,2    ## @THERMAL_DEVICE_DISABLED
	.no_dead_strip	_acerhdf_get_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acerhdf_get_mode
_acerhdf_get_mode:                      ; @acerhdf_get_mode
	.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	x19, x1
Lloh0:
	adrp	x8, _verbose@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x20, _kernelmode@GOTPAGE
Lloh4:
	ldr	x20, [x20, _kernelmode@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x1, [x20]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_notice
LBB0_2:
Lloh7:
	adrp	x8, _THERMAL_DEVICE_ENABLED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _THERMAL_DEVICE_ENABLED@GOTPAGEOFF]
Lloh9:
	adrp	x9, _THERMAL_DEVICE_DISABLED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _THERMAL_DEVICE_DISABLED@GOTPAGEOFF]
	ldr	x10, [x20]
	cmp	x10, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_verbose,8,3                    ; @verbose
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kernel mode fan control %d\n"

	.comm	_kernelmode,8,3                 ; @kernelmode
	.comm	_THERMAL_DEVICE_ENABLED,4,2     ; @THERMAL_DEVICE_ENABLED
	.comm	_THERMAL_DEVICE_DISABLED,4,2    ; @THERMAL_DEVICE_DISABLED
	.no_dead_strip	_acerhdf_get_mode
.subsections_via_symbols
