	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PROPSHEET_GetPageRect
_PROPSHEET_GetPageRect:                 ## @PROPSHEET_GetPageRect
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r12
	movl	%esi, %r14d
	movl	(%rdi), %eax
	movq	_INTRNL_ANY_WIZARD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	movq	_PSH_WIZARD97_NEW@GOTPCREL(%rip), %rdx
	movq	_PSH_WIZARD97_OLD@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	orl	(%rdx), %ecx
	testl	%eax, %ecx
	je	LBB0_4
## %bb.2:
	movq	_PSH_HEADER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_PSP_HIDEHEADER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r15)
	je	LBB0_5
LBB0_4:
	movq	_PSH_WIZARD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
LBB0_5:
	movq	_WIZARD_PADDING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	movq	%rax, 16(%r12)
	jmp	LBB0_7
LBB0_12:
	movq	_IDC_TABCONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_GetDlgItem
	movl	%eax, %ebx
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_GetClientRect
	movq	_TCM_ADJUSTRECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	%r12d, %ecx
	callq	_SendMessageW
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	$2, %ecx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MapWindowPoints                ## TAILCALL
LBB0_6:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r12)
	xorl	%eax, %eax
LBB0_7:
	movq	16(%rbx), %rcx
	subq	%rax, %rcx
	movq	%rcx, 24(%r12)
	movq	8(%rbx), %rcx
	subq	%rax, %rcx
	movq	%rcx, (%r12)
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_MapDialogRect
	movl	(%rbx), %eax
	movl	(%r13), %ecx
	movq	_PSH_WIZARD97_NEW@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%eax, %ecx
	je	LBB0_11
## %bb.8:
	movq	_PSH_HEADER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.9:
	movq	_PSP_HIDEHEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	jne	LBB0_11
## %bb.10:
	movq	_IDC_SUNKEN_LINEHEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_GetDlgItem
	movl	%eax, %ebx
	leaq	-72(%rbp), %r15
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_GetClientRect
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	$2, %ecx
	callq	_MapWindowPoints
	movq	-72(%rbp), %rax
	movq	8(%r12), %rcx
	addq	%rcx, %rax
	incq	%rax
	movq	%rax, 8(%r12)
LBB0_11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTRNL_ANY_WIZARD,4,2          ## @INTRNL_ANY_WIZARD
	.comm	_PSH_WIZARD97_NEW,4,2           ## @PSH_WIZARD97_NEW
	.comm	_PSH_WIZARD97_OLD,4,2           ## @PSH_WIZARD97_OLD
	.comm	_PSH_HEADER,4,2                 ## @PSH_HEADER
	.comm	_PSP_HIDEHEADER,4,2             ## @PSP_HIDEHEADER
	.comm	_PSH_WIZARD,4,2                 ## @PSH_WIZARD
	.comm	_WIZARD_PADDING,8,3             ## @WIZARD_PADDING
	.comm	_IDC_SUNKEN_LINEHEADER,4,2      ## @IDC_SUNKEN_LINEHEADER
	.comm	_IDC_TABCONTROL,4,2             ## @IDC_TABCONTROL
	.comm	_TCM_ADJUSTRECT,4,2             ## @TCM_ADJUSTRECT
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_PROPSHEET_GetPageRect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PROPSHEET_GetPageRect
_PROPSHEET_GetPageRect:                 ; @PROPSHEET_GetPageRect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x2
	mov	x20, x1
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _INTRNL_ANY_WIZARD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INTRNL_ANY_WIZARD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.1:
	mov	x21, x3
	mov	x22, x0
Lloh3:
	adrp	x24, _PSH_WIZARD97_NEW@GOTPAGE
Lloh4:
	ldr	x24, [x24, _PSH_WIZARD97_NEW@GOTPAGEOFF]
Lloh5:
	adrp	x25, _PSH_WIZARD97_OLD@GOTPAGE
Lloh6:
	ldr	x25, [x25, _PSH_WIZARD97_OLD@GOTPAGEOFF]
	ldr	w9, [x24]
	ldr	w10, [x25]
	orr	w9, w10, w9
Lloh7:
	adrp	x23, _PSH_HEADER@GOTPAGE
Lloh8:
	ldr	x23, [x23, _PSH_HEADER@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w9, [x21]
Lloh9:
	adrp	x10, _PSP_HIDEHEADER@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PSP_HIDEHEADER@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_5
LBB0_4:
Lloh12:
	adrp	x9, _PSH_WIZARD@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PSH_WIZARD@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
LBB0_5:
Lloh15:
	adrp	x8, _WIZARD_PADDING@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WIZARD_PADDING@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	stp	x8, x8, [x19, #8]
	b	LBB0_8
LBB0_6:
Lloh18:
	adrp	x8, _IDC_TABCONTROL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IDC_TABCONTROL@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_GetDlgItem
	mov	x21, x0
	mov	x1, x19
	bl	_GetClientRect
Lloh21:
	adrp	x8, _TCM_ADJUSTRECT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TCM_ADJUSTRECT@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _FALSE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x3, x19
	bl	_SendMessageW
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w3, #2
	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
	add	sp, sp, #112
	b	_MapWindowPoints
LBB0_7:
	mov	x8, #0
	stp	xzr, xzr, [x19, #8]
LBB0_8:
	ldr	x9, [x22, #16]
	sub	x9, x9, x8
	str	x9, [x19, #24]
	ldr	x9, [x22, #8]
	sub	x8, x9, x8
	str	x8, [x19]
	mov	x0, x20
	mov	x1, x19
	bl	_MapDialogRect
	ldr	w8, [x22]
	ldr	w9, [x24]
	ldr	w10, [x25]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_12
; %bb.9:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.10:
	ldr	w8, [x21]
Lloh27:
	adrp	x9, _PSP_HIDEHEADER@GOTPAGE
Lloh28:
	ldr	x9, [x9, _PSP_HIDEHEADER@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_12
; %bb.11:
Lloh30:
	adrp	x8, _IDC_SUNKEN_LINEHEADER@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IDC_SUNKEN_LINEHEADER@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_GetDlgItem
	mov	x21, x0
	mov	x1, sp
	bl	_GetClientRect
	mov	x2, sp
	mov	x0, x21
	mov	x1, x20
	mov	w3, #2
	bl	_MapWindowPoints
	ldr	x8, [sp]
	ldr	x9, [x19, #8]
	add	x8, x8, x9
	add	x8, x8, #1
	str	x8, [x19, #8]
LBB0_12:
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_INTRNL_ANY_WIZARD,4,2          ; @INTRNL_ANY_WIZARD
	.comm	_PSH_WIZARD97_NEW,4,2           ; @PSH_WIZARD97_NEW
	.comm	_PSH_WIZARD97_OLD,4,2           ; @PSH_WIZARD97_OLD
	.comm	_PSH_HEADER,4,2                 ; @PSH_HEADER
	.comm	_PSP_HIDEHEADER,4,2             ; @PSP_HIDEHEADER
	.comm	_PSH_WIZARD,4,2                 ; @PSH_WIZARD
	.comm	_WIZARD_PADDING,8,3             ; @WIZARD_PADDING
	.comm	_IDC_SUNKEN_LINEHEADER,4,2      ; @IDC_SUNKEN_LINEHEADER
	.comm	_IDC_TABCONTROL,4,2             ; @IDC_TABCONTROL
	.comm	_TCM_ADJUSTRECT,4,2             ; @TCM_ADJUSTRECT
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_PROPSHEET_GetPageRect
.subsections_via_symbols
