	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LISTVIEW_ShowFocusRect
_LISTVIEW_ShowFocusRect:                ## @LISTVIEW_ShowFocusRect
	.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	%r12
	pushq	%rbx
	subq	$96, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rdx
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	js	LBB0_15
## %bb.1:
	movq	8(%rbx), %rax
	movq	_LV_VIEW_ICON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	leaq	-120(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_LISTVIEW_GetItemBox
	movq	-120(%rbp), %rax
	subq	-112(%rbp), %rax
	cmpq	16(%rbx), %rax
	jle	LBB0_4
## %bb.3:
	leaq	-120(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_LISTVIEW_InvalidateRect
	jmp	LBB0_15
LBB0_4:
	movl	28(%rbx), %edi
	callq	_GetDC
	testl	%eax, %eax
	je	LBB0_15
## %bb.5:
	movl	%eax, %r14d
	movq	_LVS_OWNERDRAWFIXED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 24(%rbx)
	je	LBB0_13
## %bb.6:
	movq	8(%rbx), %rax
	movq	_LV_VIEW_DETAILS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.7:
	movq	48(%rbx), %rsi
	testq	%rsi, %rsi
	jne	LBB0_9
## %bb.8:
	movq	40(%rbx), %rsi
LBB0_9:
	movl	%r14d, %edi
	callq	_SelectObject
	movq	%rax, %r12
	movq	(%rbx), %rax
	movq	%rax, -56(%rbp)
	movq	$0, -40(%rbp)
	movq	_LVIF_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_LISTVIEW_GetItemW
	testl	%eax, %eax
	je	LBB0_14
## %bb.10:
	leaq	-120(%rbp), %rdi
	movl	$64, %esi
	callq	_ZeroMemory
	movq	_ODT_LISTVIEW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	28(%rbx), %edi
	movq	_GWLP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetWindowLongPtrW
	movq	%rax, -112(%rbp)
	movq	-56(%rbp), %rsi
	movq	%rsi, -120(%rbp)
	movq	_ODA_FOCUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	testq	%r15, %r15
	je	LBB0_12
## %bb.11:
	movq	_ODS_FOCUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -72(%rbp)
LBB0_12:
	movl	28(%rbx), %eax
	movl	%eax, -76(%rbp)
	movl	%r14d, -80(%rbp)
	leaq	-96(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_LISTVIEW_GetItemBox
	movl	-48(%rbp), %eax
	movl	%eax, -104(%rbp)
	movl	32(%rbx), %edi
	movq	_WM_DRAWITEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-112(%rbp), %rdx
	leaq	-120(%rbp), %rcx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_SendMessageW
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_SelectObject
	jmp	LBB0_14
LBB0_13:
	movq	(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_LISTVIEW_InvalidateItem
LBB0_14:
	movl	28(%rbx), %edi
	movl	%r14d, %esi
	callq	_ReleaseDC
LBB0_15:
	addq	$96, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fShow=%d, nItem=%d\n"

	.comm	_LV_VIEW_ICON,8,3               ## @LV_VIEW_ICON
	.comm	_LVS_OWNERDRAWFIXED,4,2         ## @LVS_OWNERDRAWFIXED
	.comm	_LV_VIEW_DETAILS,8,3            ## @LV_VIEW_DETAILS
	.comm	_LVIF_PARAM,4,2                 ## @LVIF_PARAM
	.comm	_ODT_LISTVIEW,4,2               ## @ODT_LISTVIEW
	.comm	_GWLP_ID,4,2                    ## @GWLP_ID
	.comm	_ODA_FOCUS,4,2                  ## @ODA_FOCUS
	.comm	_ODS_FOCUS,4,2                  ## @ODS_FOCUS
	.comm	_WM_DRAWITEM,4,2                ## @WM_DRAWITEM
	.no_dead_strip	_LISTVIEW_ShowFocusRect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LISTVIEW_ShowFocusRect
_LISTVIEW_ShowFocusRect:                ; @LISTVIEW_ShowFocusRect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
	ldr	x2, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	ldr	x1, [x19]
	tbnz	x1, #63, LBB0_15
; %bb.1:
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, _LV_VIEW_ICON@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LV_VIEW_ICON@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	add	x2, sp, #32
	mov	x0, x19
	bl	_LISTVIEW_GetItemBox
	ldp	x8, x9, [sp, #32]
	ldr	x10, [x19, #16]
	sub	x8, x8, x9
	cmp	x8, x10
	b.le	LBB0_4
; %bb.3:
	add	x1, sp, #32
	mov	x0, x19
	bl	_LISTVIEW_InvalidateRect
	b	LBB0_15
LBB0_4:
	ldr	w0, [x19, #28]
	bl	_GetDC
	cbz	w0, LBB0_15
; %bb.5:
	mov	x20, x0
	ldr	w8, [x19, #24]
Lloh5:
	adrp	x9, _LVS_OWNERDRAWFIXED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _LVS_OWNERDRAWFIXED@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.6:
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, _LV_VIEW_DETAILS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LV_VIEW_DETAILS@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.7:
	ldr	x1, [x19, #48]
	cbnz	x1, LBB0_9
; %bb.8:
	ldr	x1, [x19, #40]
LBB0_9:
	mov	x0, x20
	bl	_SelectObject
	mov	x22, x0
	ldr	x8, [x19]
	str	x8, [sp, #8]
	str	xzr, [sp, #24]
Lloh11:
	adrp	x8, _LVIF_PARAM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LVIF_PARAM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [sp, #20]
	add	x1, sp, #8
	mov	x0, x19
	bl	_LISTVIEW_GetItemW
	cbz	w0, LBB0_14
; %bb.10:
	add	x23, sp, #32
	add	x0, sp, #32
	mov	w1, #64
	bl	_ZeroMemory
Lloh14:
	adrp	x8, _ODT_LISTVIEW@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ODT_LISTVIEW@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [sp, #88]
	ldr	w0, [x19, #28]
Lloh17:
	adrp	x8, _GWLP_ID@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GWLP_ID@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_GetWindowLongPtrW
	ldr	x1, [sp, #8]
	stp	x1, x0, [sp, #32]
Lloh20:
	adrp	x8, _ODA_FOCUS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ODA_FOCUS@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [sp, #84]
	cbz	x21, LBB0_12
; %bb.11:
Lloh23:
	adrp	x8, _ODS_FOCUS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ODS_FOCUS@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	w9, [sp, #80]
	orr	w8, w9, w8
	str	w8, [sp, #80]
LBB0_12:
	ldr	w8, [x19, #28]
	stp	w20, w8, [sp, #72]
	add	x2, x23, #24
	mov	x0, x19
	bl	_LISTVIEW_GetItemBox
	ldr	w8, [sp, #16]
	str	w8, [sp, #48]
	ldr	w0, [x19, #32]
Lloh26:
	adrp	x8, _WM_DRAWITEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _WM_DRAWITEM@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	x2, [sp, #40]
	add	x3, sp, #32
	bl	_SendMessageW
	mov	x0, x20
	mov	x1, x22
	bl	_SelectObject
	b	LBB0_14
LBB0_13:
	ldr	x1, [x19]
	mov	x0, x19
	bl	_LISTVIEW_InvalidateItem
LBB0_14:
	ldr	w0, [x19, #28]
	mov	x1, x20
	bl	_ReleaseDC
LBB0_15:
	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
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fShow=%d, nItem=%d\n"

	.comm	_LV_VIEW_ICON,8,3               ; @LV_VIEW_ICON
	.comm	_LVS_OWNERDRAWFIXED,4,2         ; @LVS_OWNERDRAWFIXED
	.comm	_LV_VIEW_DETAILS,8,3            ; @LV_VIEW_DETAILS
	.comm	_LVIF_PARAM,4,2                 ; @LVIF_PARAM
	.comm	_ODT_LISTVIEW,4,2               ; @ODT_LISTVIEW
	.comm	_GWLP_ID,4,2                    ; @GWLP_ID
	.comm	_ODA_FOCUS,4,2                  ; @ODA_FOCUS
	.comm	_ODS_FOCUS,4,2                  ; @ODS_FOCUS
	.comm	_WM_DRAWITEM,4,2                ; @WM_DRAWITEM
	.no_dead_strip	_LISTVIEW_ShowFocusRect
.subsections_via_symbols
