	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_video_shader_is_supported      ## -- Begin function video_shader_is_supported
	.p2align	4, 0x90
_video_shader_is_supported:             ## @video_shader_is_supported
	.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	$0, -16(%rbp)
	addl	$-128, %edi
	xorl	%eax, %eax
	cmpl	$4, %edi
	ja	LBB0_3
## %bb.1:
	movl	$29, %ecx
	btl	%edi, %ecx
	jae	LBB0_3
## %bb.2:
	movslq	%edi, %rax
	leaq	l_switch.table.video_shader_is_supported(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %ebx
	leaq	-16(%rbp), %rdi
	callq	_video_context_driver_get_flags
	movq	-16(%rbp), %rdi
	movl	%ebx, %esi
	callq	_BIT32_GET
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFX_CTX_FLAGS_NONE,4,2         ## @GFX_CTX_FLAGS_NONE
	.comm	_GFX_CTX_FLAGS_SHADERS_SLANG,4,2 ## @GFX_CTX_FLAGS_SHADERS_SLANG
	.comm	_GFX_CTX_FLAGS_SHADERS_GLSL,4,2 ## @GFX_CTX_FLAGS_SHADERS_GLSL
	.comm	_GFX_CTX_FLAGS_SHADERS_CG,4,2   ## @GFX_CTX_FLAGS_SHADERS_CG
	.comm	_GFX_CTX_FLAGS_SHADERS_HLSL,4,2 ## @GFX_CTX_FLAGS_SHADERS_HLSL
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.video_shader_is_supported
l_switch.table.video_shader_is_supported:
	.quad	_GFX_CTX_FLAGS_SHADERS_SLANG
	.quad	_GFX_CTX_FLAGS_SHADERS_SLANG
	.quad	_GFX_CTX_FLAGS_SHADERS_HLSL
	.quad	_GFX_CTX_FLAGS_SHADERS_GLSL
	.quad	_GFX_CTX_FLAGS_SHADERS_CG

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_video_shader_is_supported      ; -- Begin function video_shader_is_supported
	.p2align	2
_video_shader_is_supported:             ; @video_shader_is_supported
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	xzr, [sp, #8]
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_2
; %bb.1:
	mov	w9, #29
	lsr	w9, w9, w8
	tbnz	w9, #0, LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x9, l_switch.table.video_shader_is_supported@PAGE
Lloh1:
	add	x9, x9, l_switch.table.video_shader_is_supported@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w19, [x8]
	add	x0, sp, #8
	bl	_video_context_driver_get_flags
	ldr	x0, [sp, #8]
	mov	x1, x19
	bl	_BIT32_GET
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GFX_CTX_FLAGS_NONE,4,2         ; @GFX_CTX_FLAGS_NONE
	.comm	_GFX_CTX_FLAGS_SHADERS_SLANG,4,2 ; @GFX_CTX_FLAGS_SHADERS_SLANG
	.comm	_GFX_CTX_FLAGS_SHADERS_GLSL,4,2 ; @GFX_CTX_FLAGS_SHADERS_GLSL
	.comm	_GFX_CTX_FLAGS_SHADERS_CG,4,2   ; @GFX_CTX_FLAGS_SHADERS_CG
	.comm	_GFX_CTX_FLAGS_SHADERS_HLSL,4,2 ; @GFX_CTX_FLAGS_SHADERS_HLSL
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.video_shader_is_supported
l_switch.table.video_shader_is_supported:
	.quad	_GFX_CTX_FLAGS_SHADERS_SLANG
	.quad	_GFX_CTX_FLAGS_SHADERS_SLANG
	.quad	_GFX_CTX_FLAGS_SHADERS_HLSL
	.quad	_GFX_CTX_FLAGS_SHADERS_GLSL
	.quad	_GFX_CTX_FLAGS_SHADERS_CG

.subsections_via_symbols
