	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function OnInitDialog
_OnInitDialog:                          ## @OnInitDialog
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$2168, %rsp                     ## imm = 0x878
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -2112(%rbp)
	movq	$0, -2176(%rbp)
	movq	_hAppInstance@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_IDS_ADVANCED_CONTROLS@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leaq	-1072(%rbp), %r12
	movq	%r12, %rdi
	callq	_ARRAYSIZE
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movl	%eax, %ecx
	callq	_LoadStringW
	leaq	-2096(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAYSIZE
	movq	%r14, -2120(%rbp)               ## 8-byte Spill
	movq	16(%r14), %rcx
	movl	16(%rcx), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r12, %rdx
	callq	_StringCchPrintfW
	movl	%r13d, %edi
	movq	%rbx, %rsi
	callq	_SetWindowTextW
	movq	_IDC_ADV_BASS_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_IDC_ADV_TREBLE_SLIDER@GOTPCREL(%rip), %r15
	cmpl	(%r15), %ebx
	jg	LBB0_3
## %bb.1:
	movq	_FALSE@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	_GetDlgItem
	movq	(%r14), %rsi
	movl	%eax, %edi
	callq	_EnableWindow
	leal	1(%rbx), %eax
	cmpl	(%r15), %ebx
	movl	%eax, %ebx
	jl	LBB0_2
LBB0_3:
	movq	_IDC_ADV_BASS_SLIDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -2104(%rbp)               ## 4-byte Spill
	movq	_TBM_SETRANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_VOLUME_MIN@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_VOLUME_MAX@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_MAKELONG
	movl	%r13d, %edi
	movl	-2104(%rbp), %esi               ## 4-byte Reload
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_SendDlgItemMessageW
	movq	_IDC_ADV_TREBLE_SLIDER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_TBM_SETRANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -2104(%rbp)               ## 4-byte Spill
	movl	(%r12), %edi
	movl	(%r14), %esi
	callq	_MAKELONG
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	-2104(%rbp), %ecx               ## 4-byte Reload
	movl	%eax, %r8d
	callq	_SendDlgItemMessageW
	movq	_IDC_ADV_BASS_SLIDER@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_TBM_SETPAGESIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_VOLUME_PAGE_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	movl	%r13d, %edi
	xorl	%ecx, %ecx
	callq	_SendDlgItemMessageW
	movq	_IDC_ADV_TREBLE_SLIDER@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	(%r15), %edx
	movl	(%rbx), %r8d
	movl	%r13d, %edi
	xorl	%ecx, %ecx
	callq	_SendDlgItemMessageW
	movl	(%r12), %esi
	movq	_TBM_SETPOS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_TRUE@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movl	%r13d, %edi
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessageW
	movl	(%r14), %esi
	movl	(%rbx), %edx
	movl	(%r15), %ecx
	movl	%r13d, %edi
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessageW
	movq	_VOLUME_MAX@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movq	_VOLUME_TICKS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	incl	%esi
	movl	%ecx, %eax
	cltd
	idivl	%esi
	movl	%eax, %r15d
	cmpl	$1, %edx
	sbbl	$-1, %r15d
	cmpl	%ecx, %r15d
	jge	LBB0_6
## %bb.4:
	movq	_TBM_SETTIC@GOTPCREL(%rip), %r12
	movl	%r15d, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_IDC_ADV_BASS_SLIDER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movl	%r13d, %edi
	xorl	%ecx, %ecx
	movl	%ebx, %r8d
	callq	_SendDlgItemMessageW
	movq	_IDC_ADV_TREBLE_SLIDER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movl	%r13d, %edi
	xorl	%ecx, %ecx
	movl	%ebx, %r8d
	callq	_SendDlgItemMessageW
	addl	%r15d, %ebx
	cmpl	(%r14), %ebx
	jl	LBB0_5
LBB0_6:
	movq	_IDC_ADV_OTHER_CONTROLS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_IDC_ADV_OTHER_CHECK2@GOTPCREL(%rip), %r15
	cmpl	(%r15), %ebx
	jg	LBB0_9
## %bb.7:
	movq	_SW_HIDE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	_GetDlgItem
	movl	(%r12), %esi
	movl	%eax, %edi
	callq	_ShowWindow
	leal	1(%rbx), %eax
	cmpl	(%r15), %ebx
	movl	%eax, %ebx
	jl	LBB0_8
LBB0_9:
	movq	-2120(%rbp), %rax               ## 8-byte Reload
	movq	16(%rax), %rax
	movl	8(%rax), %edi
	movl	12(%rax), %edx
	leaq	-2176(%rbp), %rsi
	leaq	-2112(%rbp), %rcx
	callq	_SndMixerQueryControls
	testq	%rax, %rax
	movq	_TRUE@GOTPCREL(%rip), %r14
	je	LBB0_32
## %bb.10:
	cmpq	$0, -2176(%rbp)
	je	LBB0_11
## %bb.12:
	xorl	%eax, %eax
	movq	%rax, -2104(%rbp)               ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	_IDC_ADV_BASS_SLIDER@GOTPCREL(%rip), %r12
	movq	-2120(%rbp), %rbx               ## 8-byte Reload
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-2112(%rbp), %rcx
	leaq	(,%r15,4), %rax
	leaq	(%rax,%rax,4), %rbx
	movl	12(%rcx,%rbx), %eax
	movl	16(%rcx,%rbx), %edi
	subl	%edi, %eax
	movq	_VOLUME_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_VOLUME_MIN@GOTPCREL(%rip), %rdx
	subl	(%rdx), %ecx
	cltd
	idivl	%ecx
	movl	%eax, %ecx
	movl	-2128(%rbp), %eax
	subl	%edi, %eax
	cltd
	idivl	%ecx
	movq	_TBM_SETPOS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%r14), %ecx
	movl	%r13d, %edi
	movl	%eax, %r8d
	callq	_SendDlgItemMessageW
	movq	(%r14), %rax
	movq	-2120(%rbp), %rsi               ## 8-byte Reload
	movq	32(%rsi), %rcx
	movq	%rax, (%rcx)
	movq	-2112(%rbp), %rax
	movl	4(%rax,%rbx), %ecx
	movq	24(%rsi), %rdx
	movl	%ecx, (%rdx)
	movl	12(%rax,%rbx), %ecx
	movq	(%rsi), %rdx
	movl	%ecx, (%rdx)
	movl	16(%rax,%rbx), %eax
	movq	%rsi, %rbx
	movq	8(%rsi), %rcx
	movl	%eax, (%rcx)
