	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function PROPSHEET_AdjustSize
LCPI0_0:
	.long	8                               ## 0x8
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	8                               ## 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_PROPSHEET_AdjustSize:                  ## @PROPSHEET_AdjustSize
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %r15d
	movq	_IDC_TABCONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	movl	%eax, %r13d
	movq	_IDOK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDlgItem
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_PROPSHEET_GetPaddingInfo
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	shrq	$32, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	-56(%rbp), %r14
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_GetClientRect
	movl	-56(%rbp), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	(%r12), %rcx
	movq	8(%r12), %r8
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_SetRect
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_MapDialogRect
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [8,4,4,8]
	movaps	%xmm0, -96(%rbp)
	leaq	-96(%rbp), %rsi
	movl	%r15d, %edi
	callq	_MapDialogRect
	leaq	-80(%rbp), %rbx
	movl	%r13d, %edi
	movq	%rbx, %rsi
	callq	_GetClientRect
	movq	_TCM_ADJUSTRECT@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r13d, %edi
	movl	%ebx, %ecx
	callq	_SendMessageW
	movl	-56(%rbp), %edx
	movl	-44(%rbp), %eax
	subl	%eax, %edx
	movl	-80(%rbp), %edi
	movl	-68(%rbp), %ecx
	movl	%edi, %esi
	subl	%ecx, %esi
	cmpl	%esi, %edx
	jge	LBB0_2
## %bb.1:
	addl	%eax, %edi
	subl	%ecx, %edi
	movl	%edi, -56(%rbp)
	subl	%eax, %edi
	movl	-84(%rbp), %edx
	movl	$8, %esi
	callq	_MulDiv
	movq	%rax, 8(%r12)
LBB0_2:
	movl	-52(%rbp), %eax
	movl	-48(%rbp), %edx
	subl	%eax, %edx
	movl	-76(%rbp), %ecx
	movl	-72(%rbp), %edi
	movl	%edi, %esi
	subl	%ecx, %esi
	cmpl	%esi, %edx
	jge	LBB0_4
## %bb.3:
	addl	%eax, %edi
	subl	%ecx, %edi
	movl	%edi, -48(%rbp)
	subl	%eax, %edi
	movl	-92(%rbp), %edx
	movl	$4, %esi
	callq	_MulDiv
	movq	%rax, (%r12)
LBB0_4:
	movl	(%r14), %esi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %r12
	movl	%r13d, %edi
	movl	%r12d, %ecx
	callq	_SendMessageW
	movl	-56(%rbp), %ecx
	movl	-48(%rbp), %edx
	subl	-52(%rbp), %edx
	movl	%edx, -48(%rbp)
	subl	-44(%rbp), %ecx
	movl	%ecx, -56(%rbp)
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_TRACE
	movl	-56(%rbp), %r9d
	movq	_SWP_NOMOVE@GOTPCREL(%rip), %rcx
	movq	_SWP_NOZORDER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	orl	(%rcx), %eax
	movl	-48(%rbp), %r8d
	movq	_SWP_NOACTIVATE@GOTPCREL(%rip), %r14
	orl	(%r14), %eax
	movl	%eax, (%rsp)
	movl	%r13d, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SetWindowPos
	movl	%r13d, %edi
	movq	%r12, %rsi
	callq	_GetClientRect
	movq	%r12, %rdi
	callq	_wine_dbgstr_rect
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addl	%eax, %eax
	addl	%eax, -48(%rbp)
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leal	(%rax,%rax,2), %eax
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	addl	%eax, %ecx
	addl	%ecx, -56(%rbp)
	movq	_GWL_STYLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetWindowLongW
	movq	_WS_CHILD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_6
## %bb.5:
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-56(%rbp), %rdi
	movl	%eax, %esi
	callq	_AdjustWindowRect
