	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function video_shader_resolve_parameters
LCPI0_0:
	.long	0x3dcccccd                      ## float 0.100000001
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_video_shader_resolve_parameters
	.p2align	4, 0x90
_video_shader_resolve_parameters:       ## @video_shader_resolve_parameters
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	16(%rsi), %r14
	movq	$0, (%rsi)
	cmpl	$0, 8(%rsi)
	je	LBB0_25
## %bb.1:
	xorl	%r13d, %r13d
	leaq	-56(%rbp), %r12
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_string_list_free
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	leaq	-56(%rbp), %r12
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movl	8(%r15), %eax
	cmpq	%rax, %r13
	jae	LBB0_25
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movq	24(%r15), %rax
	movq	(%rax,%r13,8), %rbx
	movq	$0, -56(%rbp)
	movq	$0, -80(%rbp)
	movq	%rbx, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_24
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_path_is_valid
	testl	%eax, %eax
	je	LBB0_24
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	leaq	-80(%rbp), %rdx
	callq	_filestream_read_file
	testl	%eax, %eax
	je	LBB0_24
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -80(%rbp)
	jle	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_string_split
	movq	%rax, %rbx
	jmp	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_free
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%r13d, (%r14)
	movq	(%r15), %rbx
	movq	16(%r15), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jge	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=2
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_14 Depth=2
	movq	(%r15), %rbx
	movq	16(%r15), %rdi
	callq	_ARRAY_SIZE
	incq	%r12
	cmpq	%rax, %rbx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jge	LBB0_23
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	(%rdi), %r12
	jae	LBB0_23
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	8(%rdi), %rax
	movq	(%rax,%r12,8), %r14
	leaq	L_.str.1(%rip), %rbx
	movq	%rbx, %rdi
	callq	_STRLEN_CONST
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rcx
	leaq	36(%rbx), %r8
	leaq	24(%rbx), %r9
	leaq	28(%rbx), %r15
	leaq	32(%rbx), %rax
	movq	%r14, %rdi
	movq	%rax, %r14
	leaq	L_.str.2(%rip), %rsi
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	pushq	%rax
	pushq	%r15
	callq	_sscanf
	addq	$16, %rsp
	cmpl	$5, %eax
	jl	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	%r15, %rcx
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	8(%rbx), %rax
	movb	$0, 63(%rax)
	movq	16(%rbx), %rax
	movb	$0, 63(%rax)
	jne	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=2
	movss	(%rcx), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movss	(%r15), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm2
	subss	%xmm0, %xmm2
	mulss	LCPI0_0(%rip), %xmm2
	movss	%xmm2, (%r14)
	jmp	LBB0_21
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=2
	movss	(%r15), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	(%rcx), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movss	(%r14), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=2
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%r13d, (%rbx)
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	movl	36(%rbx), %ecx
	leaq	L_.str.3(%rip), %rdi
	movl	%r13d, %r8d
	callq	_RARCH_LOG
	movl	36(%rbx), %eax
	movl	%eax, 40(%rbx)
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	incq	(%r15)
	addq	$48, %rbx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_22
LBB0_25:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_video_shader_resolve_current_parameters
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

L_.str.1:                               ## @.str.1
	.asciz	"#pragma parameter"

L_.str.2:                               ## @.str.2
	.asciz	"#pragma parameter %63s \"%63[^\"]\" %f %f %f %f"

L_.str.3:                               ## @.str.3
	.asciz	"Found #pragma parameter %s (%s) %f %f %f %f in pass %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_video_shader_resolve_parameters ; -- Begin function video_shader_resolve_parameters
	.p2align	2
_video_shader_resolve_parameters:       ; @video_shader_resolve_parameters
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x1
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x20, [x1, #16]
	str	xzr, [x1]
	ldr	w8, [x1, #8]
	cbz	w8, LBB0_22
; %bb.1:
	mov	x21, #0
Lloh0:
	adrp	x23, l_.str.1@PAGE
Lloh1:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_string_list_free
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldr	w8, [x19, #8]
	cmp	x21, x8
	b.hs	LBB0_22
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	ldr	x8, [x19, #24]
	ldr	x22, [x8, x21, lsl #3]
	stp	xzr, xzr, [sp, #16]
	mov	x0, x22
	bl	_string_is_empty
	cbnz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_path_is_valid
	cbz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #24
	add	x2, sp, #16
	mov	x0, x22
	bl	_filestream_read_file
	cbz	w0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #16]
	cmp	x8, #1
	b.lt	LBB0_21
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #24]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_string_split
	mov	x26, x0
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_free
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x26, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	str	w21, [x20]
	ldr	x22, [x19]
	ldr	x0, [x19, #16]
	bl	_ARRAY_SIZE
	cmp	x22, x0
	b.ge	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, #0
	b	LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_16 Depth=2
	ldr	s1, [x22]
	ldr	s0, [x28]
	fsub	s2, s1, s0
	mov	w8, #52429
	movk	w8, #15820, lsl #16
	fmov	s3, w8
	fmul	s2, s2, s3
	str	s2, [x27]
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=2
	str	w21, [x20]
	ldp	x2, x1, [x20, #8]
	ldr	w3, [x20, #36]
Lloh4:
	adrp	x0, l_.str.3@PAGE
Lloh5:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x4, x21
	bl	_RARCH_LOG
	ldr	w8, [x20, #36]
	str	w8, [x20, #40]
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	add	x20, x20, #48
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	ldr	x22, [x19]
	ldr	x0, [x19, #16]
	bl	_ARRAY_SIZE
	add	x24, x24, #1
	cmp	x22, x0
	b.ge	LBB0_2
LBB0_16:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x26]
	cmp	x24, x8
	b.hs	LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	x8, [x26, #8]
	ldr	x25, [x8, x24, lsl #3]
	mov	x0, x23
	bl	_STRLEN_CONST
	mov	x2, x0
	mov	x0, x23
	mov	x1, x25
	bl	_strncmp
	cbnz	x0, LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=2
	ldp	x2, x3, [x20, #8]
	add	x4, x20, #36
	add	x28, x20, #24
	add	x22, x20, #28
	add	x27, x20, #32
	mov	x0, x25
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x5, x28
	mov	x6, x22
	mov	x7, x27
	bl	_sscanf
	cmp	w0, #5
	b.lt	LBB0_15
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	x8, [x20, #8]
	strb	wzr, [x8, #63]
	ldr	x8, [x20, #16]
	strb	wzr, [x8, #63]
	cmp	w0, #5
	b.eq	LBB0_13
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	s0, [x28]
	ldr	s1, [x22]
	ldr	s2, [x27]
	b	LBB0_14
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, #0
	ldr	x0, [sp, #24]
	cbnz	x0, LBB0_9
	b	LBB0_10
LBB0_22:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x19
	bl	_video_shader_resolve_current_parameters
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

l_.str.1:                               ; @.str.1
	.asciz	"#pragma parameter"

l_.str.2:                               ; @.str.2
	.asciz	"#pragma parameter %63s \"%63[^\"]\" %f %f %f %f"

l_.str.3:                               ; @.str.3
	.asciz	"Found #pragma parameter %s (%s) %f %f %f %f in pass %d\n"

.subsections_via_symbols
