	.file	"extr_gl-helpers.c_gl_create_buffer.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"glBufferData"
	.text
	.p2align 4
	.globl	gl_create_buffer
	.type	gl_create_buffer, @function
gl_create_buffer:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, r8d
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	mov	edi, 1
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	call	gl_gen_buffers@PLT
	test	eax, eax
	jne	.L2
.L4:
	xor	r12d, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR [rbx]
	mov	edi, ebp
	call	gl_bind_buffer@PLT
	test	eax, eax
	je	.L4
	mov	ecx, r14d
	mov	rdx, r13
	mov	esi, r12d
	mov	edi, ebp
	call	glBufferData@PLT
	lea	rdi, .LC0[rip]
	call	gl_success@PLT
	mov	edi, ebp
	xor	esi, esi
	mov	r12d, eax
	call	gl_bind_buffer@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	gl_create_buffer, .-gl_create_buffer
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_gl-helpers.c_gl_create_buffer.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"glBufferData\000"
	.text
	.align	2
	.global	gl_create_buffer
	.syntax unified
	.arm
	.fpu softvfp
	.type	gl_create_buffer, %function
gl_create_buffer:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r0, #1
	mov	r6, r2
	mov	r7, r3
	mov	r5, r1
	bl	gl_gen_buffers
	cmp	r0, #0
	bne	.L2
.L4:
	mov	r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r4
	ldr	r1, [r5]
	bl	gl_bind_buffer
	cmp	r0, #0
	beq	.L4
	mov	r2, r7
	mov	r1, r6
	ldr	r3, [sp, #24]
	mov	r0, r4
	bl	glBufferData
	ldr	r0, .L10
	bl	gl_success
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	mov	r1, #0
	bl	gl_bind_buffer
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.size	gl_create_buffer, .-gl_create_buffer
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
