	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_glsl_append_imm_ivec
_shader_glsl_append_imm_ivec:           ## @shader_glsl_append_imm_ivec
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	leal	-5(%rbx), %eax
	cmpl	$-5, %eax
	ja	LBB0_1
## %bb.7:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR                            ## TAILCALL
LBB0_1:
	movq	%rsi, %r12
	movq	%rdi, %r15
	cmpl	$2, %ebx
	jb	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_shader_addline
LBB0_3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, %ebx
	leaq	L_.str.2(%rip), %r14
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r13, %r13
	movq	%r14, %rsi
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rax, %rsi
	movl	(%r12,%r13,4), %edx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_shader_addline
	incq	%r13
	cmpq	%r13, %rbx
	jne	LBB0_4
## %bb.5:
	cmpl	$2, -48(%rbp)                   ## 4-byte Folded Reload
	jb	LBB0_6
## %bb.8:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_shader_addline                 ## TAILCALL
LBB0_6:
	addq	$8, %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	"Invalid vector size %u.\n"

L_.str.1:                               ## @.str.1
	.asciz	"ivec%u("

L_.str.2:                               ## @.str.2
	.asciz	", %#x"

L_.str.3:                               ## @.str.3
	.asciz	"%#x"

L_.str.4:                               ## @.str.4
	.asciz	")"

	.no_dead_strip	_shader_glsl_append_imm_ivec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_glsl_append_imm_ivec
_shader_glsl_append_imm_ivec:           ; @shader_glsl_append_imm_ivec
	.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	x19, x2
	sub	w8, w2, #5
	cmn	w8, #5
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, 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	_ERR
LBB0_2:
	mov	x21, x1
	mov	x20, x0
	cmp	w19, #2
	b.lo	LBB0_4
; %bb.3:
	str	x19, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_shader_addline
LBB0_4:
	mov	x22, #0
	mov	w23, w19
Lloh4:
	adrp	x24, l_.str.2@PAGE
Lloh5:
	add	x24, x24, l_.str.2@PAGEOFF
Lloh6:
	adrp	x25, l_.str.3@PAGE
Lloh7:
	add	x25, x25, l_.str.3@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x22, #0
	csel	x1, x25, x24, eq
	ldr	w8, [x21, x22, lsl #2]
	str	x8, [sp]
	mov	x0, x20
	bl	_shader_addline
	add	x22, x22, #1
	cmp	x23, x22
	b.ne	LBB0_5
; %bb.6:
	cmp	w19, #2
	b.lo	LBB0_8
; %bb.7:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	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
LBB0_8:
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid vector size %u.\n"

l_.str.1:                               ; @.str.1
	.asciz	"ivec%u("

l_.str.2:                               ; @.str.2
	.asciz	", %#x"

l_.str.3:                               ; @.str.3
	.asciz	"%#x"

l_.str.4:                               ; @.str.4
	.asciz	")"

	.no_dead_strip	_shader_glsl_append_imm_ivec
.subsections_via_symbols
