	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvc0_grctx_generate_shaders
_nvc0_grctx_generate_shaders:           ## @nvc0_grctx_generate_shaders
	.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
	movq	%rdi, %rbx
	callq	_nv_device
	cmpl	$217, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	$134217728, %r14d               ## imm = 0x8000000
	movl	$35127832, %r15d                ## imm = 0x2180218
	movl	$260047039, %edx                ## imm = 0xF8000BF
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_nv_device
	xorl	%edx, %edx
	cmpl	$193, (%rax)
	movl	$35127832, %eax                 ## imm = 0x2180218
	movl	$35127296, %r15d                ## imm = 0x2180000
	cmovel	%eax, %r15d
	sete	%dl
	shll	$27, %edx
	orl	$125829311, %edx                ## imm = 0x78000BF
	xorl	%r14d, %r14d
LBB0_3:
	movq	%rbx, %rdi
	movl	$4216832, %esi                  ## imm = 0x405800
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4216880, %esi                  ## imm = 0x405830
	movl	%r15d, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4216884, %esi                  ## imm = 0x405834
	movl	%r14d, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4216888, %esi                  ## imm = 0x405838
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4216916, %esi                  ## imm = 0x405854
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4216944, %esi                  ## imm = 0x405870
	movl	$1, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4216948, %esi                  ## imm = 0x405874
	movl	$1, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4216952, %esi                  ## imm = 0x405878
	movl	$1, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4216956, %esi                  ## imm = 0x40587C
	movl	$1, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4217344, %esi                  ## imm = 0x405A00
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4217348, %esi                  ## imm = 0x405A04
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4217368, %esi                  ## imm = 0x405A18
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nv_wr32                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nvc0_grctx_generate_shaders
.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_shaders
_nvc0_grctx_generate_shaders:           ; @nvc0_grctx_generate_shaders
	.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
	mov	w21, #191
	movk	w21, #3968, lsl #16
	mov	w20, #536
	movk	w20, #536, lsl #16
	bl	_nv_device
	ldr	w8, [x0]
	cmp	w8, #217
	b.ne	LBB0_2
; %bb.1:
	mov	w22, #134217728
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_nv_device
	mov	w22, #0
	ldr	w8, [x0]
	mov	w9, #191
	movk	w9, #1920, lsl #16
	cmp	w8, #193
	csel	w21, w21, w9, eq
	mov	w8, #35127296
	csel	w20, w20, w8, eq
LBB0_3:
	mov	w23, #22528
	movk	w23, #64, lsl #16
	mov	x0, x19
	mov	w1, #22528
	movk	w1, #64, lsl #16
	mov	x2, x21
	bl	_nv_wr32
	orr	w1, w23, #0x30
	mov	x0, x19
	mov	x2, x20
	bl	_nv_wr32
	mov	w8, #52
	orr	w1, w23, w8
	mov	x0, x19
	mov	x2, x22
	bl	_nv_wr32
	orr	w1, w23, #0x38
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	mov	w8, #84
	orr	w1, w23, w8
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	orr	w1, w23, #0x70
	mov	x0, x19
	mov	w2, #1
	bl	_nv_wr32
	mov	w8, #116
	orr	w1, w23, w8
	mov	x0, x19
	mov	w2, #1
	bl	_nv_wr32
	orr	w1, w23, #0x78
	mov	x0, x19
	mov	w2, #1
	bl	_nv_wr32
	orr	w1, w23, #0x7c
	mov	x0, x19
	mov	w2, #1
	bl	_nv_wr32
	orr	w1, w23, #0x200
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	mov	w8, #516
	orr	w1, w23, w8
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	mov	w8, #536
	orr	w1, w23, w8
	mov	x0, x19
	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_shaders
.subsections_via_symbols
