	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_host                           ## -- Begin function host
	.p2align	4, 0x90
_host:                                  ## @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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$47, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r13
	movq	%rax, %rbx
	incq	%rbx
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_strtol
	movl	%eax, %r12d
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	cmpb	$0, (%rax)
	jne	LBB0_5
## %bb.3:
	cmpl	$128, %r12d
	jg	LBB0_5
## %bb.4:
	cmpq	%rbx, %rax
	je	LBB0_5
## %bb.6:
	movq	%r14, %rdi
	callq	_strlen
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_strlen
	subq	%rax, %rbx
	incq	%rbx
	movq	%rbx, %rdi
	callq	_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_8:
	movq	%r14, %rdi
	callq	_strlen
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_strlen
	subq	%rax, %rbx
	incq	%rbx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_strlcpy
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%r12d, %ebx
	jmp	LBB0_12
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdx
	jmp	LBB0_20
LBB0_9:
	movq	%r14, %rdi
	callq	_strdup
	movl	$128, %ebx
	movl	$32, -44(%rbp)                  ## 4-byte Folded Spill
	movl	$-1, %r12d
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rax, %r15
	jmp	LBB0_12
LBB0_11:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
	xorl	%r15d, %r15d
LBB0_12:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_host_if
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_host_v4
	testq	%rax, %rax
	jne	LBB0_13
## %bb.15:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_host_v6
	testq	%rax, %rax
	je	LBB0_16
LBB0_13:
	movq	%rax, %r13
	xorl	%ebx, %ebx
LBB0_17:
	movq	%r15, %rdi
	callq	_free
	testq	%r13, %r13
	je	LBB0_19
## %bb.18:
	testb	%bl, %bl
	je	LBB0_21
LBB0_19:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdx
LBB0_20:
	callq	_fprintf
	xorl	%r13d, %r13d
LBB0_21:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_host_dns
	movq	%rax, %r13
	testq	%rax, %rax
	sete	%bl
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid netmask '%s'\n"

L_.str.1:                               ## @.str.1
	.asciz	"host: malloc"

L_.str.2:                               ## @.str.2
	.asciz	"host: strdup"

L_.str.3:                               ## @.str.3
	.asciz	"no IP address found for %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_host                           ; -- Begin function host
	.p2align	2
_host:                                  ; @host
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	mov	w1, #47
	bl	_strrchr
	cbz	x0, LBB0_9
; %bb.1:
	mov	x22, x0
	add	x20, x0, #1
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #0
	bl	_strtol
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_8
; %bb.2:
	ldrb	w9, [x8]
	cbnz	w9, LBB0_8
; %bb.3:
	mov	x21, x0
	cmp	w0, #128
	b.gt	LBB0_8
; %bb.4:
	cmp	x8, x20
	b.eq	LBB0_8
; %bb.5:
	mov	x0, x19
	bl	_strlen
	mov	x20, x0
	mov	x0, x22
	bl	_strlen
	sub	x8, x20, x0
	add	x0, x8, #1
	bl	_malloc
	mov	x20, x0
	cbnz	x0, LBB0_7
; %bb.6:
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_7:
	mov	x0, x19
	bl	_strlen
	mov	x23, x0
	mov	x0, x22
	bl	_strlen
	sub	x8, x23, x0
	add	x2, x8, #1
	mov	x0, x20
	mov	x1, x19
	bl	_strlcpy
	mov	x23, x21
	mov	x22, x21
	b	LBB0_12
LBB0_8:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	b	LBB0_19
LBB0_9:
	mov	x0, x19
	bl	_strdup
	mov	x20, x0
	cbnz	x0, LBB0_11
; %bb.10:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_11:
	mov	w22, #128
	mov	w23, #32
	mov	w21, #-1
LBB0_12:
	mov	x0, x20
	mov	x1, x21
	bl	_host_if
	cbnz	x0, LBB0_15
; %bb.13:
	mov	x0, x19
	mov	x1, x21
	bl	_host_v4
	cbnz	x0, LBB0_15
; %bb.14:
	mov	x0, x20
	mov	x1, x22
	bl	_host_v6
	cbz	x0, LBB0_21
LBB0_15:
	mov	x24, x0
	mov	w21, #0
LBB0_16:
	mov	x0, x20
	bl	_free
	cbz	x24, LBB0_18
; %bb.17:
	cbz	w21, LBB0_20
LBB0_18:
Lloh9:
	adrp	x8, _stderr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x19
LBB0_19:
	bl	_fprintf
	mov	x24, #0
LBB0_20:
	mov	x0, x24
	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
	add	sp, sp, #80
	ret
LBB0_21:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	bl	_host_dns
	mov	x24, x0
	cmp	x0, #0
	cset	w21, eq
	b	LBB0_16
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid netmask '%s'\n"

l_.str.1:                               ; @.str.1
	.asciz	"host: malloc"

l_.str.2:                               ; @.str.2
	.asciz	"host: strdup"

l_.str.3:                               ; @.str.3
	.asciz	"no IP address found for %s\n"

.subsections_via_symbols
