	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cube_wavefront                 ## -- Begin function cube_wavefront
	.p2align	4, 0x90
_cube_wavefront:                        ## @cube_wavefront
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$16, %edi
	callq	_malloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%r14), %rbx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_MAX_VERTICES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$2, %eax
	leal	(%rax,%rax,2), %edi
	callq	_allocbuffer
	movq	%rax, %r12
	leaq	_cube_wavefront.qf(%rip), %r15
	movq	%r15, %rdi
	callq	_countof
	cltq
	imulq	$1431655766, %rax, %r8          ## imm = 0x55555556
	movq	%r8, %rax
	shrq	$63, %rax
	shrq	$32, %r8
	addl	%eax, %r8d
	movl	%r8d, (%rbx)
	leaq	_cube_wavefront.qv(%rip), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	movl	$3, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_deindex
	movq	_GL_ARRAY_BUFFER@GOTPCREL(%rip), %r15
	movq	_VBO_VERTEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	movl	(%r15), %edi
	movl	(%rbx), %eax
	shll	$2, %eax
	leal	(%rax,%rax,2), %edx
	movq	%r12, %rcx
	callq	_create_vbo
	movl	(%rbx), %r8d
	leaq	_cube_wavefront.qt(%rip), %rsi
	leaq	_cube_wavefront.qf+2(%rip), %rdx
	movq	%r12, %rdi
	movl	$2, %ecx
	callq	_deindex
	movl	(%r15), %edi
	movq	_VBO_TEXTURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	movl	(%rbx), %edx
	shll	$3, %edx
	movq	%r12, %rcx
	callq	_create_vbo
	movl	(%rbx), %r8d
	leaq	_cube_wavefront.qn(%rip), %rsi
	leaq	_cube_wavefront.qf+4(%rip), %rdx
	movq	%r12, %rdi
	movl	$3, %ecx
	callq	_deindex
	movq	_VBO_NORMAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	movl	(%r15), %edi
	movl	(%rbx), %eax
	shll	$2, %eax
	leal	(%rax,%rax,2), %edx
	movq	%r12, %rcx
	callq	_create_vbo
	movq	%r12, %rdi
	callq	_freebuffer
	movl	$1, (%r14)
LBB0_2:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @cube_wavefront.qv
_cube_wavefront.qv:
	.long	0xbf000000                      ## float -0.5
	.long	0xbf000000                      ## float -0.5
	.long	0x3f000000                      ## float 0.5
	.long	0xbf000000                      ## float -0.5
	.long	0xbf000000                      ## float -0.5
	.long	0xbf000000                      ## float -0.5
	.long	0x3f000000                      ## float 0.5
	.long	0xbf000000                      ## float -0.5
	.long	0xbf000000                      ## float -0.5
	.long	0x3f000000                      ## float 0.5
	.long	0xbf000000                      ## float -0.5
	.long	0x3f000000                      ## float 0.5
	.long	0xbf000000                      ## float -0.5
	.long	0x3f000000                      ## float 0.5
	.long	0x3f000000                      ## float 0.5
	.long	0x3f000000                      ## float 0.5
	.long	0x3f000000                      ## float 0.5
	.long	0x3f000000                      ## float 0.5
	.long	0x3f000000                      ## float 0.5
	.long	0x3f000000                      ## float 0.5
	.long	0xbf000000                      ## float -0.5
	.long	0xbf000000                      ## float -0.5
	.long	0x3f000000                      ## float 0.5
	.long	0xbf000000                      ## float -0.5

	.p2align	4                               ## @cube_wavefront.qn
_cube_wavefront.qn:
	.long	0x00000000                      ## float 0
	.long	0xbf800000                      ## float -1
	.long	0x80000000                      ## float -0
	.long	0x00000000                      ## float 0
	.long	0x3f800000                      ## float 1
	.long	0x80000000                      ## float -0
	.long	0x00000000                      ## float 0
	.long	0x00000000                      ## float 0
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x00000000                      ## float 0
	.long	0x80000000                      ## float -0
	.long	0x00000000                      ## float 0
	.long	0x00000000                      ## float 0
	.long	0xbf800000                      ## float -1
	.long	0xbf800000                      ## float -1
	.long	0x00000000                      ## float 0
	.long	0x80000000                      ## float -0

	.p2align	4                               ## @cube_wavefront.qt
_cube_wavefront.qt:
	.long	0x3f800000                      ## float 1
	.long	0x00000000                      ## float 0
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x00000000                      ## float 0
	.long	0x3f800000                      ## float 1
	.long	0x00000000                      ## float 0
	.long	0x00000000                      ## float 0

	.p2align	4                               ## @cube_wavefront.qf
