	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvc0_grctx_generate_tp
_nvc0_grctx_generate_tp:                ## @nvc0_grctx_generate_tp
	.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, %rbx
	callq	_nv_device
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	movl	$4298776, %esi                  ## imm = 0x419818
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4298812, %esi                  ## imm = 0x41983C
	movl	$232391, %edx                   ## imm = 0x38BC7
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4298824, %esi                  ## imm = 0x419848
	xorl	%edx, %edx
	callq	_nv_wr32
	cmpl	$217, %r15d
	sete	%al
	cmpl	$193, %r15d
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %r14d
	movl	$298, %edx                      ## imm = 0x12A
	subl	%r14d, %edx
	movq	%rbx, %rdi
	movl	$4298852, %esi                  ## imm = 0x419864
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4298888, %esi                  ## imm = 0x419888
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299264, %esi                  ## imm = 0x419A00
	movl	$496, %edx                      ## imm = 0x1F0
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299268, %esi                  ## imm = 0x419A04
	movl	$1, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299272, %esi                  ## imm = 0x419A08
	movl	$35, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299276, %esi                  ## imm = 0x419A0C
	movl	$131072, %edx                   ## imm = 0x20000
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299280, %esi                  ## imm = 0x419A10
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299284, %esi                  ## imm = 0x419A14
	movl	$512, %edx                      ## imm = 0x200
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299292, %esi                  ## imm = 0x419A1C
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299296, %esi                  ## imm = 0x419A20
	movl	$2048, %edx                     ## imm = 0x800
	callq	_nv_wr32
	movl	$1569856, %edx                  ## imm = 0x17F440
	cmpl	$217, %r15d
	je	LBB0_2
## %bb.1:
	movl	%r15d, %eax
	andl	$-9, %eax
	movl	$521280, %edx                   ## imm = 0x7F440
	cmpl	$192, %eax
	je	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	movl	$4299460, %esi                  ## imm = 0x419AC4
	callq	_nv_wr32
LBB0_3:
	xorl	%r12d, %r12d
	cmpl	$217, %r15d
	sete	%r12b
	movq	%rbx, %rdi
	movl	$4299520, %esi                  ## imm = 0x419B00
	movl	$172066848, %edx                ## imm = 0xA418820
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299524, %esi                  ## imm = 0x419B04
	movl	$102793446, %edx                ## imm = 0x62080E6
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299528, %esi                  ## imm = 0x419B08
	movl	$33790116, %edx                 ## imm = 0x20398A4
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299532, %esi                  ## imm = 0x419B0C
	movl	$241340514, %edx                ## imm = 0xE629062
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299536, %esi                  ## imm = 0x419B10
	movl	$172066848, %edx                ## imm = 0xA418820
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299540, %esi                  ## imm = 0x419B14
	movl	$230, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299728, %esi                  ## imm = 0x419BD0
	movl	$9437443, %edx                  ## imm = 0x900103
	callq	_nv_wr32
	movl	%r14d, %edx
	shll	$22, %edx
	orl	$1, %edx
	movq	%rbx, %rdi
	movl	$4299744, %esi                  ## imm = 0x419BE0
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299748, %esi                  ## imm = 0x419BE4
	xorl	%edx, %edx
	callq	_nv_wr32
	leal	2(,%r12,8), %edx
	movq	%rbx, %rdi
	movl	$4299776, %esi                  ## imm = 0x419C00
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299780, %esi                  ## imm = 0x419C04
	movl	$6, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299784, %esi                  ## imm = 0x419C08
	movl	$2, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299808, %esi                  ## imm = 0x419C20
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	callq	_nv_device
	cmpl	$217, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movl	$4299812, %esi                  ## imm = 0x419C24
	movl	$541200, %edx                   ## imm = 0x84210
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4299816, %esi                  ## imm = 0x419C28
	movl	$1022611260, %edx               ## imm = 0x3CF3CF3C
	callq	_nv_wr32
	movl	$131144, %edx                   ## imm = 0x20048
	jmp	LBB0_6
LBB0_5:
	movl	%r15d, %eax
	andl	$-2, %eax
	xorl	%edx, %edx
	cmpl	$206, %eax
	setne	%dl
	shll	$18, %edx
	orl	$131144, %edx                   ## imm = 0x20048
LBB0_6:
	movq	%rbx, %rdi
	movl	$4299952, %esi                  ## imm = 0x419CB0
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300008, %esi                  ## imm = 0x419CE8
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300020, %esi                  ## imm = 0x419CF4
	movl	$387, %edx                      ## imm = 0x183
	callq	_nv_wr32
	shll	$28, %r14d
	orl	$35127296, %r14d                ## imm = 0x2180000
	movq	%rbx, %rdi
	movl	$4300064, %esi                  ## imm = 0x419D20
	movl	%r14d, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300068, %esi                  ## imm = 0x419D24
	movl	$8191, %edx                     ## imm = 0x1FFF
	callq	_nv_wr32
	cmpl	$217, %r15d
	je	LBB0_8
