	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_from_internal_list
_ip_from_internal_list:                 ## @ip_from_internal_list
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_dalias_hash
	movq	%rax, %r13
	movq	_internal_ips@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	(%r14), %r12
	testq	%r12, %r12
	je	LBB0_6
## %bb.1:
	movq	16(%r14), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx,8), %rax
	cmpq	%r13, (%rax)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_make_internal_ip
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_PDEBUG
	movq	%rbx, %rax
	jmp	LBB0_16
LBB0_6:
	movslq	8(%r14), %rax
	leaq	1(%r12), %rcx
	cmpq	%rax, %rcx
	movq	_internal_ips@GOTPCREL(%rip), %r15
	jbe	LBB0_9
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_PDEBUG
	movq	(%r15), %rax
	movq	16(%rax), %rdi
	movl	8(%rax), %eax
	leal	128(,%rax,8), %esi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:
	movq	(%r15), %rcx
	addl	$16, 8(%rcx)
	movq	%rax, 16(%rcx)
	movq	(%rcx), %r12
LBB0_9:
	movq	%r12, %rdi
	callq	_make_internal_ip
	movq	%rax, %r12
	movq	_ip_type_invalid@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_14
## %bb.10:
	movl	$0, -56(%rbp)
	leaq	-56(%rbp), %rdi
	movl	$4, %esi
	callq	_dumpstring
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	%rax, %rbx
	movq	(%r15), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_PDEBUG
	movq	(%r15), %rax
	movq	(%rax), %rcx
	movq	16(%rax), %rax
	movq	%rbx, (%rax,%rcx,8)
	movq	(%r15), %rax
	movq	(%rax), %rcx
	movq	16(%rax), %rax
	movq	(%rax,%rcx,8), %rax
	movq	%r13, (%rax)
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	incq	%rsi
	movq	%r14, %rdi
	callq	_dumpstring
	movq	(%r15), %rdx
	movq	(%rdx), %rcx
	movq	16(%rdx), %rsi
	testq	%rax, %rax
	je	LBB0_12
## %bb.17:
	movq	(%rsi,%rcx,8), %rsi
	movq	%rax, 8(%rsi)
	incq	%rcx
	movq	%rcx, (%rdx)
	jmp	LBB0_15
LBB0_12:
	movq	$0, (%rsi,%rcx,8)
LBB0_13:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_PDEBUG
LBB0_14:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_PDEBUG
	movq	_ip_type_invalid@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_15:
	movq	%r12, %rax
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_internal_ips,8,3               ## @internal_ips
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"got cached ip for %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"realloc\n"

L_.str.2:                               ## @.str.2
	.asciz	"out of mem\n"

	.comm	_ip_type_invalid,8,3            ## @ip_type_invalid
L_.str.3:                               ## @.str.3
	.asciz	"creating new entry %d for ip of %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"return err\n"

	.no_dead_strip	_ip_from_internal_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip_from_internal_list
_ip_from_internal_list:                 ; @ip_from_internal_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x20, x1
	mov	x19, x0
	bl	_dalias_hash
	mov	x21, x0
Lloh0:
	adrp	x24, _internal_ips@GOTPAGE
Lloh1:
	ldr	x24, [x24, _internal_ips@GOTPAGEOFF]
	ldr	x25, [x24]
	ldr	x22, [x25]
	cbz	x22, LBB0_6
; %bb.1:
	mov	x23, #0
	ldr	x26, [x25, #16]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	cmp	x22, x23
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26, x23, lsl #3]
	ldr	x9, [x8]
	cmp	x9, x21
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x8, #8]
	mov	x0, x19
	bl	_strcmp
	cbnz	w0, LBB0_2
; %bb.5:
	mov	x0, x23
	bl	_make_internal_ip
	mov	x20, x0
	str	x19, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_PDEBUG
	mov	x0, x20
	b	LBB0_17
LBB0_6:
	ldrsw	x8, [x25, #8]
	add	x9, x22, #1
Lloh4:
	adrp	x25, _ip_type_invalid@GOTPAGE
Lloh5:
	ldr	x25, [x25, _ip_type_invalid@GOTPAGEOFF]
	cmp	x9, x8
	b.ls	LBB0_9
; %bb.7:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_PDEBUG
	ldr	x8, [x24]
	ldr	x0, [x8, #16]
	ldr	w8, [x8, #8]
	lsl	w8, w8, #3
	add	w1, w8, #128
	bl	_realloc
	cbz	x0, LBB0_14
; %bb.8:
	ldr	x8, [x24]
	ldr	w9, [x8, #8]
	add	w9, w9, #16
	str	w9, [x8, #8]
	str	x0, [x8, #16]
	ldr	x22, [x8]
LBB0_9:
	mov	x0, x22
	bl	_make_internal_ip
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_15
; %bb.10:
	mov	x22, x0
	str	wzr, [sp, #24]
	add	x0, sp, #24
	mov	w1, #4
	bl	_dumpstring
	cbz	x0, LBB0_14
; %bb.11:
	mov	x23, x0
	ldr	x8, [x24]
	ldr	x8, [x8]
	stp	x8, x19, [sp]
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_PDEBUG
	ldr	x8, [x24]
	ldr	x9, [x8, #16]
	ldr	x8, [x8]
	str	x23, [x9, x8, lsl #3]
	ldr	x8, [x24]
	ldr	x9, [x8, #16]
	ldr	x8, [x8]
	ldr	x8, [x9, x8, lsl #3]
	str	x21, [x8]
	add	x1, x20, #1
	mov	x0, x19
	bl	_dumpstring
	ldr	x8, [x24]
	ldr	x9, [x8, #16]
	ldr	x10, [x8]
	cbz	x0, LBB0_13
; %bb.12:
	ldr	x9, [x9, x10, lsl #3]
	str	x0, [x9, #8]
	add	x9, x10, #1
	str	x9, [x8]
	b	LBB0_16
LBB0_13:
	str	xzr, [x9, x10, lsl #3]
LBB0_14:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_PDEBUG
LBB0_15:
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_PDEBUG
	ldr	x22, [x25]
LBB0_16:
	mov	x0, x22
LBB0_17:
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_internal_ips,8,3               ; @internal_ips
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"got cached ip for %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"realloc\n"

l_.str.2:                               ; @.str.2
	.asciz	"out of mem\n"

	.comm	_ip_type_invalid,8,3            ; @ip_type_invalid
l_.str.3:                               ; @.str.3
	.asciz	"creating new entry %d for ip of %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"return err\n"

	.no_dead_strip	_ip_from_internal_list
.subsections_via_symbols
