	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AppearancePage_OnInit
_AppearancePage_OnInit:                 ## @AppearancePage_OnInit
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movl	$112, %edx
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_23
## %bb.1:
	movq	%rax, %r15
	movq	_DWLP_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_SetWindowLongPtr
	movq	_TRUE@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	%rax, (%r15)
	leaq	104(%r15), %rdi
	callq	_LoadCurrentScheme
	testl	%eax, %eax
	je	LBB0_23
## %bb.2:
	xorl	%eax, %eax
	callq	_LoadThemes
	movq	%rax, 40(%r15)
	testq	%rax, %rax
	je	LBB0_22
## %bb.3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_FALSE@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	movq	_g_GlobalData@GOTPCREL(%rip), %r14
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.4:
	cmpq	$0, (%r14)
	je	LBB0_7
## %bb.5:
	leaq	l_.str(%rip), %rsi
	callq	_wcscmp
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:
	testq	%rbx, %rbx
	je	LBB0_9
LBB0_8:
	movq	(%r13), %rax
	movq	%rax, 96(%r15)
	movq	%rax, 88(%r15)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_GetParent
	movq	_PSM_CHANGED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_PostMessageW
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_AppearancePage_LoadSelectedScheme
	jmp	LBB0_11
LBB0_6:
	movq	40(%r15), %rdi
	movq	(%r14), %rsi
	leaq	8(%r15), %r8
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_FindOrAppendTheme
	movq	%rax, %rbx
	testq	%rbx, %rbx
	jne	LBB0_8
LBB0_9:
	movq	40(%r15), %rdi
	leaq	8(%r15), %rbx
	movq	%rbx, %rsi
	callq	_GetActiveTheme
	testl	%eax, %eax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_11
## %bb.10:
	movq	(%r12), %rax
	movq	%rax, (%rbx)
LBB0_11:
	movq	40(%r15), %rdi
	leaq	56(%r15), %rbx
	movq	%rbx, %rsi
	callq	_GetActiveClassicTheme
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movq	40(%r15), %rax
	movq	%rax, 64(%r15)
	movq	16(%rax), %rax
	movq	%rax, 72(%r15)
	movl	(%rax), %eax
	movl	%eax, 80(%r15)
LBB0_13:
	movq	8(%r15), %rax
	cmpq	(%r12), %rax
	jne	LBB0_15
## %bb.14:
	movq	%r15, %rax
	addq	$8, %rax
	movups	(%rbx), %xmm0
	movups	16(%rbx), %xmm1
	movups	%xmm1, 16(%rax)
	movups	%xmm0, (%rax)
