	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mgn_opt_sound
_mgn_opt_sound:                         ## @mgn_opt_sound
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	$-8, (%rsi)
	movq	_PicoOpt@GOTPCREL(%rip), %rax
	movq	_POPT_EN_STEREO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	_static_buff@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_PsndRate@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	callq	_sprintf
	movq	(%rbx), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PicoOpt,4,2                    ## @PicoOpt
	.comm	_POPT_EN_STEREO,4,2             ## @POPT_EN_STEREO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stereo"

L_.str.1:                               ## @.str.1
	.asciz	"mono"

	.comm	_static_buff,8,3                ## @static_buff
L_.str.2:                               ## @.str.2
	.asciz	"%5iHz %s"

	.comm	_PsndRate,4,2                   ## @PsndRate
	.no_dead_strip	_mgn_opt_sound
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mgn_opt_sound
_mgn_opt_sound:                         ; @mgn_opt_sound
	.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
	mov	w8, #-8
	str	w8, [x1]
Lloh0:
	adrp	x8, _PicoOpt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PicoOpt@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _POPT_EN_STEREO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _POPT_EN_STEREO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, l_.str@PAGE
Lloh7:
	add	x10, x10, l_.str@PAGEOFF
Lloh8:
	adrp	x11, l_.str.1@PAGE
Lloh9:
	add	x11, x11, l_.str.1@PAGEOFF
	tst	w9, w8
	csel	x3, x11, x10, eq
Lloh10:
	adrp	x19, _static_buff@GOTPAGE
Lloh11:
	ldr	x19, [x19, _static_buff@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh12:
	adrp	x8, _PsndRate@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PsndRate@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_sprintf
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PicoOpt,4,2                    ; @PicoOpt
	.comm	_POPT_EN_STEREO,4,2             ; @POPT_EN_STEREO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stereo"

l_.str.1:                               ; @.str.1
	.asciz	"mono"

	.comm	_static_buff,8,3                ; @static_buff
l_.str.2:                               ; @.str.2
	.asciz	"%5iHz %s"

	.comm	_PsndRate,4,2                   ; @PsndRate
	.no_dead_strip	_mgn_opt_sound
.subsections_via_symbols
