	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_mesh
_make_mesh:                             ## @make_mesh
	.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
	movl	%edi, %r14d
	movq	_mesh@GOTPCREL(%rip), %rbx
	movl	$1, %edi
	movq	%rbx, %rsi
	callq	_glGenVertexArrays
	movq	_mesh_vbo@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rax, %r15
	movl	$4, %edi
	callq	_glGenBuffers
	movl	(%rbx), %edi
	callq	_glBindVertexArray
	movq	_GL_ELEMENT_ARRAY_BUFFER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	(%r15), %rax
	movl	12(%rax), %esi
	callq	_glBindBuffer
	movl	(%rbx), %edi
	movq	_MAP_NUM_LINES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$3, %esi
	movq	_map_line_indices@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_GL_STATIC_DRAW@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rax, %r13
	callq	_glBufferData
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	callq	_glGetAttribLocation
	movl	%eax, %ebx
	movq	_GL_ARRAY_BUFFER@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	(%r15), %rax
	movl	(%rax), %esi
	callq	_glBindBuffer
	movl	(%r12), %edi
	movq	_MAP_NUM_TOTAL_VERTICES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$2, %esi
	movq	_map_vertices@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdx
	movl	(%r13), %ecx
	callq	_glBufferData
	movl	%ebx, %edi
	callq	_glEnableVertexAttribArray
	movq	_GL_FLOAT@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_GL_FALSE@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_glVertexAttribPointer
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	callq	_glGetAttribLocation
	movl	%eax, %ebx
	movl	(%r12), %edi
	movq	_mesh_vbo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax), %esi
	callq	_glBindBuffer
	movl	(%r12), %edi
	movq	_MAP_NUM_TOTAL_VERTICES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$2, %esi
	movq	_map_vertices@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rdx
	movq	_GL_STATIC_DRAW@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_glBufferData
	movl	%ebx, %edi
	callq	_glEnableVertexAttribArray
	movl	(%r15), %edx
	movl	(%r13), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_glVertexAttribPointer
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edi
	callq	_glGetAttribLocation
	movl	%eax, %ebx
	movl	(%r12), %edi
	movq	_mesh_vbo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %esi
	callq	_glBindBuffer
	movl	(%r12), %edi
	movq	_MAP_NUM_TOTAL_VERTICES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$2, %esi
	movq	_map_vertices@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rdx
	movq	_GL_DYNAMIC_DRAW@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_glBufferData
	movl	%ebx, %edi
	callq	_glEnableVertexAttribArray
	movl	(%r15), %edx
	movl	(%r13), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_glVertexAttribPointer          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mesh,4,2                       ## @mesh
	.comm	_mesh_vbo,8,3                   ## @mesh_vbo
	.comm	_GL_ELEMENT_ARRAY_BUFFER,4,2    ## @GL_ELEMENT_ARRAY_BUFFER
	.comm	_MAP_NUM_LINES,4,2              ## @MAP_NUM_LINES
	.comm	_map_line_indices,8,3           ## @map_line_indices
	.comm	_GL_STATIC_DRAW,4,2             ## @GL_STATIC_DRAW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"x"

	.comm	_GL_ARRAY_BUFFER,4,2            ## @GL_ARRAY_BUFFER
	.comm	_MAP_NUM_TOTAL_VERTICES,4,2     ## @MAP_NUM_TOTAL_VERTICES
	.comm	_map_vertices,8,3               ## @map_vertices
	.comm	_GL_FLOAT,4,2                   ## @GL_FLOAT
	.comm	_GL_FALSE,4,2                   ## @GL_FALSE
L_.str.1:                               ## @.str.1
	.asciz	"z"

L_.str.2:                               ## @.str.2
	.asciz	"y"

	.comm	_GL_DYNAMIC_DRAW,4,2            ## @GL_DYNAMIC_DRAW
	.no_dead_strip	_make_mesh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_mesh
_make_mesh:                             ; @make_mesh
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x20, _mesh@GOTPAGE
Lloh1:
	ldr	x20, [x20, _mesh@GOTPAGEOFF]
	mov	w0, #1
	mov	x1, x20
	bl	_glGenVertexArrays
Lloh2:
	adrp	x21, _mesh_vbo@GOTPAGE
