	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _gethtent
__gethtent:                             ## @_gethtent
	.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
	pushq	%rax
	movl	$8280, %eax                     ## imm = 0x2058
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, -8264(%rbp)               ## 8-byte Spill
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rdx
	testq	%rdx, %rdx
	jne	LBB0_2
## %bb.1:
	movq	__PATH_HOSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %rdx
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_31
LBB0_2:
	leaq	-8240(%rbp), %rdi
	movl	$8192, %esi                     ## imm = 0x2000
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_31
## %bb.3:
	movq	%rax, %r14
	movq	%rbx, -8256(%rbp)               ## 8-byte Spill
	leaq	-8240(%rbp), %rbx
	jmp	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	-8312(%rbp), %rdx
	leaq	-8248(%rbp), %rcx
	callq	_getaddrinfo
	testl	%eax, %eax
	je	LBB0_24
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r13), %rdx
	movq	%rbx, %rdi
	movl	$8192, %esi                     ## imm = 0x2000
	callq	_fgets
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_31
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##       Child Loop BB0_14 Depth 3
                                        ##     Child Loop BB0_27 Depth 2
	cmpb	$35, (%r14)
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strpbrk
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movb	$0, (%rax)
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strpbrk
	testq	%rax, %rax
	je	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r12
	incq	%r12
	movb	$0, (%rax)
	xorl	%r15d, %r15d
LBB0_12:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_14 Depth 3
	testq	%r12, %r12
	jne	LBB0_14
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=3
	incq	%r12
LBB0_14:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_12 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movzbl	(%r12), %eax
	cmpb	$9, %al
	je	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=3
	cmpb	$32, %al
	je	LBB0_13
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=2
	testb	%al, %al
	je	LBB0_6
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=2
	testq	%r15, %r15
	cmoveq	%r12, %r15
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strpbrk
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%rax, %rbx
	incq	%rbx
	movb	$0, (%rax)
	jmp	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=2
	xorl	%ebx, %ebx
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	-8264(%rbp), %rdi               ## 8-byte Reload
	movq	%r12, %rsi
	callq	_strcasecmp
	movq	%rbx, %r12
	testq	%rax, %rax
	leaq	-8240(%rbp), %rbx
	jne	LBB0_12
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	-8312(%rbp), %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	-8256(%rbp), %rdx               ## 8-byte Reload
	movq	(%rdx), %rcx
	movq	%rcx, -8312(%rbp)
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -8288(%rbp)
	movq	$0, -8296(%rbp)
	movq	_AI_NUMERICHOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -8304(%rbp)
	movq	_AF_INET6@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_5
## %bb.22:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	8(%rdx), %edx
	movq	_AI_V4MAPPED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%edx
	testl	%edx, %ecx
	jne	LBB0_5
## %bb.23:                              ##   in Loop: Header=BB0_7 Depth=1
	orl	%eax, %ecx
	movl	%ecx, -8304(%rbp)
	jmp	LBB0_5
