	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LISTBOX_Paint
_LISTBOX_Paint:                         ## @LISTBOX_Paint
	.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	(%rdi), %r12
	pxor	%xmm0, %xmm0
	movdqa	%xmm0, -128(%rbp)
	movdqa	%xmm0, -144(%rbp)
	pcmpeqd	%xmm0, %xmm0
	movdqa	%xmm0, -160(%rbp)
	movq	_LBS_NOREDRAW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rdi)
	jne	LBB0_45
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	16(%rdi), %r8
	movq	56(%rdi), %rcx
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_SetRect
	movq	_LBS_MULTICOLUMN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r13)
	je	LBB0_3
## %bb.2:
	movq	80(%r13), %rax
	addq	-48(%rbp), %rax
	movq	%rax, -56(%rbp)
	jmp	LBB0_5
LBB0_3:
	movq	120(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SetWindowOrgEx
	movq	120(%r13), %rax
	addq	%rax, -56(%rbp)
LBB0_5:
	movq	112(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.7:
	movq	%r14, %rdi
	callq	_SelectObject
	movq	%rax, %r15
	jmp	LBB0_8
LBB0_6:
	xorl	%r15d, %r15d
LBB0_8:
	movl	96(%r13), %ecx
	movl	104(%r13), %edi
	movq	_WM_CTLCOLORLISTBOX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	callq	_SendMessageW
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_SelectObject
	jmp	LBB0_11
LBB0_9:
	xorl	%eax, %eax
LBB0_11:
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	96(%r13), %rdi
	callq	_IsWindowEnabled
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movq	_COLOR_GRAYTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSysColor
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_SetTextColor
LBB0_13:
	movq	24(%r13), %rax
	testq	%rax, %rax
	je	LBB0_14
LBB0_18:
	movq	48(%r13), %rbx
	cmpq	%rax, %rbx
	jae	LBB0_36
## %bb.19:
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movq	%r14, %r15
	leaq	40(%r13), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	(,%rbx,8), %r14
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_20 Depth=1
	cmpq	16(%r13), %rax
	jge	LBB0_32
LBB0_31:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%rbx
	addq	$8, %r14
	cmpq	24(%r13), %rbx
	jae	LBB0_32
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	_LBS_OWNERDRAWVARIABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-112(%rbp), %rax                ## 8-byte Reload
	testl	%ecx, 8(%r13)
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	88(%r13), %rax
	addq	%r14, %rax
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	-64(%rbp), %rcx
	addq	(%rax), %rcx
	movq	%rcx, -72(%rbp)
	movslq	32(%r13), %rax
	cmpq	%rax, %rbx
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	movdqu	-88(%rbp), %xmm0
	movq	-72(%rbp), %rax
	movq	-64(%rbp), %rcx
	movdqu	-56(%rbp), %xmm1
	movdqa	%xmm1, -128(%rbp)
	movq	%rax, -144(%rbp)
	movq	%rcx, -136(%rbp)
	movdqa	%xmm0, -160(%rbp)
LBB0_24:                                ##   in Loop: Header=BB0_20 Depth=1
	decq	%r12
	movq	_ODA_DRAWENTIRE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, %rdi
	movq	%r15, %rsi
	leaq	-88(%rbp), %rdx
	movq	%rbx, %rcx
	callq	_LISTBOX_PaintItem
	movq	-72(%rbp), %rax
	movq	%rax, -64(%rbp)
	movq	_LBS_MULTICOLUMN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%r13)
	je	LBB0_30
## %bb.25:                              ##   in Loop: Header=BB0_20 Depth=1
	testq	%r12, %r12
	jne	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%r13, %rdi
	callq	_IS_OWNERDRAW
	testl	%eax, %eax
	jne	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	16(%r13), %rax
	cmpq	%rax, -64(%rbp)
	jge	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%rax, -72(%rbp)
	movq	_ETO_CLIPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ETO_OPAQUE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	leaq	-88(%rbp), %r8
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_ExtTextOutW
	addq	$16, %rsp
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_20 Depth=1
	movdqu	-56(%rbp), %xmm0
	movq	80(%r13), %xmm1                 ## xmm1 = mem[0],zero
	pshufd	$68, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,0,1]
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, -56(%rbp)
	movq	$0, -64(%rbp)
	movq	(%r13), %r12
	jmp	LBB0_31
LBB0_14:
	cmpl	$-1, 32(%r13)
	je	LBB0_36
## %bb.15:
	cmpq	$0, 72(%r13)
	je	LBB0_36
## %bb.16:
	cmpq	$0, 64(%r13)
	je	LBB0_36
