	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_glsl_generate_sm4_output_setup
_shader_glsl_generate_sm4_output_setup: ## @shader_glsl_generate_sm4_output_setup
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r13d
	movq	%rcx, %r12
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	(%rsi), %edi
	callq	_shader_glsl_get_prefix
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testl	%r13d, %r13d
	je	LBB0_2
## %bb.1:
	movl	$4, %edi
	movq	%r12, %rsi
	callq	_vec4_varyings
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_min
	movl	%eax, %ebx
LBB0_2:
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movl	%r13d, %ecx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	_shader_glsl_declare_shader_outputs
LBB0_4:
	movq	8(%r15), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	4(%r15), %rax
	testl	%r13d, %r13d
	je	LBB0_6
## %bb.5:
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	%ebx, %r9d
	pushq	%r10
	pushq	%r15
	pushq	%rax
	callq	_shader_glsl_setup_sm3_rasterizer_input
	addq	$32, %rsp
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.1(%rip), %r8
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	movq	%r15, %rcx
	xorl	%r9d, %r9d
	callq	_shader_glsl_setup_sm4_shader_output
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_shader_addline                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"void setup_%s_output(in vec4 outputs[%u])\n{\n"

	.comm	_FALSE,4,2                      ## @FALSE
L_.str.1:                               ## @.str.1
	.asciz	"shader_out"

L_.str.2:                               ## @.str.2
	.asciz	"}\n"

	.no_dead_strip	_shader_glsl_generate_sm4_output_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_glsl_generate_sm4_output_setup
_shader_glsl_generate_sm4_output_setup: ; @shader_glsl_generate_sm4_output_setup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x24, x5
	mov	x23, x4
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1]
	bl	_shader_glsl_get_prefix
	mov	x25, x0
	cbz	w23, LBB0_2
; %bb.1:
	mov	w0, #4
	mov	x1, x22
	bl	_vec4_varyings
	mov	x1, x21
	bl	_min
	mov	x21, x0
LBB0_2:
	cbz	w21, LBB0_4
; %bb.3:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	mov	x3, x23
	mov	x4, x24
	bl	_shader_glsl_declare_shader_outputs
LBB0_4:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	stp	x25, x8, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_shader_addline
	add	x6, x20, #4
	cbz	w23, LBB0_6
; %bb.5:
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	x0, x19
	mov	x1, x22
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, x21
	mov	x7, x20
	bl	_shader_glsl_setup_sm3_rasterizer_input
	b	LBB0_7
LBB0_6:
Lloh5:
	adrp	x4, l_.str.1@PAGE
Lloh6:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	x2, x6
	mov	x3, x20
	mov	w5, #0
	bl	_shader_glsl_setup_sm4_shader_output
LBB0_7:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_shader_addline
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"void setup_%s_output(in vec4 outputs[%u])\n{\n"

	.comm	_FALSE,4,2                      ; @FALSE
l_.str.1:                               ; @.str.1
	.asciz	"shader_out"

l_.str.2:                               ; @.str.2
	.asciz	"}\n"

	.no_dead_strip	_shader_glsl_generate_sm4_output_setup
.subsections_via_symbols