LBB0_24:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-8248(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_31
## %bb.25:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-8256(%rbp), %r14               ## 8-byte Reload
	movq	_AI_CANONNAME@GOTPCREL(%rip), %r12
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_27 Depth=2
	movq	32(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_34
LBB0_27:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	8(%r14), %eax
	movl	%eax, 8(%rbx)
	movl	24(%r14), %eax
	movl	%eax, 24(%rbx)
	movq	16(%r14), %rax
	movq	%rax, 16(%rbx)
	movl	(%r12), %eax
	testl	%eax, 8(%r14)
	je	LBB0_26
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_get_canonname
	testq	%rax, %rax
	je	LBB0_26
## %bb.29:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-8248(%rbp), %rdi
	callq	_freeaddrinfo
	leaq	-8240(%rbp), %rbx
	jmp	LBB0_6
LBB0_31:
	xorl	%eax, %eax
LBB0_32:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_36
## %bb.33:
	addq	$8280, %rsp                     ## imm = 0x2058
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	movq	-8248(%rbp), %rax
	jmp	LBB0_32
LBB0_36:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	__PATH_HOSTS,4,2                ## @_PATH_HOSTS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"re"

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

L_.str.2:                               ## @.str.2
	.asciz	" \t"

	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_AI_NUMERICHOST,4,2             ## @AI_NUMERICHOST
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_AI_V4MAPPED,4,2                ## @AI_V4MAPPED
L_.str.3:                               ## @.str.3
	.asciz	"0"

	.comm	_AI_CANONNAME,4,2               ## @AI_CANONNAME
	.no_dead_strip	__gethtent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _gethtent
__gethtent:                             ; @_gethtent
	.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
	mov	w9, #8272
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #2, lsl #12             ; =8192
	sub	sp, sp, #80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	x2, [x0]
	cbnz	x2, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, __PATH_HOSTS@GOTPAGE
Lloh6:
	ldr	x8, [x8, __PATH_HOSTS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x2, x0
	str	x0, [x21]
	cbz	x0, LBB0_28
LBB0_2:
	add	x0, sp, #64
	mov	w1, #8192
	bl	_fgets
	cbz	x0, LBB0_28
; %bb.3:
	mov	x25, x0
Lloh10:
	adrp	x22, l_.str.1@PAGE
Lloh11:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh12:
	adrp	x23, l_.str.2@PAGE
Lloh13:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh14:
	adrp	x24, _AI_CANONNAME@GOTPAGE
Lloh15:
	ldr	x24, [x24, _AI_CANONNAME@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x25
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_getaddrinfo
	cbz	w0, LBB0_22
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x2, [x21]
	add	x0, sp, #64
	mov	w1, #8192
	bl	_fgets
	mov	x25, x0
	cbz	x0, LBB0_28
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;       Child Loop BB0_13 Depth 3
                                        ;     Child Loop BB0_24 Depth 2
	ldrb	w8, [x25]
	cmp	w8, #35
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	mov	x1, x22
	bl	_strpbrk
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	strb	wzr, [x0]
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	mov	x1, x23
	bl	_strpbrk
	cbz	x0, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x0
	mov	x26, #0
	strb	wzr, [x27], #1
LBB0_11:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_13 Depth 3
	cbnz	x27, LBB0_13
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=3
	add	x27, x27, #1
LBB0_13:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_11 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrb	w8, [x27]
	cmp	w8, #9
	b.eq	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=3
	cmp	w8, #32
	b.eq	LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=2
	cbz	w8, LBB0_5
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=2
	cmp	x26, #0
	csel	x26, x27, x26, eq
	mov	x0, x27
	mov	x1, x23
	bl	_strpbrk
	mov	x28, x0
	cbz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=2
	strb	wzr, [x28], #1
LBB0_18:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x20
	mov	x1, x27
	bl	_strcasecmp
	mov	x27, x28
	cbnz	x0, LBB0_11
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	ldr	x9, [x19]
	str	x9, [sp, #16]
Lloh18:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	str	xzr, [sp, #32]
Lloh21:
	adrp	x8, _AI_NUMERICHOST@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AI_NUMERICHOST@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh24:
	adrp	x10, _AF_INET6@GOTPAGE
Lloh25:
	ldr	x10, [x10, _AF_INET6@GOTPAGEOFF]
Lloh26:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x19, #8]
Lloh27:
	adrp	x9, _AI_V4MAPPED@GOTPAGE
Lloh28:
	ldr	x9, [x9, _AI_V4MAPPED@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	bics	wzr, w9, w10
	b.ne	LBB0_4
; %bb.21:                               ;   in Loop: Header=BB0_6 Depth=1
	orr	w8, w9, w8
	str	w8, [sp, #24]
	b	LBB0_4
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x25, [sp, #8]
	cbnz	x25, LBB0_24
	b	LBB0_30
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=2
	ldr	x25, [x25, #32]
	cbz	x25, LBB0_27
LBB0_24:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x19, #8]
	str	w8, [x25, #8]
	ldr	w8, [x19, #24]
	str	w8, [x25, #24]
	ldr	x8, [x19, #16]
	str	x8, [x25, #16]
	ldr	w8, [x19, #8]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=2
	mov	x0, x19
	mov	x1, x25
	mov	x2, x26
	bl	_get_canonname
	cbz	x0, LBB0_23
; %bb.26:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #8]
	bl	_freeaddrinfo
	b	LBB0_5
LBB0_27:
	ldr	x0, [sp, #8]
LBB0_28:
	ldur	x8, [x29, #-96]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.29:
	add	sp, sp, #2, lsl #12             ; =8192
	add	sp, sp, #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_30:
	mov	x0, #0
	b	LBB0_28
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	__PATH_HOSTS,4,2                ; @_PATH_HOSTS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"re"

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

l_.str.2:                               ; @.str.2
	.asciz	" \t"

	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_AI_NUMERICHOST,4,2             ; @AI_NUMERICHOST
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_AI_V4MAPPED,4,2                ; @AI_V4MAPPED
l_.str.3:                               ; @.str.3
	.asciz	"0"

	.comm	_AI_CANONNAME,4,2               ; @AI_CANONNAME
	.no_dead_strip	__gethtent
.subsections_via_symbols
