	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvkm_therm_init
_nvkm_therm_init:                       ## @nvkm_therm_init
	.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
	callq	_nvkm_therm
	movq	%rax, %rbx
	movq	16(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	*%rax
LBB0_2:
	movq	(%rbx), %rax
	testq	%rax, %rax
	js	LBB0_7
## %bb.3:
	je	LBB0_4
## %bb.5:
	movq	8(%rbx), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_nvkm_therm_fan_set
	movq	(%rbx), %rsi
	jmp	LBB0_6
LBB0_4:
	xorl	%esi, %esi
LBB0_6:
	movq	%rbx, %rdi
	callq	_nvkm_therm_fan_mode
LBB0_7:
	movq	%rbx, %rdi
	callq	_nvkm_therm_sensor_init
	movq	%rbx, %rdi
	callq	_nvkm_therm_fan_init
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nvkm_therm_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvkm_therm_init
_nvkm_therm_init:                       ; @nvkm_therm_init
	.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
	bl	_nvkm_therm
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	blr	x8
LBB0_2:
	ldr	x8, [x19]
	tbnz	x8, #63, LBB0_7
; %bb.3:
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #1
	bl	_nvkm_therm_fan_set
	ldr	x1, [x19]
	b	LBB0_6
LBB0_5:
	mov	x1, #0
LBB0_6:
	mov	x0, x19
	bl	_nvkm_therm_fan_mode
LBB0_7:
	mov	x0, x19
	bl	_nvkm_therm_sensor_init
	mov	x0, x19
	bl	_nvkm_therm_fan_init
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nvkm_therm_init
.subsections_via_symbols
