	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PROPSHEET_CollectPageInfo
_PROPSHEET_CollectPageInfo:             ## @PROPSHEET_CollectPageInfo
	.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	$296, %rsp                      ## imm = 0x128
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	%edx, %ebx
	movq	%rdi, %r13
	movq	%rcx, -328(%rbp)                ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	movq	%rsi, -312(%rbp)                ## 8-byte Spill
	callq	_TRACE
	movq	-312(%rbp), %r9                 ## 8-byte Reload
	movq	16(%r9), %rax
	movl	%ebx, -316(%rbp)                ## 4-byte Spill
	movslq	%ebx, %rcx
	leaq	(%rcx,%rcx,2), %r15
	shlq	$4, %r15
	movq	%r13, 40(%rax,%r15)
	movq	$0, 32(%rax,%r15)
	movq	_FALSE@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	%rcx, 24(%rax,%r15)
	movl	(%r13), %esi
	movq	_PSP_USECALLBACK@GOTPCREL(%rip), %rcx
	movl	%esi, %edx
	testl	%esi, (%rcx)
	je	LBB0_4
## %bb.3:
	cmpq	$0, 56(%r13)
	setne	%r14b
LBB0_4:
	movzbl	%r14b, %ecx
	movl	%ecx, (%rax,%r15)
	movq	_PSP_HASHELP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%edx, %r14d
	andl	%ecx, %edx
	movl	%edx, 4(%rax,%r15)
	movq	_PSP_USEHICON@GOTPCREL(%rip), %rsi
	movq	_PSP_USEICONID@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rsi), %edx
	andl	%r14d, %edx
	movl	%edx, 8(%rax,%r15)
	andl	%r14d, %ecx
	je	LBB0_6
## %bb.5:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r9)
LBB0_6:
	movq	_PSP_DLGINDIRECT@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_8
## %bb.7:
	movq	48(%r13), %rax
	testq	%rax, %rax
	jne	LBB0_13
	jmp	LBB0_53
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %r12
	jmp	LBB0_53
LBB0_8:
	movq	_PSP_INTERNAL_UNICODE@GOTPCREL(%rip), %rax
	movl	32(%r13), %edi
	movq	40(%r13), %rsi
	testl	%r14d, (%rax)
	je	LBB0_10
## %bb.9:
	movq	_RT_DIALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_FindResourceW
	jmp	LBB0_11
LBB0_10:
	movq	_RT_DIALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_FindResourceA
LBB0_11:
	movl	32(%r13), %edi
	movl	%eax, %esi
	callq	_LoadResource
	movl	%eax, %edi
	callq	_LockResource
	movq	-312(%rbp), %r9                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_53
LBB0_13:
	xorl	%ecx, %ecx
	cmpl	$65535, (%rax)                  ## imm = 0xFFFF
	sete	%cl
	shlq	$4, %rcx
	movl	28(%rcx,%rax), %r8d
	movl	32(%rcx,%rax), %edx
	movq	_PSP_USEHEADERTITLE@GOTPCREL(%rip), %rdi
	movq	_PSP_USEHEADERSUBTITLE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	orl	(%rdi), %ebx
	testl	%ebx, (%r13)
	je	LBB0_14
## %bb.15:
	movq	_PSH_HEADER@GOTPCREL(%rip), %rbx
	movl	24(%r9), %edi
	orl	(%rbx), %edi
	movl	%edi, 24(%r9)
	jmp	LBB0_16
LBB0_14:
	movl	24(%r9), %edi
LBB0_16:
	movq	_PSH_WIZARD97_OLD@GOTPCREL(%rip), %rbx
	movq	_PSH_WIZARD97_NEW@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rbx), %esi
	testl	%edi, %esi
	je	LBB0_20
## %bb.17:
	movq	_PSH_HEADER@GOTPCREL(%rip), %rsi
	testl	%edi, (%rsi)
	je	LBB0_20
