	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function COMBOEX_DrawItem
_COMBOEX_DrawItem:                      ## @COMBOEX_DrawItem
	.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	$120, %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, %r13
	movq	(%rsi), %rsi
	movl	48(%r14), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movslq	8(%r14), %rsi
	movl	12(%r14), %edx
	movl	16(%r14), %ecx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movslq	44(%r14), %rbx
	movl	20(%r14), %r12d
	leaq	24(%r14), %r15
	movq	%r15, %rdi
	callq	_wine_dbgstr_rect
	movl	40(%r14), %r8d
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_TRACE
	movl	8(%r14), %esi
	cmpl	$-1, %esi
	jne	LBB0_30
## %bb.1:
	movl	12(%r14), %eax
	movq	_ODA_FOCUS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_ODS_SELECTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 16(%r14)
	jne	LBB0_5
LBB0_3:
	movq	_ODA_SELECT@GOTPCREL(%rip), %rdx
	movq	_ODA_DRAWENTIRE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rdx), %edx
	orl	%ecx, %edx
	testl	%eax, %edx
	je	LBB0_6
## %bb.4:
	movq	_ODS_FOCUS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, 16(%r14)
	je	LBB0_6
LBB0_5:
	movq	%r15, %rdi
	callq	_wine_dbgstr_rect
	movslq	%eax, %rsi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
LBB0_12:
	movl	8(%r14), %esi
	cmpl	$-1, %esi
	je	LBB0_13
LBB0_30:
	movq	%r13, %rdi
	callq	_get_item_data
	movq	%rax, %rbx
	movq	_CB_ERR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_31
LBB0_19:
	movq	_comboex@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRACE_ON
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	%rbx, %rdi
	callq	_COMBOEX_DumpItem
LBB0_21:
	movq	_CBE_STARTOFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%rbx), %eax
	movq	_CBEIF_INDENT@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_28
## %bb.22:
	movq	_ODS_COMBOEXLBOX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 16(%r14)
	je	LBB0_28
## %bb.23:
	movl	4(%rbx), %ecx
	movq	_I_INDENTCALLBACK@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_27
## %bb.24:
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	leaq	-72(%rbp), %r15
	movq	%r15, %rdi
	movl	$28, %esi
	callq	_ZeroMemory
	movl	(%r12), %eax
	movl	%eax, -72(%rbp)
	movl	20(%rbx), %eax
	movl	%eax, -48(%rbp)
	movl	8(%r14), %eax
	movl	%eax, -68(%rbp)
	movq	_CBEN_GETDISPINFOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_COMBOEX_NotifyItem
	movq	_CBEIF_DI_SETITEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	-64(%rbp), %ecx
	testl	%eax, -72(%rbp)
	je	LBB0_26
## %bb.25:
	movl	%ecx, 4(%rbx)
LBB0_26:
	movl	(%rbx), %eax
	movq	-88(%rbp), %r15                 ## 8-byte Reload
LBB0_27:
	movq	_CBE_INDENT@GOTPCREL(%rip), %rdx
	imull	(%rdx), %ecx
	addl	%ecx, %r15d
LBB0_28:
	movq	_CBEIF_IMAGE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_29
## %bb.32:
	movl	8(%rbx), %edx
	jmp	LBB0_33
LBB0_31:
	movl	8(%r14), %esi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_ERR
	jmp	LBB0_69
LBB0_29:
	movl	$-2, %edx
LBB0_33:
	movq	%rbx, %r12
	movq	_ILD_NORMAL@GOTPCREL(%rip), %rcx
	movq	%r13, %rsi
	movl	(%r13), %esi
	movl	8(%r14), %edi
	movq	_CBEIF_SELECTEDIMAGE@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	movl	%esi, -112(%rbp)                ## 4-byte Spill
	movl	%edi, -108(%rbp)                ## 4-byte Spill
	je	LBB0_36
## %bb.34:
	cmpl	%edi, %esi
	jne	LBB0_36
## %bb.35:
	movl	12(%r12), %edx
LBB0_36:
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	(%rcx), %eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movl	16(%r14), %eax
	movq	_ODS_COMBOEXLBOX@GOTPCREL(%rip), %rcx
	movq	_ODS_SELECTED@GOTPCREL(%rip), %rbx
	testl	%eax, (%rcx)
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	jne	LBB0_40
## %bb.37:
	movq	%r13, %r15
	movq	16(%r13), %rdi
	callq	_IsWindowVisible
	testq	%rax, %rax
	je	LBB0_39
## %bb.38:
	movl	4(%r15), %eax
	movq	_WCBE_EDITFOCUSED@GOTPCREL(%rip), %rbx
LBB0_40:
	testl	%eax, (%rbx)
	je	LBB0_42
LBB0_41:
	movq	_ILD_SELECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
LBB0_42:
	movq	24(%r13), %rdi
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	testq	%rdi, %rdi
	je	LBB0_45
## %bb.43:
	movq	_CBES_EX_NOEDITIMAGEINDENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r13)
	jne	LBB0_45
## %bb.44:
	movq	$0, -72(%rbp)
	leaq	-72(%rbp), %rdx
	xorl	%esi, %esi
	callq	_ImageList_GetImageInfo
	movl	-68(%rbp), %ecx
	subl	-72(%rbp), %ecx
	movq	_CBE_SEP@GOTPCREL(%rip), %rax
	addl	(%rax), %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