## %bb.7:
	cmpl	$193, %r15d
	jne	LBB0_9
LBB0_8:
	movq	%rbx, %rdi
	movl	$4300100, %esi                  ## imm = 0x419D44
	movl	$35127832, %edx                 ## imm = 0x2180218
	callq	_nv_wr32
LBB0_9:
	movq	%rbx, %rdi
	movl	$4300292, %esi                  ## imm = 0x419E04
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300296, %esi                  ## imm = 0x419E08
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300300, %esi                  ## imm = 0x419E0C
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300304, %esi                  ## imm = 0x419E10
	movl	$2, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300356, %esi                  ## imm = 0x419E44
	movl	$1830898, %edx                  ## imm = 0x1BEFF2
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300360, %esi                  ## imm = 0x419E48
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300364, %esi                  ## imm = 0x419E4C
	movl	$15, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300368, %esi                  ## imm = 0x419E50
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300372, %esi                  ## imm = 0x419E54
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300376, %esi                  ## imm = 0x419E58
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300380, %esi                  ## imm = 0x419E5C
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300384, %esi                  ## imm = 0x419E60
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300388, %esi                  ## imm = 0x419E64
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300392, %esi                  ## imm = 0x419E68
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300396, %esi                  ## imm = 0x419E6C
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300400, %esi                  ## imm = 0x419E70
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300404, %esi                  ## imm = 0x419E74
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300408, %esi                  ## imm = 0x419E78
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300412, %esi                  ## imm = 0x419E7C
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300416, %esi                  ## imm = 0x419E80
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300420, %esi                  ## imm = 0x419E84
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300424, %esi                  ## imm = 0x419E88
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300428, %esi                  ## imm = 0x419E8C
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300432, %esi                  ## imm = 0x419E90
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300440, %esi                  ## imm = 0x419E98
	xorl	%edx, %edx
	callq	_nv_wr32
	andl	$-9, %r15d
	cmpl	$192, %r15d
	jne	LBB0_11
## %bb.10:
	movl	$4300628, %r14d                 ## imm = 0x419F54
	movl	$4300624, %esi                  ## imm = 0x419F50
	jmp	LBB0_12
LBB0_11:
	movq	%rbx, %rdi
	movl	$4300512, %esi                  ## imm = 0x419EE0
	movl	$69904, %edx                    ## imm = 0x11110
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4300624, %esi                  ## imm = 0x419F50
	xorl	%edx, %edx
	callq	_nv_wr32
	movl	$4300632, %r14d                 ## imm = 0x419F58
	movl	$4300628, %esi                  ## imm = 0x419F54
LBB0_12:
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nv_wr32                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nvc0_grctx_generate_tp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvc0_grctx_generate_tp
_nvc0_grctx_generate_tp:                ; @nvc0_grctx_generate_tp
	.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	x19, x0
	bl	_nv_device
	ldr	w22, [x0]
	mov	w20, #40784
	movk	w20, #65, lsl #16
	sub	w1, w20, #1848
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #1812
	mov	x0, x19
	mov	w2, #35783
	movk	w2, #3, lsl #16
	bl	_nv_wr32
	sub	w1, w20, #1800
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	cmp	w22, #217
	cset	w8, eq
	cmp	w22, #193
	cset	w9, eq
	orr	w23, w8, w9
	cmp	w23, #0
	mov	w8, #297
	cinc	w2, w8, eq
	sub	w1, w20, #1772
	mov	x0, x19
	bl	_nv_wr32
	sub	w1, w20, #1736
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #1360
	mov	x0, x19
	mov	w2, #496
	bl	_nv_wr32
	sub	w1, w20, #1356
	mov	x0, x19
	mov	w2, #1
	bl	_nv_wr32
	sub	w1, w20, #1352
	mov	x0, x19
	mov	w2, #35
	bl	_nv_wr32
	sub	w1, w20, #1348
	mov	x0, x19
	mov	w2, #131072
	bl	_nv_wr32
	sub	w1, w20, #1344
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #1340
	mov	x0, x19
	mov	w2, #512
	bl	_nv_wr32
	sub	w1, w20, #1332
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #1328
	mov	x0, x19
	mov	w2, #2048
	bl	_nv_wr32
	cmp	w22, #217
	b.ne	LBB0_2
; %bb.1:
	mov	w2, #62528
	movk	w2, #23, lsl #16
	b	LBB0_4
LBB0_2:
	and	w8, w22, #0xfffffff7
	cmp	w8, #192
	b.eq	LBB0_5
; %bb.3:
	mov	w2, #62528
	movk	w2, #7, lsl #16
LBB0_4:
	sub	w1, w20, #1164
	mov	x0, x19
	bl	_nv_wr32