LBB0_15:
	movq	_IDC_APPEARANCE_PREVIEW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_GetDlgItem
	leaq	-56(%rbp), %rsi
	movq	%rax, %rdi
	callq	_GetClientRect
	xorl	%edi, %edi
	callq	_GetDC
	movl	%eax, %ebx
	movl	-56(%rbp), %edx
	movl	-52(%rbp), %esi
	movl	%eax, %edi
	callq	_CreateCompatibleBitmap
	movl	%eax, 48(%r15)
	movl	%ebx, %edi
	callq	_CreateCompatibleDC
	movl	%eax, 52(%r15)
	movl	48(%r15), %esi
	movl	%eax, %edi
	callq	_SelectObject
	xorl	%edi, %edi
	movl	%ebx, %esi
	callq	_ReleaseDC
	movq	_IDC_APPEARANCE_VISUAL_STYLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_GetDlgItem
	movq	40(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_20
## %bb.16:
	movq	%rax, %r12
	movq	_CB_SETITEMDATA@GOTPCREL(%rip), %r14
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_20
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	_CB_ADDSTRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_SendMessage
	movq	%rax, %r13
	movl	(%r14), %esi
	movq	%r12, %rdi
	movq	%rax, %rdx
	movl	%ebx, %ecx
	callq	_SendMessage
	cmpq	16(%r15), %rbx
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	_CB_SETCURSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_SendMessage
	jmp	LBB0_19
LBB0_20:
	cmpq	$0, 16(%r15)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_22
## %bb.21:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_AppearancePage_ShowColorSchemes
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_AppearancePage_ShowSizes
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_AppearancePage_UpdateThemePreview
LBB0_22:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
LBB0_23:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HEAP_ZERO_MEMORY,4,2           ## @HEAP_ZERO_MEMORY
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_DWLP_USER,4,2                  ## @DWLP_USER
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_g_GlobalData,16,3              ## @g_GlobalData
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	79                              ## 0x4f
	.long	112                             ## 0x70
	.long	101                             ## 0x65
	.long	110                             ## 0x6e
	.long	77                              ## 0x4d
	.long	83                              ## 0x53
	.long	84                              ## 0x54
	.long	104                             ## 0x68
	.long	101                             ## 0x65
	.long	109                             ## 0x6d
	.long	101                             ## 0x65
	.long	0                               ## 0x0

	.comm	_PSM_CHANGED,4,2                ## @PSM_CHANGED
	.comm	_IDC_APPEARANCE_PREVIEW,4,2     ## @IDC_APPEARANCE_PREVIEW
	.comm	_IDC_APPEARANCE_VISUAL_STYLE,4,2 ## @IDC_APPEARANCE_VISUAL_STYLE
	.comm	_CB_ADDSTRING,4,2               ## @CB_ADDSTRING
	.comm	_CB_SETITEMDATA,4,2             ## @CB_SETITEMDATA
	.comm	_CB_SETCURSEL,4,2               ## @CB_SETCURSEL
	.no_dead_strip	_AppearancePage_OnInit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AppearancePage_OnInit
_AppearancePage_OnInit:                 ; @AppearancePage_OnInit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x0
	bl	_GetProcessHeap
Lloh0:
	adrp	x8, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #112
	bl	_HeapAlloc
Lloh3:
	adrp	x24, _FALSE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _FALSE@GOTPAGEOFF]
	cbz	x0, LBB0_22
; %bb.1:
	mov	x20, x0
Lloh5:
	adrp	x8, _DWLP_USER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DWLP_USER@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_SetWindowLongPtr
Lloh8:
	adrp	x22, _TRUE@GOTPAGE
Lloh9:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	ldr	x8, [x22]
	mov	x0, x20
	str	x8, [x0], #104
	bl	_LoadCurrentScheme
	cbz	w0, LBB0_22
