	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_video_shader_write_conf_preset ## -- Begin function video_shader_write_conf_preset
	.p2align	4, 0x90
_video_shader_write_conf_preset:        ## @video_shader_write_conf_preset
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	leaq	(%r12,%r12,2), %rdi
	callq	_malloc
	movq	%rax, -264(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_39
## %bb.1:
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_config_set_int
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	js	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_config_set_int
LBB0_3:
	movq	%r14, -248(%rbp)                ## 8-byte Spill
	movq	-264(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r12,2), %r14
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_strlcpy
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_path_resolve_realpath
	movq	%r14, %rdi
	callq	_path_basedir
LBB0_5:
	movq	%r14, -280(%rbp)                ## 8-byte Spill
	movq	-264(%rbp), %rax                ## 8-byte Reload
	movq	%r12, -288(%rbp)                ## 8-byte Spill
	addq	%r12, %rax
	movq	%rax, -272(%rbp)                ## 8-byte Spill
	cmpq	$0, (%rbx)
	movq	%r15, -296(%rbp)                ## 8-byte Spill
	jle	LBB0_15
## %bb.6:
	xorl	%r12d, %r12d
	leaq	-112(%rbp), %r13
	movq	%rbx, -304(%rbp)                ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	movl	$64, %esi
	leaq	L_.str.6(%rip), %rdx
	movl	%r12d, %ecx
	callq	_snprintf
	movl	16(%r15,%r14), %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_config_set_bool
	movq	%r13, %rdi
	movl	$64, %esi
	leaq	L_.str.7(%rip), %rdx
	movl	%r12d, %ecx
	callq	_snprintf
	movq	24(%r15,%r14), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_config_set_string
	leaq	(%r15,%r14), %rsi
	addq	$32, %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_shader_write_fbo
	incl	%r12d
	movq	-304(%rbp), %rbx                ## 8-byte Reload
	cmpq	%r12, (%rbx)
	movq	-296(%rbp), %r15                ## 8-byte Reload
	jle	LBB0_15
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%rbx), %rbx
	movq	%r13, %rdi
	movl	$64, %esi
	leaq	L_.str.2(%rip), %rdx
	movl	%r12d, %ecx
	callq	_snprintf
	leaq	(%r12,%r12,2), %r14
	shlq	$4, %r14
	movq	%rbx, -256(%rbp)                ## 8-byte Spill
	movq	40(%rbx,%r14), %rdx
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-264(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	movq	%rdx, %rsi
	movq	-288(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, %edx
	callq	_strlcpy
	movq	-272(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	-280(%rbp), %rdx                ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_path_relative_to
	movq	%r13, %rdi
	callq	_make_relative_path_portable
	movq	-248(%rbp), %rdi                ## 8-byte Reload
	leaq	-112(%rbp), %rsi
	movq	%r13, %rdx
	leaq	-112(%rbp), %r13
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	-248(%rbp), %rdi                ## 8-byte Reload
	movq	%r13, %rsi
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	callq	_config_set_path
	movq	-256(%rbp), %r15                ## 8-byte Reload
	movq	(%r15,%r14), %rax
	movq	_RARCH_FILTER_UNSPEC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-256(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r14), %r15
	movq	%r13, %rdi
	movl	$64, %esi
	leaq	L_.str.3(%rip), %rdx
	movl	%r12d, %ecx
	callq	_snprintf
	movq	(%r15), %rax
	movq	-256(%rbp), %r15                ## 8-byte Reload
	xorl	%edx, %edx
	movq	_RARCH_FILTER_LINEAR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dl
	movq	-248(%rbp), %rdi                ## 8-byte Reload
	movq	%r13, %rsi
	callq	_config_set_bool
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	movl	$64, %esi
	leaq	L_.str.4(%rip), %rdx
	movl	%r12d, %ecx
	callq	_snprintf
	movl	36(%r15,%r14), %edi
	callq	_wrap_mode_to_str
	movq	-248(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	callq	_config_set_string
	cmpq	$0, 8(%r15,%r14)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-256(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r14), %r15
	addq	$8, %r15
	movq	%r13, %rdi
	movl	$64, %esi
	leaq	L_.str.5(%rip), %rdx
	movl	%r12d, %ecx
	callq	_snprintf
	movq	(%r15), %rdx
	movq	-256(%rbp), %r15                ## 8-byte Reload
	movq	-248(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_config_set_int
	jmp	LBB0_14
LBB0_15:
	cmpl	$0, 16(%rbx)
	je	LBB0_24
## %bb.16:
	movl	$4096, %edi                     ## imm = 0x1000
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_24
## %bb.17:
	movq	%rax, %r12
	movb	$0, (%rax)
	movq	32(%rbx), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_strlcpy
	cmpl	$2, 16(%rbx)
	movq	%rbx, %r14
	jb	LBB0_20
## %bb.18:
	movl	$1, %r13d
	movl	$16, %ebx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	leaq	L_.str.8(%rip), %rsi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_strlcat
	movq	32(%r14), %rax
	movq	(%rax,%rbx), %rsi
	movq	%r12, %rdi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_strlcat
	incq	%r13
	movl	16(%r14), %eax
	addq	$16, %rbx
	cmpq	%rax, %r13
	jb	LBB0_19
LBB0_20:
	leaq	L_.str.9(%rip), %rsi
	movq	-248(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r12, -256(%rbp)                ## 8-byte Spill
	movq	%r12, %rdx
	callq	_config_set_string
	cmpl	$0, 16(%r14)
	je	LBB0_23
## %bb.21:
	movl	$8, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %rax
	movq	-8(%rax,%rbx), %rsi
	movl	(%rax,%rbx), %edx
	movq	%r13, %rdi
	callq	_config_set_float
	incq	%r12
	movl	16(%r14), %eax
	addq	$16, %rbx
	cmpq	%rax, %r12
	jb	LBB0_22
LBB0_23:
	movq	-256(%rbp), %rdi                ## 8-byte Reload
	callq	_free
	movq	%r14, %rbx
LBB0_24:
	cmpl	$0, 20(%rbx)
	je	LBB0_38
## %bb.25:
	movl	$4096, %edi                     ## imm = 0x1000
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_38
## %bb.26:
	movq	%rax, %r14
	movb	$0, (%rax)
	movq	24(%rbx), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_strlcpy
	cmpl	$2, 20(%rbx)
	movq	%rbx, %r12
	jb	LBB0_29
## %bb.27:
	movl	$1, %r13d
	movl	$32, %ebx
	leaq	L_.str.8(%rip), %r15
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_strlcat
	movq	24(%r12), %rax
	movq	(%rax,%rbx), %rsi
	movq	%r14, %rdi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_strlcat
	incq	%r13
	movl	20(%r12), %eax
	addq	$32, %rbx
	cmpq	%rax, %r13
	jb	LBB0_28
LBB0_29:
	leaq	L_.str.10(%rip), %rsi
	movq	-248(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rdx
	callq	_config_set_string
	movq	%r14, %rdi
	callq	_free
	cmpl	$0, 20(%r12)
	je	LBB0_38
## %bb.30:
	movq	%r12, %r15
	xorl	%r12d, %r12d
	leaq	-240(%rbp), %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_31 Depth=1
	movb	$0, -240(%rbp)
	movq	(%rax,%r12), %rsi
	movq	%rbx, %rdi
	movl	$128, %edx
	callq	_strlcpy
	movq	%rbx, %rdi
	leaq	L_.str.11(%rip), %rsi
	movl	$128, %edx
	callq	_strlcat
	movq	24(%r15), %rax
	movq	16(%rax,%r12), %rax
	xorl	%edx, %edx
	movq	_RARCH_FILTER_LINEAR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dl
	movq	-248(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_config_set_bool
	movq	24(%r15), %rax
LBB0_37:                                ##   in Loop: Header=BB0_31 Depth=1
	movb	$0, -240(%rbp)
	movq	(%rax,%r12), %rsi
	movq	%rbx, %rdi
	movl	$128, %edx
	callq	_strlcpy
	movq	%rbx, %rdi
	leaq	L_.str.12(%rip), %rsi
	movl	$128, %edx
	callq	_strlcat
	movq	24(%r15), %rax
	movl	28(%rax,%r12), %edi
	callq	_wrap_mode_to_str
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_config_set_string
	movb	$0, -240(%rbp)
	movq	24(%r15), %rax
	movq	(%rax,%r12), %rsi
	movq	%rbx, %rdi
	movl	$128, %edx
	callq	_strlcpy
	movq	%rbx, %rdi
	leaq	L_.str.13(%rip), %rsi
	movl	$128, %edx
	callq	_strlcat
	movq	24(%r15), %rax
	movl	24(%rax,%r12), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_config_set_bool
	incq	%r13
	movl	20(%r15), %eax
	addq	$32, %r12
	cmpq	%rax, %r13
	jae	LBB0_38
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rax
	cmpq	$0, -296(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	8(%rax,%r12), %rsi
	movq	-264(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	-288(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, %edx
	callq	_strlcpy
	movq	%r13, -256(%rbp)                ## 8-byte Spill
	movq	-272(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	-280(%rbp), %rdx                ## 8-byte Reload
	movq	%rbx, %rcx
	leaq	-240(%rbp), %rbx
	callq	_path_relative_to
	movq	%r13, %rdi
	callq	_make_relative_path_portable
	movq	24(%r15), %rax
	movq	(%rax,%r12), %rsi
	movq	-248(%rbp), %rdi                ## 8-byte Reload
	movq	%r13, %rdx
	movq	-256(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	(%rax,%r12), %rsi
	movq	8(%rax,%r12), %rdx
	movq	-248(%rbp), %rdi                ## 8-byte Reload
LBB0_34:                                ##   in Loop: Header=BB0_31 Depth=1
	callq	_config_set_path
	movq	24(%r15), %rax
	movq	16(%rax,%r12), %rcx
	movq	_RARCH_FILTER_UNSPEC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	-248(%rbp), %r14                ## 8-byte Reload
	jmp	LBB0_37
LBB0_38:
	movq	-264(%rbp), %rdi                ## 8-byte Reload
	callq	_free
LBB0_39:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_41
## %bb.40:
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_41:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX_LENGTH,8,3            ## @PATH_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"shaders"

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

L_.str.2:                               ## @.str.2
	.asciz	"shader%u"

	.comm	_RARCH_FILTER_UNSPEC,8,3        ## @RARCH_FILTER_UNSPEC
L_.str.3:                               ## @.str.3
	.asciz	"filter_linear%u"

	.comm	_RARCH_FILTER_LINEAR,8,3        ## @RARCH_FILTER_LINEAR
L_.str.4:                               ## @.str.4
	.asciz	"wrap_mode%u"

L_.str.5:                               ## @.str.5
	.asciz	"frame_count_mod%u"

L_.str.6:                               ## @.str.6
	.asciz	"mipmap_input%u"

L_.str.7:                               ## @.str.7
	.asciz	"alias%u"

L_.str.8:                               ## @.str.8
	.asciz	";"

L_.str.9:                               ## @.str.9
	.asciz	"parameters"

L_.str.10:                              ## @.str.10
	.asciz	"textures"

L_.str.11:                              ## @.str.11
	.asciz	"_linear"

L_.str.12:                              ## @.str.12
	.asciz	"_wrap_mode"

L_.str.13:                              ## @.str.13
	.asciz	"_mipmap"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_video_shader_write_conf_preset ; -- Begin function video_shader_write_conf_preset
	.p2align	2
_video_shader_write_conf_preset:        ; @video_shader_write_conf_preset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x28, x27, [sp, #224]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #240]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #256]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	x22, [x8]
	lsl	x19, x22, #1
	add	x0, x19, x22
	bl	_malloc
	cbz	x0, LBB0_38
; %bb.1:
	mov	x23, x0
	add	x8, x0, x19
	str	x8, [sp]                        ; 8-byte Folded Spill
	ldr	x2, [x20]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_config_set_int
	ldr	x2, [x20, #8]
	tbnz	x2, #63, LBB0_3
; %bb.2:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_config_set_int
LBB0_3:
	add	x25, x23, x22
	cbz	x24, LBB0_5
; %bb.4:
	ldr	x19, [sp]                       ; 8-byte Folded Reload
	mov	x0, x19
	mov	x1, x24
	mov	x2, x22
	bl	_strlcpy
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_path_resolve_realpath
	mov	x0, x19
	bl	_path_basedir
LBB0_5:
	ldr	x8, [x20]
	cmp	x8, #1
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
	b.lt	LBB0_15
; %bb.6:
	mov	x26, #0
	mov	w27, #48
Lloh10:
	adrp	x19, l_.str.7@PAGE
Lloh11:
	add	x19, x19, l_.str.7@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #144
	mov	w1, #64
Lloh12:
	adrp	x2, l_.str.6@PAGE
Lloh13:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x3, x26
	bl	_snprintf
	madd	x24, x26, x27, x28
	ldr	w2, [x24, #16]
	add	x1, sp, #144
	mov	x0, x21
	bl	_config_set_bool
	add	x0, sp, #144
	mov	w1, #64
	mov	x2, x19
	mov	x3, x26
	bl	_snprintf
	ldr	x2, [x24, #24]
	add	x1, sp, #144
	mov	x0, x21
	bl	_config_set_string
	add	x1, x24, #32
	mov	x0, x21
	mov	x2, x26
	bl	_shader_write_fbo
	add	w26, w26, #1
	ldr	x8, [x20]
	cmp	x8, x26
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	b.le	LBB0_15
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x28, [x20, #40]
	add	x0, sp, #144
	mov	w1, #64
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x3, x26
	bl	_snprintf
	madd	x8, x26, x27, x28
	ldr	x2, [x8, #40]
	cbz	x24, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	mov	x1, x2
	mov	x2, x22
	bl	_strlcpy
	mov	x0, x25
	mov	x1, x23
	ldr	x2, [sp]                        ; 8-byte Folded Reload
	mov	x3, x22
	bl	_path_relative_to
	mov	x0, x25
	bl	_make_relative_path_portable
	add	x1, sp, #144
	mov	x0, x21
	mov	x2, x25
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x1, sp, #144
	mov	x0, x21
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_config_set_path
	madd	x24, x26, x27, x28
	ldr	x8, [x24]
Lloh16:
	adrp	x9, _RARCH_FILTER_UNSPEC@GOTPAGE
Lloh17:
	ldr	x9, [x9, _RARCH_FILTER_UNSPEC@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #144
	mov	w1, #64
Lloh19:
	adrp	x2, l_.str.3@PAGE
Lloh20:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x3, x26
	bl	_snprintf
	ldr	x8, [x24]
Lloh21:
	adrp	x9, _RARCH_FILTER_LINEAR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _RARCH_FILTER_LINEAR@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w2, eq
	add	x1, sp, #144
	mov	x0, x21
	bl	_config_set_bool
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #144
	mov	w1, #64
Lloh24:
	adrp	x2, l_.str.4@PAGE
Lloh25:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x3, x26
	bl	_snprintf
	madd	x24, x26, x27, x28
	ldr	w0, [x24, #36]
	bl	_wrap_mode_to_str
	mov	x2, x0
	add	x1, sp, #144
	mov	x0, x21
	bl	_config_set_string
	ldr	x8, [x24, #8]!
	cbz	x8, LBB0_7
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #144
	mov	w1, #64
Lloh26:
	adrp	x2, l_.str.5@PAGE
Lloh27:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x3, x26
	bl	_snprintf
	ldr	x2, [x24]
	add	x1, sp, #144
	mov	x0, x21
	bl	_config_set_int
	b	LBB0_7
LBB0_15:
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_24
; %bb.16:
	mov	w0, #4096
	bl	_malloc
	cbz	x0, LBB0_24
; %bb.17:
	mov	x19, x0
	strb	wzr, [x0]
	ldr	x8, [x20, #32]
	ldr	x1, [x8]
	mov	w2, #4096
	bl	_strlcpy
	ldr	w8, [x20, #16]
	cmp	w8, #2
	b.lo	LBB0_20
; %bb.18:
	mov	w26, #1
	mov	w27, #16
Lloh28:
	adrp	x24, l_.str.8@PAGE
Lloh29:
	add	x24, x24, l_.str.8@PAGEOFF
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x24
	mov	w2, #4096
	bl	_strlcat
	ldr	x8, [x20, #32]
	ldr	x1, [x8, x27]
	mov	x0, x19
	mov	w2, #4096
	bl	_strlcat
	add	x26, x26, #1
	ldr	w8, [x20, #16]
	add	x27, x27, #16
	cmp	x26, x8
	b.lo	LBB0_19
LBB0_20:
Lloh30:
	adrp	x1, l_.str.9@PAGE
Lloh31:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	bl	_config_set_string
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_23
; %bb.21:
	mov	x24, #0
	mov	x26, #0
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #32]
	add	x8, x8, x24
	ldr	x1, [x8]
	ldr	w2, [x8, #8]
	mov	x0, x21
	bl	_config_set_float
	add	x26, x26, #1
	ldr	w8, [x20, #16]
	add	x24, x24, #16
	cmp	x26, x8
	b.lo	LBB0_22
LBB0_23:
	mov	x0, x19
	bl	_free
LBB0_24:
	ldr	w8, [x20, #20]
	cbz	w8, LBB0_37
; %bb.25:
	mov	w0, #4096
	bl	_malloc
	cbz	x0, LBB0_37
; %bb.26:
	mov	x19, x0
	strb	wzr, [x0]
	ldr	x8, [x20, #24]
	ldr	x1, [x8]
	mov	w2, #4096
	bl	_strlcpy
	ldr	w8, [x20, #20]
	cmp	w8, #2
	b.lo	LBB0_29
; %bb.27:
	mov	w26, #1
	mov	w27, #32
Lloh32:
	adrp	x24, l_.str.8@PAGE
Lloh33:
	add	x24, x24, l_.str.8@PAGEOFF
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x24
	mov	w2, #4096
	bl	_strlcat
	ldr	x8, [x20, #24]
	ldr	x1, [x8, x27]
	mov	x0, x19
	mov	w2, #4096
	bl	_strlcat
	add	x26, x26, #1
	ldr	w8, [x20, #20]
	add	x27, x27, #32
	cmp	x26, x8
	b.lo	LBB0_28
LBB0_29:
Lloh34:
	adrp	x1, l_.str.10@PAGE
Lloh35:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	bl	_config_set_string
	mov	x0, x19
	bl	_free
	ldr	w8, [x20, #20]
	cbz	w8, LBB0_37
; %bb.30:
	mov	x27, #0
	mov	w28, #16
Lloh36:
	adrp	x26, _RARCH_FILTER_UNSPEC@GOTPAGE
Lloh37:
	ldr	x26, [x26, _RARCH_FILTER_UNSPEC@GOTPAGEOFF]
Lloh38:
	adrp	x19, l_.str.12@PAGE
Lloh39:
	add	x19, x19, l_.str.12@PAGEOFF
Lloh40:
	adrp	x24, l_.str.13@PAGE
Lloh41:
	add	x24, x24, l_.str.13@PAGEOFF
	b	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=1
	strb	wzr, [sp, #16]
	add	x8, x8, x28
	ldur	x1, [x8, #-16]
	add	x0, sp, #16
	mov	w2, #128
	bl	_strlcpy
	add	x0, sp, #16
	mov	x1, x19
	mov	w2, #128
	bl	_strlcat
	ldr	x8, [x20, #24]
	add	x8, x8, x28
	ldr	w0, [x8, #12]
	bl	_wrap_mode_to_str
	mov	x2, x0
	add	x1, sp, #16
	mov	x0, x21
	bl	_config_set_string
	strb	wzr, [sp, #16]
	ldr	x8, [x20, #24]
	add	x8, x8, x28
	ldur	x1, [x8, #-16]
	add	x0, sp, #16
	mov	w2, #128
	bl	_strlcpy
	add	x0, sp, #16
	mov	x1, x24
	mov	w2, #128
	bl	_strlcat
	ldr	x8, [x20, #24]
	add	x8, x8, x28
	ldr	w2, [x8, #8]
	add	x1, sp, #16
	mov	x0, x21
	bl	_config_set_bool
	add	x27, x27, #1
	ldr	w8, [x20, #20]
	add	x28, x28, #32
	cmp	x27, x8
	b.hs	LBB0_37
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #24]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x9, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
	add	x8, x8, x28
	ldur	x1, [x8, #-8]
	mov	x0, x23
	mov	x2, x22
	bl	_strlcpy
	mov	x0, x25
	mov	x1, x23
	ldr	x2, [sp]                        ; 8-byte Folded Reload
	mov	x3, x22
	bl	_path_relative_to
	mov	x0, x25
	bl	_make_relative_path_portable
	ldr	x8, [x20, #24]
	add	x8, x8, x28
	ldur	x1, [x8, #-16]
	mov	x0, x21
	mov	x2, x25
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_32 Depth=1
	add	x8, x8, x28
	ldp	x1, x2, [x8, #-16]
	mov	x0, x21
LBB0_35:                                ;   in Loop: Header=BB0_32 Depth=1
	bl	_config_set_path
	ldr	x8, [x20, #24]
	ldr	x9, [x8, x28]
	ldr	x10, [x26]
	cmp	x9, x10
	b.eq	LBB0_31
; %bb.36:                               ;   in Loop: Header=BB0_32 Depth=1
	strb	wzr, [sp, #16]
	add	x8, x8, x28
	ldur	x1, [x8, #-16]
	add	x0, sp, #16
	mov	w2, #128
	bl	_strlcpy
	add	x0, sp, #16
Lloh42:
	adrp	x1, l_.str.11@PAGE
Lloh43:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	w2, #128
	bl	_strlcat
	ldr	x8, [x20, #24]
	ldr	x8, [x8, x28]
Lloh44:
	adrp	x9, _RARCH_FILTER_LINEAR@GOTPAGE
Lloh45:
	ldr	x9, [x9, _RARCH_FILTER_LINEAR@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w2, eq
	add	x1, sp, #16
	mov	x0, x21
	bl	_config_set_bool
	ldr	x8, [x20, #24]
	b	LBB0_31
LBB0_37:
	mov	x0, x23
	bl	_free
LBB0_38:
	ldur	x8, [x29, #-96]
Lloh47:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh48:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.39:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #256]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #240]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #224]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_40:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX_LENGTH,8,3            ; @PATH_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"shaders"

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

l_.str.2:                               ; @.str.2
	.asciz	"shader%u"

	.comm	_RARCH_FILTER_UNSPEC,8,3        ; @RARCH_FILTER_UNSPEC
l_.str.3:                               ; @.str.3
	.asciz	"filter_linear%u"

	.comm	_RARCH_FILTER_LINEAR,8,3        ; @RARCH_FILTER_LINEAR
l_.str.4:                               ; @.str.4
	.asciz	"wrap_mode%u"

l_.str.5:                               ; @.str.5
	.asciz	"frame_count_mod%u"

l_.str.6:                               ; @.str.6
	.asciz	"mipmap_input%u"

l_.str.7:                               ; @.str.7
	.asciz	"alias%u"

l_.str.8:                               ; @.str.8
	.asciz	";"

l_.str.9:                               ; @.str.9
	.asciz	"parameters"

l_.str.10:                              ; @.str.10
	.asciz	"textures"

l_.str.11:                              ; @.str.11
	.asciz	"_linear"

l_.str.12:                              ; @.str.12
	.asciz	"_wrap_mode"

l_.str.13:                              ; @.str.13
	.asciz	"_mipmap"

.subsections_via_symbols
