	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv04_timer_intr                ## -- Begin function nv04_timer_intr
	.p2align	4, 0x90
_nv04_timer_intr:                       ## @nv04_timer_intr
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movq	_NV04_PTIMER_INTR_0@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_nvkm_rd32
	movl	%eax, %ebx
	testb	$1, %bl
	je	LBB0_2
## %bb.1:
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_nvkm_wr32
	movq	%r15, %rdi
	callq	_nvkm_timer_alarm_trigger
	andl	$-2, %ebx
LBB0_2:
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_nvkm_error
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvkm_wr32                      ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NV04_PTIMER_INTR_0,4,2         ## @NV04_PTIMER_INTR_0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"intr %08x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv04_timer_intr                ; -- Begin function nv04_timer_intr
	.p2align	2
_nv04_timer_intr:                       ; @nv04_timer_intr
	.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, x0
	ldr	x19, [x0]
Lloh0:
	adrp	x22, _NV04_PTIMER_INTR_0@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NV04_PTIMER_INTR_0@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_nvkm_rd32
	mov	x21, x0
	tbz	w0, #0, LBB0_2
; %bb.1:
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #1
	bl	_nvkm_wr32
	mov	x0, x20
	bl	_nvkm_timer_alarm_trigger
	and	w21, w21, #0xfffffffe
LBB0_2:
	cbz	w21, LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_nvkm_error
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x21
	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	_nvkm_wr32
LBB0_4:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_NV04_PTIMER_INTR_0,4,2         ; @NV04_PTIMER_INTR_0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"intr %08x\n"

.subsections_via_symbols
