	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvc0_grctx_generate_rop
_nvc0_grctx_generate_rop:               ## @nvc0_grctx_generate_rop
	.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
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	movl	$4229120, %esi                  ## imm = 0x408800
	movl	$41953852, %edx                 ## imm = 0x2802A3C
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4229124, %esi                  ## imm = 0x408804
	movl	$64, %edx
	callq	_nv_wr32
	cmpl	$217, %r14d
	je	LBB0_1
## %bb.2:
	cmpl	$193, %r14d
	jne	LBB0_4
## %bb.3:
	movl	$13109545, %r14d                ## imm = 0xC80929
	movl	$1644167169, %r15d              ## imm = 0x62000001
	movl	$268689413, %edx                ## imm = 0x1003E005
	jmp	LBB0_5
LBB0_1:
	movl	$13111343, %r14d                ## imm = 0xC8102F
	movl	$272883717, %edx                ## imm = 0x1043E005
	movl	$272883717, %r15d               ## imm = 0x1043E005
	jmp	LBB0_5
LBB0_4:
	movl	$13109545, %r14d                ## imm = 0xC80929
	movl	$33554433, %r15d                ## imm = 0x2000001
	movl	$253965, %edx                   ## imm = 0x3E00D
LBB0_5:
	movq	%rbx, %rdi
	movl	$4229128, %esi                  ## imm = 0x408808
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4229376, %esi                  ## imm = 0x408900
	movl	$813742081, %edx                ## imm = 0x3080B801
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4229380, %esi                  ## imm = 0x408904
	movl	%r15d, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4229384, %esi                  ## imm = 0x408908
	movl	%r14d, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4229388, %esi                  ## imm = 0x40890C
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4229504, %esi                  ## imm = 0x408980
	movl	$285, %edx                      ## imm = 0x11D
	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_rop
.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_rop
_nvc0_grctx_generate_rop:               ; @nvc0_grctx_generate_rop
	.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	w20, #57349
	movk	w20, #4163, lsl #16
	mov	w21, #2345
	movk	w21, #200, lsl #16
	mov	w22, #34816
	movk	w22, #64, lsl #16
	bl	_nv_device
	ldr	w23, [x0]
	mov	x0, x19
	mov	w1, #34816
	movk	w1, #64, lsl #16
	mov	w2, #10812
	movk	w2, #640, lsl #16
	bl	_nv_wr32
	orr	w1, w22, #0x4
	mov	x0, x19
	mov	w2, #64
	bl	_nv_wr32
	add	w8, w21, #1798
	mov	w9, #1
	movk	w9, #512, lsl #16
	mov	w10, #57357
	movk	w10, #3, lsl #16
	sub	w11, w20, #1024, lsl #12        ; =4194304
	mov	w12, #1
	movk	w12, #25088, lsl #16
	cmp	w23, #193
	csel	w10, w10, w11, ne
	csel	w9, w9, w12, ne
	cmp	w23, #217
	csel	w2, w20, w10, eq
	csel	w20, w20, w9, eq
	csel	w21, w8, w21, eq
	add	w1, w22, #8
	mov	x0, x19
	bl	_nv_wr32
	add	w1, w22, #256
	mov	x0, x19
	mov	w2, #47105
	movk	w2, #12416, lsl #16
	bl	_nv_wr32
	add	w1, w22, #260
	mov	x0, x19
	mov	x2, x20
	bl	_nv_wr32
	add	w1, w22, #264
	mov	x0, x19
	mov	x2, x21
	bl	_nv_wr32
	add	w1, w22, #268
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	add	w1, w22, #384
	mov	x0, x19
	mov	w2, #285
	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_rop
.subsections_via_symbols
