	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_index_tree
_fill_index_tree:                       ## @fill_index_tree
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	%rsi, %rbx
	xorl	%r13d, %r13d
	leaq	L_.str(%rip), %r15
	leaq	L_.str.1(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rdi
	callq	_debugstr_w
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_TRACE
	cmpq	$0, 16(%rbx)
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_FIXME
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
	jmp	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	-88(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	%r13d, -52(%rbp)
	incl	%r13d
	movq	_LVIF_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_LVIF_TEXT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_LVIF_INDENT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -88(%rbp)
	movl	24(%rbx), %eax
	movl	%eax, -56(%rbp)
	movq	16(%rbx), %rdi
	callq	_lstrlenW
	incq	%rax
	movq	%rax, -64(%rbp)
	movq	16(%rbx), %rax
	movq	%rax, -72(%rbp)
	movq	%rbx, -80(%rbp)
	movq	_LVM_INSERTITEMW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_SendMessageW
	movq	%rax, 8(%rbx)
	jmp	LBB0_4
LBB0_5:
	addq	$56, %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	"tree debug: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"HTML Help index item has no keyword.\n"

	.comm	_LVIF_TEXT,4,2                  ## @LVIF_TEXT
	.comm	_LVIF_PARAM,4,2                 ## @LVIF_PARAM
	.comm	_LVIF_INDENT,4,2                ## @LVIF_INDENT
	.comm	_LVM_INSERTITEMW,4,2            ## @LVM_INSERTITEMW
	.no_dead_strip	_fill_index_tree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_index_tree
_fill_index_tree:                       ; @fill_index_tree
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	cbz	x1, LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w27, #0
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x23, _LVIF_TEXT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _LVIF_TEXT@GOTPAGEOFF]
Lloh4:
	adrp	x24, _LVIF_PARAM@GOTPAGE
Lloh5:
	ldr	x24, [x24, _LVIF_PARAM@GOTPAGEOFF]
Lloh6:
	adrp	x25, _LVIF_INDENT@GOTPAGE
Lloh7:
	ldr	x25, [x25, _LVIF_INDENT@GOTPAGEOFF]
Lloh8:
	adrp	x26, _LVM_INSERTITEMW@GOTPAGE
Lloh9:
	ldr	x26, [x26, _LVM_INSERTITEMW@GOTPAGEOFF]
Lloh10:
	adrp	x22, l_.str.1@PAGE
Lloh11:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #16]
	bl	_debugstr_w
	mov	x1, x0
	mov	x0, x21
	bl	_TRACE
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_FIXME
	ldr	x19, [x19]
	cbnz	x19, LBB0_2
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	add	w28, w27, #1
	str	w27, [sp, #44]
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w8, w9, w8
	ldr	w9, [x25]
	orr	w8, w8, w9
	ldr	w9, [x19, #24]
	str	w8, [sp, #8]
	str	w9, [sp, #40]
	ldr	x0, [x19, #16]
	bl	_lstrlenW
	add	x8, x0, #1
	str	x8, [sp, #32]
	ldr	x8, [x19, #16]
	stp	x19, x8, [sp, #16]
	ldr	w1, [x26]
	add	x3, sp, #8
	mov	x0, x20
	mov	w2, #0
	bl	_SendMessageW
	str	x0, [x19, #8]
	ldr	x19, [x19]
	mov	x27, x28
	cbnz	x19, LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tree debug: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"HTML Help index item has no keyword.\n"

	.comm	_LVIF_TEXT,4,2                  ; @LVIF_TEXT
	.comm	_LVIF_PARAM,4,2                 ; @LVIF_PARAM
	.comm	_LVIF_INDENT,4,2                ; @LVIF_INDENT
	.comm	_LVM_INSERTITEMW,4,2            ; @LVM_INSERTITEMW
	.no_dead_strip	_fill_index_tree
.subsections_via_symbols
