	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_buffer                     ## -- Begin function gen_buffer
	.p2align	4, 0x90
_gen_buffer:                            ## @gen_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	leaq	-28(%rbp), %rsi
	movl	$1, %edi
	callq	_glGenBuffers
	movq	_GL_ARRAY_BUFFER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	-28(%rbp), %esi
	callq	_glBindBuffer
	movl	(%rbx), %edi
	movq	_GL_STATIC_DRAW@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_glBufferData
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_glBindBuffer
	movl	-28(%rbp), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_ARRAY_BUFFER,4,2            ## @GL_ARRAY_BUFFER
	.comm	_GL_STATIC_DRAW,4,2             ## @GL_STATIC_DRAW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_buffer                     ; -- Begin function gen_buffer
	.p2align	2
_gen_buffer:                            ; @gen_buffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	add	x1, sp, #12
	mov	w0, #1
	bl	_glGenBuffers
Lloh0:
	adrp	x21, _GL_ARRAY_BUFFER@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GL_ARRAY_BUFFER@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [sp, #12]
	bl	_glBindBuffer
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _GL_STATIC_DRAW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GL_STATIC_DRAW@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x1, x20
	mov	x2, x19
	bl	_glBufferData
	ldr	w0, [x21]
	mov	w1, #0
	bl	_glBindBuffer
	ldr	w0, [sp, #12]
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_ARRAY_BUFFER,4,2            ; @GL_ARRAY_BUFFER
	.comm	_GL_STATIC_DRAW,4,2             ; @GL_STATIC_DRAW
.subsections_via_symbols
