	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_g84_therm_new                  ## -- Begin function g84_therm_new
	.p2align	4, 0x90
_g84_therm_new:                         ## @g84_therm_new
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movl	%esi, %edx
	movq	%rdi, %rsi
	movq	_g84_therm@GOTPCREL(%rip), %rdi
	leaq	-24(%rbp), %rcx
	callq	_nvkm_therm_new_
	movl	%eax, %r14d
	movq	-24(%rbp), %rdi
	movq	%rdi, (%rbx)
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_NVKM_THERM_THRS_SHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NVKM_THERM_THRS_LOWER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_nvkm_therm_sensor_set_threshold_state
	movq	-24(%rbp), %rdi
	movq	_NVKM_THERM_THRS_FANBOOST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	callq	_nvkm_therm_sensor_set_threshold_state
	movq	-24(%rbp), %rdi
	movq	_NVKM_THERM_THRS_CRITICAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	callq	_nvkm_therm_sensor_set_threshold_state
	movq	-24(%rbp), %rdi
	movq	_NVKM_THERM_THRS_DOWNCLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	callq	_nvkm_therm_sensor_set_threshold_state
LBB0_2:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g84_therm,4,2                  ## @g84_therm
	.comm	_NVKM_THERM_THRS_SHUTDOWN,4,2   ## @NVKM_THERM_THRS_SHUTDOWN
	.comm	_NVKM_THERM_THRS_LOWER,4,2      ## @NVKM_THERM_THRS_LOWER
	.comm	_NVKM_THERM_THRS_FANBOOST,4,2   ## @NVKM_THERM_THRS_FANBOOST
	.comm	_NVKM_THERM_THRS_CRITICAL,4,2   ## @NVKM_THERM_THRS_CRITICAL
	.comm	_NVKM_THERM_THRS_DOWNCLOCK,4,2  ## @NVKM_THERM_THRS_DOWNCLOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_g84_therm_new                  ; -- Begin function g84_therm_new
	.p2align	2
_g84_therm_new:                         ; @g84_therm_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x2
	mov	x2, x1
	mov	x1, x0
Lloh0:
	adrp	x0, _g84_therm@GOTPAGE
Lloh1:
	ldr	x0, [x0, _g84_therm@GOTPAGEOFF]
	add	x3, sp, #8
	bl	_nvkm_therm_new_
	mov	x19, x0
	ldr	x0, [sp, #8]
	str	x0, [x20]
	cbnz	w19, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _NVKM_THERM_THRS_SHUTDOWN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NVKM_THERM_THRS_SHUTDOWN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x20, _NVKM_THERM_THRS_LOWER@GOTPAGE
Lloh6:
	ldr	x20, [x20, _NVKM_THERM_THRS_LOWER@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_nvkm_therm_sensor_set_threshold_state
	ldr	x0, [sp, #8]
Lloh7:
	adrp	x8, _NVKM_THERM_THRS_FANBOOST@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NVKM_THERM_THRS_FANBOOST@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	w2, [x20]
	bl	_nvkm_therm_sensor_set_threshold_state
	ldr	x0, [sp, #8]
Lloh10:
	adrp	x8, _NVKM_THERM_THRS_CRITICAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NVKM_THERM_THRS_CRITICAL@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	w2, [x20]
	bl	_nvkm_therm_sensor_set_threshold_state
	ldr	x0, [sp, #8]
Lloh13:
	adrp	x8, _NVKM_THERM_THRS_DOWNCLOCK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NVKM_THERM_THRS_DOWNCLOCK@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x20]
	bl	_nvkm_therm_sensor_set_threshold_state
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_g84_therm,4,2                  ; @g84_therm
	.comm	_NVKM_THERM_THRS_SHUTDOWN,4,2   ; @NVKM_THERM_THRS_SHUTDOWN
	.comm	_NVKM_THERM_THRS_LOWER,4,2      ; @NVKM_THERM_THRS_LOWER
	.comm	_NVKM_THERM_THRS_FANBOOST,4,2   ; @NVKM_THERM_THRS_FANBOOST
	.comm	_NVKM_THERM_THRS_CRITICAL,4,2   ; @NVKM_THERM_THRS_CRITICAL
	.comm	_NVKM_THERM_THRS_DOWNCLOCK,4,2  ; @NVKM_THERM_THRS_DOWNCLOCK
.subsections_via_symbols
