	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ResizeWnd                      ## -- Begin function ResizeWnd
	.p2align	4, 0x90
_ResizeWnd:                             ## @ResizeWnd
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movl	%edi, %ebx
	movl	$4, %edi
	callq	_BeginDeferWindowPos
	movq	%rax, %r15
	movq	_SM_CYEDGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSystemMetrics
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_SWP_NOZORDER@GOTPCREL(%rip), %rax
	movq	_SWP_NOACTIVATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	orl	(%rax), %r13d
	leaq	-56(%rbp), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	movl	%r12d, %r8d
	callq	_SetRect
	movq	_hStatusBar@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	leaq	-80(%rbp), %rsi
	callq	_GetWindowRect
	movl	-76(%rbp), %r14d
	subl	-80(%rbp), %r14d
LBB0_2:
	movq	_g_pChildWnd@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	24(%rax), %rdi
	leaq	-96(%rbp), %rsi
	callq	_GetWindowRect
	testq	%r15, %r15
	je	LBB0_8
## %bb.3:
	movq	(%r12), %rax
	movq	_SPLIT_WIDTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %ebx
	shrl	$31, %ebx
	addl	%ecx, %ebx
	sarl	%ebx
	addl	(%rax), %ebx
	movq	32(%rax), %rsi
	movl	-52(%rbp), %r8d
	movl	-48(%rbp), %ecx
	movl	-44(%rbp), %r9d
	subl	%ecx, %r9d
	addl	$-44, %r9d
	movq	%r15, %rdi
	xorl	%edx, %edx
	pushq	%r13
	pushq	$22
	callq	_DeferWindowPos
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	(%r12), %rcx
	movq	24(%rcx), %rsi
	movl	-52(%rbp), %r8d
	movl	-44(%rbp), %ecx
	addl	$-44, %ecx
	movq	%rax, %rdi
	xorl	%edx, %edx
	movl	$44, %r9d
	pushq	%r13
	pushq	$22
	callq	_DeferWindowPos
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	(%r12), %rdx
	movq	16(%rdx), %rsi
	movl	-52(%rbp), %r10d
	movl	-48(%rbp), %ecx
	movq	-64(%rbp), %r11                 ## 8-byte Reload
	leal	22(%r11,%r10), %r8d
	movl	(%rdx), %r9d
	movq	_SPLIT_WIDTH@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	movl	%edi, %edx
	shrl	$31, %edx
	addl	%edi, %edx
	sarl	%edx
	subl	%ecx, %r9d
	subl	%edx, %r9d
	subl	%r11d, %r14d
	subl	%r11d, %r14d
	movl	%r14d, %r11d
	subl	%r10d, %r11d
	addl	-56(%rbp), %r11d
	movq	%rax, %rdi
	xorl	%edx, %edx
	pushq	%r13
	pushq	%r11
	callq	_DeferWindowPos
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	addl	$22, %r8d
	movq	(%r12), %rcx
	movq	8(%rcx), %rsi
	movl	-48(%rbp), %ecx
	addl	%ebx, %ecx
	movl	-52(%rbp), %edx
	movl	-44(%rbp), %r9d
	addl	%edx, %r8d
	subl	%ebx, %r9d
	subl	%edx, %r14d
	addl	-56(%rbp), %r14d
	movq	%rax, %rdi
	xorl	%edx, %edx
                                        ## kill: def $r8d killed $r8d killed $r8
	pushq	%r13
	pushq	%r14
	callq	_DeferWindowPos
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, %rdi
	callq	_EndDeferWindowPos
LBB0_8:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SM_CYEDGE,4,2                  ## @SM_CYEDGE
	.comm	_SWP_NOZORDER,4,2               ## @SWP_NOZORDER
	.comm	_SWP_NOACTIVATE,4,2             ## @SWP_NOACTIVATE
	.comm	_hStatusBar,8,3                 ## @hStatusBar
	.comm	_g_pChildWnd,8,3                ## @g_pChildWnd
	.comm	_SPLIT_WIDTH,4,2                ## @SPLIT_WIDTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ResizeWnd                      ; -- Begin function ResizeWnd
	.p2align	2
