	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function COMBOEX_WindowPosChanging
_COMBOEX_WindowPosChanging:             ## @COMBOEX_WindowPosChanging
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	16(%rdi), %edi
	leaq	-136(%rbp), %r13
	movq	%r13, %rsi
	callq	_GetWindowRect
	movl	16(%r15), %edi
	leaq	-104(%rbp), %rsi
	callq	_GetClientRect
	movl	(%r15), %edi
	leaq	-72(%rbp), %rsi
	callq	_GetWindowRect
	movq	16(%r14), %rcx
	movq	-88(%rbp), %r12
	subq	-80(%rbp), %r12
	movq	-112(%rbp), %rbx
	addq	%rcx, %rbx
	subq	-120(%rbp), %rbx
	movl	28(%r14), %esi
	movslq	24(%r14), %rdx
	movq	(%r14), %r8
	movl	8(%r14), %r9d
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movq	%r13, %rdi
	callq	_wine_dbgstr_rect
	movl	%eax, %r13d
	leaq	-104(%rbp), %rdi
	callq	_wine_dbgstr_rect
	movslq	%eax, %rdx
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_TRACE
	leaq	-136(%rbp), %rdi
	callq	_wine_dbgstr_rect
	movq	-64(%rbp), %rcx
	subq	-72(%rbp), %rcx
	leaq	L_.str.2(%rip), %rdi
	leaq	(%rbx,%r12), %rdx
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
	addq	%r12, %rbx
	je	LBB0_2
## %bb.1:
	movl	(%r15), %edi
	movq	_HWND_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %r9
	subq	-72(%rbp), %r9
	movq	_SWP_NOACTIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_SetWindowPos
LBB0_2:
	movl	(%r15), %edi
	leaq	-72(%rbp), %rsi
	callq	_GetWindowRect
	movq	-72(%rbp), %rax
	movq	-64(%rbp), %rcx
	addq	-128(%rbp), %rcx
	addq	-136(%rbp), %rax
	addq	-96(%rbp), %rax
	subq	%rax, %rcx
	addq	-104(%rbp), %rcx
	movq	%rcx, (%r14)
	cmpq	$0, 8(%r15)
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_COMBOEX_AdjustEditPos
	movl	(%r15), %edi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_InvalidateRect
LBB0_4:
	xorl	%eax, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"winpos=(%d,%d %dx%d) flags=0x%08x\n"

L_.str.1:                               ## @.str.1
	.asciz	"EX window=(%s), client=(%s)\n"

L_.str.2:                               ## @.str.2
	.asciz	"CB window=(%s), EX setting=(0,0)-(%d,%d)\n"

	.comm	_HWND_TOP,4,2                   ## @HWND_TOP
	.comm	_SWP_NOACTIVATE,4,2             ## @SWP_NOACTIVATE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_COMBOEX_WindowPosChanging
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function COMBOEX_WindowPosChanging
_COMBOEX_WindowPosChanging:             ; @COMBOEX_WindowPosChanging
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #16]
	sub	x1, x29, #64
	bl	_GetWindowRect
	ldr	w0, [x19, #16]
	add	x1, sp, #64
	bl	_GetClientRect
	ldr	w0, [x19]
	add	x1, sp, #32
	bl	_GetWindowRect
	ldr	x8, [x20, #16]
	ldp	x10, x9, [x29, #-48]
	ldp	x12, x11, [sp, #80]
	add	x9, x9, x8
	sub	x9, x9, x10
	sub	x10, x12, x11
	add	x21, x9, x10
	ldp	w2, w1, [x20, #24]
                                        ; kill: def $w2 killed $w2 def $x2
	sxtw	x2, w2
	ldr	x9, [x20]
	ldr	w10, [x20, #8]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	sub	x0, x29, #64
	bl	_wine_dbgstr_rect
	mov	x22, x0
	add	x0, sp, #64
	bl	_wine_dbgstr_rect
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_TRACE
	sub	x0, x29, #64
	bl	_wine_dbgstr_rect
	mov	x1, x0
	ldp	x9, x8, [sp, #32]
	sub	x8, x8, x9
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, x21
	bl	_TRACE
	cbz	x21, LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh6:
	adrp	x8, _HWND_TOP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HWND_TOP@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldp	x9, x8, [sp, #32]
	sub	x5, x8, x9
Lloh9:
	adrp	x8, _SWP_NOACTIVATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SWP_NOACTIVATE@GOTPAGEOFF]
Lloh11:
	ldr	w6, [x8]
	mov	w2, #0
	mov	w3, #0
	mov	x4, x21
	bl	_SetWindowPos
LBB0_2:
	ldr	w0, [x19]
	add	x1, sp, #32
	bl	_GetWindowRect
	ldp	x9, x8, [sp, #32]
	ldp	x11, x10, [x29, #-64]
	ldp	x13, x12, [sp, #64]
	add	x9, x9, x11
	add	x9, x9, x12
	add	x8, x8, x10
	sub	x8, x8, x9
	add	x8, x8, x13
	str	x8, [x20]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_COMBOEX_AdjustEditPos
	ldr	w0, [x19]
Lloh12:
	adrp	x8, _TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_InvalidateRect
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"winpos=(%d,%d %dx%d) flags=0x%08x\n"

l_.str.1:                               ; @.str.1
	.asciz	"EX window=(%s), client=(%s)\n"

l_.str.2:                               ; @.str.2
	.asciz	"CB window=(%s), EX setting=(0,0)-(%d,%d)\n"

	.comm	_HWND_TOP,4,2                   ; @HWND_TOP
	.comm	_SWP_NOACTIVATE,4,2             ; @SWP_NOACTIVATE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_COMBOEX_WindowPosChanging
.subsections_via_symbols
