	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_host                      ## -- Begin function find_host
	.p2align	4, 0x90
_find_host:                             ## @find_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	$0, -56(%rbp)
	leaq	-72(%rbp), %rcx
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_getaddrinfo
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	$0, -72(%rbp)
LBB0_2:
	movq	_status_info@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.4:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	8(%rax), %r12
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_30:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, 8(%r12)
	movl	$0, %ebx
	cmoveq	%r12, %rbx
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_5 Depth=1
	incl	%r14d
	addq	$16, %r12
	movq	(%r13), %rax
	cmpl	(%rax), %r14d
	jge	LBB0_32
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rbx
	movq	_SM_MAXSTRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_strncasecmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_27
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	leaq	-56(%rbp), %rcx
	callq	_getaddrinfo
	testq	%rax, %rax
	jne	LBB0_26
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %r15
	movq	-72(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	testq	%r15, %r15
	jne	LBB0_11
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	24(%r15), %r15
LBB0_11:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%r15, %r15
	je	LBB0_17
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	8(%rbx), %rdx
	cmpq	8(%r15), %rdx
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	16(%rbx), %edi
	movl	16(%r15), %esi
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	%r12, %rax
	testq	%rax, %rax
	je	LBB0_19
	jmp	LBB0_21
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=2
	xorl	%eax, %eax
	testq	%rax, %rax
	jne	LBB0_21
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	-56(%rbp), %r15
	testq	%r15, %r15
	jne	LBB0_12
	jmp	LBB0_17
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	testq	%rax, %rax
	jne	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %r15
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	testq	%r15, %r15
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_freeaddrinfo
LBB0_26:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	$0, -56(%rbp)
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	jne	LBB0_31
## %bb.28:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, 12(%r12)
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_31
LBB0_3:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_34
LBB0_6:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_33
LBB0_32:
	xorl	%r12d, %r12d
LBB0_33:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_34:
	movq	-72(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_36
## %bb.35:
	callq	_freeaddrinfo
LBB0_36:
	testl	%r14d, %r14d
	je	LBB0_46
## %bb.37:
	testq	%r12, %r12
	jne	LBB0_46
## %bb.38:
	testq	%rbx, %rbx
	jne	LBB0_45
## %bb.39:
	movq	(%r13), %rax
	movslq	(%rax), %rcx
	movq	%rcx, %rsi
	shlq	$4, %rsi
	addq	8(%rax), %rsi
	movq	%rsi, %r12
                                        ## kill: def $esi killed $esi killed $rsi def $rsi
	subl	%eax, %esi
	leal	16(%rsi), %ebx
	movq	_status_file_len@GOTPCREL(%rip), %r14
	cmpl	(%r14), %ebx
	jle	LBB0_44
## %bb.40:
	movq	_status_fd@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	addl	$15, %esi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_lseek
	cmpl	$-1, %eax
	je	LBB0_42
## %bb.41:
	movl	(%r15), %edi
	leaq	l_.str(%rip), %rsi
	movl	$1, %edx
	callq	_write
	testq	%rax, %rax
	js	LBB0_42
## %bb.43:
	movl	%ebx, (%r14)
	movq	(%r13), %rax
	movl	(%rax), %ecx
LBB0_44:
	incl	%ecx
	movl	%ecx, (%rax)
	movq	%r12, %rbx
LBB0_45:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	(%rbx), %rdi
	movq	_SM_MAXSTRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_strncpy
	movq	%rbx, %r12
LBB0_46:
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_syslog
	xorl	%r12d, %r12d
	jmp	LBB0_46
LBB0_22:
	movq	%rax, %r12
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_status_info,8,3                ## @status_info
	.comm	_SM_MAXSTRLEN,4,2               ## @SM_MAXSTRLEN
	.comm	_status_file_len,4,2            ## @status_file_len
	.comm	_status_fd,4,2                  ## @status_fd
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.section	__TEXT,__const
l_.str:                                 ## @.str
	.space	2

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Unable to extend status file"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_host                      ; -- Begin function find_host
	.p2align	2
_find_host:                             ; @find_host
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x1
	mov	x19, x0
	str	xzr, [sp]
	add	x3, sp, #8
	mov	x1, #0
	mov	x2, #0
	bl	_getaddrinfo
	cbz	x0, LBB0_2
; %bb.1:
	str	xzr, [sp, #8]
LBB0_2:
Lloh0:
	adrp	x25, _status_info@GOTPAGE
Lloh1:
	ldr	x25, [x25, _status_info@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	w9, [x8]
Lloh2:
	adrp	x24, _SM_MAXSTRLEN@GOTPAGE
Lloh3:
	ldr	x24, [x24, _SM_MAXSTRLEN@GOTPAGEOFF]
	cmp	w9, #1
	b.lt	LBB0_28
; %bb.3:
	mov	w26, #0
	mov	x20, #0
	ldr	x22, [x8, #8]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x22, #8]
	cmp	w8, #0
	csel	x20, x22, xzr, eq
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w26, w26, #1
	add	x22, x22, #16
	ldr	x8, [x25]
	ldr	w8, [x8]
	cmp	w26, w8
	b.ge	LBB0_29
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	ldr	x23, [x22]
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x23
	bl	_strncasecmp
	cbz	w0, LBB0_30
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x23]
	cbz	w8, LBB0_25
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x3, sp
	mov	x0, x23
	mov	x1, #0
	mov	x2, #0
	bl	_getaddrinfo
	cbnz	x0, LBB0_24
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	x23, x27, [sp]
	cbz	x27, LBB0_22
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	cbz	x23, LBB0_22
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	cbnz	x23, LBB0_16
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x8, #0
	cbnz	x8, LBB0_20
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x27, [x27, #24]
	cbz	x27, LBB0_20
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x23, [sp]
	cbnz	x23, LBB0_16
	b	LBB0_12
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	ldr	x23, [x23, #24]
	cbz	x23, LBB0_12
LBB0_16:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x27]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	x2, [x27, #8]
	ldr	x8, [x23, #8]
	cmp	x2, x8
	b.ne	LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	w0, [x27, #16]
	ldr	w1, [x23, #16]
	bl	_memcmp
	cbnz	w0, LBB0_15
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x8, x22
	cbz	x8, LBB0_13
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
	cbnz	x8, LBB0_43
; %bb.21:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x23, [sp]
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	x23, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_freeaddrinfo
LBB0_24:                                ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [sp]
LBB0_25:                                ;   in Loop: Header=BB0_6 Depth=1
	cbnz	x20, LBB0_5
; %bb.26:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x22, #12]
	cbz	w8, LBB0_4
; %bb.27:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x20, #0
	b	LBB0_5
LBB0_28:
	mov	x20, #0
LBB0_29:
	mov	x22, #0
LBB0_30:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_32
LBB0_31:
	bl	_freeaddrinfo
LBB0_32:
	cbz	w21, LBB0_41
; %bb.33:
	cbnz	x22, LBB0_41
; %bb.34:
	cbnz	x20, LBB0_40
; %bb.35:
	ldr	x8, [x25]
	ldr	x10, [x8, #8]
	ldrsw	x9, [x8]
	add	x20, x10, x9, lsl #4
	sub	w10, w20, w8
	add	w21, w10, #16
Lloh4:
	adrp	x22, _status_file_len@GOTPAGE
Lloh5:
	ldr	x22, [x22, _status_file_len@GOTPAGEOFF]
	ldr	w11, [x22]
	cmp	w21, w11
	b.le	LBB0_39
; %bb.36:
Lloh6:
	adrp	x23, _status_fd@GOTPAGE
Lloh7:
	ldr	x23, [x23, _status_fd@GOTPAGEOFF]
	ldr	w0, [x23]
	add	w1, w10, #15
Lloh8:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	bl	_lseek
	cmn	w0, #1
	b.eq	LBB0_42
; %bb.37:
	ldr	w0, [x23]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #1
	bl	_write
	tbnz	x0, #63, LBB0_42
; %bb.38:
	str	w21, [x22]
	ldr	x8, [x25]
	ldr	w9, [x8]
LBB0_39:
	add	w9, w9, #1
	str	w9, [x8]
LBB0_40:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	x0, [x20]
	ldr	w2, [x24]
	mov	x1, x19
	bl	_strncpy
	mov	x22, x20
LBB0_41:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_42:
Lloh13:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_syslog
	mov	x22, #0
	b	LBB0_41
LBB0_43:
	mov	x22, x8
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_31
	b	LBB0_32
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_status_info,8,3                ; @status_info
	.comm	_SM_MAXSTRLEN,4,2               ; @SM_MAXSTRLEN
	.comm	_status_file_len,4,2            ; @status_file_len
	.comm	_status_fd,4,2                  ; @status_fd
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.section	__TEXT,__const
l_.str:                                 ; @.str
	.space	2

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Unable to extend status file"

.subsections_via_symbols
