	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	cmpl	$3, %edi
	jl	LBB0_1
## %bb.16:
	movl	%edi, %r13d
	decl	%r13d
	movl	$1, %r14d
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %r12
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	8(%rbx,%r14,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_27:                                ##   in Loop: Header=BB0_17 Depth=1
	addq	$2, %r14
	cmpq	%r13, %r14
	jae	LBB0_2
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r14,8), %r15
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	8(%rbx,%r14,8), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	8(%rbx,%r14,8), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_27
LBB0_22:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	8(%rbx,%r14,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_27
LBB0_24:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	8(%rbx,%r14,8), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_27
LBB0_1:
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	jmp	LBB0_8
LBB0_2:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_3
## %bb.4:
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	testq	%r13, %r13
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_8
## %bb.5:
	testq	%r12, %r12
	je	LBB0_8
## %bb.6:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	sete	%al
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	setne	%cl
	movl	%eax, %edx
	andb	%cl, %dl
	cmpb	$1, %dl
	je	LBB0_8
## %bb.7:
	orb	%cl, %al
	jne	LBB0_9
	jmp	LBB0_8
LBB0_3:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
LBB0_8:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	(%rbx), %rsi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	(%rbx), %rsi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_9:
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_fopen
	movq	%rax, %rbx
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_fseek
	movq	%rbx, %rdi
	callq	_ftell
	movq	%rax, %r14
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_fseek
	leaq	1(%r14), %rdi
	callq	_malloc
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	$1, %esi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_fread
	movq	%rbx, %rdi
	callq	_fclose
	movb	$0, (%r15,%r14)
	leaq	L_.str.9(%rip), %rbx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_fopen
	movq	%rax, %r14
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_fopen
	movq	%rax, %rbx
	leaq	L_.str.10(%rip), %r12
	movq	%r12, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_fwrite
	movq	%r12, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rcx
	callq	_fwrite
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movb	(%r15), %al
	testb	%al, %al
	je	LBB0_47
## %bb.10:
	leaq	L_.str.11(%rip), %rbx
	movl	$1, %r15d
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_34:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.14(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	movl	$0, %eax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	cmovnel	%eax, %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	$1, %eax
	cmovnel	%eax, %r15d
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_11 Depth=1
	movb	(%r13), %al
	testb	%al, %al
	je	LBB0_47
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_37 Depth 2
                                        ##     Child Loop BB0_38 Depth 2
	movq	%r13, %r12
	incq	%r13
	testb	%al, %al
	je	LBB0_29
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$10, %al
	je	LBB0_29
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpb	$13, %al
	je	LBB0_28
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	movzbl	(%r13), %eax
	incq	%r13
	testb	%al, %al
	jne	LBB0_13
LBB0_29:                                ##   in Loop: Header=BB0_11 Depth=1
	decq	%r13
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_11 Depth=1
	movb	$0, -1(%r13)
LBB0_30:                                ##   in Loop: Header=BB0_11 Depth=1
	movb	$0, (%r13)
	incq	%r13
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_46
## %bb.31:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.12(%rip), %rsi
	callq	_strstr
	movq	%r12, %rdi
	testq	%rax, %rax
	je	LBB0_35
## %bb.32:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	L_.str.13(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_11 Depth=1
	xorl	%r15d, %r15d
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_46
LBB0_35:                                ##   in Loop: Header=BB0_11 Depth=1
	leaq	L_.str.15(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_41
## %bb.36:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rbx
	leaq	-1(%rax), %rdx
	incq	%rax
	.p2align	4, 0x90
LBB0_37:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, %rcx
	cmpb	$41, 1(%rdx)
	leaq	1(%rdx), %rdx
	leaq	1(%rax), %rax
	jne	LBB0_37
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %r14
	movzbl	(%rcx), %eax
	testb	%al, %al
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=2
	movsbl	%al, %edi
	callq	_isspace
	leaq	1(%r14), %rcx
	testq	%rax, %rax
	jne	LBB0_38
LBB0_40:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.16(%rip), %rsi
	movl	$7, %edx
	callq	_strncmp
	testl	%eax, %eax
	cmoveq	%r14, %r12
	movq	%rbx, %r14
	leaq	L_.str.11(%rip), %rbx
LBB0_41:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_fwrite
	movl	$10, %edi
	movq	%r14, %rsi
	callq	_fputc
LBB0_43:                                ##   in Loop: Header=BB0_11 Depth=1
	testl	%r15d, %r15d
	je	LBB0_44
## %bb.45:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_fwrite
	movl	$10, %edi
	movq	%rbx, %rsi
	leaq	L_.str.11(%rip), %rbx
	callq	_fputc
	jmp	LBB0_46
LBB0_44:                                ##   in Loop: Header=BB0_11 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_46
LBB0_47:
	movq	%r14, %rdi
	callq	_fclose
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_fclose
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	xorl	%eax, %eax
	addq	$40, %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	"--slang"

L_.str.1:                               ## @.str.1
	.asciz	"--vsource"

L_.str.2:                               ## @.str.2
	.asciz	"--psource"

L_.str.3:                               ## @.str.3
	.asciz	"--vsh"

L_.str.4:                               ## @.str.4
	.asciz	"--psh"

L_.str.6:                               ## @.str.6
	.asciz	"%s --slang <slang input> --vsh <vsh output> --psh <psh output>\n"

L_.str.7:                               ## @.str.7
	.asciz	"%s --slang <slang input> --vsource <vsh asm input> --psource <psh asm input> --vsh <vsh output> --psh <psh output>\n"

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

	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
L_.str.9:                               ## @.str.9
	.asciz	"wb"

L_.str.10:                              ## @.str.10
	.asciz	"#version 150\n"

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

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

L_.str.13:                              ## @.str.13
	.asciz	"#pragma stage vertex"

L_.str.14:                              ## @.str.14
	.asciz	"#pragma stage fragment"

L_.str.15:                              ## @.str.15
	.asciz	"layout("

L_.str.16:                              ## @.str.16
	.asciz	"uniform"

L_str:                                  ## @str
	.asciz	"Usage :"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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	x22, x1
	cmp	w0, #3
	b.lt	LBB0_13
; %bb.1:
	mov	x26, #0
	mov	x19, #0
	mov	x21, #0
	stp	xzr, xzr, [sp, #16]             ; 16-byte Folded Spill
	str	xzr, [sp, #8]                   ; 8-byte Folded Spill
	sub	w20, w0, #1
Lloh0:
	adrp	x23, l_.str@PAGE
Lloh1:
	add	x23, x23, l_.str@PAGEOFF
Lloh2:
	adrp	x24, l_.str.1@PAGE
Lloh3:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh4:
	adrp	x25, l_.str.2@PAGE
Lloh5:
	add	x25, x25, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x19, [x27, #16]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x26, #3
	add	x26, x26, #2
	cmp	x8, x20
	b.hs	LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x27, x22, x26, lsl #3
	ldr	x28, [x27, #8]
	mov	x0, x28
	mov	x1, x23
	bl	_strcmp
	cbz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x28
	mov	x1, x24
	bl	_strcmp
	cbz	w0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x28
	mov	x1, x25
	bl	_strcmp
	cbz	w0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x28
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x28
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x22, x26, lsl #3
	ldr	x8, [x8, #16]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x22, x26, lsl #3
	ldr	x21, [x8, #16]
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x22, x26, lsl #3
	ldr	x8, [x8, #16]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x22, x26, lsl #3
	ldr	x8, [x8, #16]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	b	LBB0_3
LBB0_13:
	mov	x19, #0
	mov	x20, #0
	mov	x24, #0
	b	LBB0_15
LBB0_14:
	cmp	x19, #0
	ldp	x24, x20, [sp, #8]              ; 16-byte Folded Reload
	ccmp	x20, #0, #4, ne
	ccmp	x24, #0, #4, ne
	b.ne	LBB0_41
LBB0_15:
Lloh10:
	adrp	x0, l_str@PAGE
Lloh11:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldr	x8, [x22]
	str	x8, [sp]
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	ldr	x8, [x22]
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.7@PAGE
Lloh15:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
LBB0_16:
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_fopen
	mov	x22, x0
Lloh18:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_fseek
	mov	x0, x22
	bl	_ftell
	mov	x23, x0
Lloh21:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w1, #0
	bl	_fseek
	add	x0, x23, #1
	bl	_malloc
	mov	x19, x0
	mov	w1, #1
	mov	x2, x23
	mov	x3, x22
	bl	_fread
	mov	x0, x22
	bl	_fclose
	strb	wzr, [x19, x23]
Lloh24:
	adrp	x22, l_.str.9@PAGE
Lloh25:
	add	x22, x22, l_.str.9@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	bl	_fopen
	mov	x20, x0
	mov	x0, x24
	mov	x1, x22
	bl	_fopen
	mov	x21, x0
Lloh26:
	adrp	x22, l_.str.10@PAGE
Lloh27:
	add	x22, x22, l_.str.10@PAGEOFF
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x22
	mov	w1, #1
	mov	x3, x20
	bl	_fwrite
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x22
	mov	w1, #1
	mov	x3, x21
	bl	_fwrite
	ldrb	w8, [x19]
	cbz	w8, LBB0_40
; %bb.17:
	mov	w27, #1
Lloh28:
	adrp	x22, l_.str.11@PAGE
Lloh29:
	add	x22, x22, l_.str.11@PAGEOFF
Lloh30:
	adrp	x23, l_.str.12@PAGE
Lloh31:
	add	x23, x23, l_.str.12@PAGEOFF
	mov	w24, #1
	mov	x28, x19
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x26
Lloh32:
	adrp	x1, l_.str.14@PAGE
Lloh33:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_strstr
	cmp	x0, #0
	csel	w24, w24, wzr, eq
	csinc	w27, w27, wzr, eq
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	ldrb	w8, [x28]
	cbz	w8, LBB0_40
LBB0_20:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
                                        ;     Child Loop BB0_32 Depth 2
                                        ;     Child Loop BB0_33 Depth 2
	mov	x26, x28
	add	x28, x28, #1
	cbz	w8, LBB0_24
LBB0_21:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w8, #10
	b.eq	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	cmp	w8, #13
	b.eq	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=2
	ldrb	w8, [x28], #1
	cbnz	w8, LBB0_21
LBB0_24:                                ;   in Loop: Header=BB0_20 Depth=1
	sub	x28, x28, #1
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_20 Depth=1
	sturb	wzr, [x28, #-1]
LBB0_26:                                ;   in Loop: Header=BB0_20 Depth=1
	strb	wzr, [x28], #1
	mov	x0, x26
	mov	x1, x22
	bl	_strstr
	cbnz	x0, LBB0_19
; %bb.27:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x26
	mov	x1, x23
	bl	_strstr
	cbz	x0, LBB0_30
; %bb.28:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x26
Lloh34:
	adrp	x1, l_.str.13@PAGE
Lloh35:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_18
; %bb.29:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	w27, #0
	mov	w24, #1
	b	LBB0_19
LBB0_30:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x26
Lloh36:
	adrp	x1, l_.str.15@PAGE
Lloh37:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_36
; %bb.31:                               ;   in Loop: Header=BB0_20 Depth=1
	sub	x8, x0, #1
	add	x10, x0, #1
LBB0_32:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x9, x10
	ldrb	w11, [x8, #1]!
	add	x10, x10, #1
	cmp	w11, #41
	b.ne	LBB0_32
LBB0_33:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x25, x9
	ldrb	w8, [x9]
	cbz	w8, LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=2
	sxtb	w0, w8
	bl	_isspace
	add	x9, x25, #1
	cbnz	x0, LBB0_33
LBB0_35:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x25
Lloh38:
	adrp	x1, l_.str.16@PAGE
Lloh39:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	w2, #7
	bl	_strncmp
	cmp	w0, #0
	csel	x26, x25, x26, eq
LBB0_36:                                ;   in Loop: Header=BB0_20 Depth=1
	cbz	w24, LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x26
	bl	_strlen
	mov	x2, x0
	mov	x0, x26
	mov	w1, #1
	mov	x3, x20
	bl	_fwrite
	mov	w0, #10
	mov	x1, x20
	bl	_fputc
LBB0_38:                                ;   in Loop: Header=BB0_20 Depth=1
	cbz	w27, LBB0_19
; %bb.39:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x26
	bl	_strlen
	mov	x2, x0
	mov	x0, x26
	mov	w1, #1
	mov	x3, x21
	bl	_fwrite
	mov	w0, #10
	mov	x1, x21
	bl	_fputc
	b	LBB0_19
LBB0_40:
	mov	x0, x20
	bl	_fclose
	mov	x0, x21
	bl	_fclose
	mov	x0, x19
	bl	_free
	mov	w0, #0
	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
LBB0_41:
	cmp	x21, #0
	cset	w8, eq
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x9, #0
	cset	w9, ne
	and	w10, w8, w9
	cmp	w10, #1
	b.eq	LBB0_15
; %bb.42:
	orr	w8, w8, w9
	tbnz	w8, #0, LBB0_16
	b	LBB0_15
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"--slang"

l_.str.1:                               ; @.str.1
	.asciz	"--vsource"

l_.str.2:                               ; @.str.2
	.asciz	"--psource"

l_.str.3:                               ; @.str.3
	.asciz	"--vsh"

l_.str.4:                               ; @.str.4
	.asciz	"--psh"

l_.str.6:                               ; @.str.6
	.asciz	"%s --slang <slang input> --vsh <vsh output> --psh <psh output>\n"

l_.str.7:                               ; @.str.7
	.asciz	"%s --slang <slang input> --vsource <vsh asm input> --psource <psh asm input> --vsh <vsh output> --psh <psh output>\n"

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

	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
l_.str.9:                               ; @.str.9
	.asciz	"wb"

l_.str.10:                              ; @.str.10
	.asciz	"#version 150\n"

l_.str.11:                              ; @.str.11
	.asciz	"#version"

l_.str.12:                              ; @.str.12
	.asciz	"#pragma"

l_.str.13:                              ; @.str.13
	.asciz	"#pragma stage vertex"

l_.str.14:                              ; @.str.14
	.asciz	"#pragma stage fragment"

l_.str.15:                              ; @.str.15
	.asciz	"layout("

l_.str.16:                              ; @.str.16
	.asciz	"uniform"

l_str:                                  ; @str
	.asciz	"Usage :"

.subsections_via_symbols
