	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_therm_sensor_event     ## -- Begin function nouveau_therm_sensor_event
	.p2align	4, 0x90
_nouveau_therm_sensor_event:            ## @nouveau_therm_sensor_event
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	*(%rdi)
	cmpl	$3, %r15d
	jbe	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_NOUVEAU_THERM_THRS_FALLING@GOTPCREL(%rip), %rdx
	movl	%r15d, %ecx
	leaq	l_reltable.nouveau_therm_sensor_event(%rip), %rsi
	movslq	(%rsi,%rcx,4), %rcx
	addq	%rsi, %rcx
	cmpl	%r14d, (%rdx)
	leaq	L_.str.4(%rip), %rdx
	leaq	L_.str.5(%rip), %rsi
	cmoveq	%rdx, %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nv_info                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fanboost"

L_.str.1:                               ## @.str.1
	.asciz	"downclock"

L_.str.2:                               ## @.str.2
	.asciz	"critical"

L_.str.3:                               ## @.str.3
	.asciz	"shutdown"

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.nouveau_therm_sensor_event
l_reltable.nouveau_therm_sensor_event:
	.long	L_.str-l_reltable.nouveau_therm_sensor_event
	.long	L_.str.1-l_reltable.nouveau_therm_sensor_event
	.long	L_.str.2-l_reltable.nouveau_therm_sensor_event
	.long	L_.str.3-l_reltable.nouveau_therm_sensor_event

	.comm	_NOUVEAU_THERM_THRS_FALLING,4,2 ## @NOUVEAU_THERM_THRS_FALLING
	.section	__TEXT,__cstring,cstring_literals
L_.str.4:                               ## @.str.4
	.asciz	"temperature (%i C) went below the '%s' threshold\n"

L_.str.5:                               ## @.str.5
	.asciz	"temperature (%i C) hit the '%s' threshold\n"

	.comm	_NOUVEAU_THERM_THRS_RISING,4,2  ## @NOUVEAU_THERM_THRS_RISING
	.comm	_NOUVEAU_THERM_CTRL_AUTO,4,2    ## @NOUVEAU_THERM_CTRL_AUTO
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_nv_poweroff_work,4,2           ## @nv_poweroff_work
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_therm_sensor_event     ; -- Begin function nouveau_therm_sensor_event
	.p2align	2
_nouveau_therm_sensor_event:            ; @nouveau_therm_sensor_event
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
	blr	x8
	cmp	w21, #3
	b.ls	LBB0_2
; %bb.1:
	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
LBB0_2:
	mov	x2, x0
Lloh0:
	adrp	x8, _NOUVEAU_THERM_THRS_FALLING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NOUVEAU_THERM_THRS_FALLING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, l___const.nouveau_therm_sensor_event.thresolds@PAGE
Lloh4:
	add	x9, x9, l___const.nouveau_therm_sensor_event.thresolds@PAGEOFF
	ldr	x3, [x9, w21, uxtw #3]
Lloh5:
	adrp	x9, l_.str.5@PAGE
Lloh6:
	add	x9, x9, l_.str.5@PAGEOFF
Lloh7:
	adrp	x10, l_.str.4@PAGE
Lloh8:
	add	x10, x10, l_.str.4@PAGEOFF
	cmp	w8, w20
	csel	x1, x10, x9, eq
	mov	x0, x19
	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
	b	_nv_info
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fanboost"

l_.str.1:                               ; @.str.1
	.asciz	"downclock"

l_.str.2:                               ; @.str.2
	.asciz	"critical"

l_.str.3:                               ; @.str.3
	.asciz	"shutdown"

	.section	__DATA,__const
	.p2align	3                               ; @__const.nouveau_therm_sensor_event.thresolds
l___const.nouveau_therm_sensor_event.thresolds:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3

	.comm	_NOUVEAU_THERM_THRS_FALLING,4,2 ; @NOUVEAU_THERM_THRS_FALLING
	.section	__TEXT,__cstring,cstring_literals
l_.str.4:                               ; @.str.4
	.asciz	"temperature (%i C) went below the '%s' threshold\n"

l_.str.5:                               ; @.str.5
	.asciz	"temperature (%i C) hit the '%s' threshold\n"

	.comm	_NOUVEAU_THERM_THRS_RISING,4,2  ; @NOUVEAU_THERM_THRS_RISING
	.comm	_NOUVEAU_THERM_CTRL_AUTO,4,2    ; @NOUVEAU_THERM_CTRL_AUTO
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_nv_poweroff_work,4,2           ; @nv_poweroff_work
.subsections_via_symbols
