	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_hhindex
_parse_hhindex:                         ## @parse_hhindex
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	callq	_strbuf_init
	leaq	-48(%rbp), %rdi
	callq	_strbuf_init
	leaq	-60(%rbp), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_stream_init
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_next_node
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movl	$-1, %r14d
	leaq	-56(%rbp), %r15
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rbx
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_strbuf_zero
	leaq	-60(%rbp), %rdi
	movq	%r15, %rsi
	callq	_next_node
	movq	%rbx, %r13
	testq	%rax, %rax
	je	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	leaq	-48(%rbp), %rsi
	callq	_get_node_name
	movl	-56(%rbp), %esi
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movl	-48(%rbp), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$-1, %edx
	callq	__strnicmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$-1, %edx
	callq	__strnicmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	$-1, %edx
	callq	__strnicmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_WARN
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	-60(%rbp), %rsi
	callq	_parse_li
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	32(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %rdi
	callq	_lstrcmpW
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, 8(%r13)
	movl	16(%r13), %eax
	movl	%eax, 16(%rbx)
	movl	%r14d, 4(%rbx)
	jmp	LBB0_14
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	decl	%r14d
	jmp	LBB0_13
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r13), %r12
	leal	1(%r12), %esi
	movq	%r13, %rdi
	callq	_item_realloc
	leaq	(%r12,%r12,4), %rdi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	shlq	$3, %rdi
	addq	24(%r13), %rdi
	movq	24(%rbx), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	32(%rbx), %rdi
	callq	_heap_free
	movq	24(%rbx), %rdi
	callq	_heap_free
	movq	%rbx, %rdi
	callq	_heap_free
	jmp	LBB0_13
LBB0_15:
	leaq	-56(%rbp), %rdi
	callq	_strbuf_free
	leaq	-48(%rbp), %rdi
	callq	_strbuf_free
	addq	$40, %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	"%s\n"

L_.str.1:                               ## @.str.1
	.asciz	"li"

L_.str.2:                               ## @.str.2
	.asciz	"ul"

L_.str.3:                               ## @.str.3
	.asciz	"/ul"

L_.str.4:                               ## @.str.4
	.asciz	"Unhandled tag! %s\n"

	.no_dead_strip	_parse_hhindex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_hhindex
_parse_hhindex:                         ; @parse_hhindex
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x0, sp, #8
	bl	_strbuf_init
	mov	x0, sp
	bl	_strbuf_init
	add	x0, sp, #12
	mov	x1, x21
	bl	_stream_init
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_next_node
	cbz	x0, LBB0_15
; %bb.1:
	mov	w27, #-1
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh4:
	adrp	x23, l_.str.2@PAGE
Lloh5:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh6:
	adrp	x24, l_.str.3@PAGE
Lloh7:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh8:
	adrp	x25, l_.str.4@PAGE
Lloh9:
	add	x25, x25, l_.str.4@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w27, w27, #1
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, x20
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	bl	_strbuf_zero
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_next_node
	mov	x20, x26
	cbz	x0, LBB0_15
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	x1, sp
	bl	_get_node_name
	ldr	w1, [sp, #8]
	mov	x0, x21
	bl	_TRACE
	ldr	w0, [sp]
	mov	x1, x22
	mov	w2, #-1
	bl	__strnicmp
	cbz	w0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [sp]
	mov	x1, x23
	mov	w2, #-1
	bl	__strnicmp
	cbz	w0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [sp]
	mov	x1, x24
	mov	w2, #-1
	bl	__strnicmp
	cbz	w0, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [sp]
	mov	x0, x25
	bl	_WARN
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #12
	mov	x0, x19
	bl	_parse_li
	cbz	x0, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, x0
	ldr	x1, [x20, #32]
	cbz	x1, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x26, #32]
	bl	_lstrcmpW
	cbz	x0, LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x26, [x20, #8]
	ldr	w8, [x20, #16]
	str	w8, [x26, #16]
	str	w27, [x26, #4]
	b	LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w27, w27, #1
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsw	x28, [x20]
	add	w1, w28, #1
	mov	x0, x20
	bl	_item_realloc
	ldr	x8, [x20, #24]
	mov	w9, #40
	madd	x0, x28, x9, x8
	ldr	x1, [x26, #24]
	mov	w2, #4
	bl	_memcpy
	ldr	x0, [x26, #32]
	bl	_heap_free
	ldr	x0, [x26, #24]
	bl	_heap_free
	mov	x0, x26
	bl	_heap_free
	b	LBB0_3
LBB0_15:
	add	x0, sp, #8
	bl	_strbuf_free
	mov	x0, sp
	bl	_strbuf_free
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

l_.str.1:                               ; @.str.1
	.asciz	"li"

l_.str.2:                               ; @.str.2
	.asciz	"ul"

l_.str.3:                               ; @.str.3
	.asciz	"/ul"

l_.str.4:                               ; @.str.4
	.asciz	"Unhandled tag! %s\n"

	.no_dead_strip	_parse_hhindex
.subsections_via_symbols
