	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvc0_graph_init_fw             ## -- Begin function nvc0_graph_init_fw
	.p2align	4, 0x90
_nvc0_graph_init_fw:                    ## @nvc0_graph_init_fw
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rdi, %r13
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	addq	$448, %rsi                      ## imm = 0x1C0
	movl	$16777216, %edx                 ## imm = 0x1000000
	callq	_nv_wr32
	cmpl	$4, (%rbx)
	jl	LBB0_3
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	452(%rax), %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movl	(%rax,%r14,4), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_nv_wr32
	incq	%r14
	movl	(%rbx), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rax
	cmpq	%rax, %r14
	jl	LBB0_2
LBB0_3:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	leaq	384(%r14), %rsi
	movq	%r13, %rdi
	movl	$16777216, %edx                 ## imm = 0x1000000
	callq	_nv_wr32
	cmpl	$4, (%r15)
	jl	LBB0_8
## %bb.4:
	leaq	392(%r14), %r12
	addq	$388, %r14                      ## imm = 0x184
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_nv_wr32
	incq	%rbx
	movl	(%r15), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rax
	cmpq	%rax, %rbx
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testb	$63, %bl
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %edx
	shrl	$6, %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_nv_wr32
	jmp	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvc0_graph_init_fw             ; -- Begin function nvc0_graph_init_fw
	.p2align	2
_nvc0_graph_init_fw:                    ; @nvc0_graph_init_fw
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	add	x1, x1, #448
	mov	w2, #16777216
	bl	_nv_wr32
	ldr	w8, [x22]
	cmp	w8, #4
	b.lt	LBB0_3
; %bb.1:
	mov	x24, #0
	add	x23, x21, #452
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldr	w2, [x8, x24, lsl #2]
	mov	x0, x20
	mov	x1, x23
	bl	_nv_wr32
	add	x24, x24, #1
	ldr	w8, [x22]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
	cmp	x24, w8, sxtw
	b.lt	LBB0_2
LBB0_3:
	add	x1, x21, #384
	mov	x0, x20
	mov	w2, #16777216
	bl	_nv_wr32
	ldr	w8, [x19]
	cmp	w8, #4
	b.lt	LBB0_8
; %bb.4:
	mov	x23, #0
	add	x22, x21, #392
	add	x21, x21, #388
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	ldr	w2, [x8, x23, lsl #2]
	mov	x0, x20
	mov	x1, x21
	bl	_nv_wr32
	add	x23, x23, #1
	ldr	w8, [x19]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
	cmp	x23, w8, sxtw
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	tst	w23, #0x3f
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ubfx	x2, x23, #6, #26
	mov	x0, x20
	mov	x1, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_nv_wr32
	b	LBB0_5
LBB0_8:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