LBB0_28:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%r15
	cmpq	-2176(%rbp), %r15
	jae	LBB0_29
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_21 Depth 2
                                        ##     Child Loop BB0_16 Depth 2
	movq	-2112(%rbp), %rax
	leaq	(%r15,%r15,4), %rcx
	movl	(%rax,%rcx,4), %edx
	movq	_MIXERCONTROL_CONTROLTYPE_BASS@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	jne	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	16(%rbx), %rdx
	movl	8(%rdx), %edi
	movl	4(%rax,%rcx,4), %esi
	movl	$1, %edx
	movl	$4, %ecx
	leaq	-2128(%rbp), %r8
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_SndMixerGetVolumeControlDetails
	cmpl	$-1, %eax
	je	LBB0_28
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_IDC_ADV_BASS_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r12), %esi
	cmpl	%esi, %ebx
	jg	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	_GetDlgItem
	movq	(%r14), %rsi
	movl	%eax, %edi
	callq	_EnableWindow
	leal	1(%rbx), %eax
	movl	(%r12), %esi
	cmpl	%esi, %ebx
	movl	%eax, %ebx
	jl	LBB0_16
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_MIXERCONTROL_CONTROLTYPE_TREBLE@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	jne	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	16(%rbx), %rdx
	movl	8(%rdx), %edi
	movl	4(%rax,%rcx,4), %esi
	movl	$1, %edx
	movl	$4, %ecx
	leaq	-2128(%rbp), %r8
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_SndMixerGetVolumeControlDetails
	cmpl	$-1, %eax
	je	LBB0_28
## %bb.20:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_IDC_ADV_TREBLE_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_IDC_ADV_TREBLE_SLIDER@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	cmpl	%esi, %ebx
	jg	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	_GetDlgItem
	movq	(%r14), %rsi
	movl	%eax, %edi
	callq	_EnableWindow
	leal	1(%rbx), %eax
	movl	(%r12), %esi
	cmpl	%esi, %ebx
	movl	%eax, %ebx
	jl	LBB0_21
LBB0_22:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-2112(%rbp), %rcx
	leaq	(,%r15,4), %rax
	leaq	(%rax,%rax,4), %rbx
	movl	12(%rcx,%rbx), %eax
	movl	16(%rcx,%rbx), %edi
	subl	%edi, %eax
	movq	_VOLUME_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_VOLUME_MIN@GOTPCREL(%rip), %rdx
	subl	(%rdx), %ecx
	cltd
	idivl	%ecx
	movl	%eax, %ecx
	movl	-2128(%rbp), %eax
	subl	%edi, %eax
	cltd
	idivl	%ecx
	movq	_TBM_SETPOS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%r14), %ecx
	movl	%r13d, %edi
	movl	%eax, %r8d
	callq	_SendDlgItemMessageW
	movq	(%r14), %rax
	movq	-2120(%rbp), %rsi               ## 8-byte Reload
	movq	32(%rsi), %rcx
	movq	%rax, 8(%rcx)
	movq	-2112(%rbp), %rax
	movl	4(%rax,%rbx), %ecx
	movq	24(%rsi), %rdx
	movl	%ecx, 4(%rdx)
	movl	12(%rax,%rbx), %ecx
	movq	(%rsi), %rdx
	movl	%ecx, 4(%rdx)
	movl	16(%rax,%rbx), %eax
	movq	%rsi, %rbx
	movq	8(%rsi), %rcx
	movl	%eax, 4(%rcx)
	movq	_IDC_ADV_BASS_SLIDER@GOTPCREL(%rip), %r12
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_MIXERCONTROL_CT_SUBCLASS_MASK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movq	_MIXERCONTROL_CT_CLASS_MASK@GOTPCREL(%rip), %rdi
	orl	(%rdi), %esi
	movq	_MIXERCONTROL_CT_UNITS_MASK@GOTPCREL(%rip), %rdi
	orl	(%rdi), %esi
	andl	%edx, %esi
	movq	_MIXERCONTROL_CONTROLTYPE_BOOLEAN@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %esi
	jne	LBB0_28
