	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function g84_therm_program_alarms
_g84_therm_program_alarms:              ## @g84_therm_program_alarms
	.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	%rdi, %rbx
	leaq	8(%rdi), %r14
	movq	8(%rdi), %r15
	callq	_spin_lock_irqsave
	movq	%r15, %rdi
	movl	$131072, %esi                   ## imm = 0x20000
	movl	$1023, %edx                     ## imm = 0x3FF
	callq	_nvkm_wr32
	movl	16(%rbx), %edx
	movq	%r15, %rdi
	movl	$132228, %esi                   ## imm = 0x20484
	callq	_nvkm_wr32
	movl	20(%rbx), %edx
	movq	%r15, %rdi
	movl	$132224, %esi                   ## imm = 0x20480
	callq	_nvkm_wr32
	movl	40(%rbx), %edx
	movq	%r15, %rdi
	movl	$132292, %esi                   ## imm = 0x204C4
	callq	_nvkm_wr32
	movl	24(%rbx), %edx
	movq	%r15, %rdi
	movl	$132288, %esi                   ## imm = 0x204C0
	callq	_nvkm_wr32
	movl	32(%rbx), %edx
	movq	%r15, %rdi
	movl	$132116, %esi                   ## imm = 0x20414
	callq	_nvkm_wr32
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movl	40(%rbx), %edx
	movl	44(%rbx), %ecx
	movl	32(%rbx), %r8d
	movl	36(%rbx), %r9d
	movl	24(%rbx), %r10d
	movl	28(%rbx), %r11d
	movl	16(%rbx), %eax
	movl	20(%rbx), %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	pushq	%rax
	pushq	%rbx
	pushq	%r11
	pushq	%r10
	callq	_nvkm_debug
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Programmed thresholds [ %d(%d), %d(%d), %d(%d), %d(%d) ]\n"

	.no_dead_strip	_g84_therm_program_alarms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function g84_therm_program_alarms
_g84_therm_program_alarms:              ; @g84_therm_program_alarms
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	mov	x19, x0
	ldr	x21, [x19, #8]!
	bl	_spin_lock_irqsave
	mov	x0, x21
	mov	w1, #131072
	mov	w2, #1023
	bl	_nvkm_wr32
	ldr	w2, [x20, #16]
	mov	w22, #1044
	movk	w22, #2, lsl #16
	add	w1, w22, #112
	mov	x0, x21
	bl	_nvkm_wr32
	ldr	w2, [x20, #20]
	add	w1, w22, #108
	mov	x0, x21
	bl	_nvkm_wr32
	ldr	w2, [x20, #40]
	add	w1, w22, #176
	mov	x0, x21
	bl	_nvkm_wr32
	ldr	w2, [x20, #24]
	add	w1, w22, #172
	mov	x0, x21
	bl	_nvkm_wr32
	ldr	w2, [x20, #32]
	mov	x0, x21
	mov	w1, #1044
	movk	w1, #2, lsl #16
	bl	_nvkm_wr32
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldp	w2, w3, [x20, #40]
	ldp	w4, w5, [x20, #32]
	ldp	w6, w7, [x20, #24]
	ldp	w9, w8, [x20, #16]
	stp	w8, w9, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_nvkm_debug
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Programmed thresholds [ %d(%d), %d(%d), %d(%d), %d(%d) ]\n"

	.no_dead_strip	_g84_therm_program_alarms
.subsections_via_symbols