LBB0_45:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_COMBOEX_GetText
	testq	%rax, %rax
	leaq	_COMBOEX_DrawItem.nil(%rip), %r13
	cmovneq	%rax, %r13
	movq	%r13, %rdi
	callq	_strlenW
                                        ## kill: def $eax killed $eax def $rax
	movl	20(%r14), %edi
	leaq	-128(%rbp), %rcx
	movq	%r13, %rsi
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	%eax, %edx
	callq	_GetTextExtentPoint32W
	movq	_ODA_SELECT@GOTPCREL(%rip), %rax
	movq	_ODA_DRAWENTIRE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, 12(%r14)
	je	LBB0_67
## %bb.46:
	movl	16(%r12), %edx
	movq	_I_IMAGECALLBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	cmpl	%eax, %esi
	jne	LBB0_55
## %bb.47:
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	leaq	-72(%rbp), %rdi
	movl	$28, %esi
	callq	_ZeroMemory
	movl	-108(%rbp), %ebx                ## 4-byte Reload
	movl	-112(%rbp), %r15d               ## 4-byte Reload
	cmpl	%ebx, %r15d
	movq	_CBEIF_IMAGE@GOTPCREL(%rip), %rax
	jne	LBB0_49
## %bb.48:
	movq	_CBEIF_SELECTEDIMAGE@GOTPCREL(%rip), %rax
LBB0_49:
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movl	20(%r12), %eax
	movl	%eax, -48(%rbp)
	movl	8(%r14), %eax
	movl	%eax, -68(%rbp)
	movq	_CBEN_GETDISPINFOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	leaq	-72(%rbp), %rdx
	callq	_COMBOEX_NotifyItem
	movq	_CBEIF_DI_SETITEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-72(%rbp), %eax
	cmpl	%ebx, %r15d
	jne	LBB0_50
## %bb.52:
	movl	-56(%rbp), %esi
	testl	%eax, %eax
	je	LBB0_54
## %bb.53:
	movl	%esi, 12(%r12)
	jmp	LBB0_54
LBB0_6:
	movq	(%r14), %rdx
	movq	_ODT_COMBOBOX@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_70
## %bb.7:
	cmpl	%ecx, %eax
	jne	LBB0_70