## %bb.24:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_MIXERCONTROL_CONTROLTYPE_MUTE@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	je	LBB0_28
## %bb.25:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$1, -2104(%rbp)                 ## 4-byte Folded Reload
	jg	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	16(%rbx), %rdx
	movl	8(%rdx), %edi
	movl	4(%rax,%rcx,4), %esi
	movl	$1, %edx
	movl	$8, %ecx
	leaq	-2192(%rbp), %r8
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_SndMixerGetVolumeControlDetails
	cmpl	$-1, %eax
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_hAppInstance@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -2168(%rbp)               ## 4-byte Spill
	movslq	-2104(%rbp), %rcx               ## 4-byte Folded Reload
	movq	%rcx, -2184(%rbp)               ## 8-byte Spill
	movq	_IDS_OTHER_CONTROLS1@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	addq	%rcx, %rbx
	leaq	-1072(%rbp), %rdi
	callq	_ARRAYSIZE
	movl	-2168(%rbp), %edi               ## 4-byte Reload
	movq	%rbx, %rsi
	leaq	-1072(%rbp), %rdx
	movl	%eax, %ecx
	callq	_LoadStringW
	leaq	-2096(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAYSIZE
	movq	-2112(%rbp), %rcx
	leaq	(,%r15,4), %rdx
	leaq	(%rdx,%rdx,4), %rdx
	movq	%rdx, -2168(%rbp)               ## 8-byte Spill
	movl	8(%rcx,%rdx), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	leaq	-1072(%rbp), %rdx
	callq	_StringCchPrintfW
	movq	_IDC_ADV_OTHER_CHECK1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-2104(%rbp), %rbx               ## 8-byte Reload
	addl	%ebx, %esi
	movl	%r13d, %edi
	callq	_GetDlgItem
	movl	%eax, %edi
	leaq	-2096(%rbp), %rsi
	callq	_SetWindowTextW
	movq	_IDC_ADV_OTHER_CHECK1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%ebx, %esi
	movq	%rbx, -2104(%rbp)               ## 8-byte Spill
	movl	%r13d, %edi
	callq	_GetDlgItem
	movq	_SW_SHOWNORMAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_ShowWindow
	movq	_IDC_ADV_OTHER_CHECK1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%ebx, %esi
	movq	_BM_SETCHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-2192(%rbp), %ecx
	movl	%r13d, %edi
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessageW
	movq	(%r14), %rax
	movq	-2120(%rbp), %rcx               ## 8-byte Reload
	movq	32(%rcx), %rcx
	movq	-2184(%rbp), %rdx               ## 8-byte Reload
	movq	%rax, 16(%rcx,%rdx,8)
	movq	-2112(%rbp), %rax
	movq	-2168(%rbp), %rcx               ## 8-byte Reload
	movl	4(%rax,%rcx), %eax
	movq	-2120(%rbp), %rbx               ## 8-byte Reload
	movq	24(%rbx), %rcx
	movl	%eax, 8(%rcx,%rdx,4)
	movq	-2104(%rbp), %rax               ## 8-byte Reload
	incl	%eax
	movq	%rax, -2104(%rbp)               ## 8-byte Spill
	jmp	LBB0_28
LBB0_11:
	xorl	%eax, %eax
	movq	%rax, -2104(%rbp)               ## 8-byte Spill
LBB0_29:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-2112(%rbp), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	movq	-2104(%rbp), %r15               ## 8-byte Reload
	testl	%r15d, %r15d
	je	LBB0_32
## %bb.30:
	movq	_IDC_ADV_OTHER_CONTROLS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_GetDlgItem
	movq	_SW_SHOWNORMAL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	%eax, %edi
	callq	_ShowWindow
	movq	_IDC_ADV_OTHER_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_GetDlgItem
	movl	(%r14), %esi
	movl	%eax, %edi
	callq	_ShowWindow
	leaq	-2160(%rbp), %rsi
	movl	%r13d, %edi
	callq	_GetWindowRect
	cmpl	$1, %r15d
	movl	$73, %eax
	movl	$88, %edi
	cmovel	%eax, %edi
	movq	-2120(%rbp), %rax               ## 8-byte Reload
	movq	16(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movl	$8, %edx
	callq	_MulDiv
	movq	%rax, %r12
	movq	-2152(%rbp), %r9
	addq	%rax, %r9
	movq	%r9, -2152(%rbp)
	movq	_HWND_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-2160(%rbp), %rcx
	movq	-2144(%rbp), %rdx
	movq	-2136(%rbp), %r8
	subq	%rdx, %r8
	subq	%rcx, %r9
	movq	_SWP_NOMOVE@GOTPCREL(%rip), %rdi
	movq	_SWP_NOZORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rdi), %eax
	movl	%eax, (%rsp)
	movl	%r13d, %edi
	callq	_SetWindowPos
	movq	%r15, -2104(%rbp)               ## 8-byte Spill
	movq	_IDOK@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	%r13d, %edi
	callq	_GetDlgItem
	movl	%eax, %edi
	leaq	-2160(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_GetWindowRect
	movq	_HWND_DESKTOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %esi
	movl	%ebx, %edx
	movq	_SWP_NOZORDER@GOTPCREL(%rip), %r15
	movl	$2, %ecx
	callq	_MapWindowPoints
	movq	%r12, %xmm0
	movq	-2120(%rbp), %r12               ## 8-byte Reload
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	paddq	-2160(%rbp), %xmm0
	movdqa	%xmm0, -2160(%rbp)
	movl	(%r14), %esi
	movq	_HWND_TOP@GOTPCREL(%rip), %r14
	movl	%r13d, %edi
	callq	_GetDlgItem
	movl	(%r14), %esi
	movq	-2144(%rbp), %rdx
	movq	-2136(%rbp), %r8
	subq	%rdx, %r8
	movq	-2160(%rbp), %rcx
	movq	-2152(%rbp), %r9
	subq	%rcx, %r9
	movq	_SWP_NOSIZE@GOTPCREL(%rip), %rdi
	movl	(%r15), %ebx
	orl	(%rdi), %ebx
	movl	%ebx, (%rsp)
	movl	%eax, %edi
	callq	_SetWindowPos
	cmpl	$2, -2104(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_32
## %bb.31:
	movq	_IDC_ADV_OTHER_CONTROLS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%r13d, %edi
	callq	_GetDlgItem
	leaq	-2160(%rbp), %rsi
	movl	%eax, %edi
	callq	_GetWindowRect
	movq	_HWND_DESKTOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %esi
	leaq	-2160(%rbp), %rdx
                                        ## kill: def $edx killed $edx killed $rdx
	movl	$2, %ecx
	callq	_MapWindowPoints
	movq	16(%r12), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movl	$15, %edi
	movl	$8, %edx
	callq	_MulDiv
	addq	%rax, -2152(%rbp)
	movl	(%rbx), %esi
	movl	%r13d, %edi
	callq	_GetDlgItem
	movl	(%r14), %esi
	movq	-2144(%rbp), %rdx
	movq	-2136(%rbp), %r8
	subq	%rdx, %r8
	movq	-2160(%rbp), %rcx
	movq	-2152(%rbp), %r9
	subq	%rcx, %r9
	movl	(%r15), %edi
	movq	_SWP_NOMOVE@GOTPCREL(%rip), %rbx
	orl	(%rbx), %edi
	movl	%edi, (%rsp)
	movl	%eax, %edi
	callq	_SetWindowPos
LBB0_32:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_34
## %bb.33:
	addq	$2168, %rsp                     ## imm = 0x878
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_hAppInstance,4,2               ## @hAppInstance
	.comm	_IDS_ADVANCED_CONTROLS,8,3      ## @IDS_ADVANCED_CONTROLS
	.comm	_IDC_ADV_BASS_LOW,4,2           ## @IDC_ADV_BASS_LOW
	.comm	_IDC_ADV_TREBLE_SLIDER,4,2      ## @IDC_ADV_TREBLE_SLIDER
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_IDC_ADV_BASS_SLIDER,4,2        ## @IDC_ADV_BASS_SLIDER
	.comm	_TBM_SETRANGE,4,2               ## @TBM_SETRANGE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_VOLUME_MIN,4,2                 ## @VOLUME_MIN
	.comm	_VOLUME_MAX,4,2                 ## @VOLUME_MAX
	.comm	_TBM_SETPAGESIZE,4,2            ## @TBM_SETPAGESIZE
	.comm	_VOLUME_PAGE_SIZE,8,3           ## @VOLUME_PAGE_SIZE
	.comm	_TBM_SETPOS,4,2                 ## @TBM_SETPOS
	.comm	_VOLUME_TICKS,4,2               ## @VOLUME_TICKS
	.comm	_TBM_SETTIC,4,2                 ## @TBM_SETTIC
	.comm	_IDC_ADV_OTHER_CONTROLS,4,2     ## @IDC_ADV_OTHER_CONTROLS
	.comm	_IDC_ADV_OTHER_CHECK2,4,2       ## @IDC_ADV_OTHER_CHECK2
	.comm	_SW_HIDE,4,2                    ## @SW_HIDE
	.comm	_MIXERCONTROL_CONTROLTYPE_BASS,4,2 ## @MIXERCONTROL_CONTROLTYPE_BASS
	.comm	_MIXERCONTROL_CONTROLTYPE_TREBLE,4,2 ## @MIXERCONTROL_CONTROLTYPE_TREBLE
	.comm	_IDC_ADV_TREBLE_LOW,4,2         ## @IDC_ADV_TREBLE_LOW
	.comm	_MIXERCONTROL_CT_CLASS_MASK,4,2 ## @MIXERCONTROL_CT_CLASS_MASK
	.comm	_MIXERCONTROL_CT_SUBCLASS_MASK,4,2 ## @MIXERCONTROL_CT_SUBCLASS_MASK
	.comm	_MIXERCONTROL_CT_UNITS_MASK,4,2 ## @MIXERCONTROL_CT_UNITS_MASK
	.comm	_MIXERCONTROL_CONTROLTYPE_BOOLEAN,4,2 ## @MIXERCONTROL_CONTROLTYPE_BOOLEAN
	.comm	_MIXERCONTROL_CONTROLTYPE_MUTE,4,2 ## @MIXERCONTROL_CONTROLTYPE_MUTE
	.comm	_IDS_OTHER_CONTROLS1,8,3        ## @IDS_OTHER_CONTROLS1
	.comm	_IDC_ADV_OTHER_CHECK1,4,2       ## @IDC_ADV_OTHER_CHECK1
	.comm	_SW_SHOWNORMAL,4,2              ## @SW_SHOWNORMAL
	.comm	_BM_SETCHECK,4,2                ## @BM_SETCHECK
	.comm	_IDC_ADV_OTHER_TEXT,4,2         ## @IDC_ADV_OTHER_TEXT
	.comm	_HWND_TOP,4,2                   ## @HWND_TOP
	.comm	_SWP_NOMOVE,4,2                 ## @SWP_NOMOVE
	.comm	_SWP_NOZORDER,4,2               ## @SWP_NOZORDER
	.comm	_IDOK,4,2                       ## @IDOK
	.comm	_HWND_DESKTOP,4,2               ## @HWND_DESKTOP
	.comm	_SWP_NOSIZE,4,2                 ## @SWP_NOSIZE
	.no_dead_strip	_OnInitDialog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function OnInitDialog
_OnInitDialog:                          ; @OnInitDialog
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #2144
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	stp	xzr, xzr, [sp, #48]
Lloh3:
	adrp	x8, _hAppInstance@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hAppInstance@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
Lloh6:
	adrp	x8, _IDS_ADVANCED_CONTROLS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IDS_ADVANCED_CONTROLS@GOTPAGEOFF]
Lloh8:
	ldr	x22, [x8]
	add	x0, sp, #1104
	bl	_ARRAYSIZE
	mov	x3, x0
	add	x2, sp, #1104
	mov	x0, x21
	mov	x1, x22
	bl	_LoadStringW
	add	x0, sp, #80
	bl	_ARRAYSIZE
	mov	x1, x0
	ldr	x8, [x20, #16]
	ldr	w3, [x8, #16]
	add	x0, sp, #80
	add	x2, sp, #1104
	bl	_StringCchPrintfW
	add	x1, sp, #80
	mov	x0, x19
	bl	_SetWindowTextW
Lloh9:
	adrp	x8, _IDC_ADV_BASS_LOW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IDC_ADV_BASS_LOW@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
Lloh12:
	adrp	x26, _IDC_ADV_TREBLE_SLIDER@GOTPAGE
Lloh13:
	ldr	x26, [x26, _IDC_ADV_TREBLE_SLIDER@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w21, w8
	b.gt	LBB0_3
; %bb.1:
Lloh14:
	adrp	x22, _FALSE@GOTPAGE
Lloh15:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_GetDlgItem
	ldr	x1, [x22]
	bl	_EnableWindow
	add	w8, w21, #1
	ldr	w9, [x26]
	cmp	w21, w9
	mov	x21, x8
	b.lt	LBB0_2
LBB0_3:
Lloh16:
	adrp	x27, _IDC_ADV_BASS_SLIDER@GOTPAGE
Lloh17:
	ldr	x27, [x27, _IDC_ADV_BASS_SLIDER@GOTPAGEOFF]
	ldr	w21, [x27]
Lloh18:
	adrp	x8, _TBM_SETRANGE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TBM_SETRANGE@GOTPAGEOFF]
Lloh20:
	ldr	w22, [x8]
Lloh21:
	adrp	x28, _TRUE@GOTPAGE
Lloh22:
	ldr	x28, [x28, _TRUE@GOTPAGEOFF]
	ldr	w23, [x28]
Lloh23:
	adrp	x25, _VOLUME_MIN@GOTPAGE
Lloh24:
	ldr	x25, [x25, _VOLUME_MIN@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh25:
	adrp	x24, _VOLUME_MAX@GOTPAGE
Lloh26:
	ldr	x24, [x24, _VOLUME_MAX@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_MAKELONG
	mov	x4, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_SendDlgItemMessageW
	ldr	w21, [x26]
Lloh27:
	adrp	x8, _TBM_SETRANGE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TBM_SETRANGE@GOTPAGEOFF]
Lloh29:
	ldr	w22, [x8]
	ldr	w23, [x28]
	ldr	w0, [x25]
	ldr	w1, [x24]
	bl	_MAKELONG
	mov	x4, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_SendDlgItemMessageW
	ldr	w1, [x27]
Lloh30:
	adrp	x21, _TBM_SETPAGESIZE@GOTPAGE
Lloh31:
	ldr	x21, [x21, _TBM_SETPAGESIZE@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh32:
	adrp	x22, _VOLUME_PAGE_SIZE@GOTPAGE
Lloh33:
	ldr	x22, [x22, _VOLUME_PAGE_SIZE@GOTPAGEOFF]
	ldr	w4, [x22]
	mov	x0, x19
	mov	w3, #0
	bl	_SendDlgItemMessageW
	ldr	w1, [x26]
	ldr	w2, [x21]
	ldr	w4, [x22]
	mov	x0, x19
	mov	w3, #0
	bl	_SendDlgItemMessageW
	ldr	w1, [x27]
Lloh34:
	adrp	x25, _TBM_SETPOS@GOTPAGE
Lloh35:
	ldr	x25, [x25, _TBM_SETPOS@GOTPAGEOFF]
	ldr	w2, [x25]
	ldr	w3, [x28]
	mov	x0, x19
	mov	w4, #0
	bl	_SendDlgItemMessageW
	ldr	w1, [x26]
	ldr	w2, [x25]
	ldr	w3, [x28]
	mov	x0, x19
	mov	w4, #0
	bl	_SendDlgItemMessageW
	ldr	w8, [x24]
Lloh36:
	adrp	x9, _VOLUME_TICKS@GOTPAGE
Lloh37:
	ldr	x9, [x9, _VOLUME_TICKS@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	add	w9, w9, #1
	sdiv	w10, w8, w9
	msub	w9, w10, w9, w8
	cmp	w9, #0
	cinc	w22, w10, ne
	cmp	w22, w8
	b.ge	LBB0_6
; %bb.4:
Lloh39:
	adrp	x23, _TBM_SETTIC@GOTPAGE
Lloh40:
	ldr	x23, [x23, _TBM_SETTIC@GOTPAGEOFF]
	mov	x21, x22
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x27]
	ldr	w2, [x23]
	mov	x0, x19
	mov	w3, #0
	mov	x4, x21
	bl	_SendDlgItemMessageW
	ldr	w1, [x26]
	ldr	w2, [x23]
	mov	x0, x19
	mov	w3, #0
	mov	x4, x21
	bl	_SendDlgItemMessageW
Lloh41:
	adrp	x8, _VOLUME_MAX@GOTPAGE
Lloh42:
	ldr	x8, [x8, _VOLUME_MAX@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	add	w21, w21, w22
	cmp	w21, w8
	b.lt	LBB0_5
LBB0_6:
Lloh44:
	adrp	x8, _IDC_ADV_OTHER_CONTROLS@GOTPAGE
Lloh45:
	ldr	x8, [x8, _IDC_ADV_OTHER_CONTROLS@GOTPAGEOFF]
Lloh46:
	ldr	w21, [x8]
Lloh47:
	adrp	x22, _IDC_ADV_OTHER_CHECK2@GOTPAGE
Lloh48:
	ldr	x22, [x22, _IDC_ADV_OTHER_CHECK2@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w21, w8
	b.gt	LBB0_9
; %bb.7:
Lloh49:
	adrp	x23, _SW_HIDE@GOTPAGE
Lloh50:
	ldr	x23, [x23, _SW_HIDE@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_GetDlgItem
	ldr	w1, [x23]
	bl	_ShowWindow
	add	w8, w21, #1
	ldr	w9, [x22]
	cmp	w21, w9
	mov	x21, x8
	b.lt	LBB0_8
LBB0_9:
	ldr	x8, [x20, #16]
	ldp	w0, w2, [x8, #8]
	add	x1, sp, #48
	add	x3, sp, #56
	bl	_SndMixerQueryControls
	cbz	x0, LBB0_32
; %bb.10:
	ldr	x8, [sp, #48]
	cbz	x8, LBB0_28
; %bb.11:
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
	mov	x24, #0
Lloh51:
	adrp	x21, _MIXERCONTROL_CONTROLTYPE_BASS@GOTPAGE
Lloh52:
	ldr	x21, [x21, _MIXERCONTROL_CONTROLTYPE_BASS@GOTPAGEOFF]
	mov	w23, #20
Lloh53:
	adrp	x22, _IDC_ADV_BASS_LOW@GOTPAGE
Lloh54:
	ldr	x22, [x22, _IDC_ADV_BASS_LOW@GOTPAGEOFF]
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [sp, #56]
	add	x9, x24, x24, lsl #2
	lsl	x21, x9, #2
	add	x8, x8, x21
	ldp	w9, w8, [x8, #12]
	sub	w9, w9, w8
Lloh55:
	adrp	x10, _VOLUME_MAX@GOTPAGE
Lloh56:
	ldr	x10, [x10, _VOLUME_MAX@GOTPAGEOFF]
Lloh57:
	ldr	w10, [x10]
Lloh58:
	adrp	x11, _VOLUME_MIN@GOTPAGE
Lloh59:
	ldr	x11, [x11, _VOLUME_MIN@GOTPAGEOFF]
Lloh60:
	ldr	w11, [x11]
	sub	w10, w10, w11
	sdiv	w9, w9, w10
	ldr	w10, [sp, #72]
	sub	w8, w10, w8
	sdiv	w4, w8, w9
	ldr	w2, [x25]
	ldr	w3, [x28]
	mov	x0, x19
	bl	_SendDlgItemMessageW
	ldr	x8, [x28]
	ldr	x9, [x20, #32]
	str	x8, [x9]
	ldr	x8, [sp, #56]
	add	x8, x8, x21
	ldr	w9, [x8, #4]
	ldr	x10, [x20, #24]
	str	w9, [x10]
	ldr	w9, [x8, #12]
	ldr	x10, [x20]
	str	w9, [x10]
	ldr	w8, [x8, #16]
	ldr	x9, [x20, #8]
	str	w8, [x9]
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
Lloh61:
	adrp	x21, _MIXERCONTROL_CONTROLTYPE_BASS@GOTPAGE
Lloh62:
	ldr	x21, [x21, _MIXERCONTROL_CONTROLTYPE_BASS@GOTPAGEOFF]
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x24, x24, #1
	ldr	x8, [sp, #48]
	cmp	x24, x8
	b.hs	LBB0_29
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
	ldr	x8, [sp, #56]
	mul	x9, x24, x23
	ldr	w9, [x8, x9]
	ldr	w10, [x21]
	cmp	w9, w10
	b.ne	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x9, [x20, #16]
	ldr	w0, [x9, #8]
	madd	x8, x24, x23, x8
	ldr	w1, [x8, #4]
	add	x4, sp, #72
	mov	w2, #1
	mov	w3, #4
	bl	_SndMixerGetVolumeControlDetails
	cmn	w0, #1
	b.eq	LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w21, [x22]
	ldr	w1, [x27]
	cmp	w21, w1
	b.gt	LBB0_12
LBB0_18:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x21
	bl	_GetDlgItem
	ldr	x1, [x28]
	bl	_EnableWindow
	add	w8, w21, #1
	ldr	w1, [x27]
	cmp	w21, w1
	mov	x21, x8
	b.lt	LBB0_18
	b	LBB0_12
LBB0_19:                                ;   in Loop: Header=BB0_15 Depth=1
Lloh63:
	adrp	x10, _MIXERCONTROL_CONTROLTYPE_TREBLE@GOTPAGE
Lloh64:
	ldr	x10, [x10, _MIXERCONTROL_CONTROLTYPE_TREBLE@GOTPAGEOFF]
Lloh65:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x9, [x20, #16]
	ldr	w0, [x9, #8]
	madd	x8, x24, x23, x8
	ldr	w1, [x8, #4]
	add	x4, sp, #72
	mov	w2, #1
	mov	w3, #4
	bl	_SndMixerGetVolumeControlDetails
	cmn	w0, #1
	b.eq	LBB0_14
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh66:
	adrp	x8, _IDC_ADV_TREBLE_LOW@GOTPAGE
Lloh67:
	ldr	x8, [x8, _IDC_ADV_TREBLE_LOW@GOTPAGEOFF]
Lloh68:
	ldr	w21, [x8]
	ldr	w1, [x26]
	cmp	w21, w1
	b.gt	LBB0_23
LBB0_22:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x21
	bl	_GetDlgItem
	ldr	x1, [x28]
	bl	_EnableWindow
	add	w8, w21, #1
	ldr	w1, [x26]
	cmp	w21, w1
	mov	x21, x8
	b.lt	LBB0_22
LBB0_23:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [sp, #56]
	add	x9, x24, x24, lsl #2
	lsl	x21, x9, #2
	add	x8, x8, x21
	ldp	w9, w8, [x8, #12]
	sub	w9, w9, w8
Lloh69:
	adrp	x10, _VOLUME_MAX@GOTPAGE
Lloh70:
	ldr	x10, [x10, _VOLUME_MAX@GOTPAGEOFF]
Lloh71:
	ldr	w10, [x10]
Lloh72:
	adrp	x11, _VOLUME_MIN@GOTPAGE
Lloh73:
	ldr	x11, [x11, _VOLUME_MIN@GOTPAGEOFF]
Lloh74:
	ldr	w11, [x11]
	sub	w10, w10, w11
	sdiv	w9, w9, w10
	ldr	w10, [sp, #72]
	sub	w8, w10, w8
	sdiv	w4, w8, w9
	ldr	w2, [x25]
	ldr	w3, [x28]
	mov	x0, x19
	bl	_SendDlgItemMessageW
	ldr	x8, [x28]
	ldr	x9, [x20, #32]
	str	x8, [x9, #8]
	ldr	x8, [sp, #56]
	add	x8, x8, x21
	ldr	w9, [x8, #4]
	ldr	x10, [x20, #24]
	str	w9, [x10, #4]
	ldr	w9, [x8, #12]
	ldr	x10, [x20]
	str	w9, [x10, #4]
	ldr	w8, [x8, #16]
	ldr	x9, [x20, #8]
	str	w8, [x9, #4]
	b	LBB0_13
LBB0_24:                                ;   in Loop: Header=BB0_15 Depth=1
Lloh75:
	adrp	x10, _MIXERCONTROL_CT_CLASS_MASK@GOTPAGE
Lloh76:
	ldr	x10, [x10, _MIXERCONTROL_CT_CLASS_MASK@GOTPAGEOFF]
Lloh77:
	ldr	w10, [x10]
Lloh78:
	adrp	x11, _MIXERCONTROL_CT_SUBCLASS_MASK@GOTPAGE
Lloh79:
	ldr	x11, [x11, _MIXERCONTROL_CT_SUBCLASS_MASK@GOTPAGEOFF]
Lloh80:
	ldr	w11, [x11]
	orr	w10, w11, w10
Lloh81:
	adrp	x11, _MIXERCONTROL_CT_UNITS_MASK@GOTPAGE
Lloh82:
	ldr	x11, [x11, _MIXERCONTROL_CT_UNITS_MASK@GOTPAGEOFF]
Lloh83:
	ldr	w11, [x11]
	orr	w10, w10, w11
	and	w10, w10, w9
Lloh84:
	adrp	x11, _MIXERCONTROL_CONTROLTYPE_BOOLEAN@GOTPAGE
Lloh85:
	ldr	x11, [x11, _MIXERCONTROL_CONTROLTYPE_BOOLEAN@GOTPAGEOFF]
Lloh86:
	ldr	w11, [x11]
	cmp	w10, w11
	b.ne	LBB0_14
; %bb.25:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh87:
	adrp	x10, _MIXERCONTROL_CONTROLTYPE_MUTE@GOTPAGE
Lloh88:
	ldr	x10, [x10, _MIXERCONTROL_CONTROLTYPE_MUTE@GOTPAGEOFF]
Lloh89:
	ldr	w10, [x10]
	cmp	w9, w10
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	ccmp	w9, #1, #0, ne
	b.gt	LBB0_14
; %bb.26:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x9, [x20, #16]
	ldr	w0, [x9, #8]
	madd	x8, x24, x23, x8
	ldr	w1, [x8, #4]
	add	x4, sp, #64
	mov	w2, #1
	mov	w3, #8
	bl	_SndMixerGetVolumeControlDetails
	cmn	w0, #1
	b.eq	LBB0_14
; %bb.27:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh90:
	adrp	x8, _hAppInstance@GOTPAGE
Lloh91:
	ldr	x8, [x8, _hAppInstance@GOTPAGEOFF]
Lloh92:
	ldr	w21, [x8]
Lloh93:
	adrp	x8, _IDS_OTHER_CONTROLS1@GOTPAGE
Lloh94:
	ldr	x8, [x8, _IDS_OTHER_CONTROLS1@GOTPAGEOFF]
Lloh95:
	ldr	x8, [x8]
	ldr	w25, [sp, #12]                  ; 4-byte Folded Reload
	add	x22, x8, w25, sxtw
	add	x0, sp, #1104
	bl	_ARRAYSIZE
	mov	x3, x0
	add	x2, sp, #1104
	mov	x0, x21
	mov	x1, x22
	bl	_LoadStringW
	add	x0, sp, #80
	bl	_ARRAYSIZE
	mov	x1, x0
	ldr	x8, [sp, #56]
	add	x9, x24, x24, lsl #2
	lsl	x21, x9, #2
	add	x8, x8, x21
	ldr	w3, [x8, #8]
	add	x0, sp, #80
	add	x2, sp, #1104
	bl	_StringCchPrintfW
Lloh96:
	adrp	x22, _IDC_ADV_OTHER_CHECK1@GOTPAGE
Lloh97:
	ldr	x22, [x22, _IDC_ADV_OTHER_CHECK1@GOTPAGEOFF]
	ldr	w8, [x22]
	add	w1, w8, w25
	mov	x0, x19
	bl	_GetDlgItem
	add	x1, sp, #80
	bl	_SetWindowTextW
	ldr	w8, [x22]
	add	w1, w8, w25
	mov	x0, x19
	bl	_GetDlgItem
Lloh98:
	adrp	x8, _SW_SHOWNORMAL@GOTPAGE
Lloh99:
	ldr	x8, [x8, _SW_SHOWNORMAL@GOTPAGEOFF]
Lloh100:
	ldr	w1, [x8]
	bl	_ShowWindow
	ldr	w8, [x22]
Lloh101:
	adrp	x22, _IDC_ADV_BASS_LOW@GOTPAGE
Lloh102:
	ldr	x22, [x22, _IDC_ADV_BASS_LOW@GOTPAGEOFF]
	add	w1, w8, w25
Lloh103:
	adrp	x8, _BM_SETCHECK@GOTPAGE
Lloh104:
	ldr	x8, [x8, _BM_SETCHECK@GOTPAGEOFF]
Lloh105:
	ldr	w2, [x8]
	ldr	w3, [sp, #64]
	mov	x0, x19
	mov	w4, #0
	bl	_SendDlgItemMessageW
	ldr	x8, [x28]
	ldr	x9, [x20, #32]
	add	w10, w25, #2
	str	x8, [x9, w10, sxtw #3]
	ldr	x8, [sp, #56]
	add	x8, x8, x21
Lloh106:
	adrp	x21, _MIXERCONTROL_CONTROLTYPE_BASS@GOTPAGE
Lloh107:
	ldr	x21, [x21, _MIXERCONTROL_CONTROLTYPE_BASS@GOTPAGEOFF]
	ldr	w8, [x8, #4]
	ldr	x9, [x20, #24]
	str	w8, [x9, w10, sxtw #2]
	add	w25, w25, #1
	str	w25, [sp, #12]                  ; 4-byte Folded Spill
Lloh108:
	adrp	x25, _TBM_SETPOS@GOTPAGE
Lloh109:
	ldr	x25, [x25, _TBM_SETPOS@GOTPAGEOFF]
	b	LBB0_14
LBB0_28:
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
LBB0_29:
	bl	_GetProcessHeap
	ldr	x2, [sp, #56]
	mov	w1, #0
	bl	_HeapFree
	ldr	w27, [sp, #12]                  ; 4-byte Folded Reload
	cbz	w27, LBB0_32
; %bb.30:
Lloh110:
	adrp	x8, _IDC_ADV_OTHER_CONTROLS@GOTPAGE
Lloh111:
	ldr	x8, [x8, _IDC_ADV_OTHER_CONTROLS@GOTPAGEOFF]
Lloh112:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetDlgItem
Lloh113:
	adrp	x21, _SW_SHOWNORMAL@GOTPAGE
Lloh114:
	ldr	x21, [x21, _SW_SHOWNORMAL@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_ShowWindow
Lloh115:
	adrp	x8, _IDC_ADV_OTHER_TEXT@GOTPAGE
Lloh116:
	ldr	x8, [x8, _IDC_ADV_OTHER_TEXT@GOTPAGEOFF]
Lloh117:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetDlgItem
	ldr	w1, [x21]
	bl	_ShowWindow
	add	x1, sp, #16
	mov	x0, x19
	bl	_GetWindowRect
	mov	w8, #88
	mov	w9, #73
	cmp	w27, #1
	csel	w0, w9, w8, eq
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	w2, #8
	bl	_MulDiv
	mov	x21, x0
Lloh118:
	adrp	x22, _HWND_TOP@GOTPAGE
Lloh119:
	ldr	x22, [x22, _HWND_TOP@GOTPAGEOFF]
	ldp	x3, x8, [sp, #16]
	add	x8, x8, x0
	sub	x5, x8, x3
	str	x8, [sp, #24]
	ldr	w1, [x22]
	ldp	x2, x8, [sp, #32]
Lloh120:
	adrp	x23, _SWP_NOMOVE@GOTPAGE
Lloh121:
	ldr	x23, [x23, _SWP_NOMOVE@GOTPAGEOFF]
	sub	x4, x8, x2
	ldr	w8, [x23]
Lloh122:
	adrp	x24, _SWP_NOZORDER@GOTPAGE
Lloh123:
	ldr	x24, [x24, _SWP_NOZORDER@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w6, w9, w8
	mov	x0, x19
	bl	_SetWindowPos
Lloh124:
	adrp	x26, _IDOK@GOTPAGE
Lloh125:
	ldr	x26, [x26, _IDOK@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_GetDlgItem
	add	x1, sp, #16
	bl	_GetWindowRect
Lloh126:
	adrp	x25, _HWND_DESKTOP@GOTPAGE
Lloh127:
	ldr	x25, [x25, _HWND_DESKTOP@GOTPAGEOFF]
	ldr	w0, [x25]
	add	x2, sp, #16
	mov	x1, x19
	mov	w3, #2
	bl	_MapWindowPoints
	ldr	q0, [sp, #16]
	dup.2d	v1, x21
	add.2d	v0, v0, v1
	str	q0, [sp, #16]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_GetDlgItem
	ldr	w1, [x22]
	ldp	x2, x8, [sp, #32]
	sub	x4, x8, x2
	ldp	x3, x8, [sp, #16]
	sub	x5, x8, x3
Lloh128:
	adrp	x8, _SWP_NOSIZE@GOTPAGE
Lloh129:
	ldr	x8, [x8, _SWP_NOSIZE@GOTPAGEOFF]
Lloh130:
	ldr	w8, [x8]
	ldr	w9, [x24]
	orr	w6, w9, w8
	bl	_SetWindowPos
	cmp	w27, #2
	b.ne	LBB0_32
; %bb.31:
Lloh131:
	adrp	x21, _IDC_ADV_OTHER_CONTROLS@GOTPAGE
Lloh132:
	ldr	x21, [x21, _IDC_ADV_OTHER_CONTROLS@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_GetDlgItem
	add	x1, sp, #16
	bl	_GetWindowRect
	ldr	w0, [x25]
	add	x2, sp, #16
	mov	x1, x19
	mov	w3, #2
	bl	_MapWindowPoints
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	w0, #15
	mov	w2, #8
	bl	_MulDiv
	ldr	x8, [sp, #24]
	add	x8, x8, x0
	str	x8, [sp, #24]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_GetDlgItem
	ldr	w1, [x22]
	ldp	x2, x8, [sp, #32]
	sub	x4, x8, x2
	ldp	x3, x8, [sp, #16]
	sub	x5, x8, x3
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w6, w9, w8
	bl	_SetWindowPos
LBB0_32:
	ldur	x8, [x29, #-96]
Lloh133:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh134:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh135:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.33:
	add	sp, sp, #2144
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_34:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGot	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGot	Lloh126, Lloh127
	.loh AdrpLdrGot	Lloh124, Lloh125
	.loh AdrpLdrGot	Lloh122, Lloh123
	.loh AdrpLdrGot	Lloh120, Lloh121
	.loh AdrpLdrGot	Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGot	Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGot	Lloh131, Lloh132
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.cfi_endproc
                                        ; -- End function
	.comm	_hAppInstance,4,2               ; @hAppInstance
	.comm	_IDS_ADVANCED_CONTROLS,8,3      ; @IDS_ADVANCED_CONTROLS
	.comm	_IDC_ADV_BASS_LOW,4,2           ; @IDC_ADV_BASS_LOW
	.comm	_IDC_ADV_TREBLE_SLIDER,4,2      ; @IDC_ADV_TREBLE_SLIDER
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_IDC_ADV_BASS_SLIDER,4,2        ; @IDC_ADV_BASS_SLIDER
	.comm	_TBM_SETRANGE,4,2               ; @TBM_SETRANGE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_VOLUME_MIN,4,2                 ; @VOLUME_MIN
	.comm	_VOLUME_MAX,4,2                 ; @VOLUME_MAX
	.comm	_TBM_SETPAGESIZE,4,2            ; @TBM_SETPAGESIZE
	.comm	_VOLUME_PAGE_SIZE,8,3           ; @VOLUME_PAGE_SIZE
	.comm	_TBM_SETPOS,4,2                 ; @TBM_SETPOS
	.comm	_VOLUME_TICKS,4,2               ; @VOLUME_TICKS
	.comm	_TBM_SETTIC,4,2                 ; @TBM_SETTIC
	.comm	_IDC_ADV_OTHER_CONTROLS,4,2     ; @IDC_ADV_OTHER_CONTROLS
	.comm	_IDC_ADV_OTHER_CHECK2,4,2       ; @IDC_ADV_OTHER_CHECK2
	.comm	_SW_HIDE,4,2                    ; @SW_HIDE
	.comm	_MIXERCONTROL_CONTROLTYPE_BASS,4,2 ; @MIXERCONTROL_CONTROLTYPE_BASS
	.comm	_MIXERCONTROL_CONTROLTYPE_TREBLE,4,2 ; @MIXERCONTROL_CONTROLTYPE_TREBLE
	.comm	_IDC_ADV_TREBLE_LOW,4,2         ; @IDC_ADV_TREBLE_LOW
	.comm	_MIXERCONTROL_CT_CLASS_MASK,4,2 ; @MIXERCONTROL_CT_CLASS_MASK
	.comm	_MIXERCONTROL_CT_SUBCLASS_MASK,4,2 ; @MIXERCONTROL_CT_SUBCLASS_MASK
	.comm	_MIXERCONTROL_CT_UNITS_MASK,4,2 ; @MIXERCONTROL_CT_UNITS_MASK
	.comm	_MIXERCONTROL_CONTROLTYPE_BOOLEAN,4,2 ; @MIXERCONTROL_CONTROLTYPE_BOOLEAN
	.comm	_MIXERCONTROL_CONTROLTYPE_MUTE,4,2 ; @MIXERCONTROL_CONTROLTYPE_MUTE
	.comm	_IDS_OTHER_CONTROLS1,8,3        ; @IDS_OTHER_CONTROLS1
	.comm	_IDC_ADV_OTHER_CHECK1,4,2       ; @IDC_ADV_OTHER_CHECK1
	.comm	_SW_SHOWNORMAL,4,2              ; @SW_SHOWNORMAL
	.comm	_BM_SETCHECK,4,2                ; @BM_SETCHECK
	.comm	_IDC_ADV_OTHER_TEXT,4,2         ; @IDC_ADV_OTHER_TEXT
	.comm	_HWND_TOP,4,2                   ; @HWND_TOP
	.comm	_SWP_NOMOVE,4,2                 ; @SWP_NOMOVE
	.comm	_SWP_NOZORDER,4,2               ; @SWP_NOZORDER
	.comm	_IDOK,4,2                       ; @IDOK
	.comm	_HWND_DESKTOP,4,2               ; @HWND_DESKTOP
	.comm	_SWP_NOSIZE,4,2                 ; @SWP_NOSIZE
	.no_dead_strip	_OnInitDialog
.subsections_via_symbols
