	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cp_name
_cp_name:                               ## @cp_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rax
	movq	_NVKM_GRCTX_PROG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movq	(%rdi), %r8
	movl	24(%rdi), %eax
	movq	16(%rdi), %rcx
	movslq	%esi, %rdx
	movl	%eax, (%rcx,%rdx,4)
	movl	24(%rdi), %r11d
	testl	%r11d, %r11d
	jle	LBB0_7
## %bb.2:
	xorl	%eax, %eax
	movq	_CP_BRA_IP@GOTPCREL(%rip), %r9
	movq	_CP_BRA_IP_SHIFT@GOTPCREL(%rip), %r10
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	movslq	%r11d, %rcx
	cmpq	%rcx, %rax
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r8,%rax,4), %edx
	movl	%edx, %ecx
	andl	$-1048576, %ecx                 ## imm = 0xFFF00000
	cmpl	$-12582912, %ecx                ## imm = 0xFF400000
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r9), %r14d
	andl	%edx, %r14d
	movl	(%r10), %ecx
	movl	%esi, %ebx
	shll	%cl, %ebx
	cmpl	%ebx, %r14d
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r11d
	andl	$16711935, %edx                 ## imm = 0xFF00FF
	orl	%edx, %r11d
	movl	%r11d, (%r8,%rax,4)
	movl	24(%rdi), %r11d
	jmp	LBB0_6
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVKM_GRCTX_PROG,8,3            ## @NVKM_GRCTX_PROG
	.comm	_CP_BRA_IP,4,2                  ## @CP_BRA_IP
	.comm	_CP_BRA_IP_SHIFT,4,2            ## @CP_BRA_IP_SHIFT
	.no_dead_strip	_cp_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cp_name
_cp_name:                               ; @cp_name
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _NVKM_GRCTX_PROG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NVKM_GRCTX_PROG@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	ldr	x8, [x0]
	ldr	w9, [x0, #24]
	ldr	x10, [x0, #16]
	str	w9, [x10, w1, sxtw #2]
	ldr	w9, [x0, #24]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x10, #0
Lloh3:
	adrp	x11, _CP_BRA_IP@GOTPAGE
Lloh4:
	ldr	x11, [x11, _CP_BRA_IP@GOTPAGEOFF]
Lloh5:
	adrp	x12, _CP_BRA_IP_SHIFT@GOTPAGE
Lloh6:
	ldr	x12, [x12, _CP_BRA_IP_SHIFT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #1
	cmp	x10, w9, sxtw
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x8, x10, lsl #2]
	and	w14, w13, #0xfff00000
	cmn	w14, #3072, lsl #12             ; =12582912
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w14, [x11]
	and	w15, w14, w13
	ldr	w14, [x12]
	lsl	w16, w1, w14
	cmp	w15, w16
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w13, w13, #0xff00ff
	lsl	w9, w9, w14
	orr	w9, w9, w13
	str	w9, [x8, x10, lsl #2]
	ldr	w9, [x0, #24]
	b	LBB0_3
LBB0_7:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NVKM_GRCTX_PROG,8,3            ; @NVKM_GRCTX_PROG
	.comm	_CP_BRA_IP,4,2                  ; @CP_BRA_IP
	.comm	_CP_BRA_IP_SHIFT,4,2            ; @CP_BRA_IP_SHIFT
	.no_dead_strip	_cp_name
.subsections_via_symbols
