	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function canonical_name
_canonical_name:                        ## @canonical_name
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_AI_CANONNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_getaddrinfo
	movl	$-1, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	-32(%rbp), %rax
	movl	$-1, %ebx
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:
	movl	$46, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	-32(%rbp), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_strbuf_addstr
	xorl	%ebx, %ebx
LBB0_5:
	movq	-32(%rbp), %rdi
	callq	_freeaddrinfo
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AI_CANONNAME,4,2               ## @AI_CANONNAME
	.no_dead_strip	_canonical_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function canonical_name
_canonical_name:                        ; @canonical_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x8, _AI_CANONNAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AI_CANONNAME@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, #0
	bl	_getaddrinfo
	cbz	w0, LBB0_2
; %bb.1:
	mov	w19, #-1
	b	LBB0_8
LBB0_2:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	x0, [x8]
	cbz	x0, LBB0_6
; %bb.4:
	mov	w1, #46
	bl	_strchr
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [sp, #8]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_strbuf_addstr
	mov	w19, #0
	b	LBB0_7
LBB0_6:
	mov	w19, #-1
LBB0_7:
	ldr	x0, [sp, #8]
	bl	_freeaddrinfo
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AI_CANONNAME,4,2               ; @AI_CANONNAME
	.no_dead_strip	_canonical_name
.subsections_via_symbols
