	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_host
_get_host:                              ## @get_host
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsp, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NI_MAXHOST@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdx
	movq	(%r15), %rax
	movq	_GT_NULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	leaq	-112(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_AI_CANONNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)
	leaq	-56(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_getaddrinfo
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	callq	_syslog
	movl	$1, %eax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_26
LBB0_1:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_syslog
	movl	$1, %eax
LBB0_26:
	movq	%rbx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_28
## %bb.27:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	-56(%rbp), %rax
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_25
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %r14
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##       Child Loop BB0_19 Depth 3
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %r12
	movl	16(%rax), %edi
	movl	24(%rax), %esi
	movq	_NI_NUMERICHOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	movl	%r13d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	callq	_getnameinfo
	addq	$16, %rsp
	testq	%rax, %rax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edx
	callq	_strlcpy
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	callq	_strdup
	movq	-56(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	_AI_CANONNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rax
	orl	%ecx, 20(%rax)
	movq	%r12, %r14
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_debug@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r14), %edi
	movq	(%rax), %rdx
	leaq	L_.str.3(%rip), %rsi
	callq	_fprintf
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	16(%r12), %r12
	testq	%r12, %r12
	je	LBB0_24
LBB0_15:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_19 Depth 3
	movq	(%r12), %rax
	movq	_GT_HOST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	8(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_23
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_6 Depth=1
                                        ##     Parent Loop BB0_15 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	16(%rbx), %edi
	movq	-56(%rbp), %rax
	movl	16(%rax), %esi
	xorl	%edx, %edx
	callq	_sacmp
	testq	%rax, %rax
	je	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_19 Depth=3
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_19
	jmp	LBB0_23
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_6
LBB0_25:
	movq	_GT_HOST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_26
LBB0_20:
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_22
## %bb.21:
	movl	(%r14), %edi
	movq	-56(%rbp), %rax
	movq	(%rax), %rdx
	leaq	L_.str.4(%rip), %rsi
	callq	_fprintf
LBB0_22:
	movq	_GT_IGNORE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	xorl	%eax, %eax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_26
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NI_MAXHOST,4,2                 ## @NI_MAXHOST
	.comm	_GT_NULL,8,3                    ## @GT_NULL
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad netgroup type for ip host %s"

	.comm	_AI_CANONNAME,4,2               ## @AI_CANONNAME
	.comm	_IPPROTO_UDP,4,2                ## @IPPROTO_UDP
L_.str.1:                               ## @.str.1
	.asciz	"can't get address info for host %s"

	.comm	_NI_NUMERICHOST,4,2             ## @NI_NUMERICHOST
L_.str.2:                               ## @.str.2
	.asciz	"?"

	.comm	_debug,8,3                      ## @debug
	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"got host %s\n"

	.comm	_GT_HOST,8,3                    ## @GT_HOST
L_.str.4:                               ## @.str.4
	.asciz	"ignoring duplicate host %s\n"

	.comm	_GT_IGNORE,8,3                  ## @GT_IGNORE
	.no_dead_strip	_get_host
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_host
_get_host:                              ; @get_host
	.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, #48
	mov	x24, x2
	mov	x19, x1
	mov	x23, x0
	mov	x25, 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]
Lloh5:
	ldr	w21, [x8]
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	ldr	x8, [x1]
Lloh8:
	adrp	x9, _GT_NULL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GT_NULL@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	sub	x0, x29, #128
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh11:
	adrp	x26, _AI_CANONNAME@GOTPAGE
Lloh12:
	ldr	x26, [x26, _AI_CANONNAME@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh13:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stur	w8, [x29, #-108]
	stur	w9, [x29, #-100]
	sub	x2, x29, #128
	sub	x3, x29, #96
	mov	x0, x23
	mov	x1, #0
	bl	_getaddrinfo
	cbz	w0, LBB0_7
; %bb.2:
Lloh16:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh21:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	mov	x2, x23
	bl	_syslog
	mov	w0, #1
LBB0_5:
	mov	sp, x25
	ldur	x8, [x29, #-88]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.6:
	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_7:
	ldur	x8, [x29, #-96]
	str	x8, [x19, #8]
Lloh29:
	adrp	x27, _GT_HOST@GOTPAGE
Lloh30:
	ldr	x27, [x27, _GT_HOST@GOTPAGEOFF]
	cbz	x8, LBB0_23
; %bb.8:
Lloh31:
	adrp	x23, _debug@GOTPAGE
Lloh32:
	ldr	x23, [x23, _debug@GOTPAGEOFF]
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
                                        ;       Child Loop BB0_20 Depth 3
	ldr	x9, [x8]
	cbnz	x9, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [x8, #16]
	ldr	w1, [x8, #24]
Lloh33:
	adrp	x8, _NI_NUMERICHOST@GOTPAGE
Lloh34:
	ldr	x8, [x8, _NI_NUMERICHOST@GOTPAGEOFF]
Lloh35:
	ldr	w6, [x8]
	mov	x2, x22
	mov	x3, x21
	mov	x4, #0
	mov	w5, #0
	bl	_getnameinfo
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x22
Lloh36:
	adrp	x1, l_.str.2@PAGE
Lloh37:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	bl	_strlcpy
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x22
	bl	_strdup
	ldur	x8, [x29, #-96]
	str	x0, [x8]
	ldr	w9, [x26]
	ldur	x8, [x29, #-96]
	ldr	w10, [x8, #20]
	orr	w9, w10, w9
	str	w9, [x8, #20]
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x23]
	cbz	x9, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh38:
	adrp	x9, _stderr@GOTPAGE
Lloh39:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x9]
	ldr	x2, [x8]
Lloh41:
	adrp	x1, l_.str.3@PAGE
Lloh42:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	cbz	x24, LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x20, x24
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=2
	ldr	x20, [x20, #16]
	cbz	x20, LBB0_22
LBB0_18:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_20 Depth 3
	ldr	x8, [x20]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	ldr	x28, [x20, #8]
	cbz	x28, LBB0_17
LBB0_20:                                ;   Parent Loop BB0_9 Depth=1
                                        ;     Parent Loop BB0_18 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w0, [x28, #16]
	ldur	x8, [x29, #-96]
	ldr	w1, [x8, #16]
	mov	x2, #0
	bl	_sacmp
	cbz	x0, LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=3
	ldr	x28, [x28, #8]
	cbnz	x28, LBB0_20
	b	LBB0_17
LBB0_22:                                ;   in Loop: Header=BB0_9 Depth=1
	ldur	x8, [x29, #-96]
	ldr	x8, [x8, #8]
	stur	x8, [x29, #-96]
	cbnz	x8, LBB0_9
LBB0_23:
	mov	w0, #0
	ldr	x8, [x27]
	b	LBB0_27
LBB0_24:
	ldr	x8, [x23]
	cbz	x8, LBB0_26
; %bb.25:
Lloh43:
	adrp	x8, _stderr@GOTPAGE
Lloh44:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	ldur	x8, [x29, #-96]
	ldr	x2, [x8]
Lloh46:
	adrp	x1, l_.str.4@PAGE
Lloh47:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
LBB0_26:
	mov	w0, #0
Lloh48:
	adrp	x8, _GT_IGNORE@GOTPAGE
Lloh49:
	ldr	x8, [x8, _GT_IGNORE@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
LBB0_27:
	str	x8, [x19]
	b	LBB0_5
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_NI_MAXHOST,4,2                 ; @NI_MAXHOST
	.comm	_GT_NULL,8,3                    ; @GT_NULL
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad netgroup type for ip host %s"

	.comm	_AI_CANONNAME,4,2               ; @AI_CANONNAME
	.comm	_IPPROTO_UDP,4,2                ; @IPPROTO_UDP
l_.str.1:                               ; @.str.1
	.asciz	"can't get address info for host %s"

	.comm	_NI_NUMERICHOST,4,2             ; @NI_NUMERICHOST
l_.str.2:                               ; @.str.2
	.asciz	"?"

	.comm	_debug,8,3                      ; @debug
	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"got host %s\n"

	.comm	_GT_HOST,8,3                    ; @GT_HOST
l_.str.4:                               ; @.str.4
	.asciz	"ignoring duplicate host %s\n"

	.comm	_GT_IGNORE,8,3                  ; @GT_IGNORE
	.no_dead_strip	_get_host
.subsections_via_symbols
