	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function COMBOEX_SetItemHeight
_COMBOEX_SetItemHeight:                 ## @COMBOEX_SetItemHeight
	.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	%rdi, %r14
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdx, %rcx
	movq	%rsi, %rdx
	movq	_CB_SETITEMHEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SendMessageW
	movq	%rax, %r15
	movq	_CB_ERR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_5
## %bb.3:
	movq	8(%r14), %rdi
	jmp	LBB0_4
LBB0_1:
	xorl	%edi, %edi
LBB0_4:
	leaq	-136(%rbp), %rsi
	callq	_GetWindowRect
	movq	(%r14), %rdi
	leaq	-72(%rbp), %r12
	movq	%r12, %rsi
	callq	_GetWindowRect
	movq	(%r14), %rdi
	leaq	-104(%rbp), %r15
	movq	%r15, %rsi
	callq	_GetClientRect
	movq	-88(%rbp), %rax
	subq	-80(%rbp), %rax
	movdqu	-120(%rbp), %xmm0
	movdqu	-56(%rbp), %xmm1
	paddq	%xmm0, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	psubq	%xmm1, %xmm0
	movq	%xmm0, %rbx
	addq	%rax, %rbx
	movq	%r12, %rdi
	callq	_wine_dbgstr_rect
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_wine_dbgstr_rect
	movslq	%eax, %rdx
	leaq	L_.str(%rip), %rdi
	xorl	%r15d, %r15d
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_TRACE
	movq	%r12, %rdi
	callq	_wine_dbgstr_rect
	movq	-64(%rbp), %rdx
	subq	-72(%rbp), %rdx
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_TRACE
	movq	(%r14), %rdi
	movq	_HWND_TOP@GOTPCREL(%rip), %rax
	movq	-64(%rbp), %r8
	subq	-72(%rbp), %r8
	movq	_SWP_NOACTIVATE@GOTPCREL(%rip), %rcx
	movq	_SWP_NOZORDER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_SWP_NOMOVE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, (%rsp)
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r9
	callq	_SetWindowPos
LBB0_5:
	movq	%r15, %rax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CB_SETITEMHEIGHT,4,2           ## @CB_SETITEMHEIGHT
	.comm	_CB_ERR,8,3                     ## @CB_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EX window=(%s), client=(%s)\n"

L_.str.1:                               ## @.str.1
	.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	_SWP_NOZORDER,4,2               ## @SWP_NOZORDER
	.comm	_SWP_NOMOVE,4,2                 ## @SWP_NOMOVE
	.no_dead_strip	_COMBOEX_SetItemHeight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function COMBOEX_SetItemHeight
_COMBOEX_SetItemHeight:                 ; @COMBOEX_SetItemHeight
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	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
	mov	x19, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x3, x2
	mov	x2, x1
Lloh0:
	adrp	x8, _CB_SETITEMHEIGHT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CB_SETITEMHEIGHT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_SendMessageW
Lloh3:
	adrp	x8, _CB_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CB_ERR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.2:
	ldr	x0, [x19, #8]
LBB0_3:
	sub	x1, x29, #64
	bl	_GetWindowRect
	ldr	x0, [x19]
	add	x1, sp, #48
	bl	_GetWindowRect
	ldr	x0, [x19]
	add	x1, sp, #16
	bl	_GetClientRect
	ldp	x9, x8, [x29, #-48]
	ldp	x11, x10, [sp, #64]
	ldp	x13, x12, [sp, #32]
	add	x8, x8, x10
	add	x9, x9, x11
	sub	x8, x8, x9
	sub	x9, x13, x12
	add	x20, x8, x9
	add	x0, sp, #48
	bl	_wine_dbgstr_rect
	mov	x21, x0
	add	x0, sp, #16
	bl	_wine_dbgstr_rect
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_TRACE
	add	x0, sp, #48
	bl	_wine_dbgstr_rect
	mov	x1, x0
	ldp	x9, x8, [sp, #48]
	sub	x2, x8, x9
	str	x20, [sp]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	ldr	x0, [x19]
Lloh10:
	adrp	x8, _HWND_TOP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HWND_TOP@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldp	x9, x8, [sp, #48]
	sub	x4, x8, x9
Lloh13:
	adrp	x8, _SWP_NOACTIVATE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SWP_NOACTIVATE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _SWP_NOZORDER@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SWP_NOZORDER@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh19:
	adrp	x9, _SWP_NOMOVE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _SWP_NOMOVE@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w6, w8, w9
	mov	w2, #0
	mov	w3, #0
	mov	x5, x20
	bl	_SetWindowPos
	mov	x0, #0
LBB0_4:
	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
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CB_SETITEMHEIGHT,4,2           ; @CB_SETITEMHEIGHT
	.comm	_CB_ERR,8,3                     ; @CB_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EX window=(%s), client=(%s)\n"

l_.str.1:                               ; @.str.1
	.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	_SWP_NOZORDER,4,2               ; @SWP_NOZORDER
	.comm	_SWP_NOMOVE,4,2                 ; @SWP_NOMOVE
	.no_dead_strip	_COMBOEX_SetItemHeight
.subsections_via_symbols
