	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function gl_glsl_set_coords
LCPI0_0:
	.quad	2                               ## 0x2
	.quad	2                               ## 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_gl_glsl_set_coords:                    ## @gl_glsl_set_coords
	.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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	movq	16(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.4:
	movq	24(%rdi), %r12
	movq	(%rdi), %rbx
	shlq	$5, %rbx
	leaq	(%r12,%rbx), %r13
	movl	(%r15), %edi
	cmpl	$5, %edi
	jl	LBB0_5
## %bb.16:
	movq	(%r13), %rax
	shrq	$61, %rax
	andl	$-4, %eax
	movq	8(%r12,%rbx), %rcx
	shrq	$63, %rcx
	leaq	(%rax,%rcx,2), %rax
	movdqu	16(%r12,%rbx), %xmm0
	psrlq	$62, %xmm0
	pandn	LCPI0_0(%rip), %xmm0
	xorq	$6, %rax
	movq	%xmm0, %rcx
	pextrq	$1, %xmm0, %rdx
	addq	%rax, %rcx
	addq	%rcx, %rdx
	imulq	%rdx, %rdi
	shlq	$2, %rdi
	callq	_malloc
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_6
## %bb.17:
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_3:
	xorl	%ebx, %ebx
	testq	%r15, %r15
	sete	%bl
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	movl	%ebx, %eax
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	-208(%rbp), %r14
LBB0_6:
	movq	8(%r12,%rbx), %rsi
	testq	%rsi, %rsi
	js	LBB0_8
## %bb.7:
	movl	16(%r15), %edx
	leaq	-224(%rbp), %rdi
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	movl	$2, %r9d
	callq	_gl_glsl_set_coord_array
LBB0_8:
	movq	16(%r12,%rbx), %rsi
	testq	%rsi, %rsi
	js	LBB0_10
## %bb.9:
	movl	12(%r15), %edx
	leaq	-224(%rbp), %rdi
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	movl	$2, %r9d
	callq	_gl_glsl_set_coord_array
LBB0_10:
	movq	(%r13), %rsi
	testq	%rsi, %rsi
	js	LBB0_12
## %bb.11:
	movl	8(%r15), %edx
	leaq	-224(%rbp), %rdi
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	movl	$4, %r9d
	callq	_gl_glsl_set_coord_array
LBB0_12:
	movq	24(%r12,%rbx), %rsi
	testq	%rsi, %rsi
	js	LBB0_14
## %bb.13:
	movl	4(%r15), %edx
	leaq	-224(%rbp), %rdi
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	movl	$2, %r9d
	callq	_gl_glsl_set_coord_array
LBB0_14:
	movl	$1, %ebx
	leaq	-208(%rbp), %rax
	cmpq	%rax, %r14
	je	LBB0_18
## %bb.15:
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_18
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gl_glsl_set_coords
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gl_glsl_set_coords
_gl_glsl_set_coords:                    ; @gl_glsl_set_coords
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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 w27, -72
	.cfi_offset w28, -80
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	cbz	x0, LBB0_5
; %bb.1:
	cbz	x19, LBB0_5
; %bb.2:
	ldr	x8, [x0, #16]
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.3:
	ldr	x21, [x0, #24]
	ldr	x22, [x0]
	add	x23, x21, x22, lsl #5
	ldr	w8, [x19]
	cmp	w8, #5
	b.lt	LBB0_6
; %bb.4:
	ldr	x9, [x23]
	lsr	x9, x9, #61
	and	x9, x9, #0x4
	add	x10, x21, x22, lsl #5
	ldr	x11, [x10, #8]
	lsr	x11, x11, #62
	and	x11, x11, #0x2
	orr	x9, x11, x9
	ldr	q0, [x10, #16]
	ushr.2d	v0, v0, #62
	mov	w10, #2
	dup.2d	v1, x10
	bic.16b	v0, v1, v0
	mov.d	x10, v0[1]
	eor	x9, x9, #0x6
	fmov	x11, d0
	add	x9, x9, x11
	add	x9, x9, x10
	mul	x8, x8, x9
	lsl	x0, x8, #2
	bl	_malloc
	mov	x20, x0
	cbnz	x0, LBB0_7
	b	LBB0_18
LBB0_5:
	cmp	x19, #0
	cset	w0, eq
	b	LBB0_18
LBB0_6:
	add	x20, sp, #24
LBB0_7:
	add	x24, x21, x22, lsl #5
	ldr	x1, [x24, #8]
	tbnz	x1, #63, LBB0_9
; %bb.8:
	ldr	w2, [x19, #16]
	add	x0, sp, #8
	mov	x3, x19
	mov	x4, #0
	mov	w5, #2
	bl	_gl_glsl_set_coord_array
LBB0_9:
	ldr	x1, [x24, #16]
	tbnz	x1, #63, LBB0_11
; %bb.10:
	ldr	w2, [x19, #12]
	add	x0, sp, #8
	mov	x3, x19
	mov	x4, #0
	mov	w5, #2
	bl	_gl_glsl_set_coord_array
LBB0_11:
	ldr	x1, [x23]
	tbnz	x1, #63, LBB0_13
; %bb.12:
	ldr	w2, [x19, #8]
	add	x0, sp, #8
	mov	x3, x19
	mov	x4, #0
	mov	w5, #4
	bl	_gl_glsl_set_coord_array
LBB0_13:
	add	x8, x21, x22, lsl #5
	ldr	x1, [x8, #24]
	tbnz	x1, #63, LBB0_15
; %bb.14:
	ldr	w2, [x19, #4]
	add	x0, sp, #8
	mov	x3, x19
	mov	x4, #0
	mov	w5, #2
	bl	_gl_glsl_set_coord_array
LBB0_15:
	add	x8, sp, #24
	cmp	x20, x8
	b.eq	LBB0_17
; %bb.16:
	mov	x0, x20
	bl	_free
LBB0_17:
	mov	w0, #1
LBB0_18:
	ldur	x8, [x29, #-72]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #192]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gl_glsl_set_coords
.subsections_via_symbols
