	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_render_signs                   ## -- Begin function render_signs
	.p2align	4, 0x90
_render_signs:                          ## @render_signs
	.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, %rbx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	16(%rsi), %edi
	callq	_chunked
	movl	%eax, -216(%rbp)                ## 4-byte Spill
	movl	8(%rbx), %edi
	callq	_chunked
	movl	%eax, -212(%rbp)                ## 4-byte Spill
	movq	_g@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	40(%rax), %esi
	movl	36(%rax), %edx
	movl	16(%rbx), %ecx
	movl	12(%rbx), %r8d
	movl	8(%rbx), %r9d
	movl	(%rbx), %r10d
	movl	4(%rbx), %r11d
	movl	32(%rax), %r15d
	movl	24(%rax), %ebx
	movl	28(%rax), %eax
	subq	$8, %rsp
	leaq	-112(%rbp), %r12
	movq	%r12, %rdi
	pushq	%rbx
	pushq	%rax
	pushq	%r15
	pushq	%r10
	pushq	%r11
	callq	_set_matrix_3d
	addq	$48, %rsp
	movq	(%r14), %rax
	movl	24(%rax), %esi
	leaq	-208(%rbp), %rdi
	movq	%r12, %rdx
	callq	_frustum_planes
	movl	12(%r13), %edi
	callq	_glUseProgram
	movl	8(%r13), %edi
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %esi
	movq	%r12, %rcx
	callq	_glUniformMatrix4fv
	movl	4(%r13), %edi
	movl	$3, %esi
	callq	_glUniform1i
	movq	%r13, -224(%rbp)                ## 8-byte Spill
	movl	(%r13), %edi
	movl	$1, %esi
	callq	_glUniform1i
	movq	(%r14), %rax
	cmpl	$0, (%rax)
	jle	LBB0_6
## %bb.1:
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movq	(%r14), %rax
	movslq	(%rax), %rcx
	addq	$16, %r12
	cmpq	%rcx, %r15
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rax), %r13
	leaq	(%r12,%r13), %rbx
	movq	%rbx, %rdi
	movl	-216(%rbp), %esi                ## 4-byte Reload
	movl	-212(%rbp), %edx                ## 4-byte Reload
	callq	_chunk_distance
	movq	(%r14), %rcx
	cmpq	8(%rcx), %rax
	jg	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%r13,%r12), %esi
	movl	8(%r13,%r12), %edx
	movl	(%r13,%r12), %r8d
	movl	4(%r13,%r12), %ecx
	leaq	-208(%rbp), %rdi
	callq	_chunk_visible
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-224(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_draw_signs
	jmp	LBB0_5
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_g,8,3                          ## @g
	.comm	_GL_FALSE,4,2                   ## @GL_FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_render_signs                   ; -- Begin function render_signs
	.p2align	2
_render_signs:                          ; @render_signs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	w0, [x1, #16]
	bl	_chunked
	mov	x20, x0
	ldr	w0, [x22, #8]
	bl	_chunked
	mov	x21, x0
Lloh3:
	adrp	x23, _g@GOTPAGE
Lloh4:
	ldr	x23, [x23, _g@GOTPAGEOFF]
	ldr	x8, [x23]
	ldp	w2, w1, [x8, #36]
	ldp	w4, w3, [x22, #12]
	ldp	w6, w5, [x22, #4]
	ldr	w7, [x22]
	ldp	w10, w9, [x8, #28]
	ldr	w8, [x8, #24]
	stp	w10, w8, [sp, #4]
	add	x0, sp, #120
	str	w9, [sp]
	bl	_set_matrix_3d
	ldr	x8, [x23]
	ldr	w1, [x8, #24]
	add	x0, sp, #24
	add	x2, sp, #120
	bl	_frustum_planes
	ldr	w0, [x19, #12]
	bl	_glUseProgram
	ldr	w0, [x19, #8]
Lloh5:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x3, sp, #120
	mov	w1, #1
	bl	_glUniformMatrix4fv
	ldr	w0, [x19, #4]
	mov	w1, #3
	bl	_glUniform1i
	ldr	w0, [x19]
	mov	w1, #1
	bl	_glUniform1i
	ldr	x8, [x23]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x24, #0
	mov	x25, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #1
	ldr	x8, [x23]
	ldrsw	x9, [x8]
	add	x24, x24, #16
	cmp	x25, x9
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #16]
	add	x22, x8, x24
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_chunk_distance
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	cmp	x0, x8
	b.gt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	w2, w1, [x22, #8]
	ldp	w4, w3, [x22]
	add	x0, sp, #24
	bl	_chunk_visible
	cbz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_draw_signs
	b	LBB0_2
LBB0_6:
	ldur	x8, [x29, #-72]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	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	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_g,8,3                          ; @g
	.comm	_GL_FALSE,4,2                   ; @GL_FALSE
.subsections_via_symbols
