	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TREEVIEW_SetImageList
_TREEVIEW_SetImageList:                 ## @TREEVIEW_SetImageList
	.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
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r12
	movl	(%rdi), %r14d
	movl	4(%rdi), %r13d
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	cmpl	$128, %ebx
	je	LBB0_5
## %bb.1:
	cmpl	$129, %ebx
	jne	LBB0_8
## %bb.2:
	movq	48(%r12), %rbx
	movq	%r15, 48(%r12)
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	leaq	4(%r12), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ImageList_GetIconSize
	jmp	LBB0_9
LBB0_5:
	movq	40(%r12), %rbx
	movq	%r15, 40(%r12)
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	leaq	8(%r12), %rsi
	leaq	12(%r12), %rdx
	movq	%r15, %rdi
	callq	_ImageList_GetIconSize
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_ERR
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_4:
	movq	$0, (%r12)
	jmp	LBB0_9
LBB0_7:
	movq	$0, 8(%r12)
LBB0_9:
	movl	(%r12), %ecx
	movl	4(%r12), %edx
	cmpl	%ecx, %r14d
	jne	LBB0_11
## %bb.10:
	cmpl	%edx, %r13d
	je	LBB0_20
LBB0_11:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	%edx, %r13d
	je	LBB0_14
## %bb.12:
	cmpl	$0, 32(%r12)
	jne	LBB0_14
## %bb.13:
	movq	%r12, %rdi
	callq	_TREEVIEW_NaturalHeight
	movl	%eax, 28(%r12)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r12), %ecx
LBB0_14:
	movslq	%ecx, %rcx
	movq	_MINIMUM_INDENT@GOTPCREL(%rip), %rdx
	cmpq	%rcx, (%rdx)
	jge	LBB0_17
## %bb.15:
	cmpq	%rcx, 16(%r12)
	je	LBB0_17
## %bb.16:
	movq	%rcx, 16(%r12)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_17:
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_TREEVIEW_RecalculateVisibleOrder
LBB0_19:
	movl	24(%r12), %esi
	movq	%r12, %rdi
	callq	_TREEVIEW_UpdateSubTree
	movq	%r12, %rdi
	callq	_TREEVIEW_UpdateScrollBars
LBB0_20:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_TREEVIEW_Invalidate
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u,%p\n"

L_.str.1:                               ## @.str.1
	.asciz	"unknown imagelist type %u\n"

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_MINIMUM_INDENT,8,3             ## @MINIMUM_INDENT
	.no_dead_strip	_TREEVIEW_SetImageList
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TREEVIEW_SetImageList
_TREEVIEW_SetImageList:                 ; @TREEVIEW_SetImageList
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w24, [x0]
	mov	x22, x0
	ldr	w23, [x22, #4]!
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	cmp	w20, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w20, #129
	b.ne	LBB0_6
; %bb.2:
	ldr	x20, [x19, #48]
	str	x21, [x19, #48]
	cbz	x21, LBB0_7
; %bb.3:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_ImageList_GetIconSize
	b	LBB0_9
LBB0_4:
	ldr	x20, [x19, #40]
	str	x21, [x19, #40]
	add	x1, x19, #8
	cbz	x21, LBB0_8
; %bb.5:
	add	x2, x19, #12
	mov	x0, x21
	bl	_ImageList_GetIconSize
	b	LBB0_9
LBB0_6:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_ERR
	mov	x20, #0
	b	LBB0_9
LBB0_7:
	str	xzr, [x19]
	b	LBB0_9
LBB0_8:
	str	xzr, [x1]
LBB0_9:
	ldp	w9, w10, [x19]
	cmp	w24, w9
	ccmp	w23, w10, #0, eq
	b.eq	LBB0_19
; %bb.10:
Lloh4:
	adrp	x8, _FALSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	w23, w10
	b.eq	LBB0_13
; %bb.11:
	ldr	w10, [x19, #32]
	cbnz	w10, LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_TREEVIEW_NaturalHeight
	str	w0, [x19, #28]
Lloh7:
	adrp	x8, _TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	w9, [x19]
LBB0_13:
	sxtw	x9, w9
Lloh10:
	adrp	x10, _MINIMUM_INDENT@GOTPAGE
Lloh11:
	ldr	x10, [x10, _MINIMUM_INDENT@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ge	LBB0_16
; %bb.14:
	ldr	x10, [x19, #16]
	cmp	x10, x9
	b.eq	LBB0_16
; %bb.15:
	str	x9, [x19, #16]
Lloh13:
	adrp	x8, _TRUE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
LBB0_16:
	cbz	x8, LBB0_18
; %bb.17:
	mov	x0, x19
	mov	x1, #0
	bl	_TREEVIEW_RecalculateVisibleOrder
LBB0_18:
	ldr	w1, [x19, #24]
	mov	x0, x19
	bl	_TREEVIEW_UpdateSubTree
	mov	x0, x19
	bl	_TREEVIEW_UpdateScrollBars
LBB0_19:
	mov	x0, x19
	mov	x1, #0
	bl	_TREEVIEW_Invalidate
	mov	x0, x20
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u,%p\n"

l_.str.1:                               ; @.str.1
	.asciz	"unknown imagelist type %u\n"

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_MINIMUM_INDENT,8,3             ; @MINIMUM_INDENT
	.no_dead_strip	_TREEVIEW_SetImageList
.subsections_via_symbols
