	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PROPSHEET_CreateDialog
_PROPSHEET_CreateDialog:                ## @PROPSHEET_CreateDialog
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_IDD_PROPSHEET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_TRACE
	movq	_INTRNL_ANY_WIZARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_2
## %bb.1:
	movq	_IDD_WIZARD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	cmpq	$0, 24(%r15)
	movq	_COMCTL32_hModule@GOTPCREL(%rip), %r12
	movl	(%r12), %r14d
	movl	%ebx, %edi
	je	LBB0_6
## %bb.3:
	callq	_MAKEINTRESOURCEW
	movq	_RT_DIALOG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_FindResourceW
	jmp	LBB0_4
LBB0_6:
	callq	_MAKEINTRESOURCEA
	movq	_RT_DIALOG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_FindResourceA
LBB0_4:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_LoadResource
	movl	$-1, %r13d
	testl	%eax, %eax
	je	LBB0_20
## %bb.8:
	movq	%r12, %rcx
	movl	%eax, %r12d
	movl	(%rcx), %edi
	movl	%ebx, %esi
	callq	_SizeofResource
	movl	%eax, %ebx
	leal	(%rbx,%rbx), %edi
	callq	_Alloc
	testq	%rax, %rax
	je	LBB0_20
## %bb.9:
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_memcpy
	movl	(%r15), %eax
	movq	_PSH_NOCONTEXTHELP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:
	xorl	%ecx, %ecx
	cmpl	$65535, (%r14)                  ## imm = 0xFFFF
	sete	%cl
	movq	_DS_CONTEXTHELP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	%edx, (%r14,%rcx,4)
LBB0_11:
	movq	_INTRNL_ANY_WIZARD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.12:
	movq	_PSH_WIZARDCONTEXTHELP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.13:
	xorl	%eax, %eax
	cmpl	$65535, (%r14)                  ## imm = 0xFFFF
	sete	%al
	movq	_DS_CONTEXTHELP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%r14,%rax,4)
LBB0_14:
	cmpq	$0, 32(%r15)
	je	LBB0_16
## %bb.15:
	movq	_PSCB_PRECREATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	%r14d, %edx
	callq	*16(%r15)
LBB0_16:
	cmpq	$0, 24(%r15)
	movl	4(%r15), %edx
	movl	8(%r15), %edi
	movq	_PROPSHEET_DialogProc@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rsi
	movl	%r15d, %r8d
	je	LBB0_18
## %bb.17:
	callq	_CreateDialogIndirectParamW
	jmp	LBB0_19
LBB0_5:
	movl	$-1, %r13d
	jmp	LBB0_20
LBB0_18:
	callq	_CreateDialogIndirectParamA
LBB0_19:
	xorl	%r13d, %r13d
	cmpl	$1, %eax
	sbbl	%r13d, %r13d
	orl	%eax, %r13d
	movq	%r14, %rdi
	callq	_Free
LBB0_20:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDD_PROPSHEET,4,2              ## @IDD_PROPSHEET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%p)\n"

	.comm	_INTRNL_ANY_WIZARD,4,2          ## @INTRNL_ANY_WIZARD
	.comm	_IDD_WIZARD,4,2                 ## @IDD_WIZARD
	.comm	_COMCTL32_hModule,4,2           ## @COMCTL32_hModule
	.comm	_RT_DIALOG,8,3                  ## @RT_DIALOG
	.comm	_PSH_NOCONTEXTHELP,4,2          ## @PSH_NOCONTEXTHELP
	.comm	_DS_CONTEXTHELP,4,2             ## @DS_CONTEXTHELP
	.comm	_PSH_WIZARDCONTEXTHELP,4,2      ## @PSH_WIZARDCONTEXTHELP
	.comm	_PSCB_PRECREATE,4,2             ## @PSCB_PRECREATE
	.comm	_PROPSHEET_DialogProc,4,2       ## @PROPSHEET_DialogProc
	.no_dead_strip	_PROPSHEET_CreateDialog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PROPSHEET_CreateDialog
_PROPSHEET_CreateDialog:                ; @PROPSHEET_CreateDialog
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _IDD_PROPSHEET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDD_PROPSHEET@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_TRACE
	ldr	w8, [x19]
Lloh5:
	adrp	x23, _INTRNL_ANY_WIZARD@GOTPAGE
