	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepaint_setup
_prepaint_setup:                        ## @prepaint_setup
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movq	_LVS_EX_FULLROWSELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_8
LBB0_2:
	movq	_CDIS_SELECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%rdx)
	je	LBB0_8
## %bb.3:
	cmpq	$0, 8(%rdi)
	je	LBB0_5
## %bb.4:
	movq	_comctl32_color@GOTPCREL(%rip), %rax
	leaq	8(%rax), %rcx
	jmp	LBB0_7
LBB0_5:
	movq	_LVS_SHOWSELALWAYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rdi)
	je	LBB0_8
## %bb.6:
	movq	_comctl32_color@GOTPCREL(%rip), %rax
	leaq	24(%rax), %rcx
	addq	$16, %rax
LBB0_7:
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movq	(%rcx), %rax
	movq	%rax, 8(%rdx)
LBB0_8:
	movq	(%rdx), %rbx
	movq	_CLR_DEFAULT@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_comctl32_color@GOTPCREL(%rip), %rax
	cmpq	%r12, %rbx
	jne	LBB0_10
## %bb.9:
	movq	32(%rax), %rbx
LBB0_10:
	movq	8(%rdx), %r13
	movq	40(%rax), %r15
	movq	_CLR_NONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_11
## %bb.12:
	movq	_TRANSPARENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_SetBkMode
	jmp	LBB0_13
LBB0_11:
	movq	_OPAQUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_SetBkMode
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_SetBkColor
LBB0_13:
	cmpq	%r12, %r13
	cmovneq	%r13, %r15
	movl	%r14d, %edi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SetTextColor                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LVS_EX_FULLROWSELECT,4,2       ## @LVS_EX_FULLROWSELECT
	.comm	_CDIS_SELECTED,4,2              ## @CDIS_SELECTED
	.comm	_comctl32_color,48,3            ## @comctl32_color
	.comm	_LVS_SHOWSELALWAYS,4,2          ## @LVS_SHOWSELALWAYS
	.comm	_CLR_DEFAULT,8,3                ## @CLR_DEFAULT
	.comm	_CLR_NONE,8,3                   ## @CLR_NONE
	.comm	_OPAQUE,4,2                     ## @OPAQUE
	.comm	_TRANSPARENT,4,2                ## @TRANSPARENT
	.no_dead_strip	_prepaint_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepaint_setup
_prepaint_setup:                        ; @prepaint_setup
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
Lloh0:
	adrp	x8, _comctl32_color@GOTPAGE
Lloh1:
	ldr	x8, [x8, _comctl32_color@GOTPAGEOFF]
	cbz	w3, LBB0_2
; %bb.1:
	ldr	w9, [x0]
Lloh2:
	adrp	x10, _LVS_EX_FULLROWSELECT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _LVS_EX_FULLROWSELECT@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
LBB0_2:
	ldr	w9, [x2, #16]
Lloh5:
	adrp	x10, _CDIS_SELECTED@GOTPAGE
Lloh6:
	ldr	x10, [x10, _CDIS_SELECTED@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.3:
	ldr	x9, [x0, #8]
	cbz	x9, LBB0_5
; %bb.4:
	add	x9, x8, #8
	mov	x10, x8
	b	LBB0_7
LBB0_5:
	ldr	w9, [x0, #4]
Lloh8:
	adrp	x10, _LVS_SHOWSELALWAYS@GOTPAGE
Lloh9:
	ldr	x10, [x10, _LVS_SHOWSELALWAYS@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.6:
	add	x9, x8, #24
	add	x10, x8, #16
LBB0_7:
	ldr	x10, [x10]
	str	x10, [x2]
	ldr	x9, [x9]
	str	x9, [x2, #8]
LBB0_8:
	ldp	x9, x21, [x2]
Lloh11:
	adrp	x10, _CLR_DEFAULT@GOTPAGE
Lloh12:
	ldr	x10, [x10, _CLR_DEFAULT@GOTPAGEOFF]
Lloh13:
	ldr	x22, [x10]
	ldp	x10, x23, [x8, #32]
	cmp	x9, x22
	csel	x20, x10, x9, eq
Lloh14:
	adrp	x8, _CLR_NONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CLR_NONE@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_10
; %bb.9:
Lloh17:
	adrp	x8, _TRANSPARENT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRANSPARENT@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SetBkMode
	b	LBB0_11
LBB0_10:
Lloh20:
	adrp	x8, _OPAQUE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _OPAQUE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SetBkMode
	mov	x0, x19
	mov	x1, x20
	bl	_SetBkColor
LBB0_11:
	cmp	x21, x22
	csel	x1, x23, x21, eq
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_SetTextColor
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_LVS_EX_FULLROWSELECT,4,2       ; @LVS_EX_FULLROWSELECT
	.comm	_CDIS_SELECTED,4,2              ; @CDIS_SELECTED
	.comm	_comctl32_color,48,3            ; @comctl32_color
	.comm	_LVS_SHOWSELALWAYS,4,2          ; @LVS_SHOWSELALWAYS
	.comm	_CLR_DEFAULT,8,3                ; @CLR_DEFAULT
	.comm	_CLR_NONE,8,3                   ; @CLR_NONE
	.comm	_OPAQUE,4,2                     ; @OPAQUE
	.comm	_TRANSPARENT,4,2                ; @TRANSPARENT
	.no_dead_strip	_prepaint_setup
.subsections_via_symbols