_cube_wavefront.qf:
	.short	1                               ## 0x1
	.short	1                               ## 0x1
	.short	1                               ## 0x1
	.short	2                               ## 0x2
	.short	2                               ## 0x2
	.short	1                               ## 0x1
	.short	3                               ## 0x3
	.short	3                               ## 0x3
	.short	1                               ## 0x1
	.short	3                               ## 0x3
	.short	3                               ## 0x3
	.short	1                               ## 0x1
	.short	4                               ## 0x4
	.short	4                               ## 0x4
	.short	1                               ## 0x1
	.short	1                               ## 0x1
	.short	1                               ## 0x1
	.short	1                               ## 0x1
	.short	5                               ## 0x5
	.short	4                               ## 0x4
	.short	2                               ## 0x2
	.short	6                               ## 0x6
	.short	1                               ## 0x1
	.short	2                               ## 0x2
	.short	7                               ## 0x7
	.short	2                               ## 0x2
	.short	2                               ## 0x2
	.short	7                               ## 0x7
	.short	2                               ## 0x2
	.short	2                               ## 0x2
	.short	8                               ## 0x8
	.short	3                               ## 0x3
	.short	2                               ## 0x2
	.short	5                               ## 0x5
	.short	4                               ## 0x4
	.short	2                               ## 0x2
	.short	1                               ## 0x1
	.short	4                               ## 0x4
	.short	3                               ## 0x3
	.short	4                               ## 0x4
	.short	1                               ## 0x1
	.short	3                               ## 0x3
	.short	6                               ## 0x6
	.short	2                               ## 0x2
	.short	3                               ## 0x3
	.short	6                               ## 0x6
	.short	2                               ## 0x2
	.short	3                               ## 0x3
	.short	5                               ## 0x5
	.short	3                               ## 0x3
	.short	3                               ## 0x3
	.short	1                               ## 0x1
	.short	4                               ## 0x4
	.short	3                               ## 0x3
	.short	4                               ## 0x4
	.short	4                               ## 0x4
	.short	4                               ## 0x4
	.short	3                               ## 0x3
	.short	1                               ## 0x1
	.short	4                               ## 0x4
	.short	7                               ## 0x7
	.short	2                               ## 0x2
	.short	4                               ## 0x4
	.short	7                               ## 0x7
	.short	2                               ## 0x2
	.short	4                               ## 0x4
	.short	6                               ## 0x6
	.short	3                               ## 0x3
	.short	4                               ## 0x4
	.short	4                               ## 0x4
	.short	4                               ## 0x4
	.short	4                               ## 0x4
	.short	3                               ## 0x3
	.short	4                               ## 0x4
	.short	5                               ## 0x5
	.short	2                               ## 0x2
	.short	1                               ## 0x1
	.short	5                               ## 0x5
	.short	8                               ## 0x8
	.short	2                               ## 0x2
	.short	5                               ## 0x5
	.short	8                               ## 0x8
	.short	2                               ## 0x2
	.short	5                               ## 0x5
	.short	7                               ## 0x7
	.short	3                               ## 0x3
	.short	5                               ## 0x5
	.short	3                               ## 0x3
	.short	4                               ## 0x4
	.short	5                               ## 0x5
	.short	2                               ## 0x2
	.short	4                               ## 0x4
	.short	6                               ## 0x6
	.short	1                               ## 0x1
	.short	1                               ## 0x1
	.short	6                               ## 0x6
	.short	5                               ## 0x5
	.short	2                               ## 0x2
	.short	6                               ## 0x6
	.short	5                               ## 0x5
	.short	2                               ## 0x2
	.short	6                               ## 0x6
	.short	8                               ## 0x8
	.short	3                               ## 0x3
	.short	6                               ## 0x6
	.short	2                               ## 0x2
	.short	4                               ## 0x4
	.short	6                               ## 0x6

	.comm	_MAX_VERTICES,4,2               ## @MAX_VERTICES
	.comm	_GL_ARRAY_BUFFER,4,2            ## @GL_ARRAY_BUFFER
	.comm	_VBO_VERTEX,8,3                 ## @VBO_VERTEX
	.comm	_VBO_TEXTURE,8,3                ## @VBO_TEXTURE
	.comm	_VBO_NORMAL,8,3                 ## @VBO_NORMAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cube_wavefront                 ; -- Begin function cube_wavefront
	.p2align	2
