	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_checkremote                    ## -- Begin function checkremote
	.p2align	4, 0x90
_checkremote:                           ## @checkremote
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXHOSTNAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_NI_MAXHOST@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	cmpl	$0, 16(%r15)
	je	LBB0_1
## %bb.2:
	movl	$0, (%r15)
	cmpq	$0, 8(%r15)
	je	LBB0_18
## %bb.3:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_gethostname
	movb	$0, -1(%r14,%r13)
	leaq	-136(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	_family@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -112(%rbp)
	movq	_AI_PASSIVE@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, -120(%rbp)
	leaq	-64(%rbp), %rcx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_getaddrinfo
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %edi
	callq	_gai_strerror
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdi
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_asprintf
	movq	-56(%rbp), %rax
	jmp	LBB0_19
LBB0_1:
	movl	$1, (%r15)
LBB0_18:
	xorl	%eax, %eax
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_22
## %bb.20:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	-136(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	_family@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -112(%rbp)
	movq	(%r15), %rax
	movq	%rax, -120(%rbp)
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rdi
	leaq	-88(%rbp), %rcx
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_getaddrinfo
	testl	%eax, %eax
	je	LBB0_6
## %bb.21:
	movq	8(%r15), %rbx
	movl	%eax, %edi
	callq	_gai_strerror
	leaq	L_.str.1(%rip), %rsi
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_asprintf
	movq	-64(%rbp), %rdi
	callq	_freeaddrinfo
	movq	-56(%rbp), %rax
	jmp	LBB0_19
LBB0_6:
	movq	-64(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.7:
	xorl	%r13d, %r13d
	movq	_NI_NUMERICHOST@GOTPCREL(%rip), %r15
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_15
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movb	$0, (%rdx)
	movl	(%rax), %esi
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	4(%rax), %edi
	movl	(%r15), %eax
	subq	$8, %rsp
	movl	%r12d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	callq	_getnameinfo
	addq	$16, %rsp
	testq	%rax, %rax
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	-88(%rbp), %r14
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	8(%r14), %r14
LBB0_10:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%r14, %r14
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movb	$0, (%rbx)
	movl	(%r14), %esi
	movl	4(%r14), %edi
	movl	(%r15), %eax
	subq	$8, %rsp
	movq	%rbx, %rdx
	movl	%r12d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	callq	_getnameinfo
	addq	$16, %rsp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_strcmp
	cmpq	$1, %rax
	adcl	$0, %r13d
	jmp	LBB0_13
LBB0_15:
	testl	%r13d, %r13d
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_17
LBB0_16:
	movl	$1, (%r15)
LBB0_17:
	movq	-64(%rbp), %rdi
	callq	_freeaddrinfo
	movq	-88(%rbp), %rdi
	callq	_freeaddrinfo
	jmp	LBB0_18
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXHOSTNAMELEN,4,2             ## @MAXHOSTNAMELEN
	.comm	_NI_MAXHOST,4,2                 ## @NI_MAXHOST
	.comm	_family,8,3                     ## @family
	.comm	_SOCK_STREAM,8,3                ## @SOCK_STREAM
	.comm	_AI_PASSIVE,8,3                 ## @AI_PASSIVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to get official name for local machine %s: %s"

L_.str.1:                               ## @.str.1
	.asciz	"unable to get address list for remote machine %s: %s"

	.comm	_NI_NUMERICHOST,4,2             ## @NI_NUMERICHOST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_checkremote                    ; -- Begin function checkremote
	.p2align	2
_checkremote:                           ; @checkremote
	.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
	sub	sp, sp, #80
	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, #-72]
Lloh3:
	adrp	x8, _MAXHOSTNAMELEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXHOSTNAMELEN@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	mov	x9, x24
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
Lloh8:
	adrp	x8, _NI_MAXHOST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NI_MAXHOST@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	mov	x9, x20
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x12, x9, #0x1fffffff0
	sub	x21, x8, x12
	mov	sp, x21
	mov	x9, x20
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x22, x8, x12
	mov	sp, x22
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_4
; %bb.1:
	str	wzr, [x19]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_17
; %bb.2:
	mov	x0, x23
	mov	x1, x24
	bl	_gethostname
	add	x8, x24, x23
	sturb	wzr, [x8, #-1]
	sub	x0, x29, #112
	mov	w1, #0
	mov	w2, #40
	bl	_memset
Lloh15:
	adrp	x24, _family@GOTPAGE
Lloh16:
	ldr	x24, [x24, _family@GOTPAGEOFF]
	ldr	x8, [x24]
	stur	x8, [x29, #-80]
Lloh17:
	adrp	x25, _SOCK_STREAM@GOTPAGE
Lloh18:
	ldr	x25, [x25, _SOCK_STREAM@GOTPAGEOFF]
	ldr	x8, [x25]
Lloh19:
	adrp	x26, _AI_PASSIVE@GOTPAGE
Lloh20:
	ldr	x26, [x26, _AI_PASSIVE@GOTPAGEOFF]
	ldr	x9, [x26]
	stp	x9, x8, [x29, #-96]
	sub	x2, x29, #112
	sub	x3, x29, #120
	mov	x0, x23
	mov	x1, #0
	bl	_getaddrinfo
	cbz	w0, LBB0_5
; %bb.3:
	bl	_gai_strerror
	mov	x3, x0
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	sub	x0, x29, #136
	mov	x2, x23
	bl	_asprintf
	ldur	x0, [x29, #-136]
	b	LBB0_18
LBB0_4:
	mov	x0, #0
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_18
LBB0_5:
	sub	x0, x29, #112
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	ldr	x10, [x24]
	ldr	x8, [x25]
	ldr	x9, [x26]
	stp	x8, x10, [x29, #-88]
	stur	x9, [x29, #-96]
	ldr	x0, [x19, #8]
	sub	x2, x29, #112
	sub	x3, x29, #128
	mov	x1, #0
	bl	_getaddrinfo
	cbz	w0, LBB0_7
; %bb.6:
	ldr	x19, [x19, #8]
	bl	_gai_strerror
	mov	x3, x0
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	sub	x0, x29, #136
	mov	x2, x19
	bl	_asprintf
	ldur	x0, [x29, #-120]
	bl	_freeaddrinfo
	ldur	x0, [x29, #-136]
	b	LBB0_18
LBB0_7:
	ldur	x23, [x29, #-120]
	cbz	x23, LBB0_15
; %bb.8:
	mov	w24, #0
Lloh25:
	adrp	x25, _NI_NUMERICHOST@GOTPAGE
Lloh26:
	ldr	x25, [x25, _NI_NUMERICHOST@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x23, [x23, #8]
	cbz	x23, LBB0_14
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	strb	wzr, [x21]
	ldp	w1, w0, [x23]
	ldr	w6, [x25]
	mov	x2, x21
	mov	x3, x20
	mov	x4, #0
	mov	w5, #0
	bl	_getnameinfo
	ldur	x26, [x29, #-128]
	cmp	x0, #0
	ccmp	x26, #0, #4, eq
	b.ne	LBB0_12
	b	LBB0_9
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	x26, [x26, #8]
	cbz	x26, LBB0_9
LBB0_12:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	strb	wzr, [x22]
	ldp	w1, w0, [x26]
	ldr	w6, [x25]
	mov	x2, x22
	mov	x3, x20
	mov	x4, #0
	mov	w5, #0
	bl	_getnameinfo
	cbnz	x0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	x0, x21
	mov	x1, x22
	bl	_strcmp
	cmp	x0, #0
	cinc	w24, w24, eq
	b	LBB0_11
LBB0_14:
	cbnz	w24, LBB0_16
LBB0_15:
	mov	w8, #1
	str	w8, [x19]
LBB0_16:
	ldur	x0, [x29, #-120]
	bl	_freeaddrinfo
	ldur	x0, [x29, #-128]
	bl	_freeaddrinfo
LBB0_17:
	mov	x0, #0
LBB0_18:
	ldur	x8, [x29, #-72]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	sub	sp, x29, #64
	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
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXHOSTNAMELEN,4,2             ; @MAXHOSTNAMELEN
	.comm	_NI_MAXHOST,4,2                 ; @NI_MAXHOST
	.comm	_family,8,3                     ; @family
	.comm	_SOCK_STREAM,8,3                ; @SOCK_STREAM
	.comm	_AI_PASSIVE,8,3                 ; @AI_PASSIVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to get official name for local machine %s: %s"

l_.str.1:                               ; @.str.1
	.asciz	"unable to get address list for remote machine %s: %s"

	.comm	_NI_NUMERICHOST,4,2             ; @NI_NUMERICHOST
.subsections_via_symbols
