	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tree_get_pairs_hostid_result
_tree_get_pairs_hostid_result:          ## @tree_get_pairs_hostid_result
	.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
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.1:
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_HOSTS@GOTPCREL(%rip), %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	movq	_hosts@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	setl	%dil
	callq	_assert
	movq	(%r13), %rax
	movslq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rax
	xorl	%edi, %edi
	cmpq	%rbx, (%rax)
	sete	%dil
	callq	_assert
	movq	(%r13), %rcx
	movslq	(%r14), %rax
	movq	(%rcx,%rax,8), %rcx
	cmpl	$0, 8(%rcx)
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %r14
	testq	%r14, %r14
	je	LBB0_14
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	24(%r14), %rcx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_tree_get_pairs_hostid_result
	movslq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rcx
	shlq	$4, %rcx
	movl	-16(%rcx,%r12), %edx
	incl	%edx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r15), %rcx
	shlq	$4, %rcx
	movl	%eax, (%r12,%rcx)
	movq	16(%r14), %rax
	movslq	(%r15), %rcx
	leal	1(%rcx), %edx
	shlq	$4, %rcx
	movq	%rax, 8(%r12,%rcx)
	movl	%edx, (%r15)
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %ecx
	cmpl	%ecx, %edx
	jge	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%edx, %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=2
	incq	%r12
	movslq	%ecx, %rdx
	cmpq	%rdx, %r12
	jge	LBB0_11
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13), %rdx
	movq	(%rdx,%r12,8), %rdx
	cmpq	%rbx, (%rdx)
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpl	$0, 8(%rdx)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	xorl	%edi, %edi
	movq	_hosts@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	setl	%dil
	callq	_assert
	movslq	(%r15), %rax
	shlq	$4, %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%r12d, (%rdx,%rax)
	movslq	(%r15), %rcx
	leal	1(%rcx), %eax
	shlq	$4, %rcx
	movq	$0, 8(%rdx,%rcx)
	movl	%eax, (%r15)
	movl	(%r14), %ecx
	jmp	LBB0_10
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOSTS,8,3                      ## @HOSTS
	.comm	_hosts,4,2                      ## @hosts
	.no_dead_strip	_tree_get_pairs_hostid_result
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tree_get_pairs_hostid_result
_tree_get_pairs_hostid_result:          ; @tree_get_pairs_hostid_result
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x3, LBB0_14
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x23, _HOSTS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _HOSTS@GOTPAGEOFF]
Lloh2:
	adrp	x24, _hosts@GOTPAGE
Lloh3:
	ldr	x24, [x24, _hosts@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x24]
	cmp	w8, w9
	cset	w0, lt
	bl	_assert
	ldr	x8, [x23]
	ldrsw	x9, [x19]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8]
	cmp	x8, x20
	cset	w0, eq
	bl	_assert
	ldr	x9, [x23]
	ldrsw	x8, [x19]
	ldr	x9, [x9, x8, lsl #3]
	ldr	w9, [x9, #8]
	cbz	w9, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_14
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x3, [x19, #24]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_tree_get_pairs_hostid_result
	ldr	w8, [x21]
	cbz	w8, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w9, w8, #1
	sbfiz	x9, x9, #4, #32
	ldr	w9, [x22, x9]
	add	w10, w9, #1
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x9, [x21]
	lsl	x9, x9, #4
	str	w8, [x22, x9]
	ldr	x8, [x19, #16]
	ldrsw	x9, [x21]
	add	x10, x22, x9, lsl #4
	str	x8, [x10, #8]
	add	w8, w9, #1
	str	w8, [x21]
	ldr	x19, [x19, #8]
	cbnz	x19, LBB0_4
	b	LBB0_14
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w10, #1
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x19]
	cmp	w10, w9
	b.ge	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x25, w10
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x25, x25, #1
	cmp	x25, w9, sxtw
	b.ge	LBB0_2
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x23]
	ldr	x10, [x10, x25, lsl #3]
	ldr	x11, [x10]
	cmp	x11, x20
	b.ne	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w10, [x10, #8]
	cbnz	w10, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w9, [x24]
	cmp	w8, w9
	cset	w0, lt
	bl	_assert
	ldrsw	x8, [x21]
	lsl	x8, x8, #4
	str	w25, [x22, x8]
	ldrsw	x8, [x21]
	add	x9, x22, x8, lsl #4
	str	xzr, [x9, #8]
	add	w8, w8, #1
	str	w8, [x21]
	ldr	w9, [x19]
	b	LBB0_10
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HOSTS,8,3                      ; @HOSTS
	.comm	_hosts,4,2                      ; @hosts
	.no_dead_strip	_tree_get_pairs_hostid_result
.subsections_via_symbols
