	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gl_cg_set_coords
_gl_cg_set_coords:                      ## @gl_cg_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	testq	%r14, %r14
	je	LBB0_2
## %bb.3:
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	%rax, %rdx
	shlq	$5, %rdx
	movq	24(%rcx,%rdx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	movl	12(%r14), %edx
	movq	%r15, %rsi
	movl	$2, %ecx
	callq	_gl_cg_set_coord_array
	movq	(%r15), %rax
	movq	8(%r15), %rcx
LBB0_5:
	movq	%rax, %rdx
	shlq	$5, %rdx
	movq	16(%rcx,%rdx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	movl	8(%r14), %edx
	movq	%r15, %rsi
	movl	$2, %ecx
	callq	_gl_cg_set_coord_array
	movq	(%r15), %rax
	movq	8(%r15), %rcx
LBB0_7:
	movq	%rax, %rdx
	shlq	$5, %rdx
	movq	8(%rcx,%rdx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	movl	4(%r14), %edx
	movq	%r15, %rsi
	movl	$2, %ecx
	callq	_gl_cg_set_coord_array
	movq	(%r15), %rax
	movq	8(%r15), %rcx
LBB0_9:
	shlq	$5, %rax
	movq	(%rcx,%rax), %rdi
	movl	$1, %ebx
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	movl	(%r14), %edx
	movq	%r15, %rsi
	movl	$4, %ecx
	callq	_gl_cg_set_coord_array
	jmp	LBB0_11
LBB0_2:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	sete	%bl
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gl_cg_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_cg_set_coords
_gl_cg_set_coords:                      ; @gl_cg_set_coords
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	cbz	x0, LBB0_11
; %bb.1:
	cbz	x20, LBB0_11
; %bb.2:
	mov	x19, x0
	ldp	x9, x8, [x0]
	add	x10, x8, x9, lsl #5
	ldr	x0, [x10, #24]
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w2, [x20, #12]
	mov	x1, x19
	mov	w3, #2
	bl	_gl_cg_set_coord_array
	ldp	x9, x8, [x19]
LBB0_4:
	add	x10, x8, x9, lsl #5
	ldr	x0, [x10, #16]
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w2, [x20, #8]
	mov	x1, x19
	mov	w3, #2
	bl	_gl_cg_set_coord_array
	ldp	x9, x8, [x19]
LBB0_6:
	add	x10, x8, x9, lsl #5
	ldr	x0, [x10, #8]
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w2, [x20, #4]
	mov	x1, x19
	mov	w3, #2
	bl	_gl_cg_set_coord_array
	ldp	x9, x8, [x19]
LBB0_8:
	lsl	x9, x9, #5
	ldr	x0, [x8, x9]
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w2, [x20]
	mov	x1, x19
	mov	w3, #4
	bl	_gl_cg_set_coord_array
LBB0_10:
	mov	w0, #1
	b	LBB0_12
LBB0_11:
	cmp	x20, #0
	cset	w0, eq
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gl_cg_set_coords
.subsections_via_symbols