Lloh3:
	ldr	x21, [x21, _mesh_vbo@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	w0, #4
	bl	_glGenBuffers
	ldr	w0, [x20]
	bl	_glBindVertexArray
Lloh4:
	adrp	x20, _GL_ELEMENT_ARRAY_BUFFER@GOTPAGE
Lloh5:
	ldr	x20, [x20, _GL_ELEMENT_ARRAY_BUFFER@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	x8, [x21]
	ldr	w1, [x8, #12]
	bl	_glBindBuffer
	ldr	w0, [x20]
Lloh6:
	adrp	x8, _MAP_NUM_LINES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAP_NUM_LINES@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	lsl	w1, w8, #3
Lloh9:
	adrp	x8, _map_line_indices@GOTPAGE
Lloh10:
	ldr	x8, [x8, _map_line_indices@GOTPAGEOFF]
Lloh11:
	ldr	x2, [x8]
Lloh12:
	adrp	x27, _GL_STATIC_DRAW@GOTPAGE
Lloh13:
	ldr	x27, [x27, _GL_STATIC_DRAW@GOTPAGEOFF]
	ldr	w3, [x27]
	bl	_glBufferData
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_glGetAttribLocation
	mov	x20, x0
Lloh16:
	adrp	x22, _GL_ARRAY_BUFFER@GOTPAGE
Lloh17:
	ldr	x22, [x22, _GL_ARRAY_BUFFER@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	x8, [x21]
	ldr	w1, [x8]
	bl	_glBindBuffer
	ldr	w0, [x22]
Lloh18:
	adrp	x23, _MAP_NUM_TOTAL_VERTICES@GOTPAGE
Lloh19:
	ldr	x23, [x23, _MAP_NUM_TOTAL_VERTICES@GOTPAGEOFF]
	ldr	w8, [x23]
	lsl	w1, w8, #2
Lloh20:
	adrp	x24, _map_vertices@GOTPAGE
Lloh21:
	ldr	x24, [x24, _map_vertices@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x2, [x8]
	ldr	w3, [x27]
	bl	_glBufferData
	mov	x0, x20
	bl	_glEnableVertexAttribArray
Lloh22:
	adrp	x25, _GL_FLOAT@GOTPAGE
Lloh23:
	ldr	x25, [x25, _GL_FLOAT@GOTPAGEOFF]
	ldr	w2, [x25]
Lloh24:
	adrp	x26, _GL_FALSE@GOTPAGE
Lloh25:
	ldr	x26, [x26, _GL_FALSE@GOTPAGEOFF]
	ldr	w3, [x26]
	mov	x0, x20
	mov	w1, #1
	mov	w4, #0
	mov	w5, #0
	bl	_glVertexAttribPointer
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_glGetAttribLocation
	mov	x20, x0
	ldr	w0, [x22]
	ldr	x8, [x21]
	ldr	w1, [x8, #8]
	bl	_glBindBuffer
	ldr	w0, [x22]
	ldr	w8, [x23]
	lsl	w1, w8, #2
	ldr	x8, [x24]
	ldr	x2, [x8, #16]
	ldr	w3, [x27]
	bl	_glBufferData
	mov	x0, x20
	bl	_glEnableVertexAttribArray
	ldr	w2, [x25]
	ldr	w3, [x26]
	mov	x0, x20
	mov	w1, #1
	mov	w4, #0
	mov	w5, #0
	bl	_glVertexAttribPointer
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_glGetAttribLocation
	mov	x19, x0
	ldr	w0, [x22]
	ldr	x8, [x21]
	ldr	w1, [x8, #4]
	bl	_glBindBuffer
	ldr	w0, [x22]
	ldr	w8, [x23]
	lsl	w1, w8, #2
	ldr	x8, [x24]
	ldr	x2, [x8, #8]
Lloh30:
	adrp	x8, _GL_DYNAMIC_DRAW@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GL_DYNAMIC_DRAW@GOTPAGEOFF]
Lloh32:
	ldr	w3, [x8]
	bl	_glBufferData
	mov	x0, x19
	bl	_glEnableVertexAttribArray
	ldr	w2, [x25]
	ldr	w3, [x26]
	mov	x0, x19
	mov	w1, #1
	mov	w4, #0
	mov	w5, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_glVertexAttribPointer
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mesh,4,2                       ; @mesh
	.comm	_mesh_vbo,8,3                   ; @mesh_vbo
	.comm	_GL_ELEMENT_ARRAY_BUFFER,4,2    ; @GL_ELEMENT_ARRAY_BUFFER
	.comm	_MAP_NUM_LINES,4,2              ; @MAP_NUM_LINES
	.comm	_map_line_indices,8,3           ; @map_line_indices
	.comm	_GL_STATIC_DRAW,4,2             ; @GL_STATIC_DRAW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"x"

	.comm	_GL_ARRAY_BUFFER,4,2            ; @GL_ARRAY_BUFFER
	.comm	_MAP_NUM_TOTAL_VERTICES,4,2     ; @MAP_NUM_TOTAL_VERTICES
	.comm	_map_vertices,8,3               ; @map_vertices
	.comm	_GL_FLOAT,4,2                   ; @GL_FLOAT
	.comm	_GL_FALSE,4,2                   ; @GL_FALSE
l_.str.1:                               ; @.str.1
	.asciz	"z"

l_.str.2:                               ; @.str.2
	.asciz	"y"

	.comm	_GL_DYNAMIC_DRAW,4,2            ; @GL_DYNAMIC_DRAW
	.no_dead_strip	_make_mesh
.subsections_via_symbols