_ResizeWnd:                             ; @ResizeWnd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x1
	mov	x22, x0
	mov	w0, #4
	bl	_BeginDeferWindowPos
	mov	x21, x0
Lloh0:
	adrp	x8, _SM_CYEDGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SM_CYEDGE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_GetSystemMetrics
	mov	x19, x0
Lloh3:
	adrp	x8, _SWP_NOZORDER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SWP_NOZORDER@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
Lloh6:
	adrp	x8, _SWP_NOACTIVATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SWP_NOACTIVATE@GOTPAGEOFF]
Lloh8:
	ldr	w27, [x8]
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #0
	mov	x3, x22
	mov	x4, x20
	bl	_SetRect
Lloh9:
	adrp	x8, _hStatusBar@GOTPAGE
Lloh10:
	ldr	x8, [x8, _hStatusBar@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	cbz	x0, LBB0_2
; %bb.1:
	add	x1, sp, #16
	bl	_GetWindowRect
	ldp	w8, w9, [sp, #16]
	sub	w24, w9, w8
	b	LBB0_3
LBB0_2:
	mov	w24, #0
LBB0_3:
Lloh12:
	adrp	x22, _g_pChildWnd@GOTPAGE
Lloh13:
	ldr	x22, [x22, _g_pChildWnd@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x0, [x8, #24]
	mov	x1, sp
	bl	_GetWindowRect
Lloh14:
	adrp	x26, _SPLIT_WIDTH@GOTPAGE
Lloh15:
	ldr	x26, [x26, _SPLIT_WIDTH@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, #0
	cinc	w23, w8, lt
	cbz	x21, LBB0_9
; %bb.4:
	orr	w20, w27, w25
	ldr	x8, [x22]
	ldr	w25, [x8]
	ldr	x1, [x8, #32]
	ldp	w4, w3, [sp, #36]
	ldr	w8, [sp, #44]
	sub	w8, w8, w3
	sub	w5, w8, #44
	mov	x0, x21
	mov	x2, #0
	mov	w6, #22
	mov	x7, x20
	bl	_DeferWindowPos
	cbz	x0, LBB0_9
; %bb.5:
	ldr	x8, [x22]
	ldr	x1, [x8, #24]
	ldr	w8, [sp, #44]
	ldr	w4, [sp, #36]
	sub	w3, w8, #44
	mov	x2, #0
	mov	w5, #44
	mov	w6, #22
	mov	x7, x20
	bl	_DeferWindowPos
	cbz	x0, LBB0_9
; %bb.6:
	ldr	x8, [x22]
	ldr	x1, [x8, #16]
	ldr	w3, [sp, #40]
	add	w21, w19, #22
	ldr	w8, [x8]
	ldr	w9, [x26]
	cmp	w9, #0
	cinc	w9, w9, lt
	sub	w8, w8, w3
	sub	w5, w8, w9, asr #1
	ldp	w9, w8, [sp, #32]
	add	w4, w21, w8
	sub	w19, w24, w19, lsl #1
	sub	w8, w19, w8
	add	w6, w8, w9
	mov	x2, #0
	mov	x7, x20
	bl	_DeferWindowPos
	cbz	x0, LBB0_9
; %bb.7:
	add	w8, w25, w23, asr #1
	ldr	x9, [x22]
	ldr	x1, [x9, #8]
	ldp	w9, w10, [sp, #40]
	add	w3, w9, w8
	ldp	w11, w9, [sp, #32]
	add	w4, w21, w9
	sub	w5, w10, w8
	sub	w8, w19, w9
	add	w6, w8, w11
	mov	x2, #0
	mov	x7, x20
	bl	_DeferWindowPos
	cbz	x0, LBB0_9
; %bb.8:
	bl	_EndDeferWindowPos
LBB0_9:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SM_CYEDGE,4,2                  ; @SM_CYEDGE
	.comm	_SWP_NOZORDER,4,2               ; @SWP_NOZORDER
	.comm	_SWP_NOACTIVATE,4,2             ; @SWP_NOACTIVATE
	.comm	_hStatusBar,8,3                 ; @hStatusBar
	.comm	_g_pChildWnd,8,3                ; @g_pChildWnd
	.comm	_SPLIT_WIDTH,4,2                ; @SPLIT_WIDTH
.subsections_via_symbols
