	.file	"extr_stb_vorbis.c_stb_vorbis_open_file_section.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	stb_vorbis_open_file_section
	.type	stb_vorbis_open_file_section, @function
stb_vorbis_open_file_section:
.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
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	mov	rsi, rcx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdx
	sub	rsp, 48
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	r13, rsp
	mov	rdi, r13
	call	vorbis_init@PLT
	mov	rdi, rbp
	mov	QWORD PTR 24[rsp], rbp
	call	ftell@PLT
	mov	rdi, r13
	mov	DWORD PTR [rsp], r14d
	mov	QWORD PTR 16[rsp], rax
	mov	DWORD PTR 4[rsp], r12d
	call	start_decoder@PLT
	test	rax, rax
	je	.L2
	mov	rdi, r13
	call	vorbis_alloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L2
	movdqa	xmm0, XMMWORD PTR [rsp]
	mov	rdi, rax
	movups	XMMWORD PTR [rax], xmm0
	movdqa	xmm1, XMMWORD PTR 16[rsp]
	movups	XMMWORD PTR 16[rax], xmm1
	call	vorbis_pump_first_frame@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	test	rbx, rbx
	je	.L4
	mov	eax, DWORD PTR 8[rsp]
	mov	DWORD PTR [rbx], eax
.L4:
	mov	rdi, r13
	xor	r12d, r12d
	call	vorbis_deinit@PLT
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 40
	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
.L17:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	stb_vorbis_open_file_section, .-stb_vorbis_open_file_section
	.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_stb_vorbis.c_stb_vorbis_open_file_section.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	stb_vorbis_open_file_section
	.syntax unified
	.arm
	.fpu softvfp
	.type	stb_vorbis_open_file_section, %function
stb_vorbis_open_file_section:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	sub	sp, sp, #28
	mov	r6, r1
	mov	r1, r3
	ldr	r3, .L18
	mov	r0, sp
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r7, [sp, #48]
	bl	vorbis_init
	mov	r0, r4
	str	r4, [sp, #16]
	bl	ftell
	mov	r3, r0
	mov	r0, sp
	str	r6, [sp, #4]
	str	r7, [sp]
	str	r3, [sp, #12]
	bl	start_decoder
	cmp	r0, #0
	beq	.L2
	mov	r0, sp
	bl	vorbis_alloc
	subs	r4, r0, #0
	beq	.L2
	mov	lr, sp
	mov	ip, r4
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	mov	r0, r4
	str	r3, [ip]
	bl	vorbis_pump_first_frame
	b	.L1
.L2:
	cmp	r5, #0
	ldrne	r3, [sp, #8]
	mov	r0, sp
	strne	r3, [r5]
	bl	vorbis_deinit
	mov	r4, #0
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.size	stb_vorbis_open_file_section, .-stb_vorbis_open_file_section
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