LBB0_6:
	movl	-56(%rbp), %ecx
	movl	-48(%rbp), %edx
	subl	-52(%rbp), %edx
	movl	%edx, -48(%rbp)
	subl	-44(%rbp), %ecx
	movl	%ecx, -56(%rbp)
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_TRACE
	movl	-56(%rbp), %r9d
	movl	-48(%rbp), %r8d
	movl	(%rbx), %eax
	movq	_SWP_NOMOVE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	(%r14), %eax
	movl	%eax, (%rsp)
	movl	%r15d, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SetWindowPos
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_TABCONTROL,4,2             ## @IDC_TABCONTROL
	.comm	_IDOK,4,2                       ## @IDOK
	.comm	_TCM_ADJUSTRECT,4,2             ## @TCM_ADJUSTRECT
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setting tab %p, rc (0,0)-(%d,%d)\n"

	.comm	_SWP_NOMOVE,4,2                 ## @SWP_NOMOVE
	.comm	_SWP_NOZORDER,4,2               ## @SWP_NOZORDER
	.comm	_SWP_NOACTIVATE,4,2             ## @SWP_NOACTIVATE
L_.str.1:                               ## @.str.1
	.asciz	"tab client rc %s\n"

	.comm	_GWL_STYLE,4,2                  ## @GWL_STYLE
	.comm	_WS_CHILD,4,2                   ## @WS_CHILD
L_.str.2:                               ## @.str.2
	.asciz	"setting dialog %p, rc (0,0)-(%d,%d)\n"

	.no_dead_strip	_PROPSHEET_AdjustSize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function PROPSHEET_AdjustSize
lCPI0_0:
	.long	8                               ; 0x8
	.long	4                               ; 0x4
	.long	4                               ; 0x4
	.long	8                               ; 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_PROPSHEET_AdjustSize:                  ; @PROPSHEET_AdjustSize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _IDC_TABCONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDC_TABCONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetDlgItem
	mov	x21, x0
