	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_grctx_generate_max_ways_evict ## -- Begin function gf100_grctx_generate_max_ways_evict
	.p2align	4, 0x90
_gf100_grctx_generate_max_ways_evict:   ## @gf100_grctx_generate_max_ways_evict
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	movl	$1186932, %esi                  ## imm = 0x121C74
	callq	_nvkm_rd32
	cmpl	$1, %eax
	jne	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	$1567004, %esi                  ## imm = 0x17E91C
	movl	$2031616, %edx                  ## imm = 0x1F0000
	movl	$589824, %ecx                   ## imm = 0x90000
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_nvkm_mask                      ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_grctx_generate_max_ways_evict ; -- Begin function gf100_grctx_generate_max_ways_evict
	.p2align	2
_gf100_grctx_generate_max_ways_evict:   ; @gf100_grctx_generate_max_ways_evict
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
	mov	x0, x19
	mov	w1, #7284
	movk	w1, #18, lsl #16
	bl	_nvkm_rd32
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #59676
	movk	w1, #23, lsl #16
	mov	w2, #2031616
	mov	w3, #589824
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nvkm_mask
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
