	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_video_shader_any_supported     ## -- Begin function video_shader_any_supported
	.p2align	4, 0x90
_video_shader_any_supported:            ## @video_shader_any_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)
	leaq	-16(%rbp), %rdi
	callq	_video_context_driver_get_flags
	movq	-16(%rbp), %rdi
	movq	_GFX_CTX_FLAGS_SHADERS_SLANG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BIT32_GET
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	-16(%rbp), %rdi
	movq	_GFX_CTX_FLAGS_SHADERS_GLSL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BIT32_GET
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	-16(%rbp), %rdi
	movq	_GFX_CTX_FLAGS_SHADERS_CG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BIT32_GET
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	-16(%rbp), %rdi
	movq	_GFX_CTX_FLAGS_SHADERS_HLSL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BIT32_GET
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_video_shader_any_supported     ; -- Begin function video_shader_any_supported
	.p2align	2
_video_shader_any_supported:            ; @video_shader_any_supported
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	str	xzr, [sp, #8]
	add	x0, sp, #8
	bl	_video_context_driver_get_flags
	ldr	x0, [sp, #8]
Lloh0:
	adrp	x8, _GFX_CTX_FLAGS_SHADERS_SLANG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFX_CTX_FLAGS_SHADERS_SLANG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_BIT32_GET
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x0, [sp, #8]
Lloh3:
	adrp	x8, _GFX_CTX_FLAGS_SHADERS_GLSL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFX_CTX_FLAGS_SHADERS_GLSL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_BIT32_GET
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x0, [sp, #8]
Lloh6:
	adrp	x8, _GFX_CTX_FLAGS_SHADERS_CG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFX_CTX_FLAGS_SHADERS_CG@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_BIT32_GET
	cbz	x0, LBB0_5
LBB0_3:
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_5:
	ldr	x0, [sp, #8]
Lloh9:
	adrp	x8, _GFX_CTX_FLAGS_SHADERS_HLSL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFX_CTX_FLAGS_SHADERS_HLSL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_BIT32_GET
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.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
.subsections_via_symbols
