	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_therm_ctor                ## -- Begin function nvkm_therm_ctor
	.p2align	4, 0x90
_nvkm_therm_ctor:                       ## @nvkm_therm_ctor
	.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	%rcx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	48(%rdi), %rcx
	movq	_nvkm_therm@GOTPCREL(%rip), %rdi
	callq	_nvkm_subdev_ctor
	movq	%r15, 40(%rbx)
	leaq	36(%rbx), %rdi
	movq	_nvkm_therm_alarm@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nvkm_alarm_init
	leaq	32(%rbx), %rdi
	callq	_spin_lock_init
	leaq	28(%rbx), %rdi
	callq	_spin_lock_init
	movq	_nvkm_therm_fan_user_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_nvkm_therm_fan_user_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_nvkm_therm_attr_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_nvkm_therm_attr_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	$-1, (%rbx)
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	callq	_nvkm_boolopt
	movl	%eax, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nvkm_therm,4,2                 ## @nvkm_therm
	.comm	_nvkm_therm_alarm,4,2           ## @nvkm_therm_alarm
	.comm	_nvkm_therm_fan_user_get,4,2    ## @nvkm_therm_fan_user_get
	.comm	_nvkm_therm_fan_user_set,4,2    ## @nvkm_therm_fan_user_set
	.comm	_nvkm_therm_attr_get,4,2        ## @nvkm_therm_attr_get
	.comm	_nvkm_therm_attr_set,4,2        ## @nvkm_therm_attr_set
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NvPmEnableGating"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_therm_ctor                ; -- Begin function nvkm_therm_ctor
	.p2align	2
_nvkm_therm_ctor:                       ; @nvkm_therm_ctor
	.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, x3
	mov	x20, x1
	mov	x21, x0
	add	x3, x0, #48
Lloh0:
	adrp	x0, _nvkm_therm@GOTPAGE
Lloh1:
	ldr	x0, [x0, _nvkm_therm@GOTPAGEOFF]
	bl	_nvkm_subdev_ctor
	str	x19, [x21, #40]
	add	x0, x21, #36
Lloh2:
	adrp	x8, _nvkm_therm_alarm@GOTPAGE
Lloh3:
	ldr	x8, [x8, _nvkm_therm_alarm@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_nvkm_alarm_init
	add	x0, x21, #32
	bl	_spin_lock_init
	add	x0, x21, #28
	bl	_spin_lock_init
Lloh5:
	adrp	x8, _nvkm_therm_fan_user_get@GOTPAGE
Lloh6:
	ldr	x8, [x8, _nvkm_therm_fan_user_get@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _nvkm_therm_fan_user_set@GOTPAGE
Lloh9:
	ldr	x9, [x9, _nvkm_therm_fan_user_set@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #20]
Lloh11:
	adrp	x8, _nvkm_therm_attr_get@GOTPAGE
Lloh12:
	ldr	x8, [x8, _nvkm_therm_attr_get@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _nvkm_therm_attr_set@GOTPAGE
Lloh15:
	ldr	x9, [x9, _nvkm_therm_attr_set@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #12]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x21]
	ldr	w0, [x20]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #0
	bl	_nvkm_boolopt
	str	w0, [x21, #8]
	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 AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_nvkm_therm,4,2                 ; @nvkm_therm
	.comm	_nvkm_therm_alarm,4,2           ; @nvkm_therm_alarm
	.comm	_nvkm_therm_fan_user_get,4,2    ; @nvkm_therm_fan_user_get
	.comm	_nvkm_therm_fan_user_set,4,2    ; @nvkm_therm_fan_user_set
	.comm	_nvkm_therm_attr_get,4,2        ; @nvkm_therm_attr_get
	.comm	_nvkm_therm_attr_set,4,2        ; @nvkm_therm_attr_set
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NvPmEnableGating"

.subsections_via_symbols