## %bb.18:
	movq	_PSP_HIDEHEADER@GOTPCREL(%rip), %rsi
	testl	%r14d, (%rsi)
	jne	LBB0_20
## %bb.19:
	movq	_WIZARD_PADDING@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movq	_WIZARD_HEADER_HEIGHT@GOTPCREL(%rip), %rbx
	leal	(%rdx,%rsi,2), %edx
	addl	(%rbx), %edx
	leal	(%r8,%rsi,2), %r8d
LBB0_20:
	movq	_PSH_WIZARD@GOTPCREL(%rip), %rsi
	andl	(%rsi), %edi
	leaq	(%rcx,%rax), %r12
	addq	$36, %r12
	movq	_WIZARD_PADDING@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ebx
	addl	%ebx, %ebx
	testl	%edi, %edi
	cmovel	%edi, %ebx
	cmpq	$0, -328(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_25
## %bb.21:
	addl	%ebx, %edx
	addl	%ebx, %r8d
	cmpl	(%r9), %r8d
	jle	LBB0_23
## %bb.22:
	movl	%r8d, (%r9)
LBB0_23:
	cmpl	4(%r9), %edx
	jle	LBB0_25
## %bb.24:
	movl	%edx, 4(%r9)
LBB0_25:
	leaq	(%rcx,%rax), %rbx
	addq	$16, %rbx
	movl	(%r12), %eax
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	je	LBB0_28
## %bb.26:
	testl	%eax, %eax
	jne	LBB0_29
## %bb.27:
	addq	$24, %rbx
	jmp	LBB0_30
LBB0_28:
	addq	$28, %rbx
	jmp	LBB0_30
LBB0_29:
	movq	%r12, %rdi
	callq	_lstrlenW
	movq	-312(%rbp), %r9                 ## 8-byte Reload
	cltq
	leaq	(%r12,%rax,4), %rbx
	addq	$4, %rbx
LBB0_30:
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_31
## %bb.32:
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	jne	LBB0_34
## %bb.33:
	movl	$2, %eax
	jmp	LBB0_35
LBB0_31:
	movl	$1, %eax
	jmp	LBB0_35
LBB0_34:
	movq	%rbx, %rdi
	callq	_lstrlenW
	movq	-312(%rbp), %r9                 ## 8-byte Reload
	incl	%eax
	cltq
LBB0_35:
	leaq	(%rbx,%rax,4), %r12
	movq	16(%r9), %rax
	movq	%r12, 16(%rax,%r15)
	movq	%r12, %rdi
	callq	_debugstr_w
	leaq	L_.str.1(%rip), %rdi
	movl	-316(%rbp), %esi                ## 4-byte Reload
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_TRACE
	movq	_PSP_USETITLE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_43
## %bb.36:
	movq	8(%r13), %rdi
	callq	_IS_INTRESOURCE
	testq	%rax, %rax
	je	LBB0_41
## %bb.37:
	leaq	-304(%rbp), %rbx
	movl	8(%r13), %eax
	movl	%eax, -316(%rbp)                ## 4-byte Spill
	movl	32(%r13), %eax
	movl	%eax, -328(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movl	-328(%rbp), %edi                ## 4-byte Reload
	movl	-316(%rbp), %esi                ## 4-byte Reload
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_LoadStringW
	testq	%rax, %rax
	jne	LBB0_42
## %bb.38:
	cmpl	$0, (%r12)
	je	LBB0_39
## %bb.40:
	movq	%r12, %rbx
	jmp	LBB0_42
LBB0_41:
	movq	8(%r13), %rbx
LBB0_42:
	movq	%rbx, %rdi
	callq	_heap_strdupW
	movq	-312(%rbp), %rcx                ## 8-byte Reload
	movq	16(%rcx), %rcx
	movq	%rax, 16(%rcx,%r15)
LBB0_43:
	movq	_PSP_USEHICON@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	movq	_PSP_USEICONID@GOTPCREL(%rip), %r12
	jne	LBB0_46
## %bb.44:
	testl	%r14d, (%r12)
	je	LBB0_45
LBB0_46:
	movq	_SM_CXSMICON@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSystemMetrics
	movl	%eax, %ebx
	movq	_SM_CYSMICON@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSystemMetrics
	movl	%eax, %r15d
	testl	%r14d, (%r12)
	je	LBB0_48
## %bb.47:
	movl	24(%r13), %esi
	movl	32(%r13), %edi
	movq	_IMAGE_ICON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_LR_DEFAULTCOLOR@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%ebx, %r14d
	movl	%ebx, %ecx
	movl	%r15d, %r8d
	callq	_LoadImageW
	movq	%rax, %rbx
	jmp	LBB0_49
LBB0_48:
	movl	%ebx, %r14d
	movq	16(%r13), %rbx
LBB0_49:
	movq	-312(%rbp), %r9                 ## 8-byte Reload
	movq	_TRUE@GOTPCREL(%rip), %r12
	testq	%rbx, %rbx
	je	LBB0_53
## %bb.50:
	movq	8(%r9), %rdi
	testq	%rdi, %rdi
	jne	LBB0_52
## %bb.51:
	movq	_ILC_COLOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	$1, %ecx
	movl	$1, %r8d
	movq	%r9, %r14
	callq	_ImageList_Create
	movq	%rax, %rdi
	movq	%rax, 8(%r14)
LBB0_52:
	movq	%rbx, %rsi
	callq	_ImageList_AddIcon
	jmp	LBB0_53
LBB0_45:
	movq	_TRUE@GOTPCREL(%rip), %r12
LBB0_53:
	movq	(%r12), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_55
## %bb.54:
	addq	$296, %rsp                      ## imm = 0x128
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_39:
	leaq	_PROPSHEET_CollectPageInfo.pszNull(%rip), %rbx
	jmp	LBB0_42
LBB0_55:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_PSP_USECALLBACK,4,2            ## @PSP_USECALLBACK
	.comm	_PSP_HASHELP,4,2                ## @PSP_HASHELP
	.comm	_PSP_USEHICON,4,2               ## @PSP_USEHICON
	.comm	_PSP_USEICONID,4,2              ## @PSP_USEICONID
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_PSP_DLGINDIRECT,4,2            ## @PSP_DLGINDIRECT
	.comm	_PSP_INTERNAL_UNICODE,4,2       ## @PSP_INTERNAL_UNICODE
	.comm	_RT_DIALOG,8,3                  ## @RT_DIALOG
	.comm	_PSP_USEHEADERTITLE,4,2         ## @PSP_USEHEADERTITLE
	.comm	_PSP_USEHEADERSUBTITLE,4,2      ## @PSP_USEHEADERSUBTITLE
	.comm	_PSH_HEADER,4,2                 ## @PSH_HEADER
	.comm	_PSH_WIZARD97_OLD,4,2           ## @PSH_WIZARD97_OLD
	.comm	_PSH_WIZARD97_NEW,4,2           ## @PSH_WIZARD97_NEW
	.comm	_PSP_HIDEHEADER,4,2             ## @PSP_HIDEHEADER
	.comm	_WIZARD_PADDING,4,2             ## @WIZARD_PADDING
	.comm	_WIZARD_HEADER_HEIGHT,8,3       ## @WIZARD_HEADER_HEIGHT
	.comm	_PSH_WIZARD,4,2                 ## @PSH_WIZARD
L_.str.1:                               ## @.str.1
	.asciz	"Tab %d %s\n"

	.comm	_PSP_USETITLE,4,2               ## @PSP_USETITLE
	.section	__TEXT,__const
_PROPSHEET_CollectPageInfo.pszNull:     ## @PROPSHEET_CollectPageInfo.pszNull
	.asciz	"(null)"

	.comm	_SM_CXSMICON,4,2                ## @SM_CXSMICON
	.comm	_SM_CYSMICON,4,2                ## @SM_CYSMICON
	.comm	_IMAGE_ICON,4,2                 ## @IMAGE_ICON
	.comm	_LR_DEFAULTCOLOR,4,2            ## @LR_DEFAULTCOLOR
	.comm	_ILC_COLOR,4,2                  ## @ILC_COLOR
	.no_dead_strip	_PROPSHEET_CollectPageInfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PROPSHEET_CollectPageInfo
_PROPSHEET_CollectPageInfo:             ; @PROPSHEET_CollectPageInfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #384
	.cfi_def_cfa_offset 384
	stp	x28, x27, [sp, #288]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #304]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #320]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #336]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #352]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #368]            ; 16-byte Folded Spill
	add	x29, sp, #368
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x23, _FALSE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
	cbz	x0, LBB0_50
; %bb.1:
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	ldr	x8, [x19, #16]
	mov	x9, x21
	sxtw	x26, w9
	mov	w9, #48
	smaddl	x9, w21, w9, x8
	stp	xzr, x20, [x9, #32]
	ldr	x10, [x23]
	str	x10, [x9, #24]
	ldr	w25, [x20]
Lloh7:
	adrp	x9, _PSP_USECALLBACK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PSP_USECALLBACK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w25
	b.eq	LBB0_3
; %bb.2:
	ldr	x9, [x20, #56]
	cmp	x9, #0
	cset	w9, ne
	b	LBB0_4
LBB0_3:
	mov	w9, #0
LBB0_4:
	mov	w10, #48
	madd	x8, x26, x10, x8
	str	w9, [x8]
Lloh10:
	adrp	x9, _PSP_HASHELP@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PSP_HASHELP@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	ands	w9, w9, w25
	str	w9, [x8, #4]
Lloh13:
	adrp	x28, _PSP_USEHICON@GOTPAGE
Lloh14:
	ldr	x28, [x28, _PSP_USEHICON@GOTPAGEOFF]
	ldr	w9, [x28]
Lloh15:
	adrp	x27, _PSP_USEICONID@GOTPAGE
Lloh16:
	ldr	x27, [x27, _PSP_USEICONID@GOTPAGEOFF]
	ldr	w10, [x27]
	orr	w9, w10, w9
	and	w9, w9, w25
	str	w9, [x8, #8]
	b.eq	LBB0_6
; %bb.5:
Lloh17:
	adrp	x8, _TRUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	str	x8, [x19, #32]
LBB0_6:
Lloh20:
	adrp	x8, _PSP_DLGINDIRECT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PSP_DLGINDIRECT@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_10
; %bb.7:
	ldr	x0, [x20, #48]
	cbz	x0, LBB0_49
LBB0_8:
	ldr	w8, [x0]
	mov	w9, #65535
	cmp	w8, w9
	mov	w8, #16
	mov	w9, #32
	csel	x8, x9, x8, eq
	add	x8, x0, x8
	ldp	w9, w10, [x8, #12]
	ldr	w11, [x20]
Lloh23:
	adrp	x12, _PSP_USEHEADERTITLE@GOTPAGE
Lloh24:
	ldr	x12, [x12, _PSP_USEHEADERTITLE@GOTPAGEOFF]
Lloh25:
	adrp	x13, _PSP_USEHEADERSUBTITLE@GOTPAGE
Lloh26:
	ldr	x13, [x13, _PSP_USEHEADERSUBTITLE@GOTPAGEOFF]
Lloh27:
	ldr	w12, [x12]
Lloh28:
	ldr	w13, [x13]
	orr	w12, w13, w12
Lloh29:
	adrp	x13, _PSH_HEADER@GOTPAGE
Lloh30:
	ldr	x13, [x13, _PSH_HEADER@GOTPAGEOFF]
	tst	w12, w11
	b.eq	LBB0_12
; %bb.9:
	ldr	w11, [x13]
	ldr	w12, [x19, #24]
	orr	w11, w12, w11
	str	w11, [x19, #24]
	b	LBB0_13
LBB0_10:
Lloh31:
	adrp	x8, _PSP_INTERNAL_UNICODE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PSP_INTERNAL_UNICODE@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x8]
	ldr	w0, [x20, #32]
	ldr	x1, [x20, #40]
Lloh34:
	adrp	x8, _RT_DIALOG@GOTPAGE
Lloh35:
	ldr	x8, [x8, _RT_DIALOG@GOTPAGEOFF]
	tst	w9, w25
	b.eq	LBB0_47
; %bb.11:
	ldr	w2, [x8]
	bl	_FindResourceW
	b	LBB0_48
LBB0_12:
	ldr	w11, [x19, #24]
LBB0_13:
	add	x23, x8, #20
Lloh36:
	adrp	x12, _PSH_WIZARD97_OLD@GOTPAGE
Lloh37:
	ldr	x12, [x12, _PSH_WIZARD97_OLD@GOTPAGEOFF]
Lloh38:
	adrp	x14, _PSH_WIZARD97_NEW@GOTPAGE
Lloh39:
	ldr	x14, [x14, _PSH_WIZARD97_NEW@GOTPAGEOFF]
Lloh40:
	ldr	w12, [x12]
Lloh41:
	ldr	w14, [x14]
	orr	w14, w14, w12
Lloh42:
	adrp	x12, _WIZARD_PADDING@GOTPAGE
Lloh43:
	ldr	x12, [x12, _WIZARD_PADDING@GOTPAGEOFF]
	tst	w14, w11
	b.eq	LBB0_17
; %bb.14:
	ldr	w13, [x13]
	tst	w13, w11
	b.eq	LBB0_17
; %bb.15:
Lloh44:
	adrp	x13, _PSP_HIDEHEADER@GOTPAGE
Lloh45:
	ldr	x13, [x13, _PSP_HIDEHEADER@GOTPAGEOFF]
Lloh46:
	ldr	w13, [x13]
	tst	w13, w25
	b.ne	LBB0_17
; %bb.16:
	ldr	w13, [x12]
	lsl	w13, w13, #1
Lloh47:
	adrp	x14, _WIZARD_HEADER_HEIGHT@GOTPAGE
Lloh48:
	ldr	x14, [x14, _WIZARD_HEADER_HEIGHT@GOTPAGEOFF]
Lloh49:
	ldr	w14, [x14]
	add	w10, w13, w10
	add	w10, w10, w14
	add	w9, w13, w9
LBB0_17:
Lloh50:
	adrp	x13, _PSH_WIZARD@GOTPAGE
Lloh51:
	ldr	x13, [x13, _PSH_WIZARD@GOTPAGEOFF]
Lloh52:
	ldr	w13, [x13]
	ldr	w12, [x12]
	lsl	w12, w12, #1
	tst	w13, w11
	csel	w11, wzr, w12, eq
	cbz	x22, LBB0_22
; %bb.18:
	add	w10, w11, w10
	ldr	w12, [x19]
	add	w9, w11, w9
	cmp	w9, w12
	b.le	LBB0_20
; %bb.19:
	str	w9, [x19]
LBB0_20:
	ldr	w9, [x19, #4]
	cmp	w10, w9
	b.le	LBB0_22
; %bb.21:
	str	w10, [x19, #4]
LBB0_22:
	ldr	w9, [x23]
	mov	w10, #65535
	cmp	w9, w10
	b.eq	LBB0_25
; %bb.23:
	cbnz	w9, LBB0_28
; %bb.24:
	add	x22, x8, #24
	ldr	w8, [x22]
	cbnz	w8, LBB0_26
	b	LBB0_29
LBB0_25:
	add	x22, x8, #28
	ldr	w8, [x22]
	cbz	w8, LBB0_29
LBB0_26:
	mov	w9, #65535
	cmp	w8, w9
	b.ne	LBB0_30
; %bb.27:
	mov	w8, #2
	b	LBB0_31
LBB0_28:
	mov	x0, x23
	bl	_lstrlenW
	add	w8, w0, #1
	add	x22, x23, w8, sxtw #2
	ldr	w8, [x22]
	cbnz	w8, LBB0_26
LBB0_29:
	mov	w8, #1
	b	LBB0_31
LBB0_30:
	mov	x0, x22
	bl	_lstrlenW
	add	w8, w0, #1
	sxtw	x8, w8
LBB0_31:
	add	x22, x22, x8, lsl #2
	ldr	x8, [x19, #16]
	mov	w9, #48
	madd	x8, x26, x9, x8
	str	x22, [x8, #16]
	mov	x0, x22
	bl	_debugstr_w
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh53:
	adrp	x0, l_.str.1@PAGE
Lloh54:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
Lloh55:
	adrp	x8, _PSP_USETITLE@GOTPAGE
Lloh56:
	ldr	x8, [x8, _PSP_USETITLE@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_38
; %bb.32:
	ldr	x0, [x20, #8]
	bl	_IS_INTRESOURCE
	cbz	x0, LBB0_36
; %bb.33:
	add	x21, sp, #16
	ldr	w23, [x20, #32]
	ldr	w24, [x20, #8]
	add	x0, sp, #16
	bl	_ARRAY_SIZE
	mov	x3, x0
	add	x2, sp, #16
	mov	x0, x23
	mov	x1, x24
	bl	_LoadStringW
	cbnz	x0, LBB0_37
; %bb.34:
	ldr	w8, [x22]
	cbz	w8, LBB0_52
; %bb.35:
	mov	x21, x22
	b	LBB0_37
LBB0_36:
	ldr	x21, [x20, #8]
LBB0_37:
	mov	x0, x21
	bl	_heap_strdupW
	ldr	x8, [x19, #16]
	mov	w9, #48
	madd	x8, x26, x9, x8
	str	x0, [x8, #16]
LBB0_38:
	ldr	w8, [x28]
	tst	w8, w25
	b.ne	LBB0_40
; %bb.39:
	ldr	w8, [x27]
	tst	w8, w25
	b.eq	LBB0_46
LBB0_40:
Lloh58:
	adrp	x8, _SM_CXSMICON@GOTPAGE
Lloh59:
	ldr	x8, [x8, _SM_CXSMICON@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
	bl	_GetSystemMetrics
	mov	x21, x0
Lloh61:
	adrp	x8, _SM_CYSMICON@GOTPAGE
Lloh62:
	ldr	x8, [x8, _SM_CYSMICON@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x8]
	bl	_GetSystemMetrics
	mov	x22, x0
	ldr	w8, [x27]
	tst	w8, w25
	b.eq	LBB0_42
; %bb.41:
	ldr	w0, [x20, #32]
	ldr	w1, [x20, #24]
Lloh64:
	adrp	x8, _IMAGE_ICON@GOTPAGE
Lloh65:
	ldr	x8, [x8, _IMAGE_ICON@GOTPAGEOFF]
Lloh66:
	ldr	w2, [x8]
Lloh67:
	adrp	x8, _LR_DEFAULTCOLOR@GOTPAGE
Lloh68:
	ldr	x8, [x8, _LR_DEFAULTCOLOR@GOTPAGEOFF]
Lloh69:
	ldr	w5, [x8]
	mov	x3, x21
	mov	x4, x22
	bl	_LoadImageW
	mov	x20, x0
	cbnz	x20, LBB0_43
	b	LBB0_46
LBB0_42:
	ldr	x20, [x20, #16]
	cbz	x20, LBB0_46
LBB0_43:
	ldr	x0, [x19, #8]
	cbnz	x0, LBB0_45
; %bb.44:
Lloh70:
	adrp	x8, _ILC_COLOR@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ILC_COLOR@GOTPAGEOFF]
Lloh72:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	w3, #1
	mov	w4, #1
	bl	_ImageList_Create
	str	x0, [x19, #8]
LBB0_45:
	mov	x1, x20
	bl	_ImageList_AddIcon
LBB0_46:
Lloh73:
	adrp	x23, _TRUE@GOTPAGE
Lloh74:
	ldr	x23, [x23, _TRUE@GOTPAGEOFF]
	b	LBB0_50
LBB0_47:
	ldr	w2, [x8]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_FindResourceA
LBB0_48:
	mov	x1, x0
	ldr	w0, [x20, #32]
	bl	_LoadResource
	bl	_LockResource
	cbnz	x0, LBB0_8
LBB0_49:
Lloh75:
	adrp	x23, _FALSE@GOTPAGE
Lloh76:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
LBB0_50:
	ldr	x0, [x23]
	ldur	x8, [x29, #-96]
Lloh77:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh78:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh79:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_53
; %bb.51:
	ldp	x29, x30, [sp, #368]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #352]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #336]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #320]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #304]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #384
	ret
LBB0_52:
Lloh80:
	adrp	x21, _PROPSHEET_CollectPageInfo.pszNull@PAGE
Lloh81:
	add	x21, x21, _PROPSHEET_CollectPageInfo.pszNull@PAGEOFF
	b	LBB0_37
LBB0_53:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh27
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpAdd	Lloh80, Lloh81
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_PSP_USECALLBACK,4,2            ; @PSP_USECALLBACK
	.comm	_PSP_HASHELP,4,2                ; @PSP_HASHELP
	.comm	_PSP_USEHICON,4,2               ; @PSP_USEHICON
	.comm	_PSP_USEICONID,4,2              ; @PSP_USEICONID
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_PSP_DLGINDIRECT,4,2            ; @PSP_DLGINDIRECT
	.comm	_PSP_INTERNAL_UNICODE,4,2       ; @PSP_INTERNAL_UNICODE
	.comm	_RT_DIALOG,8,3                  ; @RT_DIALOG
	.comm	_PSP_USEHEADERTITLE,4,2         ; @PSP_USEHEADERTITLE
	.comm	_PSP_USEHEADERSUBTITLE,4,2      ; @PSP_USEHEADERSUBTITLE
	.comm	_PSH_HEADER,4,2                 ; @PSH_HEADER
	.comm	_PSH_WIZARD97_OLD,4,2           ; @PSH_WIZARD97_OLD
	.comm	_PSH_WIZARD97_NEW,4,2           ; @PSH_WIZARD97_NEW
	.comm	_PSP_HIDEHEADER,4,2             ; @PSP_HIDEHEADER
	.comm	_WIZARD_PADDING,4,2             ; @WIZARD_PADDING
	.comm	_WIZARD_HEADER_HEIGHT,8,3       ; @WIZARD_HEADER_HEIGHT
	.comm	_PSH_WIZARD,4,2                 ; @PSH_WIZARD
l_.str.1:                               ; @.str.1
	.asciz	"Tab %d %s\n"

	.comm	_PSP_USETITLE,4,2               ; @PSP_USETITLE
	.section	__TEXT,__const
_PROPSHEET_CollectPageInfo.pszNull:     ; @PROPSHEET_CollectPageInfo.pszNull
	.asciz	"(null)"

	.comm	_SM_CXSMICON,4,2                ; @SM_CXSMICON
	.comm	_SM_CYSMICON,4,2                ; @SM_CYSMICON
	.comm	_IMAGE_ICON,4,2                 ; @IMAGE_ICON
	.comm	_LR_DEFAULTCOLOR,4,2            ; @LR_DEFAULTCOLOR
	.comm	_ILC_COLOR,4,2                  ; @ILC_COLOR
	.no_dead_strip	_PROPSHEET_CollectPageInfo
.subsections_via_symbols
