	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function shader_set_uniforms
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_shader_set_uniforms:                   ## @shader_set_uniforms
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_glUseProgram
	movl	%eax, %edi
	callq	_GLCHK
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_glUniform1i
	movl	%eax, %edi
	callq	_GLCHK
	cvtsi2ss	%r15d, %xmm0
	cvtss2sd	%xmm0, %xmm2
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	movapd	%xmm1, %xmm0
	divsd	%xmm2, %xmm0
	xorps	%xmm2, %xmm2
	cvtsi2ss	%r14d, %xmm2
	movq	8(%rbx), %rax
	movl	4(%rax), %edi
	cvtss2sd	%xmm2, %xmm2
	divsd	%xmm2, %xmm1
	callq	_glUniform2f
	movl	%eax, %edi
	callq	_GLCHK
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_glEnableVertexAttribArray
	movl	%eax, %edi
	callq	_GLCHK
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_shader_set_uniforms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_set_uniforms
_shader_set_uniforms:                   ; @shader_set_uniforms
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x0, #16]
	bl	_glUseProgram
	bl	_GLCHK
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
	mov	w1, #0
	bl	_glUniform1i
	bl	_GLCHK
	ldr	x8, [x21, #8]
	ldr	w0, [x8, #4]
	scvtf	s0, w20
	fcvt	d0, s0
	fmov	d1, #1.00000000
	fdiv	d0, d1, d0
	scvtf	s2, w19
	fcvt	d2, s2
	fdiv	d1, d1, d2
	bl	_glUniform2f
	bl	_GLCHK
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_glEnableVertexAttribArray
	bl	_GLCHK
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_shader_set_uniforms
.subsections_via_symbols