_cube_wavefront:                        ; @cube_wavefront
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	w0, #16
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x22, [x19, #8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x8, _MAX_VERTICES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_VERTICES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #1
	lsl	w0, w8, #2
	bl	_allocbuffer
	mov	x20, x0
Lloh3:
	adrp	x21, _cube_wavefront.qf@PAGE
Lloh4:
	add	x21, x21, _cube_wavefront.qf@PAGEOFF
	mov	x0, x21
	bl	_countof
	mov	w8, #21846
	movk	w8, #21845, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w4, w8, w9
	str	w4, [x22]
Lloh5:
	adrp	x1, _cube_wavefront.qv@PAGE
Lloh6:
	add	x1, x1, _cube_wavefront.qv@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	mov	w3, #3
	bl	_deindex
Lloh7:
	adrp	x23, _GL_ARRAY_BUFFER@GOTPAGE
Lloh8:
	ldr	x23, [x23, _GL_ARRAY_BUFFER@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh9:
	adrp	x8, _VBO_VERTEX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VBO_VERTEX@GOTPAGEOFF]
	ldr	x9, [x22, #8]
Lloh11:
	ldr	x8, [x8]
	add	x1, x8, x9
	ldr	w8, [x22]
	add	w8, w8, w8, lsl #1
	lsl	w2, w8, #2
	mov	x3, x20
	bl	_create_vbo
	ldr	w4, [x22]
Lloh12:
	adrp	x1, _cube_wavefront.qt@PAGE
Lloh13:
	add	x1, x1, _cube_wavefront.qt@PAGEOFF
	add	x2, x21, #2
	mov	x0, x20
	mov	w3, #2
	bl	_deindex
	ldr	w0, [x23]
	ldr	x8, [x22, #8]
Lloh14:
	adrp	x9, _VBO_TEXTURE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _VBO_TEXTURE@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldr	w8, [x22]
	lsl	w2, w8, #3
	mov	x3, x20
	bl	_create_vbo
	ldr	w4, [x22]
Lloh17:
	adrp	x1, _cube_wavefront.qn@PAGE
Lloh18:
	add	x1, x1, _cube_wavefront.qn@PAGEOFF
	add	x2, x21, #4
	mov	x0, x20
	mov	w3, #3
	bl	_deindex
	ldr	w0, [x23]
Lloh19:
	adrp	x8, _VBO_NORMAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _VBO_NORMAL@GOTPAGEOFF]
	ldr	x9, [x22, #8]
Lloh21:
	ldr	x8, [x8]
	add	x1, x8, x9
	ldr	w8, [x22]
	add	w8, w8, w8, lsl #1
	lsl	w2, w8, #2
	mov	x3, x20
	bl	_create_vbo
	mov	x0, x20
	bl	_freebuffer
	mov	w8, #1
	str	w8, [x19]
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @cube_wavefront.qv
_cube_wavefront.qv:
	.long	0xbf000000                      ; float -0.5
	.long	0xbf000000                      ; float -0.5
	.long	0x3f000000                      ; float 0.5
	.long	0xbf000000                      ; float -0.5
	.long	0xbf000000                      ; float -0.5
	.long	0xbf000000                      ; float -0.5
	.long	0x3f000000                      ; float 0.5
	.long	0xbf000000                      ; float -0.5
	.long	0xbf000000                      ; float -0.5
	.long	0x3f000000                      ; float 0.5
	.long	0xbf000000                      ; float -0.5
	.long	0x3f000000                      ; float 0.5
	.long	0xbf000000                      ; float -0.5
	.long	0x3f000000                      ; float 0.5
	.long	0x3f000000                      ; float 0.5
	.long	0x3f000000                      ; float 0.5
	.long	0x3f000000                      ; float 0.5
	.long	0x3f000000                      ; float 0.5
	.long	0x3f000000                      ; float 0.5
	.long	0x3f000000                      ; float 0.5
	.long	0xbf000000                      ; float -0.5
	.long	0xbf000000                      ; float -0.5
	.long	0x3f000000                      ; float 0.5
	.long	0xbf000000                      ; float -0.5

	.p2align	2                               ; @cube_wavefront.qn
_cube_wavefront.qn:
	.long	0x00000000                      ; float 0
	.long	0xbf800000                      ; float -1
	.long	0x80000000                      ; float -0
	.long	0x00000000                      ; float 0
	.long	0x3f800000                      ; float 1
	.long	0x80000000                      ; float -0
	.long	0x00000000                      ; float 0
	.long	0x00000000                      ; float 0
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x00000000                      ; float 0
	.long	0x80000000                      ; float -0
	.long	0x00000000                      ; float 0
	.long	0x00000000                      ; float 0
	.long	0xbf800000                      ; float -1
	.long	0xbf800000                      ; float -1
	.long	0x00000000                      ; float 0
	.long	0x80000000                      ; float -0

	.p2align	2                               ; @cube_wavefront.qt
_cube_wavefront.qt:
	.long	0x3f800000                      ; float 1
	.long	0x00000000                      ; float 0
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x00000000                      ; float 0
	.long	0x3f800000                      ; float 1
	.long	0x00000000                      ; float 0
	.long	0x00000000                      ; float 0

	.p2align	1                               ; @cube_wavefront.qf
_cube_wavefront.qf:
	.short	1                               ; 0x1
	.short	1                               ; 0x1
	.short	1                               ; 0x1
	.short	2                               ; 0x2
	.short	2                               ; 0x2
	.short	1                               ; 0x1
	.short	3                               ; 0x3
	.short	3                               ; 0x3
	.short	1                               ; 0x1
	.short	3                               ; 0x3
	.short	3                               ; 0x3
	.short	1                               ; 0x1
	.short	4                               ; 0x4
	.short	4                               ; 0x4
	.short	1                               ; 0x1
	.short	1                               ; 0x1
	.short	1                               ; 0x1
	.short	1                               ; 0x1
	.short	5                               ; 0x5
	.short	4                               ; 0x4
	.short	2                               ; 0x2
	.short	6                               ; 0x6
	.short	1                               ; 0x1
	.short	2                               ; 0x2
	.short	7                               ; 0x7
	.short	2                               ; 0x2
	.short	2                               ; 0x2
	.short	7                               ; 0x7
	.short	2                               ; 0x2
	.short	2                               ; 0x2
	.short	8                               ; 0x8
	.short	3                               ; 0x3
	.short	2                               ; 0x2
	.short	5                               ; 0x5
	.short	4                               ; 0x4
	.short	2                               ; 0x2
	.short	1                               ; 0x1
	.short	4                               ; 0x4
	.short	3                               ; 0x3
	.short	4                               ; 0x4
	.short	1                               ; 0x1
	.short	3                               ; 0x3
	.short	6                               ; 0x6
	.short	2                               ; 0x2
	.short	3                               ; 0x3
	.short	6                               ; 0x6
	.short	2                               ; 0x2
	.short	3                               ; 0x3
	.short	5                               ; 0x5
	.short	3                               ; 0x3
	.short	3                               ; 0x3
	.short	1                               ; 0x1
	.short	4                               ; 0x4
	.short	3                               ; 0x3
	.short	4                               ; 0x4
	.short	4                               ; 0x4
	.short	4                               ; 0x4
	.short	3                               ; 0x3
	.short	1                               ; 0x1
	.short	4                               ; 0x4
	.short	7                               ; 0x7
	.short	2                               ; 0x2
	.short	4                               ; 0x4
	.short	7                               ; 0x7
	.short	2                               ; 0x2
	.short	4                               ; 0x4
	.short	6                               ; 0x6
	.short	3                               ; 0x3
	.short	4                               ; 0x4
	.short	4                               ; 0x4
	.short	4                               ; 0x4
	.short	4                               ; 0x4
	.short	3                               ; 0x3
	.short	4                               ; 0x4
	.short	5                               ; 0x5
	.short	2                               ; 0x2
	.short	1                               ; 0x1
	.short	5                               ; 0x5
	.short	8                               ; 0x8
	.short	2                               ; 0x2
	.short	5                               ; 0x5
	.short	8                               ; 0x8
	.short	2                               ; 0x2
	.short	5                               ; 0x5
	.short	7                               ; 0x7
	.short	3                               ; 0x3
	.short	5                               ; 0x5
	.short	3                               ; 0x3
	.short	4                               ; 0x4
	.short	5                               ; 0x5
	.short	2                               ; 0x2
	.short	4                               ; 0x4
	.short	6                               ; 0x6
	.short	1                               ; 0x1
	.short	1                               ; 0x1
	.short	6                               ; 0x6
	.short	5                               ; 0x5
	.short	2                               ; 0x2
	.short	6                               ; 0x6
	.short	5                               ; 0x5
	.short	2                               ; 0x2
	.short	6                               ; 0x6
	.short	8                               ; 0x8
	.short	3                               ; 0x3
	.short	6                               ; 0x6
	.short	2                               ; 0x2
	.short	4                               ; 0x4
	.short	6                               ; 0x6

	.comm	_MAX_VERTICES,4,2               ; @MAX_VERTICES
	.comm	_GL_ARRAY_BUFFER,4,2            ; @GL_ARRAY_BUFFER
	.comm	_VBO_VERTEX,8,3                 ; @VBO_VERTEX
	.comm	_VBO_TEXTURE,8,3                ; @VBO_TEXTURE
	.comm	_VBO_NORMAL,8,3                 ; @VBO_NORMAL
.subsections_via_symbols
