	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_audio_init                     ## -- Begin function audio_init
	.p2align	4, 0x90
_audio_init:                            ## @audio_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_eeconfig_is_enabled
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_eeconfig_init
LBB0_2:
	xorl	%eax, %eax
	callq	_eeconfig_read_audio
	movq	_audio_config@GOTPCREL(%rip), %rcx
	movl	%eax, 8(%rcx)
	movq	_audio_initialized@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.4:
	cmpq	$0, (%rcx)
	je	LBB0_5
LBB0_6:
	movq	_startup_song@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_PLAY_SONG                      ## TAILCALL
LBB0_3:
	movl	$1, (%rax)
	cmpq	$0, (%rcx)
	jne	LBB0_6
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_audio_config,16,3              ## @audio_config
	.comm	_audio_initialized,4,2          ## @audio_initialized
	.comm	_startup_song,4,2               ## @startup_song
	.comm	_CPU_PRESCALER,4,2              ## @CPU_PRESCALER
	.comm	_CS10,4,2                       ## @CS10
	.comm	_CS11,4,2                       ## @CS11
	.comm	_CS12,4,2                       ## @CS12
	.comm	_CS30,4,2                       ## @CS30
	.comm	_CS31,4,2                       ## @CS31
	.comm	_CS32,4,2                       ## @CS32
	.comm	_F_CPU,8,3                      ## @F_CPU
	.comm	_TIMER_1_DUTY_CYCLE,8,3         ## @TIMER_1_DUTY_CYCLE
	.comm	_TIMER_1_PERIOD,8,3             ## @TIMER_1_PERIOD
	.comm	_TIMER_3_DUTY_CYCLE,8,3         ## @TIMER_3_DUTY_CYCLE
	.comm	_TIMER_3_PERIOD,8,3             ## @TIMER_3_PERIOD
	.comm	_WGM12,4,2                      ## @WGM12
	.comm	_WGM13,4,2                      ## @WGM13
	.comm	_WGM32,4,2                      ## @WGM32
	.comm	_WGM33,4,2                      ## @WGM33
	.comm	_note_timbre,4,2                ## @note_timbre
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_audio_init                     ; -- Begin function audio_init
	.p2align	2
_audio_init:                            ; @audio_init
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_eeconfig_is_enabled
	cbnz	w0, LBB0_2
; %bb.1:
	bl	_eeconfig_init
LBB0_2:
	bl	_eeconfig_read_audio
Lloh0:
	adrp	x8, _audio_config@GOTPAGE
Lloh1:
	ldr	x8, [x8, _audio_config@GOTPAGEOFF]
	str	w0, [x8, #8]
Lloh2:
	adrp	x9, _audio_initialized@GOTPAGE
Lloh3:
	ldr	x9, [x9, _audio_initialized@GOTPAGEOFF]
	ldr	w10, [x9]
	cbz	w10, LBB0_5
; %bb.3:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
LBB0_4:
Lloh4:
	adrp	x8, _startup_song@GOTPAGE
Lloh5:
	ldr	x8, [x8, _startup_song@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_PLAY_SONG
LBB0_5:
	mov	w10, #1
	str	w10, [x9]
	ldr	x8, [x8]
	cbnz	x8, LBB0_4
LBB0_6:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_audio_config,16,3              ; @audio_config
	.comm	_audio_initialized,4,2          ; @audio_initialized
	.comm	_startup_song,4,2               ; @startup_song
	.comm	_CPU_PRESCALER,4,2              ; @CPU_PRESCALER
	.comm	_CS10,4,2                       ; @CS10
	.comm	_CS11,4,2                       ; @CS11
	.comm	_CS12,4,2                       ; @CS12
	.comm	_CS30,4,2                       ; @CS30
	.comm	_CS31,4,2                       ; @CS31
	.comm	_CS32,4,2                       ; @CS32
	.comm	_F_CPU,8,3                      ; @F_CPU
	.comm	_TIMER_1_DUTY_CYCLE,8,3         ; @TIMER_1_DUTY_CYCLE
	.comm	_TIMER_1_PERIOD,8,3             ; @TIMER_1_PERIOD
	.comm	_TIMER_3_DUTY_CYCLE,8,3         ; @TIMER_3_DUTY_CYCLE
	.comm	_TIMER_3_PERIOD,8,3             ; @TIMER_3_PERIOD
	.comm	_WGM12,4,2                      ; @WGM12
	.comm	_WGM13,4,2                      ; @WGM13
	.comm	_WGM32,4,2                      ; @WGM32
	.comm	_WGM33,4,2                      ; @WGM33
	.comm	_note_timbre,4,2                ; @note_timbre
.subsections_via_symbols
