	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvc0_graph_init_gpc_1
_nvc0_graph_init_gpc_1:                 ## @nvc0_graph_init_gpc_1
	.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
	cmpl	$0, (%rdi)
	jle	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %edi
	movl	$11408, %esi                    ## imm = 0x2C90
	callq	_GPC_UNIT
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$-1, %edx
	callq	_nv_wr32
	movl	%r15d, %edi
	movl	$11412, %esi                    ## imm = 0x2C94
	callq	_GPC_UNIT
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$-1, %edx
	callq	_nv_wr32
	incq	%r15
	movslq	(%r14), %rax
	cmpq	%rax, %r15
	jge	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movl	%r15d, %edi
	movl	$1056, %esi                     ## imm = 0x420
	callq	_GPC_UNIT
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nv_wr32
	movl	%r15d, %edi
	movl	$2304, %esi                     ## imm = 0x900
	callq	_GPC_UNIT
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nv_wr32
	movl	%r15d, %edi
	movl	$4136, %esi                     ## imm = 0x1028
	callq	_GPC_UNIT
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nv_wr32
	movl	%r15d, %edi
	movl	$2084, %esi                     ## imm = 0x824
	callq	_GPC_UNIT
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nv_wr32
	movq	8(%r14), %rax
	cmpl	$0, (%rax,%r15,4)
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	$1288, %edx                     ## imm = 0x508
	callq	_TPC_UNIT
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$-1, %edx
	callq	_nv_wr32
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	$1292, %edx                     ## imm = 0x50C
	callq	_TPC_UNIT
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$-1, %edx
	callq	_nv_wr32
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	$548, %edx                      ## imm = 0x224
	callq	_TPC_UNIT
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nv_wr32
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	$1164, %edx                     ## imm = 0x48C
	callq	_TPC_UNIT
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nv_wr32
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	$132, %edx
	callq	_TPC_UNIT
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nv_wr32
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	$1604, %edx                     ## imm = 0x644
	callq	_TPC_UNIT
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$2097150, %edx                  ## imm = 0x1FFFFE
	callq	_nv_wr32
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	$1612, %edx                     ## imm = 0x64C
	callq	_TPC_UNIT
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$15, %edx
	callq	_nv_wr32
	incl	%ebx
	movq	8(%r14), %rax
	cmpl	(%rax,%r15,4), %ebx
	jl	LBB0_4
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nvc0_graph_init_gpc_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvc0_graph_init_gpc_1
_nvc0_graph_init_gpc_1:                 ; @nvc0_graph_init_gpc_1
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x19, x0
	mov	x20, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	w1, #11408
	bl	_GPC_UNIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1
	bl	_nv_wr32
	mov	x0, x20
	mov	w1, #11412
	bl	_GPC_UNIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1
	bl	_nv_wr32
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	x0, x20
	mov	w1, #1056
	bl	_GPC_UNIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1073741824
	bl	_nv_wr32
	mov	x0, x20
	mov	w1, #2304
	bl	_GPC_UNIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1073741824
	bl	_nv_wr32
	mov	x0, x20
	mov	w1, #4136
	bl	_GPC_UNIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1073741824
	bl	_nv_wr32
	mov	x0, x20
	mov	w1, #2084
	bl	_GPC_UNIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1073741824
	bl	_nv_wr32
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x20, lsl #2]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w21, #0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1288
	bl	_TPC_UNIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1
	bl	_nv_wr32
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1292
	bl	_TPC_UNIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1
	bl	_nv_wr32
	mov	x0, x20
	mov	x1, x21
	mov	w2, #548
	bl	_TPC_UNIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1073741824
	bl	_nv_wr32
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1164
	bl	_TPC_UNIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1073741824
	bl	_nv_wr32
	mov	x0, x20
	mov	x1, x21
	mov	w2, #132
	bl	_TPC_UNIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1073741824
	bl	_nv_wr32
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1604
	bl	_TPC_UNIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #2097150
	bl	_nv_wr32
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1612
	bl	_TPC_UNIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #15
	bl	_nv_wr32
	add	w21, w21, #1
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x20, lsl #2]
	cmp	w21, w8
	b.lt	LBB0_5
	b	LBB0_2
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nvc0_graph_init_gpc_1
.subsections_via_symbols
