	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitializeTabCtrl              ## -- Begin function InitializeTabCtrl
	.p2align	4, 0x90
_InitializeTabCtrl:                     ## @InitializeTabCtrl
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	_IDC_TAB_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	movq	_hTabCtrlWnd@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	movl	%eax, 24(%rbx)
	movq	_hInst@GOTPCREL(%rip), %r15
	movl	(%r15), %r14d
	movq	_IDD_SYSTEM_DIALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAKEINTRESOURCEW
	movl	24(%rbx), %edx
	movq	_SystemPageWndProc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	%ebx, %r8d
	callq	_CreateDialogParamW
	movq	16(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	16(%rbx), %rax
	movq	(%rax), %rdi
	callq	_EnableDialogTheme
	movl	(%r15), %r14d
	movq	_IDD_MUSIC_DIALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAKEINTRESOURCEW
	movl	24(%rbx), %edx
	movq	_MusicPageWndProc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	%ebx, %r8d
	callq	_CreateDialogParamW
	movq	16(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	16(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_EnableDialogTheme
	movl	(%r15), %r14d
	movq	_IDD_INPUT_DIALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAKEINTRESOURCEW
	movl	24(%rbx), %edx
	movq	_InputPageWndProc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	%ebx, %r8d
	callq	_CreateDialogParamW
	movq	16(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	16(%rbx), %rax
	movq	16(%rax), %rdi
	callq	_EnableDialogTheme
	movl	(%r15), %r14d
	movq	_IDD_NETWORK_DIALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAKEINTRESOURCEW
	movl	24(%rbx), %edx
	movq	_NetworkPageWndProc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	%ebx, %r8d
	callq	_CreateDialogParamW
	movq	16(%rbx), %rcx
	movq	%rax, 24(%rcx)
	movq	16(%rbx), %rax
	movq	24(%rax), %rdi
	callq	_EnableDialogTheme
	movl	(%r15), %r14d
	movq	_IDD_HELP_DIALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAKEINTRESOURCEW
	movl	24(%rbx), %edx
	movq	_HelpPageWndProc@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	%ebx, %r8d
	callq	_CreateDialogParamW
	movq	16(%rbx), %rcx
	movq	%rax, 32(%rcx)
	movq	16(%rbx), %rax
	movq	32(%rax), %rdi
	callq	_EnableDialogTheme
	movl	(%r12), %r14d
	movq	_IDS_SYSTEM_DIALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAKEINTRESOURCEW
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_InsertTabCtrlItem
	movq	%rbx, %rdi
	callq	_InitializeDisplayAdapters
	movq	%rbx, %rdi
	callq	_InitializeDirectSoundPage
	movl	(%r12), %r14d
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	leaq	(%rcx,%rax), %r15
	incq	%r15
	movq	_IDS_MUSIC_DIALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAKEINTRESOURCEW
	movl	%r14d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_InsertTabCtrlItem
	movl	(%r12), %r14d
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	leaq	(%rcx,%rax), %r15
	addq	$2, %r15
	movq	_IDS_INPUT_DIALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAKEINTRESOURCEW
	movl	%r14d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_InsertTabCtrlItem
	movl	(%r12), %r14d
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	leaq	(%rcx,%rax), %r15
	addq	$3, %r15
	movq	_IDS_NETWORK_DIALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAKEINTRESOURCEW
	movl	%r14d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_InsertTabCtrlItem
	movl	(%r12), %r14d
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	leaq	(%rcx,%rax), %r15
	addq	$4, %r15
	movq	_IDS_HELP_DIALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAKEINTRESOURCEW
	movl	%r14d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_InsertTabCtrlItem
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_TabCtrl_OnSelChange            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_TAB_CONTROL,4,2            ## @IDC_TAB_CONTROL
	.comm	_hTabCtrlWnd,4,2                ## @hTabCtrlWnd
	.comm	_hInst,4,2                      ## @hInst
	.comm	_IDD_SYSTEM_DIALOG,4,2          ## @IDD_SYSTEM_DIALOG
	.comm	_SystemPageWndProc,4,2          ## @SystemPageWndProc
	.comm	_IDD_MUSIC_DIALOG,4,2           ## @IDD_MUSIC_DIALOG
	.comm	_MusicPageWndProc,4,2           ## @MusicPageWndProc
	.comm	_IDD_INPUT_DIALOG,4,2           ## @IDD_INPUT_DIALOG
	.comm	_InputPageWndProc,4,2           ## @InputPageWndProc
	.comm	_IDD_NETWORK_DIALOG,4,2         ## @IDD_NETWORK_DIALOG
	.comm	_NetworkPageWndProc,4,2         ## @NetworkPageWndProc
	.comm	_IDD_HELP_DIALOG,4,2            ## @IDD_HELP_DIALOG
	.comm	_HelpPageWndProc,4,2            ## @HelpPageWndProc
	.comm	_IDS_SYSTEM_DIALOG,4,2          ## @IDS_SYSTEM_DIALOG
	.comm	_IDS_MUSIC_DIALOG,4,2           ## @IDS_MUSIC_DIALOG
	.comm	_IDS_INPUT_DIALOG,4,2           ## @IDS_INPUT_DIALOG
	.comm	_IDS_NETWORK_DIALOG,4,2         ## @IDS_NETWORK_DIALOG
	.comm	_IDS_HELP_DIALOG,4,2            ## @IDS_HELP_DIALOG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitializeTabCtrl              ; -- Begin function InitializeTabCtrl
	.p2align	2
_InitializeTabCtrl:                     ; @InitializeTabCtrl
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _IDC_TAB_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDC_TAB_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetDlgItem
Lloh3:
	adrp	x22, _hTabCtrlWnd@GOTPAGE
Lloh4:
	ldr	x22, [x22, _hTabCtrlWnd@GOTPAGEOFF]
	str	w0, [x22]
	str	w0, [x19, #24]
Lloh5:
	adrp	x21, _hInst@GOTPAGE
Lloh6:
	ldr	x21, [x21, _hInst@GOTPAGEOFF]
	ldr	w20, [x21]
Lloh7:
	adrp	x8, _IDD_SYSTEM_DIALOG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IDD_SYSTEM_DIALOG@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_MAKEINTRESOURCEW
	mov	x1, x0
	ldr	w2, [x19, #24]
Lloh10:
	adrp	x8, _SystemPageWndProc@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SystemPageWndProc@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x4, x19
	bl	_CreateDialogParamW
	ldr	x8, [x19, #16]
	str	x0, [x8]
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
	bl	_EnableDialogTheme
	ldr	w20, [x21]
Lloh13:
	adrp	x8, _IDD_MUSIC_DIALOG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IDD_MUSIC_DIALOG@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_MAKEINTRESOURCEW
	mov	x1, x0
	ldr	w2, [x19, #24]
Lloh16:
	adrp	x8, _MusicPageWndProc@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MusicPageWndProc@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x4, x19
	bl	_CreateDialogParamW
	ldr	x8, [x19, #16]
	str	x0, [x8, #8]
	ldr	x8, [x19, #16]
	ldr	x0, [x8, #8]
	bl	_EnableDialogTheme
	ldr	w20, [x21]
Lloh19:
	adrp	x8, _IDD_INPUT_DIALOG@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IDD_INPUT_DIALOG@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_MAKEINTRESOURCEW
	mov	x1, x0
	ldr	w2, [x19, #24]
Lloh22:
	adrp	x8, _InputPageWndProc@GOTPAGE
Lloh23:
	ldr	x8, [x8, _InputPageWndProc@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x4, x19
	bl	_CreateDialogParamW
	ldr	x8, [x19, #16]
	str	x0, [x8, #16]
	ldr	x8, [x19, #16]
	ldr	x0, [x8, #16]
	bl	_EnableDialogTheme
	ldr	w20, [x21]
Lloh25:
	adrp	x8, _IDD_NETWORK_DIALOG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IDD_NETWORK_DIALOG@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_MAKEINTRESOURCEW
	mov	x1, x0
	ldr	w2, [x19, #24]
Lloh28:
	adrp	x8, _NetworkPageWndProc@GOTPAGE
Lloh29:
	ldr	x8, [x8, _NetworkPageWndProc@GOTPAGEOFF]
Lloh30:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x4, x19
	bl	_CreateDialogParamW
	ldr	x8, [x19, #16]
	str	x0, [x8, #24]
	ldr	x8, [x19, #16]
	ldr	x0, [x8, #24]
	bl	_EnableDialogTheme
	ldr	w20, [x21]
Lloh31:
	adrp	x8, _IDD_HELP_DIALOG@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IDD_HELP_DIALOG@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_MAKEINTRESOURCEW
	mov	x1, x0
	ldr	w2, [x19, #24]
Lloh34:
	adrp	x8, _HelpPageWndProc@GOTPAGE
Lloh35:
	ldr	x8, [x8, _HelpPageWndProc@GOTPAGEOFF]
Lloh36:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x4, x19
	bl	_CreateDialogParamW
	ldr	x8, [x19, #16]
	str	x0, [x8, #32]
	ldr	x8, [x19, #16]
	ldr	x0, [x8, #32]
	bl	_EnableDialogTheme
	ldr	w20, [x22]
Lloh37:
	adrp	x8, _IDS_SYSTEM_DIALOG@GOTPAGE
Lloh38:
	ldr	x8, [x8, _IDS_SYSTEM_DIALOG@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_MAKEINTRESOURCEW
	mov	x2, x0
	mov	x0, x20
	mov	x1, #0
	bl	_InsertTabCtrlItem
	mov	x0, x19
	bl	_InitializeDisplayAdapters
	mov	x0, x19
	bl	_InitializeDirectSoundPage
	ldr	w20, [x22]
	ldp	x9, x8, [x19]
	add	x8, x8, x9
	add	x21, x8, #1
Lloh40:
	adrp	x8, _IDS_MUSIC_DIALOG@GOTPAGE
Lloh41:
	ldr	x8, [x8, _IDS_MUSIC_DIALOG@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	bl	_MAKEINTRESOURCEW
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_InsertTabCtrlItem
	ldr	w20, [x22]
	ldp	x9, x8, [x19]
	add	x8, x8, x9
	add	x21, x8, #2
Lloh43:
	adrp	x8, _IDS_INPUT_DIALOG@GOTPAGE
Lloh44:
	ldr	x8, [x8, _IDS_INPUT_DIALOG@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	bl	_MAKEINTRESOURCEW
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_InsertTabCtrlItem
	ldr	w20, [x22]
	ldp	x9, x8, [x19]
	add	x8, x8, x9
	add	x21, x8, #3
Lloh46:
	adrp	x8, _IDS_NETWORK_DIALOG@GOTPAGE
Lloh47:
	ldr	x8, [x8, _IDS_NETWORK_DIALOG@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	bl	_MAKEINTRESOURCEW
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_InsertTabCtrlItem
	ldr	w20, [x22]
	ldp	x9, x8, [x19]
	add	x8, x8, x9
	add	x21, x8, #4
Lloh49:
	adrp	x8, _IDS_HELP_DIALOG@GOTPAGE
Lloh50:
	ldr	x8, [x8, _IDS_HELP_DIALOG@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	bl	_MAKEINTRESOURCEW
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_InsertTabCtrlItem
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_TabCtrl_OnSelChange
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_TAB_CONTROL,4,2            ; @IDC_TAB_CONTROL
	.comm	_hTabCtrlWnd,4,2                ; @hTabCtrlWnd
	.comm	_hInst,4,2                      ; @hInst
	.comm	_IDD_SYSTEM_DIALOG,4,2          ; @IDD_SYSTEM_DIALOG
	.comm	_SystemPageWndProc,4,2          ; @SystemPageWndProc
	.comm	_IDD_MUSIC_DIALOG,4,2           ; @IDD_MUSIC_DIALOG
	.comm	_MusicPageWndProc,4,2           ; @MusicPageWndProc
	.comm	_IDD_INPUT_DIALOG,4,2           ; @IDD_INPUT_DIALOG
	.comm	_InputPageWndProc,4,2           ; @InputPageWndProc
	.comm	_IDD_NETWORK_DIALOG,4,2         ; @IDD_NETWORK_DIALOG
	.comm	_NetworkPageWndProc,4,2         ; @NetworkPageWndProc
	.comm	_IDD_HELP_DIALOG,4,2            ; @IDD_HELP_DIALOG
	.comm	_HelpPageWndProc,4,2            ; @HelpPageWndProc
	.comm	_IDS_SYSTEM_DIALOG,4,2          ; @IDS_SYSTEM_DIALOG
	.comm	_IDS_MUSIC_DIALOG,4,2           ; @IDS_MUSIC_DIALOG
	.comm	_IDS_INPUT_DIALOG,4,2           ; @IDS_INPUT_DIALOG
	.comm	_IDS_NETWORK_DIALOG,4,2         ; @IDS_NETWORK_DIALOG
	.comm	_IDS_HELP_DIALOG,4,2            ; @IDS_HELP_DIALOG
.subsections_via_symbols
