	.file	"extr_voicebox.c_VOICEBOX_Initialise.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"-voicebox"
.LC1:
	.string	"-voiceboxii"
.LC2:
	.string	"-help"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"\t-voicebox        Emulate the Alien Group Voice Box I"
	.align 8
.LC4:
	.string	"\t-voiceboxii      Emulate the Alien Group Voice Box II"
	.text
	.p2align 4
	.globl	VOICEBOX_Initialise
	.type	VOICEBOX_Initialise, @function
VOICEBOX_Initialise:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	cmp	DWORD PTR [rdi], 1
	jle	.L8
	mov	rbp, rsi
	mov	ebx, 1
	mov	r14d, 1
	lea	r13, .LC0[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	mov	eax, DWORD PTR TRUE[rip]
	mov	DWORD PTR VOICEBOX_enabled[rip], eax
	mov	eax, DWORD PTR FALSE[rip]
	mov	DWORD PTR VOICEBOX_ii[rip], eax
.L4:
	add	rbx, 1
	cmp	DWORD PTR [r12], ebx
	jle	.L2
.L7:
	mov	rdi, QWORD PTR 0[rbp+rbx*8]
	mov	rsi, r13
	call	strcmp@PLT
	test	rax, rax
	je	.L12
	mov	rdi, QWORD PTR 0[rbp+rbx*8]
	lea	rsi, .LC1[rip]
	call	strcmp@PLT
	test	rax, rax
	jne	.L5
	mov	eax, DWORD PTR TRUE[rip]
	add	rbx, 1
	mov	DWORD PTR VOICEBOX_enabled[rip], eax
	mov	DWORD PTR VOICEBOX_ii[rip], eax
	cmp	DWORD PTR [r12], ebx
	jg	.L7
.L2:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	DWORD PTR [r12], r14d
	pop	r12
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR TRUE[rip]
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, QWORD PTR 0[rbp+rbx*8]
	lea	rsi, .LC2[rip]
	call	strcmp@PLT
	test	rax, rax
	je	.L13
.L6:
	mov	rdx, QWORD PTR 0[rbp+rbx*8]
	movsx	rax, r14d
	add	r14d, 1
	mov	QWORD PTR 0[rbp+rax*8], rdx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L13:
	lea	rdi, .LC3[rip]
	call	Log_print@PLT
	lea	rdi, .LC4[rip]
	call	Log_print@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L8:
	mov	r14d, 1
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	VOICEBOX_Initialise, .-VOICEBOX_Initialise
	.comm	VOICEBOX_ii,4,4
	.comm	VOICEBOX_enabled,4,4
	.comm	TRUE,4,4
	.comm	FALSE,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_voicebox.c_VOICEBOX_Initialise.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"-voicebox\000"
	.align	2
.LC1:
	.ascii	"-voiceboxii\000"
	.align	2
.LC2:
	.ascii	"-help\000"
	.align	2
.LC3:
	.ascii	"\011-voicebox        Emulate the Alien Group Voice "
	.ascii	"Box I\000"
	.align	2
.LC4:
	.ascii	"\011-voiceboxii      Emulate the Alien Group Voice "
	.ascii	"Box II\000"
	.text
	.align	2
	.global	VOICEBOX_Initialise
	.syntax unified
	.arm
	.fpu softvfp
	.type	VOICEBOX_Initialise, %function
VOICEBOX_Initialise:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r4, [r0]
	mov	r6, r0
	cmp	r4, #1
	ble	.L8
	mov	r8, #1
	mov	r5, r1
	mov	r10, r8
	ldr	r9, .L14
	ldr	r7, .L14+4
	b	.L7
.L12:
	ldr	r1, [r2]
	ldr	r2, [r9]
	str	r1, [r3]
	ldr	r3, .L14+8
	str	r2, [r3]
	ldr	r4, [r6]
.L4:
	add	r10, r10, #1
	cmp	r4, r10
	ble	.L2
.L7:
	ldr	fp, [r5, r10, lsl #2]
	mov	r1, r7
	mov	r0, fp
	bl	strcmp
	cmp	r0, #0
	ldr	r2, .L14+12
	ldr	r3, .L14+16
	beq	.L12
	mov	r0, fp
	ldr	r1, .L14+20
	bl	strcmp
	cmp	r0, #0
	ldr	r3, .L14+16
	bne	.L5
	ldr	r2, [r9]
	ldr	r1, .L14+8
	add	r10, r10, #1
	str	r2, [r1]
	str	r2, [r3]
	ldr	r4, [r6]
	cmp	r4, r10
	bgt	.L7
.L2:
	str	r8, [r6]
	ldr	r0, [r9]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	mov	r0, fp
	ldr	r1, .L14+24
	bl	strcmp
	cmp	r0, #0
	beq	.L13
.L6:
	str	fp, [r5, r8, lsl #2]
	add	r8, r8, #1
	b	.L4
.L13:
	ldr	r0, .L14+28
	bl	Log_print
	ldr	r0, .L14+32
	bl	Log_print
	ldr	fp, [r5, r10, lsl #2]
	ldr	r4, [r6]
	b	.L6
.L8:
	mov	r8, #1
	ldr	r9, .L14
	b	.L2
.L15:
	.align	2
.L14:
	.word	TRUE
	.word	.LC0
	.word	VOICEBOX_enabled
	.word	FALSE
	.word	VOICEBOX_ii
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	VOICEBOX_Initialise, .-VOICEBOX_Initialise
	.comm	VOICEBOX_ii,4,4
	.comm	VOICEBOX_enabled,4,4
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
