	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cudbg_sge_ctxt_check_valid
_cudbg_sge_ctxt_check_valid:            ## @cudbg_sge_ctxt_check_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	addl	$-128, %esi
	xorl	%ecx, %ecx
	cmpl	$2, %esi
	ja	LBB0_2
## %bb.1:
	movslq	%esi, %rax
	leaq	l_switch.table.cudbg_sge_ctxt_check_valid(%rip), %rcx
	movl	(%rcx,%rax,4), %ecx
LBB0_2:
	movl	%ecx, %edx
	andb	$29, %cl
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	shrl	$5, %edx
	andl	(%rdi,%rdx,4), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cudbg_sge_ctxt_check_valid
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.cudbg_sge_ctxt_check_valid
l_switch.table.cudbg_sge_ctxt_check_valid:
	.long	141                             ## 0x8d
	.long	89                              ## 0x59
	.long	176                             ## 0xb0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cudbg_sge_ctxt_check_valid
_cudbg_sge_ctxt_check_valid:            ; @cudbg_sge_ctxt_check_valid
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.cudbg_sge_ctxt_check_valid@PAGE
Lloh1:
	add	x9, x9, l_switch.table.cudbg_sge_ctxt_check_valid@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
	lsr	w9, w8, #5
	mov	w10, #29
	and	w8, w8, w10
	ldr	w9, [x0, w9, uxtw #2]
	mov	w10, #1
	lsl	w8, w10, w8
	and	w0, w8, w9
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cudbg_sge_ctxt_check_valid
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.cudbg_sge_ctxt_check_valid
l_switch.table.cudbg_sge_ctxt_check_valid:
	.long	141                             ; 0x8d
	.long	89                              ; 0x59
	.long	176                             ; 0xb0

.subsections_via_symbols