; %bb.2:
	bl	_LoadThemes
	str	x0, [x20, #40]
	cbz	x0, LBB0_21
; %bb.3:
	ldr	x21, [x24]
Lloh10:
	adrp	x23, _g_GlobalData@GOTPAGE
Lloh11:
	ldr	x23, [x23, _g_GlobalData@GOTPAGEOFF]
	ldp	x8, x0, [x23]
	cmp	x0, #0
	ccmp	x8, #0, #4, ne
	b.eq	LBB0_5
; %bb.4:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wcscmp
	cbz	x0, LBB0_7
LBB0_5:
	cbz	x21, LBB0_8
LBB0_6:
	ldr	x8, [x22]
	stp	x8, x8, [x20, #88]
	mov	x0, x19
	bl	_GetParent
Lloh14:
	adrp	x8, _PSM_CHANGED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PSM_CHANGED@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x2, x19
	mov	w3, #0
	bl	_PostMessageW
	mov	x0, x19
	mov	x1, x20
	bl	_AppearancePage_LoadSelectedScheme
	b	LBB0_10
LBB0_7:
	ldr	x0, [x20, #40]
	ldr	x1, [x23]
	add	x4, x20, #8
	mov	x2, #0
	mov	x3, #0
	bl	_FindOrAppendTheme
	mov	x21, x0
	cbnz	x21, LBB0_6
LBB0_8:
	ldr	x0, [x20, #40]
	add	x21, x20, #8
	mov	x1, x21
	bl	_GetActiveTheme
	cbnz	w0, LBB0_10
; %bb.9:
	ldr	x8, [x24]
	str	x8, [x21]
LBB0_10:
	ldr	x0, [x20, #40]
	add	x21, x20, #56
	mov	x1, x21
	bl	_GetActiveClassicTheme
	cbnz	w0, LBB0_12
; %bb.11:
	ldr	x8, [x20, #40]
	ldr	x9, [x8, #16]
	stp	x8, x9, [x20, #64]
	ldr	w8, [x9]
	str	w8, [x20, #80]
LBB0_12:
	mov	x8, x20
	ldr	x9, [x8, #8]!
	ldr	x10, [x24]
	cmp	x9, x10
	b.ne	LBB0_14
; %bb.13:
	ldp	q0, q1, [x21]
	stp	q0, q1, [x8]
LBB0_14:
Lloh17:
	adrp	x8, _IDC_APPEARANCE_PREVIEW@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IDC_APPEARANCE_PREVIEW@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetDlgItem
	add	x1, sp, #8
	bl	_GetClientRect
	mov	x0, #0
	bl	_GetDC
	mov	x21, x0
	ldp	w2, w1, [sp, #8]
	bl	_CreateCompatibleBitmap
	str	w0, [x20, #48]
	mov	x0, x21
	bl	_CreateCompatibleDC
	str	w0, [x20, #52]
	ldr	w1, [x20, #48]
	bl	_SelectObject
	mov	x0, #0
	mov	x1, x21
	bl	_ReleaseDC
Lloh20:
	adrp	x8, _IDC_APPEARANCE_VISUAL_STYLE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IDC_APPEARANCE_VISUAL_STYLE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetDlgItem
	ldr	x22, [x20, #40]
	cbz	x22, LBB0_19
; %bb.15:
	mov	x21, x0
Lloh23:
	adrp	x25, _CB_ADDSTRING@GOTPAGE
Lloh24:
	ldr	x25, [x25, _CB_ADDSTRING@GOTPAGEOFF]
Lloh25:
	adrp	x26, _CB_SETITEMDATA@GOTPAGE
Lloh26:
	ldr	x26, [x26, _CB_SETITEMDATA@GOTPAGEOFF]
Lloh27:
	adrp	x27, _CB_SETCURSEL@GOTPAGE
Lloh28:
	ldr	x27, [x27, _CB_SETCURSEL@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	x22, [x22, #8]
	cbz	x22, LBB0_19
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	ldr	w3, [x22]
	mov	x0, x21
	mov	x2, #0
	bl	_SendMessage
	mov	x23, x0
	ldr	w1, [x26]
	mov	x0, x21
	mov	x2, x23
	mov	x3, x22
	bl	_SendMessage
	ldr	x8, [x20, #16]
	cmp	x22, x8
	b.ne	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w1, [x27]
	mov	x0, x21
	mov	x2, x23
	mov	w3, #0
	bl	_SendMessage
	b	LBB0_16
LBB0_19:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_21
; %bb.20:
	mov	x0, x19
	mov	x1, x20
	bl	_AppearancePage_ShowColorSchemes
	mov	x0, x19
	mov	x1, x20
	bl	_AppearancePage_ShowSizes
	mov	x0, x19
	mov	x1, x20
	bl	_AppearancePage_UpdateThemePreview
LBB0_21:
	ldr	x8, [x24]
	str	x8, [x20]
LBB0_22:
	ldr	x0, [x24]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_HEAP_ZERO_MEMORY,4,2           ; @HEAP_ZERO_MEMORY
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_DWLP_USER,4,2                  ; @DWLP_USER
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_g_GlobalData,16,3              ; @g_GlobalData
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	79                              ; 0x4f
	.long	112                             ; 0x70
	.long	101                             ; 0x65
	.long	110                             ; 0x6e
	.long	77                              ; 0x4d
	.long	83                              ; 0x53
	.long	84                              ; 0x54
	.long	104                             ; 0x68
	.long	101                             ; 0x65
	.long	109                             ; 0x6d
	.long	101                             ; 0x65
	.long	0                               ; 0x0

	.comm	_PSM_CHANGED,4,2                ; @PSM_CHANGED
	.comm	_IDC_APPEARANCE_PREVIEW,4,2     ; @IDC_APPEARANCE_PREVIEW
	.comm	_IDC_APPEARANCE_VISUAL_STYLE,4,2 ; @IDC_APPEARANCE_VISUAL_STYLE
	.comm	_CB_ADDSTRING,4,2               ; @CB_ADDSTRING
	.comm	_CB_SETITEMDATA,4,2             ; @CB_SETITEMDATA
	.comm	_CB_SETCURSEL,4,2               ; @CB_SETCURSEL
	.no_dead_strip	_AppearancePage_OnInit
.subsections_via_symbols
