	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gm200_grctx_generate_dist_skip_table ## -- Begin function gm200_grctx_generate_dist_skip_table
	.p2align	4, 0x90
_gm200_grctx_generate_dist_skip_table:  ## @gm200_grctx_generate_dist_skip_table
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	40(%rdi), %r8
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	jle	LBB0_7
## %bb.1:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r10
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	cmpq	-96(%rbp), %r12                 ## 8-byte Folded Reload
	je	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_13 Depth 3
                                        ##       Child Loop BB0_16 Depth 3
	cmpl	$0, (%r10,%r12,4)
	jle	LBB0_18
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rdx), %rax
	movq	24(%rdx), %rcx
	movq	(%rax,%r12,8), %r11
	movq	(%rcx,%r12,8), %r15
	movq	32(%rdx), %rax
	movq	%rax, %rcx
	notq	%rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=2
	xorl	%esi, %edx
	orl	%edx, -80(%rbp,%r12,4)
	incq	%rcx
	movslq	(%r10,%r12,4), %rdx
	cmpq	%rdx, %rcx
	jge	LBB0_18
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_13 Depth 3
                                        ##       Child Loop BB0_16 Depth 3
	movslq	(%r11,%rcx,4), %rbx
	movl	(%r15,%rcx,4), %esi
	movl	%esi, %edx
	cmpq	%rbx, %rax
	jge	LBB0_17
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	%ebx, %r14d
	subl	%eax, %r14d
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rbx), %r13
	andq	$7, %r14
	je	LBB0_6
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=2
	movq	%r8, %rdi
	movl	%esi, %edx
	xorl	%r8d, %r8d
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	%edx, %r9d
	leal	-1(%r9), %edx
	andl	%r9d, %edx
	incq	%r8
	cmpq	%r8, %r14
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=2
	subq	%r8, %rbx
	movq	%rdi, %r8
	cmpq	$7, %r13
	jae	LBB0_16
	jmp	LBB0_17
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	movl	%esi, %edx
	cmpq	$7, %r13
	jb	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leal	-1(%rdx), %edi
	andl	%edx, %edi
	leal	-1(%rdi), %edx
	andl	%edi, %edx
	leal	-1(%rdx), %edi
	andl	%edx, %edi
	leal	-1(%rdi), %edx
	andl	%edi, %edx
	leal	-1(%rdx), %edi
	andl	%edx, %edi
	leal	-1(%rdi), %edx
	andl	%edi, %edx
	leal	-1(%rdx), %edi
	andl	%edx, %edi
	addq	$-8, %rbx
	leal	-1(%rdi), %edx
	andl	%edi, %edx
	cmpq	%rbx, %rax
	jl	LBB0_16
	jmp	LBB0_17
LBB0_7:
	leaq	-80(%rbp), %rdi
	movq	%r8, %r14
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_10
## %bb.8:
	movl	$4220112, %r12d                 ## imm = 0x4064D0
	xorl	%ebx, %ebx
	leaq	-80(%rbp), %r15
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	-80(%rbp,%rbx,4), %edx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_nvkm_wr32
	incq	%rbx
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	cltq
	addl	$4, %r12d
	cmpq	%rax, %rbx
	jl	LBB0_9
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.19:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gm200_grctx_generate_dist_skip_table ; -- Begin function gm200_grctx_generate_dist_skip_table
	.p2align	2
_gm200_grctx_generate_dist_skip_table:  ; @gm200_grctx_generate_dist_skip_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x19, [x0, #40]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x9, #0
	ldr	x10, [x0, #8]
	mov	x11, sp
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;       Child Loop BB0_7 Depth 3
	ldr	w12, [x10, x9, lsl #2]
	cmp	w12, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x12, #0
	lsl	x14, x9, #3
	ldp	x13, x15, [x0, #16]
	ldr	x13, [x13, x14]
	ldr	x14, [x15, x14]
	ldr	x15, [x0, #32]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	eor	w16, w1, w16
	lsl	x17, x9, #2
	ldr	w1, [x11, x17]
	orr	w16, w1, w16
	str	w16, [x11, x17]
	add	x12, x12, #1
	ldrsw	x16, [x10, x17]
	cmp	x12, x16
	b.ge	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_7 Depth 3
	lsl	x16, x12, #2
	ldrsw	x17, [x13, x16]
	ldr	w16, [x14, x16]
	mov	x1, x16
	cmp	x15, x17
	b.ge	LBB0_5
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sub	x17, x17, #1
	sub	w2, w1, #1
	and	w1, w2, w1
	cmp	x15, x17
	b.lt	LBB0_7
	b	LBB0_5
LBB0_8:
	mov	x21, sp
	mov	x0, sp
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x22, #0
	mov	w20, #25808
	movk	w20, #64, lsl #16
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x21, x22, lsl #2]
	mov	x0, x19
	mov	x1, x20
	bl	_nvkm_wr32
	add	x22, x22, #1
	mov	x0, sp
	bl	_ARRAY_SIZE
	add	w20, w20, #4
	cmp	x22, w0, sxtw
	b.lt	LBB0_10
LBB0_11:
	ldr	x8, [sp, #40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
