	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lookup
_lookup:                                ## @lookup
	.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	$1080, %rsp                     ## imm = 0x438
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_strlen
	movq	%rax, %rbx
	movq	%rax, -1088(%rbp)
	leaq	(,%rax,4), %rdi
	callq	_malloc
	movq	%rax, %r15
	leaq	(%rbx,%rbx), %r14
	movq	%r14, -1080(%rbp)
	leaq	(,%rbx,8), %rdi
	callq	_malloc
	movq	%rax, %r13
	testq	%r15, %r15
	jne	LBB0_3
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_3:
	testq	%r13, %r13
	jne	LBB0_6
## %bb.4:
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_6:
	leaq	-1088(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_wind_utf8ucs4
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_8:
	movq	-1088(%rbp), %rsi
	movq	_WIND_PROFILE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-1080(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_wind_stringprep
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_10:
	movq	%r12, -1120(%rbp)               ## 8-byte Spill
	movq	%r15, %rdi
	callq	_free
	movq	-1080(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	leaq	-1072(%rbp), %rbx
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-1112(%rbp), %rax
	leaq	(%rbx,%rax), %rcx
	incq	%rcx
	movb	$46, (%rbx,%rax)
	incl	%r12d
	movq	-1080(%rbp), %rax
	movq	%r12, %r14
	movl	%r12d, %r15d
	movq	%rcx, %rbx
	cmpq	%r12, %rax
	jbe	LBB0_20
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
	movl	%r15d, %ecx
	movl	%r15d, %r12d
	cmpq	%rcx, %rax
	jbe	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rcx, %r12
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r13,%r12,4), %edi
	callq	_is_separator
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	incl	%r12d
	cmpq	%r12, -1080(%rbp)
	ja	LBB0_15
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=1
	leaq	-48(%rbp), %rax
	subq	%rbx, %rax
	movq	%rax, -1112(%rbp)
	leaq	(,%r14,4), %rdi
	addq	%r13, %rdi
	movl	%r12d, %esi
	subl	%r15d, %esi
	movq	%rbx, %rdx
	leaq	-1112(%rbp), %rcx
	callq	_wind_punycode_label_toascii
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	$1, %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_19
LBB0_11:
	leaq	-1072(%rbp), %rcx
LBB0_20:
	movb	$0, (%rcx)
	movq	%r13, %rdi
	callq	_free
	leaq	L_.str.4(%rip), %rdi
	leaq	-1072(%rbp), %r15
	movq	-1120(%rbp), %rsi               ## 8-byte Reload
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_printf
	leaq	-1112(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_AI_CANONNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -1104(%rbp)
	leaq	-1096(%rbp), %rcx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_getaddrinfo
	testl	%eax, %eax
	je	LBB0_22
## %bb.21:
	movl	%eax, %edi
	callq	_gai_strerror
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errx
LBB0_22:
	movq	-1096(%rbp), %rax
	movq	(%rax), %rsi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	-1096(%rbp), %rdi
	callq	_freeaddrinfo
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	addq	$1080, %rsp                     ## imm = 0x438
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc failed"

L_.str.1:                               ## @.str.1
	.asciz	"utf8 conversion failed"

	.comm	_WIND_PROFILE_NAME,4,2          ## @WIND_PROFILE_NAME
L_.str.2:                               ## @.str.2
	.asciz	"stringprep failed"

L_.str.3:                               ## @.str.3
	.asciz	"punycode failed"

L_.str.4:                               ## @.str.4
	.asciz	"Converted \"%s\" into \"%s\"\n"

	.comm	_AI_CANONNAME,4,2               ## @AI_CANONNAME
L_.str.5:                               ## @.str.5
	.asciz	"getaddrinfo failed: %s"

L_.str.6:                               ## @.str.6
	.asciz	"canonical-name: %s\n"

	.no_dead_strip	_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lookup
_lookup:                                ; @lookup
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #1088
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	bl	_strlen
	mov	x22, x0
	str	x0, [sp, #16]
	lsl	x0, x0, #2
	bl	_malloc
	mov	x21, x0
	lsl	x23, x22, #1
	str	x23, [sp, #8]
	lsl	x0, x22, #3
	bl	_malloc
	mov	x20, x0
	cbnz	x21, LBB0_3
; %bb.1:
	cbz	x22, LBB0_3
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_3:
	cbnz	x20, LBB0_6
; %bb.4:
	cbz	x23, LBB0_6
; %bb.5:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_6:
	add	x2, sp, #16
	mov	x0, x19
	mov	x1, x21
	bl	_wind_utf8ucs4
	cbz	w0, LBB0_8
; %bb.7:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_8:
	ldr	x1, [sp, #16]
Lloh9:
	adrp	x8, _WIND_PROFILE_NAME@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WIND_PROFILE_NAME@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	add	x3, sp, #8
	mov	x0, x21
	mov	x2, x20
	bl	_wind_stringprep
	cbz	w0, LBB0_10
; %bb.9:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_10:
	add	x22, sp, #48
	mov	x0, x21
	bl	_free
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_19
; %bb.11:
	mov	x26, #0
	mov	w27, #0
	add	x24, x22, #1024
	mov	w25, #46
	add	x21, sp, #48
Lloh14:
	adrp	x22, l_.str.3@PAGE
Lloh15:
	add	x22, x22, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [sp, #32]
	add	x21, x21, x8
	strb	w25, [x21], #1
	add	w26, w28, #1
	ldr	x8, [sp, #8]
	mov	x27, x26
	cmp	x8, x26
	b.ls	LBB0_20
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	mov	w23, w27
	mov	x28, x27
	cmp	x8, x23
	b.ls	LBB0_17
LBB0_14:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x20, x23, lsl #2]
	bl	_is_separator
	cbnz	w0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	add	w23, w23, #1
	ldr	x8, [sp, #8]
	cmp	x8, x23
	b.hi	LBB0_14
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x28, x23
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=1
	sub	x8, x24, x21
	str	x8, [sp, #32]
	add	x0, x20, x26, lsl #2
	sub	w1, w28, w27
	add	x3, sp, #32
	mov	x2, x21
	bl	_wind_punycode_label_toascii
	cbz	w0, LBB0_12
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w0, #1
	mov	x1, x22
	bl	_errx
	b	LBB0_12
LBB0_19:
	add	x21, sp, #48
LBB0_20:
	strb	wzr, [x21]
	mov	x0, x20
	bl	_free
	add	x8, sp, #48
	str	x8, [sp]
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_printf
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh18:
	adrp	x8, _AI_CANONNAME@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AI_CANONNAME@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	add	x0, sp, #48
	add	x2, sp, #32
	add	x3, sp, #24
	mov	x1, #0
	bl	_getaddrinfo
	cbz	w0, LBB0_22
; %bb.21:
	bl	_gai_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_22:
	ldr	x8, [sp, #24]
	ldr	x1, [x8]
Lloh23:
	adrp	x0, l_.str.6@PAGE
Lloh24:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	ldr	x0, [sp, #24]
	bl	_freeaddrinfo
	ldur	x8, [x29, #-96]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	add	sp, sp, #1088
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc failed"

l_.str.1:                               ; @.str.1
	.asciz	"utf8 conversion failed"

	.comm	_WIND_PROFILE_NAME,4,2          ; @WIND_PROFILE_NAME
l_.str.2:                               ; @.str.2
	.asciz	"stringprep failed"

l_.str.3:                               ; @.str.3
	.asciz	"punycode failed"

l_.str.4:                               ; @.str.4
	.asciz	"Converted \"%s\" into \"%s\"\n"

	.comm	_AI_CANONNAME,4,2               ; @AI_CANONNAME
l_.str.5:                               ; @.str.5
	.asciz	"getaddrinfo failed: %s"

l_.str.6:                               ; @.str.6
	.asciz	"canonical-name: %s\n"

	.no_dead_strip	_lookup
.subsections_via_symbols
