	.file	"extr_gl-shader.c_print_link_errors.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"glGetProgramiv"
.LC1:
	.string	"glGetShaderInfoLog"
.LC2:
	.string	"Linker warnings/errors:\n%s"
	.text
	.p2align 4
	.type	print_link_errors, @function
print_link_errors:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	esi, DWORD PTR GL_INFO_LOG_LENGTH[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rdx, 16[rsp]
	mov	DWORD PTR 12[rsp], 0
	mov	QWORD PTR 16[rsp], 0
	call	glGetProgramiv@PLT
	lea	rdi, .LC0[rip]
	call	gl_success@PLT
	test	eax, eax
	je	.L1
	mov	rsi, QWORD PTR 16[rsp]
	test	rsi, rsi
	jne	.L11
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	add	rsi, 1
	mov	edi, 1
	call	calloc@PLT
	mov	rsi, QWORD PTR 16[rsp]
	lea	rdx, 12[rsp]
	mov	edi, ebp
	mov	rcx, rax
	mov	r12, rax
	call	glGetProgramInfoLog@PLT
	lea	rdi, .LC1[rip]
	call	gl_success@PLT
	mov	edi, DWORD PTR LOG_DEBUG[rip]
	mov	rdx, r12
	lea	rsi, .LC2[rip]
	call	blog@PLT
	mov	rdi, r12
	call	free@PLT
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	print_link_errors, .-print_link_errors
	.comm	LOG_DEBUG,4,4
	.comm	GL_INFO_LOG_LENGTH,4,4
	.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-shader.c_print_link_errors.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"glGetProgramiv\000"
	.align	2
.LC1:
	.ascii	"glGetShaderInfoLog\000"
	.align	2
.LC2:
	.ascii	"Linker warnings/errors:\012%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_link_errors, %function
print_link_errors:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, lr}
	ldr	r1, .L13
	sub	sp, sp, #20
	ldr	ip, .L13+4
	ldr	r1, [r1]
	add	r2, sp, #4
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	mov	r4, r0
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	bl	glGetProgramiv
	ldr	r0, .L13+8
	bl	gl_success
	cmp	r0, #0
	beq	.L1
	ldr	r1, [sp, #4]
	cmp	r1, #0
	bne	.L11
.L1:
	ldr	r3, .L13+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L11:
	add	r1, r1, #1
	mov	r0, #1
	bl	calloc
	mov	r5, r0
	ldr	r1, [sp, #4]
	mov	r3, r5
	add	r2, sp, #8
	mov	r0, r4
	bl	glGetProgramInfoLog
	ldr	r0, .L13+12
	bl	gl_success
	ldr	r3, .L13+16
	mov	r2, r5
	ldr	r0, [r3]
	ldr	r1, .L13+20
	bl	blog
	mov	r0, r5
	bl	free
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	GL_INFO_LOG_LENGTH
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	LOG_DEBUG
	.word	.LC2
	.size	print_link_errors, .-print_link_errors
	.comm	LOG_DEBUG,4,4
	.comm	GL_INFO_LOG_LENGTH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
