	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PROPSHEET_SizeMismatch
_PROPSHEET_SizeMismatch:                ## @PROPSHEET_SizeMismatch
	.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	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	_IDC_TABCONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	leaq	-88(%rbp), %r15
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_GetClientRect
	movq	%r15, %rdi
	callq	_wine_dbgstr_rect
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_TRACE
	movl	(%rbx), %r8d
	movl	4(%rbx), %ecx
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_SetRect
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_MapDialogRect
	movq	%rbx, %rdi
	callq	_wine_dbgstr_rect
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_TRACE
	movq	-56(%rbp), %rax
	subq	-48(%rbp), %rax
	movq	-88(%rbp), %rcx
	subq	-80(%rbp), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_4
## %bb.1:
	movq	-40(%rbp), %rax
	subq	-32(%rbp), %rax
	movq	-72(%rbp), %rcx
	subq	-64(%rbp), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_4
## %bb.2:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_TABCONTROL,4,2             ## @IDC_TABCONTROL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"orig tab %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"biggest page %s\n"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_PROPSHEET_SizeMismatch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PROPSHEET_SizeMismatch
_PROPSHEET_SizeMismatch:                ; @PROPSHEET_SizeMismatch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _IDC_TABCONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDC_TABCONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetDlgItem
	add	x1, sp, #32
	bl	_GetClientRect
	add	x0, sp, #32
	bl	_wine_dbgstr_rect
	mov	x1, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	ldp	w4, w3, [x19]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #0
	bl	_SetRect
	mov	x1, sp
	mov	x0, x20
	bl	_MapDialogRect
	mov	x0, sp
	bl	_wine_dbgstr_rect
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	ldp	x8, x9, [sp]
	sub	x9, x8, x9
	ldp	x10, x11, [sp, #32]
Lloh7:
	adrp	x8, _TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	sub	x10, x10, x11
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	ldp	x9, x10, [sp, #16]
	sub	x9, x9, x10
	ldp	x10, x11, [sp, #48]
Lloh9:
	adrp	x12, _FALSE@GOTPAGE
Lloh10:
	ldr	x12, [x12, _FALSE@GOTPAGEOFF]
	sub	x10, x10, x11
	cmp	x9, x10
	csel	x8, x12, x8, eq
LBB0_2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_TABCONTROL,4,2             ; @IDC_TABCONTROL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"orig tab %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"biggest page %s\n"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_PROPSHEET_SizeMismatch
.subsections_via_symbols
