	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_cube_buffer                ## -- Begin function gen_cube_buffer
	.p2align	4, 0x90
_gen_cube_buffer:                       ## @gen_cube_buffer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$224, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movss	%xmm3, -240(%rbp)               ## 4-byte Spill
	movss	%xmm2, -236(%rbp)               ## 4-byte Spill
	movss	%xmm1, -232(%rbp)               ## 4-byte Spill
	movss	%xmm0, -228(%rbp)               ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movl	$10, %edi
	movl	$6, %esi
	callq	_malloc_faces
	movq	%rax, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	l___const.gen_cube_buffer.light+80(%rip), %xmm0
	movaps	%xmm0, -144(%rbp)
	movaps	l___const.gen_cube_buffer.light+64(%rip), %xmm0
	movaps	%xmm0, -160(%rbp)
	movaps	l___const.gen_cube_buffer.light+48(%rip), %xmm0
	movaps	%xmm0, -176(%rbp)
	movaps	l___const.gen_cube_buffer.light+32(%rip), %xmm0
	movaps	%xmm0, -192(%rbp)
	movaps	l___const.gen_cube_buffer.light+16(%rip), %xmm0
	movaps	%xmm0, -208(%rbp)
	movaps	l___const.gen_cube_buffer.light(%rip), %xmm0
	movaps	%xmm0, -224(%rbp)
	leaq	-128(%rbp), %rsi
	leaq	-224(%rbp), %rdx
	movq	%rax, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	movss	-228(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-232(%rbp), %xmm1               ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movss	-236(%rbp), %xmm2               ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movss	-240(%rbp), %xmm3               ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	pushq	%r14
	pushq	$1
	pushq	$1
	pushq	$1
	callq	_make_cube
	addq	$32, %rsp
	movl	$10, %edi
	movl	$6, %esi
	movq	%rbx, %rdx
	callq	_gen_faces
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$224, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.gen_cube_buffer.light
l___const.gen_cube_buffer.light:
	.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	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	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	0x3f000000                      ## float 0.5
	.long	0x3f000000                      ## float 0.5
	.long	0x3f000000                      ## float 0.5

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_cube_buffer                ; -- Begin function gen_cube_buffer
	.p2align	2
_gen_cube_buffer:                       ; @gen_cube_buffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	d11, d10, [sp, #224]            ; 16-byte Folded Spill
	stp	d9, d8, [sp, #240]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #256]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	mov	x19, x0
	fmov	s8, s3
	fmov	s9, s2
	fmov	s10, s1
	fmov	s11, s0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	mov	w0, #10
	mov	w1, #6
	bl	_malloc_faces
	mov	x20, x0
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #176]
	stp	q0, q0, [sp, #144]
	stp	q0, q0, [sp, #112]
Lloh3:
	adrp	x8, l___const.gen_cube_buffer.light@PAGE
Lloh4:
	add	x8, x8, l___const.gen_cube_buffer.light@PAGEOFF
	ldp	q0, q1, [x8, #32]
	stp	q0, q1, [sp, #48]
	ldp	q0, q1, [x8, #64]
	stp	q0, q1, [sp, #80]
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #16]
	mov	w8, #1
	add	x1, sp, #112
	add	x2, sp, #16
	stp	w8, w19, [sp]
	fmov	s0, s11
	fmov	s1, s10
	fmov	s2, s9
	fmov	s3, s8
	mov	w3, #1
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	mov	w7, #1
	bl	_make_cube
	mov	w0, #10
	mov	w1, #6
	mov	x2, x20
	bl	_gen_faces
	ldur	x8, [x29, #-72]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #256]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #240]              ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #224]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.gen_cube_buffer.light
l___const.gen_cube_buffer.light:
	.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	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	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	0x3f000000                      ; float 0.5
	.long	0x3f000000                      ; float 0.5
	.long	0x3f000000                      ; float 0.5

.subsections_via_symbols
