	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Addhost                        ## -- Begin function Addhost
	.p2align	4, 0x90
_Addhost:                               ## @Addhost
	.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
	movl	$0, -44(%rbp)
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_inet_addr
	movl	%eax, %r12d
	movq	_INADDR_NONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	__T
	movl	%eax, %edi
	movq	%rbx, %rsi
	jmp	LBB0_10
LBB0_3:
	xorl	%eax, %eax
	callq	_Usage
	jmp	LBB0_11
LBB0_4:
	movq	%r15, %rdi
	callq	_strlen
	cmpl	$17, %eax
	jne	LBB0_9
## %bb.5:
	xorl	%ebx, %ebx
	movq	_SEPARATOR@GOTPCREL(%rip), %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	cmpq	$17, %rbx
	je	LBB0_13
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx,8), %rdi
	cmpq	(%r14), %rdi
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	callq	_isxdigit
	testl	%eax, %eax
	jne	LBB0_6
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	callq	__T
	movl	%eax, %edi
	movq	%r15, %rsi
LBB0_10:
	xorl	%eax, %eax
	callq	__tprintf
LBB0_11:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %r12
LBB0_12:
	movl	(%r12), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	leaq	-44(%rbp), %rsi
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_GetIpNetTable
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	-44(%rbp), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_12
## %bb.14:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$40, %esi
	callq	_ZeroMemory
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_GetIpNetTable
	movq	_NO_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.15:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_20
## %bb.16:
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$40, %esi
	callq	_ZeroMemory
	testq	%r13, %r13
	je	LBB0_23
## %bb.17:
	movq	%r14, %rdx
	addq	$32, %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_sscanf
	movq	_EOF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_21
	jmp	LBB0_24
LBB0_18:
	leaq	L_.str.2(%rip), %rdi
	callq	__T
	xorl	%r14d, %r14d
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	__tprintf
LBB0_19:
	xorl	%eax, %eax
	callq	_DoFormatMessage
	jmp	LBB0_21
LBB0_20:
	xorl	%r14d, %r14d
LBB0_21:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
	testq	%r14, %r14
	je	LBB0_12
## %bb.22:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
	jmp	LBB0_12
LBB0_23:
	movq	24(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
LBB0_24:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	$6, (%r14)
	addq	$8, %r15
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	-8(%r15), %rdi
	callq	_toupper
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_isdigit
	leal	268435408(%rbx), %ecx
	addl	$268435401, %ebx                ## imm = 0xFFFFFC9
	testq	%rax, %rax
	cmovnel	%ecx, %ebx
	shll	$4, %ebx
	movq	(%r15), %rdi
	callq	_toupper
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_isdigit
	testq	%rax, %rax
	leal	-55(%rbx,%r13), %eax
	leal	-48(%rbx,%r13), %ecx
	cmovel	%eax, %ecx
	movslq	%ecx, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rcx), %rcx
	movq	%rax, (%rcx,%r14,8)
	incq	%r14
	addq	$24, %r15
	cmpq	$6, %r14
	jne	LBB0_25
## %bb.26:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, 8(%r14)
	movq	_MIB_IPNET_TYPE_STATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	%r14, %rdi
	callq	_SetIpNetEntry
	movq	_NO_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_19
## %bb.27:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %r12
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_INADDR_NONE,4,2                ## @INADDR_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ARP: bad IP address: %s\n"

	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
L_.str.1:                               ## @.str.1
	.asciz	"ARP: bad argument: %s\n"

	.comm	_SEPARATOR,8,3                  ## @SEPARATOR
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_NO_ERROR,8,3                   ## @NO_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"failed to allocate memory for GetIpNetTable\n"

L_.str.3:                               ## @.str.3
	.asciz	"%lx"

	.comm	_EOF,8,3                        ## @EOF
	.comm	_MIB_IPNET_TYPE_STATIC,4,2      ## @MIB_IPNET_TYPE_STATIC
	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Addhost                        ; -- Begin function Addhost
	.p2align	2