## %bb.17:
	movq	40(%r13), %rax
	addq	-64(%rbp), %rax
	movq	%rax, -72(%rbp)
	movq	_ETO_OPAQUE@GOTPCREL(%rip), %rax
	movq	_ETO_CLIPPED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	-88(%rbp), %rbx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%rbx, %r8
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_ExtTextOutW
	addq	$16, %rsp
	movslq	32(%r13), %rcx
	movq	_ODA_FOCUS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_LISTBOX_PaintItem
	movq	-72(%rbp), %rax
	movq	%rax, -64(%rbp)
	movq	24(%r13), %rax
	jmp	LBB0_18
LBB0_32:
	movq	-136(%rbp), %rax
	cmpq	-144(%rbp), %rax
	movq	%r15, %r14
	movq	-104(%rbp), %r15                ## 8-byte Reload
	je	LBB0_36
## %bb.33:
	cmpq	$0, 72(%r13)
	je	LBB0_36
## %bb.34:
	cmpq	$0, 64(%r13)
	je	LBB0_36
## %bb.35:
	movslq	32(%r13), %rcx
	movq	_ODA_FOCUS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-160(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_LISTBOX_PaintItem
LBB0_36:
	movq	%r13, %rdi
	callq	_IS_OWNERDRAW
	testl	%eax, %eax
	jne	LBB0_41
## %bb.37:
	movq	16(%r13), %rax
	cmpq	%rax, -64(%rbp)
	jge	LBB0_39
## %bb.38:
	movq	%rax, -72(%rbp)
	movq	_ETO_OPAQUE@GOTPCREL(%rip), %rax
	movq	_ETO_CLIPPED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	-88(%rbp), %r8
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_ExtTextOutW
	addq	$16, %rsp
LBB0_39:
	movq	-56(%rbp), %rax
	movq	56(%r13), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_41
## %bb.40:
	movq	%rax, -48(%rbp)
	movq	%rcx, -56(%rbp)
	movq	$0, -64(%rbp)
	movq	16(%r13), %rax
	movq	%rax, -72(%rbp)
	movq	_ETO_OPAQUE@GOTPCREL(%rip), %rax
	movq	_ETO_CLIPPED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	-88(%rbp), %r8
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_ExtTextOutW
	addq	$16, %rsp
LBB0_41:
	testq	%r15, %r15
	je	LBB0_43
## %bb.42:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_SelectObject
LBB0_43:
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_45
## %bb.44:
	movq	%r14, %rdi
	callq	_SelectObject
LBB0_45:
	xorl	%eax, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LBS_NOREDRAW,4,2               ## @LBS_NOREDRAW
	.comm	_LBS_MULTICOLUMN,4,2            ## @LBS_MULTICOLUMN
	.comm	_WM_CTLCOLORLISTBOX,4,2         ## @WM_CTLCOLORLISTBOX
	.comm	_COLOR_GRAYTEXT,4,2             ## @COLOR_GRAYTEXT
	.comm	_ETO_OPAQUE,4,2                 ## @ETO_OPAQUE
	.comm	_ETO_CLIPPED,4,2                ## @ETO_CLIPPED
	.comm	_ODA_FOCUS,4,2                  ## @ODA_FOCUS
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_LBS_OWNERDRAWVARIABLE,4,2      ## @LBS_OWNERDRAWVARIABLE
	.comm	_ODA_DRAWENTIRE,4,2             ## @ODA_DRAWENTIRE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_LISTBOX_Paint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LISTBOX_Paint
_LISTBOX_Paint:                         ; @LISTBOX_Paint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	ldr	x25, [x0]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #32]
	mov	x8, #-1
	stp	x8, x8, [sp, #16]
	ldr	w8, [x0, #8]
Lloh0:
	adrp	x9, _LBS_NOREDRAW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LBS_NOREDRAW@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_45
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x3, [x0, #56]
	ldr	x4, [x0, #16]
	add	x0, sp, #64
	mov	w1, #0
	mov	w2, #0
	bl	_SetRect
	ldr	w8, [x20, #8]
Lloh3:
	adrp	x24, _LBS_MULTICOLUMN@GOTPAGE
Lloh4:
	ldr	x24, [x24, _LBS_MULTICOLUMN@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [sp, #104]
	ldr	x9, [x20, #80]
	b	LBB0_5
LBB0_3:
	ldr	x1, [x20, #120]
	cbz	x1, LBB0_6
; %bb.4:
	mov	x0, x19
	mov	w2, #0
	mov	x3, #0
	bl	_SetWindowOrgEx
	ldr	x8, [x20, #120]
	ldr	x9, [sp, #96]
LBB0_5:
	add	x8, x9, x8
	str	x8, [sp, #96]
LBB0_6:
	ldr	x1, [x20, #112]
	cbz	x1, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_SelectObject
	mov	x21, x0
	b	LBB0_9
LBB0_8:
	mov	x21, #0
LBB0_9:
	ldr	w0, [x20, #104]
Lloh5:
	adrp	x8, _WM_CTLCOLORLISTBOX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WM_CTLCOLORLISTBOX@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w3, [x20, #96]
	mov	x2, x19
	bl	_SendMessageW
	cbz	x0, LBB0_11
; %bb.10:
	mov	x1, x0
	mov	x0, x19
	bl	_SelectObject
	mov	x22, x0
	b	LBB0_12
LBB0_11:
	mov	x22, #0
LBB0_12:
	ldr	x0, [x20, #96]
	bl	_IsWindowEnabled
	cbz	w0, LBB0_14
; %bb.13:
	ldr	x8, [x20, #24]
	cbnz	x8, LBB0_19
	b	LBB0_15
LBB0_14:
Lloh8:
	adrp	x8, _COLOR_GRAYTEXT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _COLOR_GRAYTEXT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_GetSysColor
	mov	x1, x0
	mov	x0, x19
	bl	_SetTextColor
	ldr	x8, [x20, #24]
	cbnz	x8, LBB0_19
LBB0_15:
	ldr	w8, [x20, #32]
	cmn	w8, #1
	b.eq	LBB0_36
; %bb.16:
	ldr	x8, [x20, #72]
	cbz	x8, LBB0_36
; %bb.17:
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_36
; %bb.18:
	ldr	x8, [sp, #88]
	ldr	x9, [x20, #40]
	add	x8, x9, x8
Lloh11:
	adrp	x9, _ETO_OPAQUE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ETO_OPAQUE@GOTPAGEOFF]
	str	x8, [sp, #80]
Lloh13:
	ldr	w8, [x9]
Lloh14:
	adrp	x9, _ETO_CLIPPED@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ETO_CLIPPED@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x4, sp, #64
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	x5, #0
	mov	w6, #0
	mov	x7, #0
	bl	_ExtTextOutW
	ldrsw	x3, [x20, #32]
Lloh17:
	adrp	x8, _ODA_FOCUS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ODA_FOCUS@GOTPAGEOFF]
Lloh19:
	ldr	w4, [x8]
Lloh20:
	adrp	x8, _FALSE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh22:
	ldr	w5, [x8]
	add	x2, sp, #64
	mov	x0, x20
	mov	x1, x19
	bl	_LISTBOX_PaintItem
	ldr	x8, [sp, #80]
	str	x8, [sp, #88]
	ldr	x8, [x20, #24]
LBB0_19:
	ldr	x23, [x20, #48]
	cmp	x23, x8
	b.hs	LBB0_36
; %bb.20:
	stp	x22, x21, [sp]                  ; 16-byte Folded Spill
	add	x26, x20, #40
	lsl	x27, x23, #3
Lloh23:
	adrp	x28, _LBS_OWNERDRAWVARIABLE@GOTPAGE
Lloh24:
	ldr	x28, [x28, _LBS_OWNERDRAWVARIABLE@GOTPAGEOFF]
Lloh25:
	adrp	x21, _ODA_DRAWENTIRE@GOTPAGE
Lloh26:
	ldr	x21, [x21, _ODA_DRAWENTIRE@GOTPAGEOFF]
Lloh27:
	adrp	x22, _TRUE@GOTPAGE
Lloh28:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	x9, [x20, #16]
	cmp	x8, x9
	b.ge	LBB0_32
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	add	x23, x23, #1
	ldr	x8, [x20, #24]
	add	x27, x27, #8
	cmp	x23, x8
	b.hs	LBB0_32
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x20, #8]
	ldr	w10, [x28]
	mov	x8, x26
	tst	w10, w9
	b.eq	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	x8, [x20, #88]
	add	x8, x8, x27
LBB0_25:                                ;   in Loop: Header=BB0_23 Depth=1
	sub	x25, x25, #1
	ldr	x9, [sp, #88]
	ldr	x8, [x8]
	add	x8, x8, x9
	str	x8, [sp, #80]
	ldrsw	x8, [x20, #32]
	cmp	x23, x8
	b.ne	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_23 Depth=1
	ldp	q0, q1, [sp, #64]
	stp	q0, q1, [sp, #16]
	ldr	q0, [sp, #96]
	str	q0, [sp, #48]
LBB0_27:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	w4, [x21]
	ldr	w5, [x22]
	add	x2, sp, #64
	mov	x0, x20
	mov	x1, x19
	mov	x3, x23
	bl	_LISTBOX_PaintItem
	ldr	x8, [sp, #80]
	str	x8, [sp, #88]
	ldr	w9, [x20, #8]
	ldr	w10, [x24]
	and	w9, w10, w9
	cmp	w9, #0
	ccmp	x25, #0, #0, ne
	b.ne	LBB0_21
; %bb.28:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x20
	bl	_IS_OWNERDRAW
	cbnz	w0, LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	x9, [sp, #88]
	ldr	x8, [x20, #16]
	cmp	x9, x8
	b.ge	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_23 Depth=1
	str	x8, [sp, #80]
Lloh29:
	adrp	x8, _ETO_OPAQUE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ETO_OPAQUE@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _ETO_CLIPPED@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ETO_CLIPPED@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x4, sp, #64
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	x5, #0
	mov	w6, #0
	mov	x7, #0
	bl	_ExtTextOutW
LBB0_31:                                ;   in Loop: Header=BB0_23 Depth=1
	add	x8, x20, #80
	ldr	q0, [sp, #96]
	ld1r.2d	{ v1 }, [x8]
	add.2d	v0, v0, v1
	str	q0, [sp, #96]
	str	xzr, [sp, #88]
	ldr	x25, [x20]
	b	LBB0_22
LBB0_32:
	ldp	x9, x8, [sp, #32]
	cmp	x8, x9
	ldp	x22, x21, [sp]                  ; 16-byte Folded Reload
	b.eq	LBB0_36
; %bb.33:
	ldr	x8, [x20, #72]
	cbz	x8, LBB0_36
; %bb.34:
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_36
; %bb.35:
	ldrsw	x3, [x20, #32]
Lloh35:
	adrp	x8, _ODA_FOCUS@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ODA_FOCUS@GOTPAGEOFF]
Lloh37:
	ldr	w4, [x8]
Lloh38:
	adrp	x8, _FALSE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh40:
	ldr	w5, [x8]
	add	x2, sp, #16
	mov	x0, x20
	mov	x1, x19
	bl	_LISTBOX_PaintItem
LBB0_36:
	mov	x0, x20
	bl	_IS_OWNERDRAW
	cbnz	w0, LBB0_41
; %bb.37:
	ldr	x9, [sp, #88]
	ldr	x8, [x20, #16]
	cmp	x9, x8
	b.ge	LBB0_39
; %bb.38:
Lloh41:
	adrp	x9, _ETO_OPAQUE@GOTPAGE
Lloh42:
	ldr	x9, [x9, _ETO_OPAQUE@GOTPAGEOFF]
	str	x8, [sp, #80]
Lloh43:
	ldr	w8, [x9]
Lloh44:
	adrp	x9, _ETO_CLIPPED@GOTPAGE
Lloh45:
	ldr	x9, [x9, _ETO_CLIPPED@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x4, sp, #64
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	x5, #0
	mov	w6, #0
	mov	x7, #0
	bl	_ExtTextOutW
LBB0_39:
	ldr	x8, [sp, #96]
	ldr	x9, [x20, #56]
	cmp	x8, x9
	b.ge	LBB0_41
; %bb.40:
	stp	x9, x8, [sp, #96]
	ldr	x8, [x20, #16]
Lloh47:
	adrp	x9, _ETO_OPAQUE@GOTPAGE
Lloh48:
	ldr	x9, [x9, _ETO_OPAQUE@GOTPAGEOFF]
	stp	x8, xzr, [sp, #80]
Lloh49:
	ldr	w8, [x9]
Lloh50:
	adrp	x9, _ETO_CLIPPED@GOTPAGE
Lloh51:
	ldr	x9, [x9, _ETO_CLIPPED@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x4, sp, #64
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	x5, #0
	mov	w6, #0
	mov	x7, #0
	bl	_ExtTextOutW
LBB0_41:
	cbz	x21, LBB0_43
; %bb.42:
	mov	x0, x19
	mov	x1, x21
	bl	_SelectObject
LBB0_43:
	cbz	x22, LBB0_45
; %bb.44:
	mov	x0, x19
	mov	x1, x22
	bl	_SelectObject
LBB0_45:
	mov	w0, #0
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_LBS_NOREDRAW,4,2               ; @LBS_NOREDRAW
	.comm	_LBS_MULTICOLUMN,4,2            ; @LBS_MULTICOLUMN
	.comm	_WM_CTLCOLORLISTBOX,4,2         ; @WM_CTLCOLORLISTBOX
	.comm	_COLOR_GRAYTEXT,4,2             ; @COLOR_GRAYTEXT
	.comm	_ETO_OPAQUE,4,2                 ; @ETO_OPAQUE
	.comm	_ETO_CLIPPED,4,2                ; @ETO_CLIPPED
	.comm	_ODA_FOCUS,4,2                  ; @ODA_FOCUS
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_LBS_OWNERDRAWVARIABLE,4,2      ; @LBS_OWNERDRAWVARIABLE
	.comm	_ODA_DRAWENTIRE,4,2             ; @ODA_DRAWENTIRE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_LISTBOX_Paint
.subsections_via_symbols