Lloh3:
	adrp	x8, _IDOK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IDOK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetDlgItem
	mov	x23, x0
	mov	x0, x19
	bl	_PROPSHEET_GetPaddingInfo
	mov	x20, x0
	lsr	x24, x0, #32
	add	x1, sp, #48
	mov	x0, x23
	bl	_GetClientRect
	ldr	w23, [sp, #48]
	ldp	x3, x4, [x22]
	add	x0, sp, #48
	mov	w1, #0
	mov	w2, #0
	bl	_SetRect
	add	x1, sp, #48
	mov	x0, x19
	bl	_MapDialogRect
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp, #16]
	add	x1, sp, #16
	mov	x0, x19
	bl	_MapDialogRect
	add	x1, sp, #32
	mov	x0, x21
	bl	_GetClientRect
Lloh8:
	adrp	x26, _TCM_ADJUSTRECT@GOTPAGE
Lloh9:
	ldr	x26, [x26, _TCM_ADJUSTRECT@GOTPAGEOFF]
	ldr	w1, [x26]
Lloh10:
	adrp	x25, _FALSE@GOTPAGE
Lloh11:
	ldr	x25, [x25, _FALSE@GOTPAGEOFF]
	ldr	w2, [x25]
	add	x3, sp, #32
	mov	x0, x21
	bl	_SendMessageW
	ldp	w10, w9, [sp, #44]
	ldr	w8, [sp, #60]
	sub	w11, w9, w8
	ldr	w9, [sp, #32]
	sub	w12, w9, w10
	cmp	w11, w12
	b.ge	LBB0_2
; %bb.1:
	add	w9, w9, w8
	sub	w9, w9, w10
	str	w9, [sp, #48]
	sub	w0, w9, w8
	ldr	w2, [sp, #28]
	mov	w1, #8
	bl	_MulDiv
	str	x0, [x22, #8]
LBB0_2:
	ldp	w8, w9, [sp, #52]
	sub	w11, w9, w8
	ldp	w10, w9, [sp, #36]
	sub	w12, w9, w10
	cmp	w11, w12
	b.ge	LBB0_4
; %bb.3:
	add	w9, w9, w8
	sub	w9, w9, w10
	str	w9, [sp, #56]
	sub	w0, w9, w8
	ldr	w2, [sp, #20]
	mov	w1, #4
	bl	_MulDiv
	str	x0, [x22]
LBB0_4:
	ldr	w1, [x26]
Lloh12:
	adrp	x22, _TRUE@GOTPAGE
Lloh13:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x3, sp, #48
	mov	x0, x21
	bl	_SendMessageW
	ldp	w8, w9, [sp, #56]
	ldp	w11, w10, [sp, #48]
	sub	w8, w8, w10
	sub	w9, w11, w9
	str	w8, [sp, #56]
	str	w9, [sp, #48]
	stp	x8, x9, [sp]
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_TRACE
	ldr	w4, [sp, #56]
	ldr	w5, [sp, #48]
Lloh16:
	adrp	x26, _SWP_NOMOVE@GOTPAGE
Lloh17:
	ldr	x26, [x26, _SWP_NOMOVE@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh18:
	adrp	x27, _SWP_NOZORDER@GOTPAGE
Lloh19:
	ldr	x27, [x27, _SWP_NOZORDER@GOTPAGEOFF]
	ldr	w9, [x27]
	orr	w8, w9, w8
Lloh20:
	adrp	x28, _SWP_NOACTIVATE@GOTPAGE
Lloh21:
	ldr	x28, [x28, _SWP_NOACTIVATE@GOTPAGEOFF]
	ldr	w9, [x28]
	orr	w6, w8, w9
	mov	x0, x21
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	bl	_SetWindowPos
	add	x1, sp, #48
	mov	x0, x21
	bl	_GetClientRect
	add	x0, sp, #48
	bl	_wine_dbgstr_rect
	mov	x1, x0
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	ldr	w8, [sp, #56]
	ldr	w9, [sp, #48]
	add	w8, w8, w20, lsl #1
	add	w10, w24, w24, lsl #1
	add	w10, w23, w10
	add	w9, w10, w9
	str	w8, [sp, #56]
	str	w9, [sp, #48]
Lloh24:
	adrp	x8, _GWL_STYLE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GWL_STYLE@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetWindowLongW
Lloh27:
	adrp	x8, _WS_CHILD@GOTPAGE
Lloh28:
	ldr	x8, [x8, _WS_CHILD@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_6
; %bb.5:
	mov	x1, x0
	ldr	w2, [x25]
	add	x0, sp, #48
	bl	_AdjustWindowRect
LBB0_6:
	ldp	w8, w9, [sp, #56]
	ldp	w11, w10, [sp, #48]
	sub	w8, w8, w10
	sub	w9, w11, w9
	str	w8, [sp, #56]
	str	w9, [sp, #48]
	stp	x8, x9, [sp]
Lloh30:
	adrp	x0, l_.str.2@PAGE
Lloh31:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_TRACE
	ldr	w4, [sp, #56]
	ldr	w5, [sp, #48]
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w8, w9, w8
	ldr	w9, [x28]
	orr	w6, w8, w9
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	bl	_SetWindowPos
	ldr	w0, [x22]
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_TABCONTROL,4,2             ; @IDC_TABCONTROL
	.comm	_IDOK,4,2                       ; @IDOK
	.comm	_TCM_ADJUSTRECT,4,2             ; @TCM_ADJUSTRECT
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setting tab %p, rc (0,0)-(%d,%d)\n"

	.comm	_SWP_NOMOVE,4,2                 ; @SWP_NOMOVE
	.comm	_SWP_NOZORDER,4,2               ; @SWP_NOZORDER
	.comm	_SWP_NOACTIVATE,4,2             ; @SWP_NOACTIVATE
l_.str.1:                               ; @.str.1
	.asciz	"tab client rc %s\n"

	.comm	_GWL_STYLE,4,2                  ; @GWL_STYLE
	.comm	_WS_CHILD,4,2                   ; @WS_CHILD
l_.str.2:                               ; @.str.2
	.asciz	"setting dialog %p, rc (0,0)-(%d,%d)\n"

	.no_dead_strip	_PROPSHEET_AdjustSize
.subsections_via_symbols