_Addhost:                               ; @Addhost
	.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
	str	wzr, [sp, #12]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x23, x2
	mov	x19, x1
	mov	x21, x0
	bl	_inet_addr
Lloh0:
	adrp	x8, _INADDR_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INADDR_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	str	x21, [sp]
	b	LBB0_10
LBB0_3:
	bl	_Usage
	b	LBB0_11
LBB0_4:
	mov	x20, x0
	mov	x0, x19
	bl	_strlen
	cmp	w0, #17
	b.ne	LBB0_9
; %bb.5:
	mov	x21, #0
Lloh5:
	adrp	x22, _SEPARATOR@GOTPAGE
Lloh6:
	ldr	x22, [x22, _SEPARATOR@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #8
	cmp	x21, #136
	b.eq	LBB0_13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, x21]
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_isxdigit
	cbnz	w0, LBB0_6
LBB0_9:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__T
	str	x19, [sp]
LBB0_10:
	bl	__tprintf
LBB0_11:
Lloh9:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	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_13:
	add	x1, sp, #12
	mov	x0, #0
	mov	w2, #0
	bl	_GetIpNetTable
	bl	_GetProcessHeap
	ldr	w2, [sp, #12]
	mov	w1, #0
	bl	_HeapAlloc
	cbz	x0, LBB0_11
; %bb.14:
	mov	x21, x0
	mov	w1, #40
	bl	_ZeroMemory
Lloh11:
	adrp	x8, _TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	add	x1, sp, #12
	mov	x0, x21
	bl	_GetIpNetTable
Lloh14:
	adrp	x24, _NO_ERROR@GOTPAGE
Lloh15:
	ldr	x24, [x24, _NO_ERROR@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_18
; %bb.15:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	w2, #40
	bl	_HeapAlloc
	mov	x22, x0
	cbz	x0, LBB0_20
; %bb.16:
	mov	x0, x22
	mov	w1, #40
	bl	_ZeroMemory
	cbz	x23, LBB0_22
; %bb.17:
	add	x2, x22, #32
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x23
	bl	_sscanf
Lloh18:
	adrp	x8, _EOF@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_20
	b	LBB0_23
LBB0_18:
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__T
	bl	__tprintf
	mov	x22, #0
LBB0_19:
	bl	_DoFormatMessage
LBB0_20:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x21
	bl	_HeapFree
	cbz	x22, LBB0_11
; %bb.21:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x22
	bl	_HeapFree
	b	LBB0_11
LBB0_22:
	ldr	x8, [x21, #24]
	ldr	w8, [x8]
	str	w8, [x22, #32]
LBB0_23:
	mov	w8, #6
	str	w8, [x22]
	ldr	x0, [x19]
	bl	_toupper
	mov	x23, x0
	bl	_isdigit
	mov	w25, #65481
	movk	w25, #4095, lsl #16
	add	w26, w25, #7
	cmp	x0, #0
	csel	w8, w25, w26, eq
	add	w27, w8, w23
	ldr	x0, [x19, #8]
	bl	_toupper
	mov	x23, x0
	bl	_isdigit
	cmp	x0, #0
	mov	w8, #-48
	mov	w28, #-55
	csel	w8, w28, w8, eq
	add	w9, w23, w27, lsl #4
	add	w8, w9, w8
	sxtw	x8, w8
	ldr	x9, [x22, #16]
	str	x8, [x9]
	ldr	x0, [x19, #24]
	bl	_toupper
	mov	x23, x0
	bl	_isdigit
	cmp	x0, #0
	csel	w8, w25, w26, eq
	add	w27, w8, w23
	ldr	x0, [x19, #32]
	bl	_toupper
	mov	x23, x0
	bl	_isdigit
	cmp	x0, #0
	mov	w8, #-48
	csel	w8, w28, w8, eq
	add	w9, w23, w27, lsl #4
	add	w8, w9, w8
	sxtw	x8, w8
	ldr	x9, [x22, #16]
	str	x8, [x9, #8]
	ldr	x0, [x19, #48]
	bl	_toupper
	mov	x23, x0
	bl	_isdigit
	cmp	x0, #0
	csel	w8, w25, w26, eq
	add	w27, w8, w23
	ldr	x0, [x19, #56]
	bl	_toupper
	mov	x23, x0
	bl	_isdigit
	cmp	x0, #0
	mov	w8, #-48
	csel	w8, w28, w8, eq
	add	w9, w23, w27, lsl #4
	add	w8, w9, w8
	sxtw	x8, w8
	ldr	x9, [x22, #16]
	str	x8, [x9, #16]
	ldr	x0, [x19, #72]
	bl	_toupper
	mov	x23, x0
	bl	_isdigit
	cmp	x0, #0
	csel	w8, w25, w26, eq
	add	w27, w8, w23
	ldr	x0, [x19, #80]
	bl	_toupper
	mov	x23, x0
	bl	_isdigit
	cmp	x0, #0
	mov	w8, #-48
	csel	w8, w28, w8, eq
	add	w9, w23, w27, lsl #4
	add	w8, w9, w8
	sxtw	x8, w8
	ldr	x9, [x22, #16]
	str	x8, [x9, #24]
	ldr	x0, [x19, #96]
	bl	_toupper
	mov	x23, x0
	bl	_isdigit
	cmp	x0, #0
	csel	w8, w25, w26, eq
	add	w27, w8, w23
	ldr	x0, [x19, #104]
	bl	_toupper
	mov	x23, x0
	bl	_isdigit
	cmp	x0, #0
	mov	w8, #-48
	csel	w8, w28, w8, eq
	add	w9, w23, w27, lsl #4
	add	w8, w9, w8
	sxtw	x8, w8
	ldr	x9, [x22, #16]
	str	x8, [x9, #32]
	ldr	x0, [x19, #120]
	bl	_toupper
	mov	x23, x0
	bl	_isdigit
	cmp	x0, #0
	csel	w8, w25, w26, eq
	add	w23, w8, w23
	ldr	x0, [x19, #128]
	bl	_toupper
	mov	x19, x0
	bl	_isdigit
	cmp	x0, #0
	mov	w8, #-48
	csel	w8, w28, w8, eq
	add	w9, w19, w23, lsl #4
	add	w8, w9, w8
	sxtw	x8, w8
	ldr	x9, [x22, #16]
	str	x8, [x9, #40]
Lloh23:
	adrp	x8, _MIB_IPNET_TYPE_STATIC@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MIB_IPNET_TYPE_STATIC@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	stp	w8, w20, [x22, #4]
	mov	x0, x22
	bl	_SetIpNetEntry
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_19
; %bb.24:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x22
	bl	_HeapFree
Lloh26:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_INADDR_NONE,4,2                ; @INADDR_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ARP: bad IP address: %s\n"

	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
l_.str.1:                               ; @.str.1
	.asciz	"ARP: bad argument: %s\n"

	.comm	_SEPARATOR,8,3                  ; @SEPARATOR
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_NO_ERROR,8,3                   ; @NO_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"failed to allocate memory for GetIpNetTable\n"

l_.str.3:                               ; @.str.3
	.asciz	"%lx"

	.comm	_EOF,8,3                        ; @EOF
	.comm	_MIB_IPNET_TYPE_STATIC,4,2      ; @MIB_IPNET_TYPE_STATIC
	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
.subsections_via_symbols