LBB0_5:
	mov	w21, #72
	movk	w21, #2, lsl #16
	sub	w1, w20, #1104
	mov	x0, x19
	mov	w2, #34848
	movk	w2, #2625, lsl #16
	bl	_nv_wr32
	sub	w1, w20, #1100
	mov	x0, x19
	mov	w2, #32998
	movk	w2, #1568, lsl #16
	bl	_nv_wr32
	sub	w1, w20, #1096
	mov	x0, x19
	mov	w2, #39076
	movk	w2, #515, lsl #16
	bl	_nv_wr32
	sub	w1, w20, #1092
	mov	x0, x19
	mov	w2, #36962
	movk	w2, #3682, lsl #16
	bl	_nv_wr32
	sub	w1, w20, #1088
	mov	x0, x19
	mov	w2, #34848
	movk	w2, #2625, lsl #16
	bl	_nv_wr32
	sub	w1, w20, #1084
	mov	x0, x19
	mov	w2, #230
	bl	_nv_wr32
	sub	w1, w20, #896
	mov	x0, x19
	mov	w2, #259
	movk	w2, #144, lsl #16
	bl	_nv_wr32
	cmp	w23, #0
	mov	w8, #1
	movk	w8, #64, lsl #16
	csinc	w2, w8, wzr, ne
	sub	w1, w20, #880
	mov	x0, x19
	bl	_nv_wr32
	sub	w1, w20, #876
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	mov	w8, #2
	mov	w9, #10
	cmp	w22, #217
	csel	w2, w9, w8, eq
	sub	w1, w20, #848
	mov	x0, x19
	bl	_nv_wr32
	sub	w1, w20, #844
	mov	x0, x19
	mov	w2, #6
	bl	_nv_wr32
	sub	w1, w20, #840
	mov	x0, x19
	mov	w2, #2
	bl	_nv_wr32
	sub	w1, w20, #816
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	mov	x0, x19
	bl	_nv_device
	ldr	w8, [x0]
	cmp	w8, #217
	b.ne	LBB0_7
; %bb.6:
	sub	w1, w20, #812
	mov	x0, x19
	mov	w2, #16912
	movk	w2, #8, lsl #16
	bl	_nv_wr32
	sub	w1, w20, #808
	mov	x0, x19
	mov	w2, #53052
	movk	w2, #15603, lsl #16
	bl	_nv_wr32
	b	LBB0_8
LBB0_7:
	and	w8, w22, #0xfffffffe
	mov	w9, #72
	movk	w9, #6, lsl #16
	cmp	w8, #206
	csel	w21, w21, w9, eq
LBB0_8:
	sub	w1, w20, #672
	mov	x0, x19
	mov	x2, x21
	bl	_nv_wr32
	sub	w1, w20, #616
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #604
	mov	x0, x19
	mov	w2, #387
	bl	_nv_wr32
	mov	w8, #35127296
	mov	w9, #303562752
	cmp	w23, #0
	csel	w2, w9, w8, ne
	sub	w1, w20, #560
	mov	x0, x19
	bl	_nv_wr32
	sub	w1, w20, #556
	mov	x0, x19
	mov	w2, #8191
	bl	_nv_wr32
	cmp	w22, #217
	b.eq	LBB0_10
; %bb.9:
	cmp	w22, #193
	b.ne	LBB0_11
LBB0_10:
	sub	w1, w20, #524
	mov	x0, x19
	mov	w2, #536
	movk	w2, #536, lsl #16
	bl	_nv_wr32
LBB0_11:
	sub	w1, w20, #332
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #328
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #324
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #320
	mov	x0, x19
	mov	w2, #2
	bl	_nv_wr32
	sub	w1, w20, #268
	mov	x0, x19
	mov	w2, #61426
	movk	w2, #27, lsl #16
	bl	_nv_wr32
	sub	w1, w20, #264
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #260
	mov	x0, x19
	mov	w2, #15
	bl	_nv_wr32
	sub	w1, w20, #256
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #252
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #248
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #244
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #240
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #236
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #232
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #228
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #224
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #220
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #216
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #212
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #208
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #204
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #200
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #196
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #192
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	sub	w1, w20, #184
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	and	w8, w22, #0xfffffff7
	add	w21, w20, #4
	cmp	w8, #192
	b.eq	LBB0_13
; %bb.12:
	sub	w1, w20, #112
	mov	x0, x19
	mov	w2, #4368
	movk	w2, #1, lsl #16
	bl	_nv_wr32
	mov	x0, x19
	mov	w1, #40784
	movk	w1, #65, lsl #16
	mov	w2, #0
	bl	_nv_wr32
	add	w8, w20, #8
	mov	x20, x21
	mov	x21, x8
LBB0_13:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_nv_wr32
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	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
	b	_nv_wr32
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nvc0_grctx_generate_tp
.subsections_via_symbols