Lloh6:
	ldr	x23, [x23, _INTRNL_ANY_WIZARD@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh7:
	adrp	x10, _IDD_WIZARD@GOTPAGE
Lloh8:
	ldr	x10, [x10, _IDD_WIZARD@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w0, w20, w10, eq
	ldr	x8, [x19, #24]
Lloh10:
	adrp	x22, _COMCTL32_hModule@GOTPAGE
Lloh11:
	ldr	x22, [x22, _COMCTL32_hModule@GOTPAGEOFF]
	ldr	w20, [x22]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_MAKEINTRESOURCEW
	mov	x1, x0
Lloh12:
	adrp	x8, _RT_DIALOG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RT_DIALOG@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_FindResourceW
	mov	x20, x0
	cbnz	w0, LBB0_3
	b	LBB0_14
LBB0_2:
	bl	_MAKEINTRESOURCEA
	mov	x1, x0
Lloh15:
	adrp	x8, _RT_DIALOG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RT_DIALOG@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_FindResourceA
	mov	x20, x0
	cbz	w0, LBB0_14
LBB0_3:
	ldr	w0, [x22]
	mov	x1, x20
	bl	_LoadResource
	cbz	w0, LBB0_14
; %bb.4:
	mov	x21, x0
	ldr	w0, [x22]
	mov	x1, x20
	bl	_SizeofResource
	mov	x22, x0
	lsl	w0, w0, #1
	bl	_Alloc
	cbz	x0, LBB0_14
; %bb.5:
	mov	x20, x0
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	ldr	w9, [x19]
Lloh18:
	adrp	x8, _PSH_NOCONTEXTHELP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PSH_NOCONTEXTHELP@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x8]
Lloh21:
	adrp	x8, _DS_CONTEXTHELP@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DS_CONTEXTHELP@GOTPAGEOFF]
	tst	w10, w9
	b.eq	LBB0_7
; %bb.6:
	ldr	w10, [x20]
	mov	w11, #65535
	cmp	w10, w11
	cset	w10, eq
	ldr	w11, [x8]
	lsl	x10, x10, #2
	ldr	w12, [x20, x10]
	bic	w11, w12, w11
	str	w11, [x20, x10]
LBB0_7:
	ldr	w10, [x23]
	tst	w10, w9
	b.eq	LBB0_10
; %bb.8:
Lloh23:
	adrp	x10, _PSH_WIZARDCONTEXTHELP@GOTPAGE
Lloh24:
	ldr	x10, [x10, _PSH_WIZARDCONTEXTHELP@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_10
; %bb.9:
	ldr	w9, [x20]
	mov	w10, #65535
	cmp	w9, w10
	cset	w9, eq
	ldr	w8, [x8]
	lsl	x9, x9, #2
	ldr	w10, [x20, x9]
	orr	w8, w10, w8
	str	w8, [x20, x9]
LBB0_10:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_12
; %bb.11:
	ldr	x8, [x19, #16]
Lloh26:
	adrp	x9, _PSCB_PRECREATE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _PSCB_PRECREATE@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x9]
	mov	w0, #0
	mov	x2, x20
	blr	x8
LBB0_12:
	ldr	x8, [x19, #24]
	ldp	w2, w0, [x19, #4]
Lloh29:
	adrp	x9, _PROPSHEET_DialogProc@GOTPAGE
Lloh30:
	ldr	x9, [x9, _PROPSHEET_DialogProc@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x9]
	mov	x1, x20
	mov	x4, x19
	cbz	x8, LBB0_15
; %bb.13:
	bl	_CreateDialogIndirectParamW
	b	LBB0_16
LBB0_14:
	mov	w19, #-1
	b	LBB0_17
LBB0_15:
	bl	_CreateDialogIndirectParamA
LBB0_16:
	cmp	w0, #0
	csinv	w19, w0, wzr, ne
	mov	x0, x20
	bl	_Free
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_IDD_PROPSHEET,4,2              ; @IDD_PROPSHEET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%p)\n"

	.comm	_INTRNL_ANY_WIZARD,4,2          ; @INTRNL_ANY_WIZARD
	.comm	_IDD_WIZARD,4,2                 ; @IDD_WIZARD
	.comm	_COMCTL32_hModule,4,2           ; @COMCTL32_hModule
	.comm	_RT_DIALOG,8,3                  ; @RT_DIALOG
	.comm	_PSH_NOCONTEXTHELP,4,2          ; @PSH_NOCONTEXTHELP
	.comm	_DS_CONTEXTHELP,4,2             ; @DS_CONTEXTHELP
	.comm	_PSH_WIZARDCONTEXTHELP,4,2      ; @PSH_WIZARDCONTEXTHELP
	.comm	_PSCB_PRECREATE,4,2             ; @PSCB_PRECREATE
	.comm	_PROPSHEET_DialogProc,4,2       ; @PROPSHEET_DialogProc
	.no_dead_strip	_PROPSHEET_CreateDialog
.subsections_via_symbols
