	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __icheckhost
___icheckhost:                          ## @__icheckhost
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NI_MAXHOST@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	(%r14), %rax
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_IN6_IS_ADDR_V4MAPPED
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	-144(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movl	$56, -144(%rbp)
	leaq	-100(%rbp), %rdi
	movq	(%r14), %rsi
	addq	$48, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	-144(%rbp), %r15d
	movq	%rbx, %r14
LBB0_3:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movb	$0, (%rdx)
	movq	_NI_NUMERICHOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	callq	_getnameinfo
	addq	$16, %rsp
	testq	%rax, %rax
	jne	LBB0_15
## %bb.4:
	leaq	-200(%rbp), %r15
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	(%r14), %rax
	movq	%rax, -192(%rbp)
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -160(%rbp)
	movq	$0, -56(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rcx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_getaddrinfo
	testl	%eax, %eax
	jne	LBB0_15
## %bb.5:
	movq	-56(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.7:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	_NI_NUMERICHOST@GOTPCREL(%rip), %r15
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	32(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movb	$0, (%r13)
	movq	24(%rbx), %rdi
	movl	16(%rbx), %esi
	movl	(%r15), %eax
	subq	$8, %rsp
	movq	%r13, %rdx
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	callq	_getnameinfo
	addq	$16, %rsp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movl	$1, %r14d
	jmp	LBB0_13
LBB0_12:
	xorl	%r14d, %r14d
LBB0_13:
	movq	-56(%rbp), %rbx
	jmp	LBB0_14
LBB0_6:
	xorl	%r14d, %r14d
LBB0_14:
	movq	%rbx, %rdi
	callq	_freeaddrinfo
	movq	%r14, %rbx
LBB0_15:
	movq	-88(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NI_MAXHOST,4,2                 ## @NI_MAXHOST
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_NI_NUMERICHOST,4,2             ## @NI_NUMERICHOST
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0"

	.no_dead_strip	___icheckhost
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __icheckhost
___icheckhost:                          ; @__icheckhost
	.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, #128
	mov	x22, x2
	mov	x25, x1
	mov	x23, x0
	mov	x26, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _NI_MAXHOST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NI_MAXHOST@GOTPAGEOFF]
	ldr	w24, [x8]
	mov	x9, x24
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x24, #15
	and	x10, x10, #0x1fffffff0
	sub	x19, x9, x10
	mov	sp, x19
	ldr	w20, [x8]
	mov	x9, x20
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	ldr	x8, [x0]
Lloh9:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x23
	bl	_IN6_IS_ADDR_V4MAPPED
	cbz	x0, LBB0_3
; %bb.2:
	sub	x25, x29, #144
	mov	w27, #56
	sub	x0, x29, #144
	mov	w1, #0
	mov	w2, #56
	bl	_memset
Lloh12:
	adrp	x8, _AF_INET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	stur	w8, [x29, #-96]
	stur	w27, [x29, #-144]
	add	x0, x25, #44
	ldr	x8, [x23]
	add	x1, x8, #48
	mov	w2, #4
	bl	_memcpy
	ldur	w25, [x29, #-144]
	sub	x23, x29, #144
LBB0_3:
	strb	wzr, [x19]
Lloh15:
	adrp	x27, _NI_NUMERICHOST@GOTPAGE
Lloh16:
	ldr	x27, [x27, _NI_NUMERICHOST@GOTPAGEOFF]
	ldr	w6, [x27]
	mov	x0, x23
	mov	x1, x25
	mov	x2, x19
	mov	x3, x24
	mov	x4, #0
	mov	w5, #0
	bl	_getnameinfo
	mov	w24, #0
	cbnz	x0, LBB0_14
; %bb.4:
	sub	x0, x29, #200
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	ldr	x8, [x23]
	stur	x8, [x29, #-192]
Lloh17:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	stur	w8, [x29, #-160]
	stur	xzr, [x29, #-208]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	sub	x2, x29, #200
	sub	x3, x29, #208
	mov	x0, x22
	bl	_getaddrinfo
	mov	w24, #0
	cbnz	w0, LBB0_14
; %bb.5:
	ldur	x22, [x29, #-208]
	cbnz	x22, LBB0_8
; %bb.6:
	mov	w24, #0
	b	LBB0_13
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x22, [x22, #32]
	cbz	x22, LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	strb	wzr, [x21]
	ldr	x0, [x22, #24]
	ldr	w1, [x22, #16]
	ldr	w6, [x27]
	mov	x2, x21
	mov	x3, x20
	mov	x4, #0
	mov	w5, #0
	bl	_getnameinfo
	cbnz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_strcmp
	cbnz	x0, LBB0_7
; %bb.10:
	mov	w24, #1
	b	LBB0_12
LBB0_11:
	mov	w24, #0
LBB0_12:
	ldur	x22, [x29, #-208]
LBB0_13:
	mov	x0, x22
	bl	_freeaddrinfo
LBB0_14:
	mov	sp, x26
	ldur	x8, [x29, #-88]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x24
	sub	sp, x29, #80
	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_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_NI_MAXHOST,4,2                 ; @NI_MAXHOST
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_NI_NUMERICHOST,4,2             ; @NI_NUMERICHOST
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0"

	.no_dead_strip	___icheckhost
.subsections_via_symbols
