	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_video_shader_get_type_from_ext ## -- Begin function video_shader_get_type_from_ext
	.p2align	4, 0x90
_video_shader_get_type_from_ext:        ## @video_shader_get_type_from_ext
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movq	_RARCH_SHADER_NONE@GOTPCREL(%rip), %rbx
	jmp	LBB0_17
LBB0_2:
	movq	%r15, %rdi
	callq	_strlen
	cmpl	$2, %eax
	jl	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	cmpb	$46, (%r15)
	sete	%al
	addq	%rax, %r15
LBB0_4:
	testq	%r14, %r14
	je	LBB0_9
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_string_is_equal_case_insensitive
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_string_is_equal_case_insensitive
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_string_is_equal_case_insensitive
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
LBB0_8:
	movl	%ebx, (%r14)
LBB0_9:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_string_is_equal_case_insensitive
	movq	_RARCH_SHADER_CG@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	jne	LBB0_17
## %bb.10:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_string_is_equal_case_insensitive
	testq	%rax, %rax
	jne	LBB0_17
## %bb.11:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_string_is_equal_case_insensitive
	movq	_RARCH_SHADER_GLSL@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	jne	LBB0_17
## %bb.12:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_string_is_equal_case_insensitive
	testq	%rax, %rax
	jne	LBB0_17
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_string_is_equal_case_insensitive
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_string_is_equal_case_insensitive
	testq	%rax, %rax
	je	LBB0_1
LBB0_16:
	movq	_RARCH_SHADER_SLANG@GOTPCREL(%rip), %rbx
LBB0_17:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RARCH_SHADER_NONE,4,2          ## @RARCH_SHADER_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cgp"

L_.str.1:                               ## @.str.1
	.asciz	"glslp"

L_.str.2:                               ## @.str.2
	.asciz	"slangp"

L_.str.3:                               ## @.str.3
	.asciz	"cg"

	.comm	_RARCH_SHADER_CG,4,2            ## @RARCH_SHADER_CG
L_.str.4:                               ## @.str.4
	.asciz	"glsl"

	.comm	_RARCH_SHADER_GLSL,4,2          ## @RARCH_SHADER_GLSL
L_.str.5:                               ## @.str.5
	.asciz	"slang"

	.comm	_RARCH_SHADER_SLANG,4,2         ## @RARCH_SHADER_SLANG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_video_shader_get_type_from_ext ; -- Begin function video_shader_get_type_from_ext
	.p2align	2
_video_shader_get_type_from_ext:        ; @video_shader_get_type_from_ext
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	bl	_string_is_empty
Lloh0:
	adrp	x21, _RARCH_SHADER_NONE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _RARCH_SHADER_NONE@GOTPAGEOFF]
	mov	x22, x21
	cbnz	x0, LBB0_11
; %bb.1:
	mov	x0, x19
	bl	_strlen
	cmp	w0, #2
	b.lt	LBB0_3
; %bb.2:
	mov	x8, x19
	ldrb	w9, [x8], #1
	cmp	w9, #46
	csel	x19, x19, x8, ne
LBB0_3:
	cbz	x20, LBB0_8
; %bb.4:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_string_is_equal_case_insensitive
	cbnz	x0, LBB0_6
; %bb.5:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_string_is_equal_case_insensitive
	cbz	x0, LBB0_15
LBB0_6:
	mov	w8, #1
LBB0_7:
	str	w8, [x20]
LBB0_8:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_string_is_equal_case_insensitive
	cbnz	x0, LBB0_10
; %bb.9:
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_string_is_equal_case_insensitive
	cbz	x0, LBB0_12
LBB0_10:
Lloh10:
	adrp	x22, _RARCH_SHADER_CG@GOTPAGE
Lloh11:
	ldr	x22, [x22, _RARCH_SHADER_CG@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x22]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_string_is_equal_case_insensitive
	cbnz	x0, LBB0_14
; %bb.13:
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_string_is_equal_case_insensitive
	cbz	x0, LBB0_16
LBB0_14:
Lloh16:
	adrp	x22, _RARCH_SHADER_GLSL@GOTPAGE
Lloh17:
	ldr	x22, [x22, _RARCH_SHADER_GLSL@GOTPAGEOFF]
	b	LBB0_11
LBB0_15:
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_string_is_equal_case_insensitive
	cmp	x0, #0
	cset	w8, ne
	b	LBB0_7
LBB0_16:
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_string_is_equal_case_insensitive
Lloh22:
	adrp	x22, _RARCH_SHADER_SLANG@GOTPAGE
Lloh23:
	ldr	x22, [x22, _RARCH_SHADER_SLANG@GOTPAGEOFF]
	cbnz	x0, LBB0_11
; %bb.17:
Lloh24:
	adrp	x1, l_.str.5@PAGE
Lloh25:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_string_is_equal_case_insensitive
	cmp	x0, #0
	csel	x22, x21, x22, eq
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_RARCH_SHADER_NONE,4,2          ; @RARCH_SHADER_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cgp"

l_.str.1:                               ; @.str.1
	.asciz	"glslp"

l_.str.2:                               ; @.str.2
	.asciz	"slangp"

l_.str.3:                               ; @.str.3
	.asciz	"cg"

	.comm	_RARCH_SHADER_CG,4,2            ; @RARCH_SHADER_CG
l_.str.4:                               ; @.str.4
	.asciz	"glsl"

	.comm	_RARCH_SHADER_GLSL,4,2          ; @RARCH_SHADER_GLSL
l_.str.5:                               ; @.str.5
	.asciz	"slang"

	.comm	_RARCH_SHADER_SLANG,4,2         ; @RARCH_SHADER_SLANG
.subsections_via_symbols
