	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function video_shader_parse_pass
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_video_shader_parse_pass:               ## @video_shader_parse_pass
	.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	$1000, %rsp                     ## imm = 0x3E8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, -1032(%rbp)               ## 8-byte Spill
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_malloc
	movl	$0, -1020(%rbp)
	movl	$0, -1016(%rbp)
	movl	$0, -1012(%rbp)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movb	$0, -432(%rbp)
	movb	$0, -368(%rbp)
	movb	$0, -304(%rbp)
	movb	$0, -240(%rbp)
	movb	$0, -176(%rbp)
	movb	$0, -112(%rbp)
	movb	$0, -1008(%rbp)
	movb	$0, -944(%rbp)
	movb	$0, -880(%rbp)
	movb	$0, -816(%rbp)
	movb	$0, -752(%rbp)
	movb	$0, -688(%rbp)
	movb	$0, -624(%rbp)
	movb	$0, -560(%rbp)
	movb	$0, -496(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	-112(%rbp), %r14
	movq	%r14, %rdi
	movl	$64, %esi
	movl	%r15d, %ecx
	callq	_snprintf
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_config_get_path
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	-1032(%rbp), %rax               ## 8-byte Reload
	movl	80(%rax), %edi
	movl	(%r13), %esi
	movq	%r12, %rdx
	movl	$4, %ecx
	callq	_fill_pathname_resolve_relative
	movq	%r12, %rdi
	callq	_free
	leaq	L_.str.2(%rip), %rdx
	leaq	-176(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	%r15d, %ecx
	callq	_snprintf
	leaq	-1020(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_config_get_bool
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	cmpl	$0, -1020(%rbp)
	jne	LBB0_6
## %bb.7:
	movq	_RARCH_FILTER_NEAREST@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_59
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r14d, %r14d
	leaq	-112(%rbp), %rsi
	xorl	%eax, %eax
	callq	_RARCH_ERR
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_59
LBB0_9:
	movq	_RARCH_FILTER_UNSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-1032(%rbp), %r12               ## 8-byte Reload
	jmp	LBB0_10
LBB0_6:
	movq	_RARCH_FILTER_LINEAR@GOTPCREL(%rip), %rax
LBB0_8:
	movq	-1032(%rbp), %r12               ## 8-byte Reload
	movl	(%rax), %eax
LBB0_10:
	movl	%eax, 76(%r12)
	leaq	L_.str.3(%rip), %rdx
	leaq	-240(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	%r15d, %ecx
	callq	_snprintf
	leaq	-304(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$64, %ecx
	callq	_config_get_array
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	-304(%rbp), %rdi
	callq	_wrap_str_to_mode
	movl	%eax, 72(%r12)
LBB0_12:
	leaq	L_.str.4(%rip), %rdx
	leaq	-368(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	%r15d, %ecx
	callq	_snprintf
	leaq	-1008(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$64, %ecx
	callq	_config_get_array
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	-1008(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtoul
	movl	%eax, (%r12)
LBB0_14:
	leaq	L_.str.5(%rip), %rdx
	leaq	-432(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	%r15d, %ecx
	callq	_snprintf
	leaq	-1020(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_config_get_bool
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movl	-1020(%rbp), %eax
	movl	%eax, 16(%r12)
LBB0_16:
	leaq	L_.str.6(%rip), %rdx
	leaq	-496(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	%r15d, %ecx
	callq	_snprintf
	leaq	-1020(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_config_get_bool
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movl	-1020(%rbp), %eax
	movl	%eax, 20(%r12)
LBB0_18:
	leaq	L_.str.7(%rip), %rdx
	leaq	-560(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	%r15d, %ecx
	callq	_snprintf
	leaq	-1020(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_config_get_bool
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movl	-1020(%rbp), %eax
	movl	%eax, 4(%r12)
LBB0_20:
	leaq	L_.str.8(%rip), %rdx
	leaq	-624(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	%r15d, %ecx
	callq	_snprintf
	movq	8(%r12), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$8, %ecx
	callq	_config_get_array
	testq	%rax, %rax
	jne	LBB0_22
## %bb.21:
	movq	8(%r12), %rax
	movb	$0, (%rax)
LBB0_22:
	leaq	L_.str.9(%rip), %rdx
	leaq	-688(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	%r15d, %ecx
	callq	_snprintf
	leaq	-816(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$64, %ecx
	callq	_config_get_array
	leaq	L_.str.10(%rip), %rdx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	%r15d, %ecx
	callq	_snprintf
	leaq	-880(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$64, %ecx
	callq	_config_get_array
	leaq	L_.str.11(%rip), %rdx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	%r15d, %ecx
	callq	_snprintf
	leaq	-944(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$64, %ecx
	callq	_config_get_array
	movb	-816(%rbp), %cl
	movb	-880(%rbp), %al
	movl	$1, %r14d
	testb	%cl, %cl
	jne	LBB0_25
## %bb.23:
	testb	%al, %al
	jne	LBB0_25
## %bb.24:
	cmpb	$0, -944(%rbp)
	je	LBB0_59
LBB0_25:
	testb	%cl, %cl
	je	LBB0_27
## %bb.26:
	leaq	-880(%rbp), %rdi
	leaq	-816(%rbp), %rbx
	movq	%rbx, %rsi
	movl	$64, %edx
	callq	_strlcpy
	leaq	-944(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$64, %edx
	callq	_strlcpy
	movb	-880(%rbp), %al
LBB0_27:
	movl	$1, 24(%r12)
	movq	_RARCH_SCALE_INPUT@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	%rcx, 32(%r12)
	movq	%rcx, 40(%r12)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1.0E+0,1.0E+0]
	movups	%xmm0, 48(%r12)
	testb	%al, %al
	je	LBB0_36
## %bb.28:
	leaq	L_.str.12(%rip), %rsi
	leaq	-880(%rbp), %rdi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_30
## %bb.29:
	movq	(%rbx), %rax
	jmp	LBB0_35
LBB0_30:
	leaq	L_.str.13(%rip), %rsi
	leaq	-880(%rbp), %rdi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	movq	_RARCH_SCALE_VIEWPORT@GOTPCREL(%rip), %rax
	jmp	LBB0_34
LBB0_32:
	leaq	L_.str.14(%rip), %rsi
	leaq	-880(%rbp), %rdi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_61
## %bb.33:
	movq	_RARCH_SCALE_ABSOLUTE@GOTPCREL(%rip), %rax
LBB0_34:
	movq	(%rax), %rax
LBB0_35:
	movq	%rax, 32(%r12)
LBB0_36:
	cmpb	$0, -944(%rbp)
	je	LBB0_45
## %bb.37:
	leaq	L_.str.12(%rip), %rsi
	leaq	-944(%rbp), %rdi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_39
## %bb.38:
	movq	(%rbx), %rax
	jmp	LBB0_44
LBB0_39:
	leaq	L_.str.13(%rip), %rsi
	leaq	-944(%rbp), %rdi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_41
## %bb.40:
	movq	_RARCH_SCALE_VIEWPORT@GOTPCREL(%rip), %rax
	jmp	LBB0_43
LBB0_41:
	leaq	L_.str.14(%rip), %rsi
	leaq	-944(%rbp), %rdi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_61
## %bb.42:
	movq	_RARCH_SCALE_ABSOLUTE@GOTPCREL(%rip), %rax
LBB0_43:
	movq	(%rax), %rax
LBB0_44:
	movq	%rax, 40(%r12)
LBB0_45:
	leaq	L_.str.16(%rip), %rdx
	leaq	-752(%rbp), %rdi
	movl	$64, %esi
	movl	%r15d, %ecx
	callq	_snprintf
	movq	32(%r12), %rax
	movq	_RARCH_SCALE_ABSOLUTE@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_49
## %bb.46:
	leaq	-752(%rbp), %rsi
	leaq	-1012(%rbp), %rdx
	movq	%r13, %rdi
	callq	_config_get_int
	testq	%rax, %rax
	jne	LBB0_47
## %bb.48:
	leaq	L_.str.17(%rip), %rdx
	leaq	-752(%rbp), %r12
	movq	%r12, %rdi
	movl	$64, %esi
	movl	%r15d, %ecx
	callq	_snprintf
	leaq	-1012(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	-1032(%rbp), %r12               ## 8-byte Reload
	callq	_config_get_int
	testq	%rax, %rax
	je	LBB0_52
LBB0_47:
	movl	-1012(%rbp), %eax
	movl	%eax, 64(%r12)
	jmp	LBB0_52
LBB0_49:
	leaq	-752(%rbp), %rsi
	leaq	-1016(%rbp), %rdx
	movq	%r13, %rdi
	callq	_config_get_float
	testq	%rax, %rax
	jne	LBB0_51
## %bb.50:
	leaq	L_.str.17(%rip), %rdx
	leaq	-752(%rbp), %r12
	movq	%r12, %rdi
	movl	$64, %esi
	movl	%r15d, %ecx
	callq	_snprintf
	leaq	-1016(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	-1032(%rbp), %r12               ## 8-byte Reload
	callq	_config_get_float
	testq	%rax, %rax
	je	LBB0_52
LBB0_51:
	movss	-1016(%rbp), %xmm0              ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	movsd	%xmm0, 48(%r12)
LBB0_52:
	leaq	L_.str.16(%rip), %rdx
	leaq	-752(%rbp), %rdi
	movl	$64, %esi
	movl	%r15d, %ecx
	callq	_snprintf
	movq	40(%r12), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_56
## %bb.53:
	leaq	-752(%rbp), %rsi
	leaq	-1012(%rbp), %rdx
	movq	%r13, %rdi
	callq	_config_get_int
	testq	%rax, %rax
	jne	LBB0_54
## %bb.55:
	leaq	L_.str.18(%rip), %rdx
	leaq	-752(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	%r15d, %ecx
	callq	_snprintf
	leaq	-1012(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_config_get_int
	testq	%rax, %rax
	je	LBB0_59
LBB0_54:
	movl	-1012(%rbp), %eax
	movl	%eax, 68(%r12)
	jmp	LBB0_59
LBB0_56:
	leaq	-752(%rbp), %rsi
	leaq	-1016(%rbp), %rdx
	movq	%r13, %rdi
	callq	_config_get_float
	testq	%rax, %rax
	jne	LBB0_58
## %bb.57:
	leaq	L_.str.18(%rip), %rdx
	leaq	-752(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	%r15d, %ecx
	callq	_snprintf
	leaq	-1016(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_config_get_float
	testq	%rax, %rax
	je	LBB0_59
LBB0_58:
	movss	-1016(%rbp), %xmm0              ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	movsd	%xmm0, 56(%r12)
LBB0_59:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_62
## %bb.60:
	movl	%r14d, %eax
	addq	$1000, %rsp                     ## imm = 0x3E8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_61:
	leaq	L_.str.15(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_RARCH_ERR
	jmp	LBB0_59
LBB0_62:
	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	"shader%u"

L_.str.1:                               ## @.str.1
	.asciz	"Couldn't parse shader source (%s).\n"

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

	.comm	_RARCH_FILTER_LINEAR,4,2        ## @RARCH_FILTER_LINEAR
	.comm	_RARCH_FILTER_NEAREST,4,2       ## @RARCH_FILTER_NEAREST
	.comm	_RARCH_FILTER_UNSPEC,4,2        ## @RARCH_FILTER_UNSPEC
L_.str.3:                               ## @.str.3
	.asciz	"wrap_mode%u"

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

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

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

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

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

L_.str.9:                               ## @.str.9
	.asciz	"scale_type%u"

L_.str.10:                              ## @.str.10
	.asciz	"scale_type_x%u"

L_.str.11:                              ## @.str.11
	.asciz	"scale_type_y%u"

	.comm	_RARCH_SCALE_INPUT,8,3          ## @RARCH_SCALE_INPUT
L_.str.12:                              ## @.str.12
	.asciz	"source"

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

	.comm	_RARCH_SCALE_VIEWPORT,8,3       ## @RARCH_SCALE_VIEWPORT
L_.str.14:                              ## @.str.14
	.asciz	"absolute"

	.comm	_RARCH_SCALE_ABSOLUTE,8,3       ## @RARCH_SCALE_ABSOLUTE
L_.str.15:                              ## @.str.15
	.asciz	"Invalid attribute.\n"

L_.str.16:                              ## @.str.16
	.asciz	"scale%u"

L_.str.17:                              ## @.str.17
	.asciz	"scale_x%u"

L_.str.18:                              ## @.str.18
	.asciz	"scale_y%u"

	.no_dead_strip	_video_shader_parse_pass
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function video_shader_parse_pass
_video_shader_parse_pass:               ; @video_shader_parse_pass
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #992
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	x23, [x8]
	mov	x0, x23
	bl	_malloc
	str	xzr, [sp, #16]
	str	wzr, [sp, #12]
	cbz	x0, LBB0_56
; %bb.1:
	mov	x22, x0
	strb	wzr, [sp, #600]
	strb	wzr, [sp, #664]
	strb	wzr, [sp, #728]
	strb	wzr, [sp, #792]
	sturb	wzr, [x29, #-200]
	sturb	wzr, [x29, #-136]
	strb	wzr, [sp, #24]
	strb	wzr, [sp, #88]
	strb	wzr, [sp, #152]
	strb	wzr, [sp, #216]
	strb	wzr, [sp, #280]
	strb	wzr, [sp, #344]
	strb	wzr, [sp, #408]
	strb	wzr, [sp, #472]
	strb	wzr, [sp, #536]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	sub	x24, x29, #136
	sub	x0, x29, #136
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	sub	x1, x29, #136
	mov	x0, x20
	mov	x2, x22
	mov	x3, x23
	bl	_config_get_path
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w0, [x19, #80]
	ldr	w1, [x20]
	mov	x2, x22
	mov	w3, #4
	bl	_fill_pathname_resolve_relative
	mov	x0, x22
	bl	_free
Lloh8:
	adrp	x2, l_.str.2@PAGE
Lloh9:
	add	x2, x2, l_.str.2@PAGEOFF
	sub	x0, x29, #200
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	sub	x1, x29, #200
	add	x2, sp, #20
	mov	x0, x20
	bl	_config_get_bool
	cbz	x0, LBB0_5
; %bb.3:
Lloh10:
	adrp	x8, _RARCH_FILTER_LINEAR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RARCH_FILTER_LINEAR@GOTPAGEOFF]
	ldr	w9, [sp, #20]
Lloh12:
	adrp	x10, _RARCH_FILTER_NEAREST@GOTPAGE
Lloh13:
	ldr	x10, [x10, _RARCH_FILTER_NEAREST@GOTPAGEOFF]
	cmp	w9, #0
	csel	x8, x10, x8, eq
	b	LBB0_6
LBB0_4:
	str	x24, [sp]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_RARCH_ERR
	mov	x0, x22
	bl	_free
	mov	w0, #0
	b	LBB0_56
LBB0_5:
Lloh16:
	adrp	x8, _RARCH_FILTER_UNSPEC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RARCH_FILTER_UNSPEC@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	str	w8, [x19, #76]
Lloh18:
	adrp	x2, l_.str.3@PAGE
Lloh19:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x0, sp, #792
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	add	x1, sp, #792
	add	x2, sp, #728
	mov	x0, x20
	mov	w3, #64
	bl	_config_get_array
	cbz	x0, LBB0_8
; %bb.7:
	add	x0, sp, #728
	bl	_wrap_str_to_mode
	str	w0, [x19, #72]
LBB0_8:
Lloh20:
	adrp	x2, l_.str.4@PAGE
Lloh21:
	add	x2, x2, l_.str.4@PAGEOFF
	add	x0, sp, #664
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	add	x1, sp, #664
	add	x2, sp, #24
	mov	x0, x20
	mov	w3, #64
	bl	_config_get_array
	cbz	x0, LBB0_10
; %bb.9:
	add	x0, sp, #24
	mov	x1, #0
	mov	w2, #0
	bl	_strtoul
	str	w0, [x19]
LBB0_10:
Lloh22:
	adrp	x2, l_.str.5@PAGE
Lloh23:
	add	x2, x2, l_.str.5@PAGEOFF
	add	x0, sp, #600
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	add	x1, sp, #600
	add	x2, sp, #20
	mov	x0, x20
	bl	_config_get_bool
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w8, [sp, #20]
	str	w8, [x19, #16]
LBB0_12:
Lloh24:
	adrp	x2, l_.str.6@PAGE
Lloh25:
	add	x2, x2, l_.str.6@PAGEOFF
	add	x0, sp, #536
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	add	x1, sp, #536
	add	x2, sp, #20
	mov	x0, x20
	bl	_config_get_bool
	cbz	x0, LBB0_14
; %bb.13:
	ldr	w8, [sp, #20]
	str	w8, [x19, #20]
LBB0_14:
Lloh26:
	adrp	x2, l_.str.7@PAGE
Lloh27:
	add	x2, x2, l_.str.7@PAGEOFF
	add	x0, sp, #472
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	add	x1, sp, #472
	add	x2, sp, #20
	mov	x0, x20
	bl	_config_get_bool
	cbz	x0, LBB0_16
; %bb.15:
	ldr	w8, [sp, #20]
	str	w8, [x19, #4]
LBB0_16:
Lloh28:
	adrp	x2, l_.str.8@PAGE
Lloh29:
	add	x2, x2, l_.str.8@PAGEOFF
	add	x0, sp, #408
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	ldr	x2, [x19, #8]
	add	x1, sp, #408
	mov	x0, x20
	mov	w3, #8
	bl	_config_get_array
	cbnz	x0, LBB0_18
; %bb.17:
	ldr	x8, [x19, #8]
	strb	wzr, [x8]
LBB0_18:
Lloh30:
	adrp	x2, l_.str.9@PAGE
Lloh31:
	add	x2, x2, l_.str.9@PAGEOFF
	add	x0, sp, #344
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	add	x1, sp, #344
	add	x2, sp, #216
	mov	x0, x20
	mov	w3, #64
	bl	_config_get_array
Lloh32:
	adrp	x2, l_.str.10@PAGE
Lloh33:
	add	x2, x2, l_.str.10@PAGEOFF
	add	x0, sp, #344
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	add	x1, sp, #344
	add	x2, sp, #152
	mov	x0, x20
	mov	w3, #64
	bl	_config_get_array
Lloh34:
	adrp	x2, l_.str.11@PAGE
Lloh35:
	add	x2, x2, l_.str.11@PAGEOFF
	add	x0, sp, #344
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	add	x1, sp, #344
	add	x2, sp, #88
	mov	x0, x20
	mov	w3, #64
	bl	_config_get_array
	ldrb	w9, [sp, #216]
	ldrb	w8, [sp, #152]
	cbnz	w9, LBB0_21
; %bb.19:
	cbnz	w8, LBB0_21
; %bb.20:
	ldrb	w10, [sp, #88]
	cbz	w10, LBB0_55
LBB0_21:
	cbz	w9, LBB0_23
; %bb.22:
	add	x0, sp, #152
	add	x1, sp, #216
	mov	w2, #64
	bl	_strlcpy
	add	x0, sp, #88
	add	x1, sp, #216
	mov	w2, #64
	bl	_strlcpy
	ldrb	w8, [sp, #152]
LBB0_23:
	mov	w9, #1
Lloh36:
	adrp	x22, _RARCH_SCALE_INPUT@GOTPAGE
Lloh37:
	ldr	x22, [x22, _RARCH_SCALE_INPUT@GOTPAGEOFF]
	str	w9, [x19, #24]
	ldr	x9, [x22]
	stp	x9, x9, [x19, #32]
	fmov.2d	v0, #1.00000000
	str	q0, [x19, #48]
	cbz	w8, LBB0_32
; %bb.24:
Lloh38:
	adrp	x1, l_.str.12@PAGE
Lloh39:
	add	x1, x1, l_.str.12@PAGEOFF
	add	x0, sp, #152
	bl	_string_is_equal
	cbz	x0, LBB0_26
; %bb.25:
	ldr	x8, [x22]
	b	LBB0_31
LBB0_26:
Lloh40:
	adrp	x1, l_.str.13@PAGE
Lloh41:
	add	x1, x1, l_.str.13@PAGEOFF
	add	x0, sp, #152
	bl	_string_is_equal
	cbz	x0, LBB0_28
; %bb.27:
Lloh42:
	adrp	x8, _RARCH_SCALE_VIEWPORT@GOTPAGE
Lloh43:
	ldr	x8, [x8, _RARCH_SCALE_VIEWPORT@GOTPAGEOFF]
	b	LBB0_30
LBB0_28:
Lloh44:
	adrp	x1, l_.str.14@PAGE
Lloh45:
	add	x1, x1, l_.str.14@PAGEOFF
	add	x0, sp, #152
	bl	_string_is_equal
	cbz	x0, LBB0_58
; %bb.29:
Lloh46:
	adrp	x8, _RARCH_SCALE_ABSOLUTE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _RARCH_SCALE_ABSOLUTE@GOTPAGEOFF]
LBB0_30:
	ldr	x8, [x8]
LBB0_31:
	str	x8, [x19, #32]
LBB0_32:
	ldrb	w8, [sp, #88]
	cbz	w8, LBB0_41
; %bb.33:
Lloh48:
	adrp	x1, l_.str.12@PAGE
Lloh49:
	add	x1, x1, l_.str.12@PAGEOFF
	add	x0, sp, #88
	bl	_string_is_equal
	cbz	x0, LBB0_35
; %bb.34:
	ldr	x8, [x22]
	b	LBB0_40
LBB0_35:
Lloh50:
	adrp	x1, l_.str.13@PAGE
Lloh51:
	add	x1, x1, l_.str.13@PAGEOFF
	add	x0, sp, #88
	bl	_string_is_equal
	cbz	x0, LBB0_37
; %bb.36:
Lloh52:
	adrp	x8, _RARCH_SCALE_VIEWPORT@GOTPAGE
Lloh53:
	ldr	x8, [x8, _RARCH_SCALE_VIEWPORT@GOTPAGEOFF]
	b	LBB0_39
LBB0_37:
Lloh54:
	adrp	x1, l_.str.14@PAGE
Lloh55:
	add	x1, x1, l_.str.14@PAGEOFF
	add	x0, sp, #88
	bl	_string_is_equal
	cbz	x0, LBB0_58
; %bb.38:
Lloh56:
	adrp	x8, _RARCH_SCALE_ABSOLUTE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _RARCH_SCALE_ABSOLUTE@GOTPAGEOFF]
LBB0_39:
	ldr	x8, [x8]
LBB0_40:
	str	x8, [x19, #40]
LBB0_41:
Lloh58:
	adrp	x2, l_.str.16@PAGE
Lloh59:
	add	x2, x2, l_.str.16@PAGEOFF
	add	x0, sp, #280
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	ldr	x8, [x19, #32]
Lloh60:
	adrp	x22, _RARCH_SCALE_ABSOLUTE@GOTPAGE
Lloh61:
	ldr	x22, [x22, _RARCH_SCALE_ABSOLUTE@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x1, sp, #280
	cmp	x8, x9
	b.ne	LBB0_45
; %bb.42:
	add	x2, sp, #12
	mov	x0, x20
	bl	_config_get_int
	cbnz	x0, LBB0_44
; %bb.43:
Lloh62:
	adrp	x2, l_.str.17@PAGE
Lloh63:
	add	x2, x2, l_.str.17@PAGEOFF
	add	x0, sp, #280
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	add	x1, sp, #280
	add	x2, sp, #12
	mov	x0, x20
	bl	_config_get_int
	cbz	x0, LBB0_48
LBB0_44:
	ldr	w8, [sp, #12]
	str	w8, [x19, #64]
	b	LBB0_48
LBB0_45:
	add	x2, sp, #16
	mov	x0, x20
	bl	_config_get_float
	cbnz	x0, LBB0_47
; %bb.46:
Lloh64:
	adrp	x2, l_.str.17@PAGE
Lloh65:
	add	x2, x2, l_.str.17@PAGEOFF
	add	x0, sp, #280
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	add	x1, sp, #280
	add	x2, sp, #16
	mov	x0, x20
	bl	_config_get_float
	cbz	x0, LBB0_48
LBB0_47:
	ldr	s0, [sp, #16]
	fcvt	d0, s0
	str	d0, [x19, #48]
LBB0_48:
Lloh66:
	adrp	x2, l_.str.16@PAGE
Lloh67:
	add	x2, x2, l_.str.16@PAGEOFF
	add	x0, sp, #280
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	ldr	x8, [x19, #40]
	ldr	x9, [x22]
	add	x1, sp, #280
	cmp	x8, x9
	b.ne	LBB0_52
; %bb.49:
	add	x2, sp, #12
	mov	x0, x20
	bl	_config_get_int
	cbnz	x0, LBB0_51
; %bb.50:
Lloh68:
	adrp	x2, l_.str.18@PAGE
Lloh69:
	add	x2, x2, l_.str.18@PAGEOFF
	add	x0, sp, #280
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	add	x1, sp, #280
	add	x2, sp, #12
	mov	x0, x20
	bl	_config_get_int
	cbz	x0, LBB0_55
LBB0_51:
	ldr	w8, [sp, #12]
	str	w8, [x19, #68]
	b	LBB0_55
LBB0_52:
	add	x2, sp, #16
	mov	x0, x20
	bl	_config_get_float
	cbnz	x0, LBB0_54
; %bb.53:
Lloh70:
	adrp	x2, l_.str.18@PAGE
Lloh71:
	add	x2, x2, l_.str.18@PAGEOFF
	add	x0, sp, #280
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	add	x1, sp, #280
	add	x2, sp, #16
	mov	x0, x20
	bl	_config_get_float
	cbz	x0, LBB0_55
LBB0_54:
	ldr	s0, [sp, #16]
	fcvt	d0, s0
	str	d0, [x19, #56]
LBB0_55:
	mov	w0, #1
LBB0_56:
	ldur	x8, [x29, #-72]
Lloh72:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh73:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh74:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_59
; %bb.57:
	add	sp, sp, #992
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_58:
Lloh75:
	adrp	x0, l_.str.15@PAGE
Lloh76:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_RARCH_ERR
	mov	w0, #0
	b	LBB0_56
LBB0_59:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX_LENGTH,8,3            ; @PATH_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"shader%u"

l_.str.1:                               ; @.str.1
	.asciz	"Couldn't parse shader source (%s).\n"

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

	.comm	_RARCH_FILTER_LINEAR,4,2        ; @RARCH_FILTER_LINEAR
	.comm	_RARCH_FILTER_NEAREST,4,2       ; @RARCH_FILTER_NEAREST
	.comm	_RARCH_FILTER_UNSPEC,4,2        ; @RARCH_FILTER_UNSPEC
l_.str.3:                               ; @.str.3
	.asciz	"wrap_mode%u"

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

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

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

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

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

l_.str.9:                               ; @.str.9
	.asciz	"scale_type%u"

l_.str.10:                              ; @.str.10
	.asciz	"scale_type_x%u"

l_.str.11:                              ; @.str.11
	.asciz	"scale_type_y%u"

	.comm	_RARCH_SCALE_INPUT,8,3          ; @RARCH_SCALE_INPUT
l_.str.12:                              ; @.str.12
	.asciz	"source"

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

	.comm	_RARCH_SCALE_VIEWPORT,8,3       ; @RARCH_SCALE_VIEWPORT
l_.str.14:                              ; @.str.14
	.asciz	"absolute"

	.comm	_RARCH_SCALE_ABSOLUTE,8,3       ; @RARCH_SCALE_ABSOLUTE
l_.str.15:                              ; @.str.15
	.asciz	"Invalid attribute.\n"

l_.str.16:                              ; @.str.16
	.asciz	"scale%u"

l_.str.17:                              ; @.str.17
	.asciz	"scale_x%u"

l_.str.18:                              ; @.str.18
	.asciz	"scale_y%u"

	.no_dead_strip	_video_shader_parse_pass
.subsections_via_symbols
