	.file	"extr_audio.c_create_audio_encoder.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Error while starting audio encoder: %s"
	.align 8
.LC1:
	.string	"Error while setting encoder ctl: %s"
	.text
	.p2align 4
	.globl	create_audio_encoder
	.type	create_audio_encoder, @function
create_audio_encoder:
.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
	mov	edi, esi
	mov	esi, edx
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR OPUS_APPLICATION_VOIP[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR OPUS_OK[rip]
	lea	rcx, 4[rsp]
	mov	DWORD PTR 4[rsp], eax
	call	opus_encoder_create@PLT
	mov	edi, DWORD PTR 4[rsp]
	cmp	edi, DWORD PTR OPUS_OK[rip]
	jne	.L12
	mov	edi, ebp
	mov	r12, rax
	call	OPUS_SET_BITRATE@PLT
	mov	rdi, r12
	mov	esi, eax
	call	opus_encoder_ctl@PLT
	cmp	eax, DWORD PTR OPUS_OK[rip]
	mov	DWORD PTR 4[rsp], eax
	jne	.L10
	mov	edi, 1
	call	OPUS_SET_INBAND_FEC@PLT
	mov	rdi, r12
	mov	esi, eax
	call	opus_encoder_ctl@PLT
	cmp	eax, DWORD PTR OPUS_OK[rip]
	mov	DWORD PTR 4[rsp], eax
	jne	.L10
	mov	edi, 10
	call	OPUS_SET_PACKET_LOSS_PERC@PLT
	mov	rdi, r12
	mov	esi, eax
	call	opus_encoder_ctl@PLT
	cmp	eax, DWORD PTR OPUS_OK[rip]
	mov	DWORD PTR 4[rsp], eax
	jne	.L10
	mov	edi, 10
	call	OPUS_SET_COMPLEXITY@PLT
	mov	rdi, r12
	mov	esi, eax
	call	opus_encoder_ctl@PLT
	cmp	eax, DWORD PTR OPUS_OK[rip]
	mov	DWORD PTR 4[rsp], eax
	jne	.L10
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
.L5:
	endbr64
	mov	edi, eax
	call	opus_strerror@PLT
	lea	rdi, .LC1[rip]
	mov	esi, eax
	call	LOGGER_ERROR@PLT
	mov	rdi, r12
	xor	r12d, r12d
	call	opus_encoder_destroy@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	call	opus_strerror@PLT
	lea	rdi, .LC0[rip]
	xor	r12d, r12d
	mov	esi, eax
	call	LOGGER_ERROR@PLT
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	create_audio_encoder, .-create_audio_encoder
	.comm	OPUS_OK,4,4
	.comm	OPUS_APPLICATION_VOIP,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_audio.c_create_audio_encoder.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Error while starting audio encoder: %s\000"
	.align	2
.LC1:
	.ascii	"Error while setting encoder ctl: %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	create_audio_encoder
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_audio_encoder, %function
create_audio_encoder:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	ldr	r5, .L14
	ldr	r3, .L14+4
	sub	sp, sp, #8
	ldr	lr, [r5]
	ldr	ip, .L14+8
	mov	r1, r2
	mov	r6, r0
	ldr	r2, [r3]
	mov	r0, r4
	mov	r3, sp
	ldr	ip, [ip]
	str	ip, [sp, #4]
	mov	ip,#0
	str	lr, [sp]
	bl	opus_encoder_create
	ldr	r2, [r5]
	ldr	r3, [sp]
	cmp	r3, r2
	bne	.L12
	mov	r4, r0
	mov	r0, r6
	bl	OPUS_SET_BITRATE
	mov	r1, r0
	mov	r0, r4
	bl	opus_encoder_ctl
	ldr	r2, [r5]
	str	r0, [sp]
	cmp	r0, r2
	bne	.L10
	mov	r0, #1
	bl	OPUS_SET_INBAND_FEC
	mov	r1, r0
	mov	r0, r4
	bl	opus_encoder_ctl
	ldr	r2, [r5]
	str	r0, [sp]
	cmp	r0, r2
	bne	.L10
	mov	r0, #10
	bl	OPUS_SET_PACKET_LOSS_PERC
	mov	r1, r0
	mov	r0, r4
	bl	opus_encoder_ctl
	ldr	r2, [r5]
	str	r0, [sp]
	cmp	r0, r2
	bne	.L10
	mov	r0, #10
	bl	OPUS_SET_COMPLEXITY
	mov	r1, r0
	mov	r0, r4
	bl	opus_encoder_ctl
	ldr	r2, [r5]
	str	r0, [sp]
	cmp	r0, r2
	bne	.L10
.L1:
	ldr	r3, .L14+8
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
.L5:
	bl	opus_strerror
	mov	r1, r0
	ldr	r0, .L14+12
	bl	LOGGER_ERROR
	mov	r0, r4
	bl	opus_encoder_destroy
	mov	r4, #0
	b	.L1
.L12:
	mov	r0, r3
	bl	opus_strerror
	mov	r1, r0
	ldr	r0, .L14+16
	bl	LOGGER_ERROR
	mov	r4, #0
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	OPUS_OK
	.word	OPUS_APPLICATION_VOIP
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.size	create_audio_encoder, .-create_audio_encoder
	.comm	OPUS_OK,4,4
	.comm	OPUS_APPLICATION_VOIP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