## %bb.8:
	movq	_comboex@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRACE_ON
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	72(%r13), %rdi
	leaq	-72(%rbp), %rsi
	callq	_GetWindowRect
	movq	64(%r13), %rdi
	leaq	-128(%rbp), %rsi
	callq	_GetWindowRect
	leaq	-152(%rbp), %rdi
	movl	$-1, %esi
	movl	$-1, %edx
	movl	$-1, %ecx
	movl	$-1, %r8d
	callq	_SetRect
	movq	16(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	leaq	-152(%rbp), %rsi
	callq	_GetWindowRect
LBB0_11:
	leaq	-72(%rbp), %rdi
	callq	_wine_dbgstr_rect
	movslq	%eax, %r15
	leaq	-128(%rbp), %rdi
	callq	_wine_dbgstr_rect
	movl	%eax, %ebx
	leaq	-152(%rbp), %rdi
	callq	_wine_dbgstr_rect
	leaq	L_.str.4(%rip), %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_TRACE
	jmp	LBB0_12
LBB0_13:
	leaq	32(%r13), %rbx
	cmpq	$0, 16(%r13)
	je	LBB0_19
## %bb.14:
	movq	%rbx, %rdi
	callq	_COMBOEX_FreeText
	movq	_CBEIF_TEXT@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, 32(%r13)
	movq	16(%r13), %rdi
	callq	_GetWindowTextLengthW
	testl	%eax, %eax
	je	LBB0_19
## %bb.15:
	movl	%eax, %r12d
	movl	(%r15), %eax
	orl	%eax, 32(%r13)
	leal	4(,%r12,4), %edi
	callq	_Alloc
	movq	%rax, 56(%r13)
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movl	%r12d, %edx
	incl	%edx
	movq	16(%r13), %rdi
	movq	%rax, %rsi
	callq	_GetWindowTextW
	movq	56(%r13), %rdi
	jmp	LBB0_18
LBB0_50:
	movl	-60(%rbp), %esi
	testl	%eax, %eax
	je	LBB0_54
## %bb.51:
	movl	%esi, 8(%r12)
LBB0_54:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	_I_IMAGECALLBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_55:
	cmpl	%eax, %edx
	jne	LBB0_59
## %bb.56:
	movl	%esi, %ebx
	leaq	-72(%rbp), %r15
	movq	%r15, %rdi
	movl	$28, %esi
	callq	_ZeroMemory
	movq	_CBEIF_OVERLAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movl	20(%r12), %eax
	movl	%eax, -48(%rbp)
	movl	8(%r14), %eax
	movl	%eax, -68(%rbp)
	movq	_CBEN_GETDISPINFOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_COMBOEX_NotifyItem
	movq	_CBEIF_DI_SETITEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	-52(%rbp), %edx
	testl	%eax, -72(%rbp)
	je	LBB0_58
## %bb.57:
	movl	%edx, 16(%r12)
LBB0_58:
	movl	%ebx, %esi
LBB0_59:
	testl	%esi, %esi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	js	LBB0_65
## %bb.60:
	movq	_CBES_EX_NOEDITIMAGE@GOTPCREL(%rip), %rax
	movq	_CBES_EX_NOEDITIMAGEINDENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, 8(%rbx)
	jne	LBB0_65
## %bb.61:
	movq	24(%rbx), %r12
	testl	%edx, %edx
	jle	LBB0_62
## %bb.63:
	movq	%r12, %rdi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %esi
	movl	$1, %edx
	callq	_ImageList_SetOverlayImage
	movq	24(%rbx), %r12
	movl	20(%r14), %ebx
	movl	24(%r14), %r15d
	movl	$1, %edi
	callq	_INDEXTOOVERLAYMASK
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %r9d
	jmp	LBB0_64
LBB0_39:
	movl	16(%r14), %eax
	testl	%eax, (%rbx)
	jne	LBB0_41
	jmp	LBB0_42
LBB0_70:
	movq	%r15, %rdi
	callq	_wine_dbgstr_rect
	movl	12(%r14), %edx
	movl	16(%r14), %ecx
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_ERR
	jmp	LBB0_69
LBB0_62:
	movl	20(%r14), %ebx
	movl	24(%r14), %r15d
	xorl	%r9d, %r9d
LBB0_64:
	orl	-92(%rbp), %r9d                 ## 4-byte Folded Reload
	movq	%r12, %rdi
	movl	%ebx, %edx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r15d, %r8d
	callq	_ImageList_Draw
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
LBB0_65:
	movq	16(%rbx), %rdi
	callq	_IsWindowVisible
	testq	%rax, %rax
	jne	LBB0_67
## %bb.66:
	movq	_ODS_SELECTED@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	xorl	%ecx, %ecx
	andl	16(%r14), %eax
	setne	%cl
	movq	_comctl32_color@GOTPCREL(%rip), %rbx
	movl	8(%rbx,%rcx,4), %esi
	movl	20(%r14), %edi
	callq	_SetBkColor
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	(%r15), %eax
	andl	16(%r14), %eax
	leaq	4(%rbx), %rcx
	testl	%eax, %eax
	cmoveq	%rbx, %rcx
	movl	(%rcx), %esi
	movl	20(%r14), %edi
	callq	_SetTextColor
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	leal	(%rcx,%rax), %ebx
	movl	24(%r14), %edx
	movl	28(%r14), %r8d
	movl	-128(%rbp), %eax
	addl	%edx, %eax
	movl	%r8d, %ecx
	subl	%eax, %ecx
	movl	%ecx, %r12d
	shrl	$31, %r12d
	addl	%ecx, %r12d
	sarl	%r12d
	addl	%edx, %r12d
	incl	%edx
	movl	-124(%rbp), %ecx
	addl	%ebx, %ecx
	decl	%r8d
	leaq	-72(%rbp), %rdi
	movl	%ebx, %esi
	callq	_SetRect
	movslq	8(%r14), %r15
	leaq	-72(%rbp), %rdi
	callq	_wine_dbgstr_rect
	leaq	L_.str.8(%rip), %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_TRACE
	movl	20(%r14), %edi
	movq	_ETO_OPAQUE@GOTPCREL(%rip), %rax
	movq	_ETO_CLIPPED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ebx, %esi
	movl	%r12d, %edx
	leaq	-72(%rbp), %r8
	movq	%r13, %r9
	pushq	$0
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	callq	_ExtTextOutW
	addq	$16, %rsp
	movl	20(%r14), %edi
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	callq	_SetBkColor
	movl	20(%r14), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_SetTextColor
LBB0_67:
	movq	_ODA_FOCUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 12(%r14)
	je	LBB0_69
## %bb.68:
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	leal	(%rdx,%rcx), %eax
	addl	%edx, %ecx
	decl	%ecx
	movl	%ecx, -64(%rbp)
	movl	-124(%rbp), %ecx
	leal	1(%rcx,%rax), %eax
	movl	%eax, -60(%rbp)
	movl	24(%r14), %eax
	movl	%eax, -72(%rbp)
	movl	28(%r14), %eax
	movl	%eax, -68(%rbp)
	movl	20(%r14), %edi
	leaq	-72(%rbp), %rsi
	callq	_DrawFocusRect
LBB0_69:
	xorl	%eax, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	xorl	%edi, %edi
LBB0_18:
	movq	16(%r13), %r15
	callq	_debugstr_txt
	leaq	L_.str.6(%rip), %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_TRACE
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @COMBOEX_DrawItem.nil
_COMBOEX_DrawItem.nil:
	.space	4

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DRAWITEMSTRUCT: CtlType=0x%08x CtlID=0x%08x\n"

L_.str.1:                               ## @.str.1
	.asciz	"itemID=0x%08x itemAction=0x%08x itemState=0x%08x\n"

L_.str.2:                               ## @.str.2
	.asciz	"hWnd=%p hDC=%p (%s) itemData=0x%08lx\n"

	.comm	_ODA_FOCUS,4,2                  ## @ODA_FOCUS
	.comm	_ODS_SELECTED,4,2               ## @ODS_SELECTED
	.comm	_ODA_SELECT,4,2                 ## @ODA_SELECT
	.comm	_ODA_DRAWENTIRE,4,2             ## @ODA_DRAWENTIRE
	.comm	_ODS_FOCUS,4,2                  ## @ODS_FOCUS
L_.str.3:                               ## @.str.3
	.asciz	"drawing item -1 special focus, rect=(%s)\n"

	.comm	_ODT_COMBOBOX,8,3               ## @ODT_COMBOBOX
	.comm	_comboex,4,2                    ## @comboex
L_.str.4:                               ## @.str.4
	.asciz	"window rects ex=(%s), cb=(%s), ed=(%s)\n"

L_.str.5:                               ## @.str.5
	.asciz	"NOT drawing item  -1 special focus, rect=(%s), action=%08x, state=%08x\n"

	.comm	_CBEIF_TEXT,4,2                 ## @CBEIF_TEXT
L_.str.6:                               ## @.str.6
	.asciz	"edit control hwndEdit=%p, text len=%d str=%s\n"

	.comm	_CB_ERR,8,3                     ## @CB_ERR
L_.str.7:                               ## @.str.7
	.asciz	"invalid item for id %d\n"

	.comm	_CBE_STARTOFFSET,4,2            ## @CBE_STARTOFFSET
	.comm	_CBEIF_INDENT,4,2               ## @CBEIF_INDENT
	.comm	_ODS_COMBOEXLBOX,4,2            ## @ODS_COMBOEXLBOX
	.comm	_I_INDENTCALLBACK,4,2           ## @I_INDENTCALLBACK
	.comm	_CBEN_GETDISPINFOW,4,2          ## @CBEN_GETDISPINFOW
	.comm	_CBEIF_DI_SETITEM,4,2           ## @CBEIF_DI_SETITEM
	.comm	_CBE_INDENT,4,2                 ## @CBE_INDENT
	.comm	_ILD_NORMAL,4,2                 ## @ILD_NORMAL
	.comm	_CBEIF_IMAGE,4,2                ## @CBEIF_IMAGE
	.comm	_CBEIF_SELECTEDIMAGE,4,2        ## @CBEIF_SELECTEDIMAGE
	.comm	_ILD_SELECTED,4,2               ## @ILD_SELECTED
	.comm	_WCBE_EDITFOCUSED,4,2           ## @WCBE_EDITFOCUSED
	.comm	_CBES_EX_NOEDITIMAGEINDENT,4,2  ## @CBES_EX_NOEDITIMAGEINDENT
	.comm	_CBE_SEP,4,2                    ## @CBE_SEP
	.comm	_I_IMAGECALLBACK,4,2            ## @I_IMAGECALLBACK
	.comm	_CBEIF_OVERLAY,4,2              ## @CBEIF_OVERLAY
	.comm	_CBES_EX_NOEDITIMAGE,4,2        ## @CBES_EX_NOEDITIMAGE
	.comm	_comctl32_color,16,2            ## @comctl32_color
L_.str.8:                               ## @.str.8
	.asciz	"drawing item %d text, rect=(%s)\n"

	.comm	_ETO_OPAQUE,4,2                 ## @ETO_OPAQUE
	.comm	_ETO_CLIPPED,4,2                ## @ETO_CLIPPED
	.no_dead_strip	_COMBOEX_DrawItem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function COMBOEX_DrawItem
_COMBOEX_DrawItem:                      ; @COMBOEX_DrawItem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x19, x1
	mov	x20, x0
	ldr	x1, [x1]
	ldr	w8, [x19, #48]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	ldp	w1, w8, [x19, #8]
                                        ; kill: def $w1 killed $w1 def $x1
	sxtw	x1, w1
	ldr	w9, [x19, #16]
	stp	x8, x9, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	ldrsw	x22, [x19, #44]
	add	x21, x19, #24
	ldr	w23, [x19, #20]
	mov	x0, x21
	bl	_wine_dbgstr_rect
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x19, #40]
	stp	x0, x8, [sp, #8]
	str	x23, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x22
	bl	_TRACE
	ldr	w1, [x19, #8]
	cmn	w1, #1
	b.ne	LBB0_8
; %bb.1:
	ldr	w8, [x19, #12]
Lloh6:
	adrp	x9, _ODA_FOCUS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ODA_FOCUS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	w9, [x19, #16]
Lloh9:
	adrp	x10, _ODS_SELECTED@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ODS_SELECTED@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_5
LBB0_3:
Lloh12:
	adrp	x9, _ODA_SELECT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ODA_SELECT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x9]
Lloh15:
	adrp	x9, _ODA_DRAWENTIRE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ODA_DRAWENTIRE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w10, w9, w10
	tst	w10, w8
	b.eq	LBB0_29
; %bb.4:
	ldr	w10, [x19, #16]
Lloh18:
	adrp	x11, _ODS_FOCUS@GOTPAGE
Lloh19:
	ldr	x11, [x11, _ODS_FOCUS@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_29
LBB0_5:
	mov	x0, x21
	bl	_wine_dbgstr_rect
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_6:
	bl	_TRACE
LBB0_7:
	ldr	w1, [x19, #8]
	cmn	w1, #1
	b.eq	LBB0_35
LBB0_8:
	mov	x0, x20
	bl	_get_item_data
	mov	x22, x0
Lloh23:
	adrp	x8, _CB_ERR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CB_ERR@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_20
LBB0_9:
Lloh26:
	adrp	x8, _comboex@GOTPAGE
Lloh27:
	ldr	x8, [x8, _comboex@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_TRACE_ON
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x22
	bl	_COMBOEX_DumpItem
LBB0_11:
Lloh29:
	adrp	x8, _CBE_STARTOFFSET@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CBE_STARTOFFSET@GOTPAGEOFF]
Lloh31:
	ldr	w28, [x8]
	ldr	w8, [x22]
Lloh32:
	adrp	x21, _CBEIF_INDENT@GOTPAGE
Lloh33:
	ldr	x21, [x21, _CBEIF_INDENT@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh34:
	adrp	x23, _ODS_COMBOEXLBOX@GOTPAGE
Lloh35:
	ldr	x23, [x23, _ODS_COMBOEXLBOX@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.12:
	ldr	w9, [x19, #16]
	ldr	w10, [x23]
	tst	w10, w9
	b.eq	LBB0_18
; %bb.13:
	ldr	w9, [x22, #4]
Lloh36:
	adrp	x10, _I_INDENTCALLBACK@GOTPAGE
Lloh37:
	ldr	x10, [x10, _I_INDENTCALLBACK@GOTPAGEOFF]
Lloh38:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_17
; %bb.14:
	add	x0, sp, #32
	mov	w1, #28
	bl	_ZeroMemory
	ldr	w8, [x21]
	ldr	w9, [x22, #20]
	str	w9, [sp, #56]
	ldr	w9, [x19, #8]
	stp	w8, w9, [sp, #32]
Lloh39:
	adrp	x8, _CBEN_GETDISPINFOW@GOTPAGE
Lloh40:
	ldr	x8, [x8, _CBEN_GETDISPINFOW@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	add	x2, sp, #32
	mov	x0, x20
	bl	_COMBOEX_NotifyItem
Lloh42:
	adrp	x8, _CBEIF_DI_SETITEM@GOTPAGE
Lloh43:
	ldr	x8, [x8, _CBEIF_DI_SETITEM@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	ldr	w10, [sp, #32]
	ldr	w9, [sp, #40]
	tst	w8, w10
	b.eq	LBB0_16
; %bb.15:
	str	w9, [x22, #4]
LBB0_16:
	ldr	w8, [x22]
LBB0_17:
Lloh45:
	adrp	x10, _CBE_INDENT@GOTPAGE
Lloh46:
	ldr	x10, [x10, _CBE_INDENT@GOTPAGEOFF]
Lloh47:
	ldr	w10, [x10]
	madd	w28, w10, w9, w28
LBB0_18:
Lloh48:
	adrp	x9, _CBEIF_IMAGE@GOTPAGE
Lloh49:
	ldr	x9, [x9, _CBEIF_IMAGE@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.19:
	ldr	w25, [x22, #8]
	b	LBB0_22
LBB0_20:
	ldr	w1, [x19, #8]
Lloh51:
	adrp	x0, l_.str.7@PAGE
Lloh52:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_ERR
	b	LBB0_67
LBB0_21:
	mov	w25, #-2
LBB0_22:
Lloh53:
	adrp	x9, _ILD_NORMAL@GOTPAGE
Lloh54:
	ldr	x9, [x9, _ILD_NORMAL@GOTPAGEOFF]
	ldr	w27, [x20]
	ldr	w21, [x19, #8]
Lloh55:
	adrp	x10, _CBEIF_SELECTEDIMAGE@GOTPAGE
Lloh56:
	ldr	x10, [x10, _CBEIF_SELECTEDIMAGE@GOTPAGEOFF]
Lloh57:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_25
; %bb.23:
	cmp	w27, w21
	b.ne	LBB0_25
; %bb.24:
	ldr	w25, [x22, #12]
LBB0_25:
	ldr	w24, [x9]
	ldr	w8, [x19, #16]
	ldr	w9, [x23]
Lloh58:
	adrp	x10, _ODS_SELECTED@GOTPAGE
Lloh59:
	ldr	x10, [x10, _ODS_SELECTED@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_27
; %bb.26:
	mov	x9, x10
	b	LBB0_41
LBB0_27:
	ldr	x0, [x20, #16]
	bl	_IsWindowVisible
	cbz	x0, LBB0_40
; %bb.28:
	ldr	w8, [x20, #4]
Lloh60:
	adrp	x9, _WCBE_EDITFOCUSED@GOTPAGE
Lloh61:
	ldr	x9, [x9, _WCBE_EDITFOCUSED@GOTPAGEOFF]
	b	LBB0_41
LBB0_29:
	ldr	x10, [x19]
Lloh62:
	adrp	x11, _ODT_COMBOBOX@GOTPAGE
Lloh63:
	ldr	x11, [x11, _ODT_COMBOBOX@GOTPAGEOFF]
Lloh64:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_60
; %bb.30:
	cmp	w8, w9
	b.ne	LBB0_60
; %bb.31:
Lloh65:
	adrp	x8, _comboex@GOTPAGE
Lloh66:
	ldr	x8, [x8, _comboex@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
	bl	_TRACE_ON
	cbz	x0, LBB0_7
; %bb.32:
	ldr	x0, [x20, #72]
	add	x1, sp, #32
	bl	_GetWindowRect
	ldr	x0, [x20, #64]
	add	x1, sp, #80
	bl	_GetWindowRect
	add	x0, sp, #64
	mov	w1, #-1
	mov	w2, #-1
	mov	w3, #-1
	mov	w4, #-1
	bl	_SetRect
	ldr	x0, [x20, #16]
	cbz	x0, LBB0_34
; %bb.33:
	add	x1, sp, #64
	bl	_GetWindowRect
LBB0_34:
	add	x0, sp, #32
	bl	_wine_dbgstr_rect
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x21, w0
	add	x0, sp, #80
	bl	_wine_dbgstr_rect
	mov	x22, x0
	add	x0, sp, #64
	bl	_wine_dbgstr_rect
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp]
Lloh68:
	adrp	x0, l_.str.4@PAGE
Lloh69:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x21
	b	LBB0_6
LBB0_35:
	add	x22, x20, #32
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_9
; %bb.36:
	mov	x0, x22
	bl	_COMBOEX_FreeText
Lloh70:
	adrp	x23, _CBEIF_TEXT@GOTPAGE
Lloh71:
	ldr	x23, [x23, _CBEIF_TEXT@GOTPAGEOFF]
	ldr	w8, [x23]
	ldr	w9, [x20, #32]
	bic	w8, w9, w8
	str	w8, [x20, #32]
	ldr	x0, [x20, #16]
	bl	_GetWindowTextLengthW
	cbz	w0, LBB0_9
; %bb.37:
	mov	x21, x0
	ldr	w8, [x23]
	ldr	w9, [x20, #32]
	orr	w8, w9, w8
	str	w8, [x20, #32]
	add	w23, w0, #1
	lsl	w0, w23, #2
	bl	_Alloc
	str	x0, [x20, #56]
	cbz	x0, LBB0_39
; %bb.38:
	mov	x1, x0
	ldr	x0, [x20, #16]
	mov	x2, x23
	bl	_GetWindowTextW
	ldr	x0, [x20, #56]
LBB0_39:
	ldr	x23, [x20, #16]
	bl	_debugstr_txt
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh72:
	adrp	x0, l_.str.6@PAGE
Lloh73:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x23
	bl	_TRACE
	b	LBB0_9
LBB0_40:
	ldr	w8, [x19, #16]
Lloh74:
	adrp	x9, _ODS_SELECTED@GOTPAGE
Lloh75:
	ldr	x9, [x9, _ODS_SELECTED@GOTPAGEOFF]
LBB0_41:
	ldr	w9, [x9]
Lloh76:
	adrp	x10, _ILD_SELECTED@GOTPAGE
Lloh77:
	ldr	x10, [x10, _ILD_SELECTED@GOTPAGEOFF]
Lloh78:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w26, w24, w10, eq
	ldr	x0, [x20, #24]
Lloh79:
	adrp	x9, _CBES_EX_NOEDITIMAGEINDENT@GOTPAGE
Lloh80:
	ldr	x9, [x9, _CBES_EX_NOEDITIMAGEINDENT@GOTPAGEOFF]
	cbz	x0, LBB0_43
; %bb.42:
	ldr	w8, [x20, #8]
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_44
LBB0_43:
	mov	w24, #0
	b	LBB0_45
LBB0_44:
	str	xzr, [sp, #32]
	add	x2, sp, #32
	mov	w1, #0
	bl	_ImageList_GetImageInfo
	ldp	w9, w8, [sp, #32]
Lloh81:
	adrp	x10, _CBE_SEP@GOTPAGE
Lloh82:
	ldr	x10, [x10, _CBE_SEP@GOTPAGEOFF]
Lloh83:
	ldr	w10, [x10]
	sub	w8, w8, w9
	add	w24, w8, w10
LBB0_45:
	mov	x0, x20
	mov	x1, x22
	bl	_COMBOEX_GetText
Lloh84:
	adrp	x8, _COMBOEX_DrawItem.nil@PAGE
Lloh85:
	add	x8, x8, _COMBOEX_DrawItem.nil@PAGEOFF
	cmp	x0, #0
	csel	x23, x8, x0, eq
	mov	x0, x23
	bl	_strlenW
	mov	x2, x0
	ldr	w0, [x19, #20]
	add	x3, sp, #80
	mov	x1, x23
	str	w2, [sp, #28]                   ; 4-byte Folded Spill
	bl	_GetTextExtentPoint32W
	ldr	w8, [x19, #12]
Lloh86:
	adrp	x9, _ODA_SELECT@GOTPAGE
Lloh87:
	ldr	x9, [x9, _ODA_SELECT@GOTPAGEOFF]
Lloh88:
	ldr	w9, [x9]
Lloh89:
	adrp	x10, _ODA_DRAWENTIRE@GOTPAGE
Lloh90:
	ldr	x10, [x10, _ODA_DRAWENTIRE@GOTPAGEOFF]
Lloh91:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_65
; %bb.46:
	str	w26, [sp, #24]                  ; 4-byte Folded Spill
	ldr	w26, [x22, #16]
Lloh92:
	adrp	x8, _I_IMAGECALLBACK@GOTPAGE
Lloh93:
	ldr	x8, [x8, _I_IMAGECALLBACK@GOTPAGEOFF]
Lloh94:
	ldr	w8, [x8]
	cmp	w25, w8
	b.ne	LBB0_53
; %bb.47:
	add	x0, sp, #32
	mov	w1, #28
	bl	_ZeroMemory
	cmp	w27, w21
Lloh95:
	adrp	x8, _CBEIF_IMAGE@GOTPAGE
Lloh96:
	ldr	x8, [x8, _CBEIF_IMAGE@GOTPAGEOFF]
Lloh97:
	adrp	x9, _CBEIF_SELECTEDIMAGE@GOTPAGE
Lloh98:
	ldr	x9, [x9, _CBEIF_SELECTEDIMAGE@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	ldr	w9, [x22, #20]
	str	w9, [sp, #56]
	ldr	w9, [x19, #8]
	stp	w8, w9, [sp, #32]
Lloh99:
	adrp	x8, _CBEN_GETDISPINFOW@GOTPAGE
Lloh100:
	ldr	x8, [x8, _CBEN_GETDISPINFOW@GOTPAGEOFF]
Lloh101:
	ldr	w1, [x8]
	add	x2, sp, #32
	mov	x0, x20
	bl	_COMBOEX_NotifyItem
	ldr	w8, [sp, #32]
Lloh102:
	adrp	x9, _CBEIF_DI_SETITEM@GOTPAGE
Lloh103:
	ldr	x9, [x9, _CBEIF_DI_SETITEM@GOTPAGEOFF]
Lloh104:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w27, w21
	b.ne	LBB0_50
; %bb.48:
	ldr	w25, [sp, #48]
	cbz	w8, LBB0_52
; %bb.49:
	str	w25, [x22, #12]
	b	LBB0_52
LBB0_50:
	ldr	w25, [sp, #44]
	cbz	w8, LBB0_52
; %bb.51:
	str	w25, [x22, #8]
LBB0_52:
Lloh105:
	adrp	x8, _I_IMAGECALLBACK@GOTPAGE
Lloh106:
	ldr	x8, [x8, _I_IMAGECALLBACK@GOTPAGEOFF]
Lloh107:
	ldr	w8, [x8]
LBB0_53:
	cmp	w26, w8
	b.ne	LBB0_56
; %bb.54:
	add	x0, sp, #32
	mov	w1, #28
	bl	_ZeroMemory
Lloh108:
	adrp	x8, _CBEIF_OVERLAY@GOTPAGE
Lloh109:
	ldr	x8, [x8, _CBEIF_OVERLAY@GOTPAGEOFF]
Lloh110:
	ldr	w8, [x8]
	ldr	w9, [x22, #20]
	str	w9, [sp, #56]
	ldr	w9, [x19, #8]
	stp	w8, w9, [sp, #32]
Lloh111:
	adrp	x8, _CBEN_GETDISPINFOW@GOTPAGE
Lloh112:
	ldr	x8, [x8, _CBEN_GETDISPINFOW@GOTPAGEOFF]
Lloh113:
	ldr	w1, [x8]
	add	x2, sp, #32
	mov	x0, x20
	bl	_COMBOEX_NotifyItem
Lloh114:
	adrp	x8, _CBEIF_DI_SETITEM@GOTPAGE
Lloh115:
	ldr	x8, [x8, _CBEIF_DI_SETITEM@GOTPAGEOFF]
Lloh116:
	ldr	w8, [x8]
	ldr	w9, [sp, #32]
	ldr	w26, [sp, #52]
	tst	w8, w9
	b.eq	LBB0_56
; %bb.55:
	str	w26, [x22, #16]
LBB0_56:
	tbnz	w25, #31, LBB0_63
; %bb.57:
	ldr	w8, [x20, #8]
Lloh117:
	adrp	x9, _CBES_EX_NOEDITIMAGE@GOTPAGE
Lloh118:
	ldr	x9, [x9, _CBES_EX_NOEDITIMAGE@GOTPAGEOFF]
Lloh119:
	ldr	w9, [x9]
Lloh120:
	adrp	x10, _CBES_EX_NOEDITIMAGEINDENT@GOTPAGE
Lloh121:
	ldr	x10, [x10, _CBES_EX_NOEDITIMAGEINDENT@GOTPAGEOFF]
Lloh122:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_63
; %bb.58:
	ldr	x22, [x20, #24]
	cmp	w26, #0
	b.le	LBB0_61
; %bb.59:
	mov	x0, x22
	mov	x1, x26
	mov	w2, #1
	bl	_ImageList_SetOverlayImage
	ldr	x22, [x20, #24]
	ldp	w26, w27, [x19, #20]
	mov	w0, #1
	bl	_INDEXTOOVERLAYMASK
	b	LBB0_62
LBB0_60:
	mov	x0, x21
	bl	_wine_dbgstr_rect
	mov	x1, x0
	ldp	w8, w9, [x19, #12]
	stp	x8, x9, [sp]
Lloh123:
	adrp	x0, l_.str.5@PAGE
Lloh124:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_ERR
	b	LBB0_67
LBB0_61:
	mov	w0, #0
	ldp	w26, w27, [x19, #20]
LBB0_62:
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	orr	w5, w0, w8
	mov	x0, x22
	mov	x1, x25
	mov	x2, x26
	mov	x3, x28
	mov	x4, x27
	bl	_ImageList_Draw
LBB0_63:
	ldr	x0, [x20, #16]
	bl	_IsWindowVisible
	cbnz	x0, LBB0_65
; %bb.64:
Lloh125:
	adrp	x22, _ODS_SELECTED@GOTPAGE
Lloh126:
	ldr	x22, [x22, _ODS_SELECTED@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh127:
	adrp	x21, _comctl32_color@GOTPAGE
Lloh128:
	ldr	x21, [x21, _comctl32_color@GOTPAGEOFF]
	add	x9, x21, #12
	add	x10, x21, #8
	ldp	w11, w0, [x19, #16]
	tst	w8, w11
	csel	x8, x10, x9, eq
	ldr	w1, [x8]
	bl	_SetBkColor
	mov	x20, x0
	ldr	w8, [x22]
	add	x9, x21, #4
	ldp	w10, w0, [x19, #16]
	tst	w8, w10
	csel	x8, x21, x9, eq
	ldr	w1, [x8]
	bl	_SetTextColor
	mov	x22, x0
	ldp	w8, w9, [x19, #24]
	ldp	w10, w11, [sp, #80]
	add	w10, w8, w10
	sub	w10, w9, w10
	cmp	w10, #0
	cinc	w10, w10, lt
	add	w25, w8, w10, asr #1
	add	w2, w8, #1
	add	w26, w24, w28
	add	w3, w11, w26
	sub	w4, w9, #1
	add	x0, sp, #32
	mov	x1, x26
	bl	_SetRect
	ldrsw	x27, [x19, #8]
	add	x0, sp, #32
	bl	_wine_dbgstr_rect
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh129:
	adrp	x0, l_.str.8@PAGE
Lloh130:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x1, x27
	bl	_TRACE
Lloh131:
	adrp	x8, _ETO_OPAQUE@GOTPAGE
Lloh132:
	ldr	x8, [x8, _ETO_OPAQUE@GOTPAGEOFF]
	ldr	w0, [x19, #20]
Lloh133:
	ldr	w8, [x8]
Lloh134:
	adrp	x9, _ETO_CLIPPED@GOTPAGE
Lloh135:
	ldr	x9, [x9, _ETO_CLIPPED@GOTPAGEOFF]
Lloh136:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x4, sp, #32
	mov	x1, x26
	mov	x2, x25
	mov	x5, x23
	ldr	w6, [sp, #28]                   ; 4-byte Folded Reload
	mov	w7, #0
	bl	_ExtTextOutW
	ldr	w0, [x19, #20]
	mov	x1, x20
	bl	_SetBkColor
	ldr	w0, [x19, #20]
	mov	x1, x22
	bl	_SetTextColor
LBB0_65:
	ldr	w8, [x19, #12]
Lloh137:
	adrp	x9, _ODA_FOCUS@GOTPAGE
Lloh138:
	ldr	x9, [x9, _ODA_FOCUS@GOTPAGEOFF]
Lloh139:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_67
; %bb.66:
	ldr	w8, [sp, #84]
	add	w9, w24, w28
	add	w8, w9, w8
	sub	w9, w9, #1
	add	w8, w8, #1
	stp	w9, w8, [sp, #40]
	ldr	d0, [x19, #24]
	str	d0, [sp, #32]
	ldr	w0, [x19, #20]
	add	x1, sp, #32
	bl	_DrawFocusRect
LBB0_67:
	mov	w0, #0
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpAdd	Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh134, Lloh135, Lloh136
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpAdd	Lloh129, Lloh130
	.loh AdrpLdrGot	Lloh127, Lloh128
	.loh AdrpLdrGot	Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh137, Lloh138, Lloh139
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @COMBOEX_DrawItem.nil
_COMBOEX_DrawItem.nil:
	.space	4

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DRAWITEMSTRUCT: CtlType=0x%08x CtlID=0x%08x\n"

l_.str.1:                               ; @.str.1
	.asciz	"itemID=0x%08x itemAction=0x%08x itemState=0x%08x\n"

l_.str.2:                               ; @.str.2
	.asciz	"hWnd=%p hDC=%p (%s) itemData=0x%08lx\n"

	.comm	_ODA_FOCUS,4,2                  ; @ODA_FOCUS
	.comm	_ODS_SELECTED,4,2               ; @ODS_SELECTED
	.comm	_ODA_SELECT,4,2                 ; @ODA_SELECT
	.comm	_ODA_DRAWENTIRE,4,2             ; @ODA_DRAWENTIRE
	.comm	_ODS_FOCUS,4,2                  ; @ODS_FOCUS
l_.str.3:                               ; @.str.3
	.asciz	"drawing item -1 special focus, rect=(%s)\n"

	.comm	_ODT_COMBOBOX,8,3               ; @ODT_COMBOBOX
	.comm	_comboex,4,2                    ; @comboex
l_.str.4:                               ; @.str.4
	.asciz	"window rects ex=(%s), cb=(%s), ed=(%s)\n"

l_.str.5:                               ; @.str.5
	.asciz	"NOT drawing item  -1 special focus, rect=(%s), action=%08x, state=%08x\n"

	.comm	_CBEIF_TEXT,4,2                 ; @CBEIF_TEXT
l_.str.6:                               ; @.str.6
	.asciz	"edit control hwndEdit=%p, text len=%d str=%s\n"

	.comm	_CB_ERR,8,3                     ; @CB_ERR
l_.str.7:                               ; @.str.7
	.asciz	"invalid item for id %d\n"

	.comm	_CBE_STARTOFFSET,4,2            ; @CBE_STARTOFFSET
	.comm	_CBEIF_INDENT,4,2               ; @CBEIF_INDENT
	.comm	_ODS_COMBOEXLBOX,4,2            ; @ODS_COMBOEXLBOX
	.comm	_I_INDENTCALLBACK,4,2           ; @I_INDENTCALLBACK
	.comm	_CBEN_GETDISPINFOW,4,2          ; @CBEN_GETDISPINFOW
	.comm	_CBEIF_DI_SETITEM,4,2           ; @CBEIF_DI_SETITEM
	.comm	_CBE_INDENT,4,2                 ; @CBE_INDENT
	.comm	_ILD_NORMAL,4,2                 ; @ILD_NORMAL
	.comm	_CBEIF_IMAGE,4,2                ; @CBEIF_IMAGE
	.comm	_CBEIF_SELECTEDIMAGE,4,2        ; @CBEIF_SELECTEDIMAGE
	.comm	_ILD_SELECTED,4,2               ; @ILD_SELECTED
	.comm	_WCBE_EDITFOCUSED,4,2           ; @WCBE_EDITFOCUSED
	.comm	_CBES_EX_NOEDITIMAGEINDENT,4,2  ; @CBES_EX_NOEDITIMAGEINDENT
	.comm	_CBE_SEP,4,2                    ; @CBE_SEP
	.comm	_I_IMAGECALLBACK,4,2            ; @I_IMAGECALLBACK
	.comm	_CBEIF_OVERLAY,4,2              ; @CBEIF_OVERLAY
	.comm	_CBES_EX_NOEDITIMAGE,4,2        ; @CBES_EX_NOEDITIMAGE
	.comm	_comctl32_color,16,2            ; @comctl32_color
l_.str.8:                               ; @.str.8
	.asciz	"drawing item %d text, rect=(%s)\n"

	.comm	_ETO_OPAQUE,4,2                 ; @ETO_OPAQUE
	.comm	_ETO_CLIPPED,4,2                ; @ETO_CLIPPED
	.no_dead_strip	_COMBOEX_DrawItem
.subsections_via_symbols
