	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pemu_sound_start               ## -- Begin function pemu_sound_start
	.p2align	4, 0x90
_pemu_sound_start:                      ## @pemu_sound_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_emu_sound_start
	movq	_currentConfig@GOTPCREL(%rip), %rbx
	movq	_EOPT_EN_SOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	callq	_soc_detect
	movq	_SOCID_POLLUX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_PsndRate@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_pollux_get_real_snd_rate
	movl	%eax, (%r14)
	movq	_Pico@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	setne	%dil
	callq	_PsndRerate
LBB0_3:
	addq	$4, %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_plat_target_step_volume        ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_currentConfig,8,2              ## @currentConfig
	.comm	_EOPT_EN_SOUND,4,2              ## @EOPT_EN_SOUND
	.comm	_SOCID_POLLUX,8,3               ## @SOCID_POLLUX
	.comm	_PsndRate,4,2                   ## @PsndRate
	.comm	_Pico,8,3                       ## @Pico
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pemu_sound_start               ; -- Begin function pemu_sound_start
	.p2align	2
_pemu_sound_start:                      ; @pemu_sound_start
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_emu_sound_start
Lloh0:
	adrp	x19, _currentConfig@GOTPAGE
Lloh1:
	ldr	x19, [x19, _currentConfig@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _EOPT_EN_SOUND@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EOPT_EN_SOUND@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	bl	_soc_detect
Lloh5:
	adrp	x8, _SOCID_POLLUX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SOCID_POLLUX@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
Lloh8:
	adrp	x20, _PsndRate@GOTPAGE
Lloh9:
	ldr	x20, [x20, _PsndRate@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_pollux_get_real_snd_rate
	str	w0, [x20]
Lloh10:
	adrp	x8, _Pico@GOTPAGE
Lloh11:
	ldr	x8, [x8, _Pico@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, ne
	bl	_PsndRerate
LBB0_3:
	add	x0, x19, #4
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_plat_target_step_volume
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_currentConfig,8,2              ; @currentConfig
	.comm	_EOPT_EN_SOUND,4,2              ; @EOPT_EN_SOUND
	.comm	_SOCID_POLLUX,8,3               ; @SOCID_POLLUX
	.comm	_PsndRate,4,2                   ; @PsndRate
	.comm	_Pico,8,3                       ; @Pico
.subsections_via_symbols
