	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvc0_ibus_intr
_nvc0_ibus_intr:                        ## @nvc0_ibus_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$1186904, %esi                  ## imm = 0x121C58
	callq	_nv_rd32
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movl	$1186908, %esi                  ## imm = 0x121C5C
	callq	_nv_rd32
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movl	$1186928, %esi                  ## imm = 0x121C70
	callq	_nv_rd32
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movl	$1186932, %esi                  ## imm = 0x121C74
	callq	_nv_rd32
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$1186936, %esi                  ## imm = 0x121C78
	callq	_nv_rd32
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testl	$65280, %r13d                   ## imm = 0xFF00
	je	LBB0_6
## %bb.1:
	testl	%r15d, %r15d
	jle	LBB0_6
## %bb.2:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rbx), %ecx
	movl	$256, %r14d                     ## imm = 0x100
	shll	%cl, %r14d
	testl	%r14d, %r13d
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ecx, %esi
	callq	_nvc0_ibus_intr_hub
	notl	%r14d
	andl	%r14d, %r13d
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	$65280, %r13d                   ## imm = 0xFF00
	je	LBB0_6
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	leal	1(%rbx), %eax
	cmpl	%r15d, %ebx
	movl	%eax, %ebx
	jl	LBB0_3
LBB0_6:
	cmpl	$65536, %r13d                   ## imm = 0x10000
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jb	LBB0_13
## %bb.7:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_13
## %bb.8:
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%r14), %ecx
	movl	$65536, %ebx                    ## imm = 0x10000
	shll	%cl, %ebx
	testl	%ebx, %r13d
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	movl	%ecx, %esi
	callq	_nvc0_ibus_intr_rop
	notl	%ebx
	andl	%ebx, %r13d
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$65536, %r13d                   ## imm = 0x10000
	jb	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	leal	1(%r14), %eax
	cmpl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	movl	%eax, %r14d
	jl	LBB0_9
LBB0_13:
	testl	%r12d, %r12d
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_20
## %bb.14:
	testl	%r13d, %r13d
	jle	LBB0_20
## %bb.15:
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	leal	-1(%r14), %ecx
	movl	$1, %ebx
	shll	%cl, %ebx
	btl	%ecx, %r12d
	jae	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%r15, %rdi
	movl	%ecx, %esi
	callq	_nvc0_ibus_intr_gpc
	notl	%ebx
	andl	%ebx, %r12d
LBB0_18:                                ##   in Loop: Header=BB0_16 Depth=1
	testl	%r12d, %r12d
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	leal	1(%r14), %eax
	cmpl	%r13d, %r14d
	movl	%eax, %r14d
	jl	LBB0_16
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nvc0_ibus_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvc0_ibus_intr
_nvc0_ibus_intr:                        ; @nvc0_ibus_intr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	mov	w21, #7256
	movk	w21, #18, lsl #16
	mov	w1, #7256
	movk	w1, #18, lsl #16
	bl	_nv_rd32
	mov	x22, x0
	orr	w1, w21, #0x4
	mov	x0, x19
	bl	_nv_rd32
	mov	x20, x0
	add	w1, w21, #24
	mov	x0, x19
	bl	_nv_rd32
	mov	x24, x0
	add	w1, w21, #28
	mov	x0, x19
	bl	_nv_rd32
	mov	x23, x0
	orr	w1, w21, #0x20
	mov	x0, x19
	bl	_nv_rd32
	mov	x21, x0
	tst	w22, #0xff00
	b.eq	LBB0_7
; %bb.1:
	cmp	w24, #1
	b.lt	LBB0_7
; %bb.2:
	mov	w26, #1
	mov	w25, #256
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w1, w26, #1
	lsl	w27, w25, w1
	tst	w22, w27
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_nvc0_ibus_intr_hub
	bic	w22, w22, w27
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	tst	w22, #0xff00
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w26, #1
	cmp	w26, w24
	mov	x26, x8
	b.lt	LBB0_3
LBB0_7:
	cmp	w22, #16, lsl #12               ; =65536
	b.lo	LBB0_14
; %bb.8:
	cmp	w23, #1
	b.lt	LBB0_14
; %bb.9:
	mov	w24, #1
	mov	w25, #65536
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sub	w1, w24, #1
	lsl	w26, w25, w1
	tst	w22, w26
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_nvc0_ibus_intr_rop
	bic	w22, w22, w26
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=1
	cmp	w22, #16, lsl #12               ; =65536
	b.lo	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w8, w24, #1
	cmp	w24, w23
	mov	x24, x8
	b.lt	LBB0_10
LBB0_14:
	cbz	w20, LBB0_21
; %bb.15:
	cmp	w21, #1
	b.lt	LBB0_21
; %bb.16:
	mov	w22, #1
	mov	w23, #1
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	sub	w1, w23, #1
	lsl	w24, w22, w1
	tst	w20, w24
	b.eq	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x19
	bl	_nvc0_ibus_intr_gpc
	bic	w20, w20, w24
LBB0_19:                                ;   in Loop: Header=BB0_17 Depth=1
	cbz	w20, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	add	w8, w23, #1
	cmp	w23, w21
	mov	x23, x8
	b.lt	LBB0_17
LBB0_21:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nvc0_ibus_intr
.subsections_via_symbols
