	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AdjustFrameSize                ## -- Begin function AdjustFrameSize
	.p2align	4, 0x90
_AdjustFrameSize:                       ## @AdjustFrameSize
	.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
	movl	%r8d, %ebx
	movl	%ecx, %r14d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	movl	%edi, %r12d
	leaq	-64(%rbp), %r15
	movq	%r15, %rsi
	callq	_GetClientRect
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	%r15d, %edx
	movl	$4, %ecx
	callq	_MapWindowPoints
	movl	-64(%rbp), %edx
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.1:
	movl	%r14d, %esi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	-60(%rbp), %eax
	movl	-56(%rbp), %r8d
	subl	%edx, %r8d
	cmpl	$4, %ebx
	je	LBB0_6
## %bb.2:
	cmpl	$3, %ebx
	je	LBB0_7
## %bb.3:
	cmpl	$2, %ebx
	jne	LBB0_8
## %bb.4:
	movl	%esi, %ecx
	shrl	$31, %ecx
	addl	%esi, %ecx
	sarl	%ecx
	addl	%eax, %ecx
	jmp	LBB0_9
LBB0_5:
	movq	_SWP_NOACTIVATE@GOTPCREL(%rip), %rax
	movq	_SWP_NOOWNERZORDER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_SWP_NOSIZE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	addl	-60(%rbp), %r14d
	addl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	movq	_SWP_NOZORDER@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rsp)
	movl	%r12d, %edi
	xorl	%esi, %esi
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	jmp	LBB0_10
LBB0_6:
	movl	%esi, %ecx
	shrl	$31, %ecx
	addl	%esi, %ecx
	sarl	%ecx
	addl	%eax, %ecx
	addl	%r14d, %r8d
	jmp	LBB0_9
LBB0_7:
	addl	%r14d, %r8d
LBB0_8:
	movl	%eax, %ecx
LBB0_9:
	movl	%esi, %r9d
	shrl	$31, %r9d
	addl	%esi, %r9d
	sarl	%r9d
	subl	%eax, %r9d
	addl	-52(%rbp), %r9d
	movq	_SWP_NOACTIVATE@GOTPCREL(%rip), %rax
	movq	_SWP_NOOWNERZORDER@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rax), %esi
	movq	_SWP_NOZORDER@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	%esi, (%rsp)
	movl	%r12d, %edi
	xorl	%esi, %esi
LBB0_10:
	callq	_SetWindowPos
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	_InvalidateRect
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SWP_NOACTIVATE,4,2             ## @SWP_NOACTIVATE
	.comm	_SWP_NOOWNERZORDER,4,2          ## @SWP_NOOWNERZORDER
	.comm	_SWP_NOZORDER,4,2               ## @SWP_NOZORDER
	.comm	_SWP_NOSIZE,4,2                 ## @SWP_NOSIZE
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AdjustFrameSize                ; -- Begin function AdjustFrameSize
	.p2align	2
_AdjustFrameSize:                       ; @AdjustFrameSize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	mov	x1, sp
	bl	_GetClientRect
	mov	x2, sp
	mov	x0, x19
	mov	x1, x23
	mov	w3, #4
	bl	_MapWindowPoints
	ldr	w2, [sp]
	cbz	w21, LBB0_2
; %bb.1:
	ldp	w8, w9, [sp, #4]
	cmp	w20, #0
	cinc	w10, w20, lt
	add	w10, w8, w10, asr #1
	sub	w9, w9, w2
	add	w11, w9, w22
	cmp	w20, #0
	cinc	w12, w20, lt
	add	w12, w8, w12, asr #1
	cmp	w21, #2
	csel	w12, w8, w12, ne
	cmp	w21, #3
	csel	w12, w8, w12, eq
	csel	w9, w11, w9, eq
	cmp	w21, #4
	csel	w3, w10, w12, eq
	csel	w4, w11, w9, eq
	ldr	w9, [sp, #12]
	cmp	w20, #0
	cinc	w10, w20, lt
	asr	w10, w10, #1
	sub	w8, w10, w8
	add	w5, w8, w9
Lloh0:
	adrp	x8, _SWP_NOACTIVATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SWP_NOACTIVATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SWP_NOOWNERZORDER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SWP_NOOWNERZORDER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _SWP_NOZORDER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SWP_NOZORDER@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w6, w8, w9
	mov	x0, x19
	mov	x1, #0
	b	LBB0_3
LBB0_2:
	add	w2, w2, w22
	ldr	w8, [sp, #4]
	add	w3, w8, w20
Lloh9:
	adrp	x8, _SWP_NOACTIVATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SWP_NOACTIVATE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _SWP_NOOWNERZORDER@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SWP_NOOWNERZORDER@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _SWP_NOSIZE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SWP_NOSIZE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _SWP_NOZORDER@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SWP_NOZORDER@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w6, w8, w9
	mov	x0, x19
	mov	x1, #0
	mov	w4, #0
	mov	w5, #0
LBB0_3:
	bl	_SetWindowPos
Lloh21:
	adrp	x8, _TRUE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, #0
	bl	_InvalidateRect
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_SWP_NOACTIVATE,4,2             ; @SWP_NOACTIVATE
	.comm	_SWP_NOOWNERZORDER,4,2          ; @SWP_NOOWNERZORDER
	.comm	_SWP_NOZORDER,4,2               ; @SWP_NOZORDER
	.comm	_SWP_NOSIZE,4,2                 ; @SWP_NOSIZE
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
