	.file	"extr_audio.c_audio_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	audio_init
	.type	audio_init, @function
audio_init:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	xor	eax, eax
	call	eeconfig_is_enabled@PLT
	test	eax, eax
	je	.L7
.L2:
	xor	eax, eax
	call	eeconfig_read_audio@PLT
	mov	DWORD PTR audio_config[rip+8], eax
	mov	eax, DWORD PTR audio_initialized[rip]
	test	eax, eax
	jne	.L3
	mov	DWORD PTR audio_initialized[rip], 1
.L3:
	cmp	QWORD PTR audio_config[rip], 0
	jne	.L8
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	call	eeconfig_init@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edi, DWORD PTR startup_song[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	PLAY_SONG@PLT
	.cfi_endproc
.LFE0:
	.size	audio_init, .-audio_init
	.comm	startup_song,4,4
	.comm	note_timbre,4,4
	.comm	audio_initialized,4,4
	.comm	audio_config,16,16
	.comm	WGM33,4,4
	.comm	WGM32,4,4
	.comm	WGM13,4,4
	.comm	WGM12,4,4
	.comm	TIMER_3_PERIOD,8,8
	.comm	TIMER_3_DUTY_CYCLE,8,8
	.comm	TIMER_1_PERIOD,8,8
	.comm	TIMER_1_DUTY_CYCLE,8,8
	.comm	F_CPU,8,8
	.comm	CS32,4,4
	.comm	CS31,4,4
	.comm	CS30,4,4
	.comm	CS12,4,4
	.comm	CS11,4,4
	.comm	CS10,4,4
	.comm	CPU_PRESCALER,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_audio_init.c"
	.text
	.align	2
	.global	audio_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	audio_init, %function
audio_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	bl	eeconfig_is_enabled
	cmp	r0, #0
	beq	.L7
.L2:
	bl	eeconfig_read_audio
	ldr	r2, .L8
	ldr	r3, .L8+4
	ldr	r1, [r2]
	str	r0, [r3, #4]
	cmp	r1, #0
	moveq	r1, #1
	ldr	r3, [r3]
	streq	r1, [r2]
	cmp	r3, #0
	popeq	{r4, pc}
	ldr	r3, .L8+8
	pop	{r4, lr}
	ldr	r0, [r3]
	b	PLAY_SONG
.L7:
	bl	eeconfig_init
	b	.L2
.L9:
	.align	2
.L8:
	.word	audio_initialized
	.word	audio_config
	.word	startup_song
	.size	audio_init, .-audio_init
	.comm	startup_song,4,4
	.comm	note_timbre,4,4
	.comm	audio_initialized,4,4
	.comm	audio_config,8,4
	.comm	WGM33,4,4
	.comm	WGM32,4,4
	.comm	WGM13,4,4
	.comm	WGM12,4,4
	.comm	TIMER_3_PERIOD,4,4
	.comm	TIMER_3_DUTY_CYCLE,4,4
	.comm	TIMER_1_PERIOD,4,4
	.comm	TIMER_1_DUTY_CYCLE,4,4
	.comm	F_CPU,4,4
	.comm	CS32,4,4
	.comm	CS31,4,4
	.comm	CS30,4,4
	.comm	CS12,4,4
	.comm	CS11,4,4
	.comm	CS10,4,4
	.comm	CPU_PRESCALER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
