	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_glsl_load_icb
_shader_glsl_load_icb:                  ## @shader_glsl_load_icb
	.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
	movq	8(%rcx), %r13
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	movq	%rcx, %rbx
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_string_buffer_get
	movq	%rax, %r12
	movl	(%rbx), %edi
	callq	_shader_glsl_get_prefix
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%rax, %rdx
	callq	_string_buffer_sprintf
	movl	(%r12), %esi
	movl	%r15d, %edi
	callq	_glGetUniformLocation
	movl	%eax, %edi
	callq	_GL_EXTCALL
	movl	8(%r13), %esi
	movq	(%r13), %rdx
	movl	%eax, %edi
	callq	_glUniform4fv
	movl	%eax, %edi
	callq	_GL_EXTCALL
	leaq	L_.str.1(%rip), %rdi
	callq	_checkGLcall
	movq	%r14, %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_string_buffer_release          ## TAILCALL
LBB0_1:
	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	"%s_icb"

L_.str.1:                               ## @.str.1
	.asciz	"Load immediate constant buffer"

	.no_dead_strip	_shader_glsl_load_icb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_glsl_load_icb
_shader_glsl_load_icb:                  ; @shader_glsl_load_icb
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x23, [x3, #8]
	cbz	x23, LBB0_2
; %bb.1:
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x0, x1
	bl	_string_buffer_get
	mov	x22, x0
	ldr	w0, [x21]
	bl	_shader_glsl_get_prefix
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_string_buffer_sprintf
	ldr	w1, [x22]
	mov	x0, x20
	bl	_glGetUniformLocation
	bl	_GL_EXTCALL
	ldr	w1, [x23, #8]
	ldr	x2, [x23]
	bl	_glUniform4fv
	bl	_GL_EXTCALL
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_checkGLcall
	mov	x0, x19
	mov	x1, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_string_buffer_release
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s_icb"

l_.str.1:                               ; @.str.1
	.asciz	"Load immediate constant buffer"

	.no_dead_strip	_shader_glsl_load_icb
.subsections_via_symbols
