	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vulkan_init_filter_chain
_vulkan_init_filter_chain:              ## @vulkan_init_filter_chain
	.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	%rdi, %r14
	xorl	%eax, %eax
	callq	_retroarch_get_shader_preset
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_video_shader_parse_type
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_3:
	movq	_RARCH_SHADER_SLANG@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_4
## %bb.5:
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_vulkan_init_filter_chain_preset
	testl	%eax, %eax
	jne	LBB0_8
LBB0_7:
	movq	%r14, %rdi
	callq	_vulkan_init_default_filter_chain
LBB0_8:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	callq	_RARCH_LOG
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vulkan_init_default_filter_chain ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[Vulkan]: Loading stock shader.\n"

	.comm	_RARCH_SHADER_SLANG,4,2         ## @RARCH_SHADER_SLANG
L_.str.1:                               ## @.str.1
	.asciz	"[Vulkan]: Only Slang shaders are supported, falling back to stock.\n"

	.no_dead_strip	_vulkan_init_filter_chain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vulkan_init_filter_chain
_vulkan_init_filter_chain:              ; @vulkan_init_filter_chain
	.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	x19, x0
	bl	_retroarch_get_shader_preset
	mov	x20, x0
	bl	_video_shader_parse_type
	mov	x21, x0
	mov	x0, x20
	bl	_string_is_empty
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_8
LBB0_2:
Lloh2:
	adrp	x8, _RARCH_SHADER_SLANG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RARCH_SHADER_SLANG@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_7
; %bb.3:
	cbz	x20, LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	bl	_vulkan_init_filter_chain_preset
	cbnz	w0, LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_vulkan_init_default_filter_chain
LBB0_6:
	mov	w0, #1
	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_7:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_8:
	bl	_RARCH_LOG
	mov	x0, x19
	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
	b	_vulkan_init_default_filter_chain
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[Vulkan]: Loading stock shader.\n"

	.comm	_RARCH_SHADER_SLANG,4,2         ; @RARCH_SHADER_SLANG
l_.str.1:                               ; @.str.1
	.asciz	"[Vulkan]: Only Slang shaders are supported, falling back to stock.\n"

	.no_dead_strip	_vulkan_init_filter_chain
.subsections_via_symbols
