	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TREEVIEW_SetItemHeight
_TREEVIEW_SetItemHeight:                ## @TREEVIEW_SetItemHeight
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	(%rdi), %r14d
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_TRACE
	cmpl	$-1, %ebx
	je	LBB0_1
## %bb.2:
	testl	%ebx, %ebx
	movl	$1, %eax
	cmovnel	%ebx, %eax
	movq	_TRUE@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	%r15, %rdi
	callq	_TREEVIEW_NaturalHeight
	movq	_FALSE@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	%eax, (%r15)
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r15)
	movq	_TVS_NONEVENHEIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%r15)
	je	LBB0_5
## %bb.4:
	movl	%eax, %ecx
	jmp	LBB0_7
LBB0_5:
	movl	$1, %ecx
	cmpl	$1, %eax
	je	LBB0_7
## %bb.6:
	andl	$-2, %eax
	movl	%eax, (%r15)
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
	movl	(%r15), %ecx
LBB0_7:
	cmpl	%r14d, %ecx
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_TREEVIEW_RecalculateVisibleOrder
	movq	%r15, %rdi
	callq	_TREEVIEW_UpdateScrollBars
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_TREEVIEW_Invalidate
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"new=%d, old=%d\n"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_TVS_NONEVENHEIGHT,4,2          ## @TVS_NONEVENHEIGHT
L_.str.1:                               ## @.str.1
	.asciz	"after rounding=%d\n"

	.no_dead_strip	_TREEVIEW_SetItemHeight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TREEVIEW_SetItemHeight
_TREEVIEW_SetItemHeight:                ; @TREEVIEW_SetItemHeight
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x1
	mov	x20, x0
	ldr	w19, [x0]
	str	x19, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	cmn	w21, #1
	b.eq	LBB0_2
; %bb.1:
	cmp	w21, #0
	csinc	w0, w21, wzr, ne
Lloh2:
	adrp	x8, _TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_TREEVIEW_NaturalHeight
Lloh4:
	adrp	x8, _FALSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_3:
	str	w0, [x20]
	ldr	w8, [x8]
	str	w8, [x20, #8]
	ldr	w8, [x20, #4]
Lloh6:
	adrp	x9, _TVS_NONEVENHEIGHT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TVS_NONEVENHEIGHT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_6
; %bb.4:
	cmp	w0, #1
	b.eq	LBB0_6
; %bb.5:
	and	w1, w0, #0xfffffffe
	str	w1, [x20]
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	ldr	w0, [x20]
LBB0_6:
	cmp	w0, w19
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x20
	mov	x1, #0
	bl	_TREEVIEW_RecalculateVisibleOrder
	mov	x0, x20
	bl	_TREEVIEW_UpdateScrollBars
	mov	x0, x20
	mov	x1, #0
	bl	_TREEVIEW_Invalidate
LBB0_8:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"new=%d, old=%d\n"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_TVS_NONEVENHEIGHT,4,2          ; @TVS_NONEVENHEIGHT
l_.str.1:                               ; @.str.1
	.asciz	"after rounding=%d\n"

	.no_dead_strip	_TREEVIEW_SetItemHeight
.subsections_via_symbols
