	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scan_ip6
_scan_ip6:                              ## @scan_ip6
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movups	%xmm0, (%rsi)
	xorl	%r13d, %r13d
	leaq	-88(%rbp), %r12
	xorl	%r15d, %r15d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	rolw	$8, %ax
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movw	%ax, (%rdx,%r13)
	addq	$2, %r13
	addq	%rcx, %rbx
	addl	%r14d, %r15d
	cmpq	$16, %r13
	je	LBB0_47
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$58, (%rbx)
	jne	LBB0_10
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$58, 1(%rbx)
	je	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	incl	%r15d
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$16, %edx
	callq	_simple_strtoul
	movq	-88(%rbp), %r14
	subq	%rbx, %r14
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %ecx
	cmpq	$12, %r13
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$46, (%rbx,%rcx)
	jne	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	callq	_in_aton
	movl	%eax, -68(%rbp)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	addq	$12, %rdi
	leaq	-68(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	addl	%r14d, %r15d
	jmp	LBB0_47
LBB0_11:
	xorl	%r15d, %r15d
LBB0_47:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_49
## %bb.48:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	addq	$2, %rbx
	addl	$2, %r15d
	xorl	%r12d, %r12d
	leaq	-88(%rbp), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	2(%r12), %r8
	rolw	$8, %ax
	movw	%ax, -64(%rbp,%r12)
	addq	%rdx, %rbx
	addl	%ecx, %r15d
	addl	%r13d, %r12d
	cmpl	$14, %r12d
	movq	%r8, %r12
	je	LBB0_22
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$58, (%rbx)
	jne	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%r12, %r12
	je	LBB0_47
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	incl	%r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	testq	%r12, %r12
	jne	LBB0_17
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$16, %edx
	callq	_simple_strtol
	movq	-88(%rbp), %rcx
	subq	%rbx, %rcx
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	leal	(%r12,%r13), %esi
	movl	%ecx, %edx
	cmpl	$12, %esi
	ja	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$46, (%rbx,%rdx)
	jne	LBB0_21
## %bb.20:
	movq	%rbx, %rdi
	callq	_in_aton
	movl	%eax, -68(%rbp)
	leaq	(%r12,%rbp), %rdi
	addq	$-64, %rdi
	leaq	-68(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	addl	$4, %r12d
	movq	%rbx, %rdi
	callq	_strlen
	addl	%eax, %r15d
	movl	%r12d, %r8d
	jmp	LBB0_22
LBB0_8:
	cmpb	$1, (%rbx)
	adcl	$-1, %r15d
	movl	%r12d, %r8d
	jmp	LBB0_22
LBB0_17:
	movq	%r12, %r8
LBB0_22:
	testl	%r8d, %r8d
	movq	-80(%rbp), %r11                 ## 8-byte Reload
	je	LBB0_47
## %bb.23:
	movl	%r8d, %r9d
	cmpl	$8, %r8d
	jae	LBB0_25
## %bb.24:
	xorl	%r10d, %r10d
	jmp	LBB0_41
LBB0_25:
	leaq	-1(%r9), %rax
	leal	-17(%r8), %edx
	xorl	%r10d, %r10d
	cmpl	%eax, %edx
	jb	LBB0_41
## %bb.26:
	shrq	$32, %rax
	jne	LBB0_41
## %bb.27:
	cmpl	$32, %r8d
	jae	LBB0_29
## %bb.28:
	xorl	%r10d, %r10d
	jmp	LBB0_38
LBB0_29:
	movl	%r9d, %r10d
	andl	$-32, %r10d
	leaq	-32(%r10), %rdx
	movq	%rdx, %rax
	shrq	$5, %rax
	incq	%rax
	movl	%eax, %esi
	andl	$3, %esi
	cmpq	$96, %rdx
	jae	LBB0_31
## %bb.30:
	xorl	%edi, %edi
	jmp	LBB0_33
LBB0_31:
	andq	$-4, %rax
	movl	$80, %edx
	subl	%r8d, %edx
	xorl	%edi, %edi
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movaps	-64(%rbp,%rdi), %xmm0
	movaps	-48(%rbp,%rdi), %xmm1
	leal	-64(%rdx), %ebx
	movups	%xmm0, (%r11,%rbx)
	movups	%xmm1, 16(%r11,%rbx)
	movaps	-32(%rbp,%rdi), %xmm0
	movaps	-16(%rbp,%rdi), %xmm1
	leal	-32(%rdx), %ebx
	movups	%xmm0, (%r11,%rbx)
	movups	%xmm1, 16(%r11,%rbx)
	movaps	(%rbp,%rdi), %xmm0
	movaps	16(%rbp,%rdi), %xmm1
	movl	%edx, %ebx
	movups	%xmm0, (%r11,%rbx)
	movups	%xmm1, 16(%r11,%rbx)
	movaps	32(%rbp,%rdi), %xmm0
	movaps	48(%rbp,%rdi), %xmm1
	leal	32(%rdx), %ebx
	movups	%xmm0, (%r11,%rbx)
	movups	%xmm1, 16(%r11,%rbx)
	subq	$-128, %rdi
	subl	$-128, %edx
	addq	$-4, %rax
	jne	LBB0_32
LBB0_33:
	testq	%rsi, %rsi
	je	LBB0_36
## %bb.34:
	leaq	(%rdi,%rbp), %rax
	addq	$-48, %rax
	subl	%r8d, %edi
	addl	$16, %edi
	shlq	$5, %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movaps	-16(%rax,%rdx), %xmm0
	movaps	(%rax,%rdx), %xmm1
	leal	(%rdi,%rdx), %ebx
	movups	%xmm0, (%r11,%rbx)
	movups	%xmm1, 16(%r11,%rbx)
	addq	$32, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_35
LBB0_36:
	cmpq	%r9, %r10
	je	LBB0_47
## %bb.37:
	testb	$24, %r9b
	je	LBB0_41
LBB0_38:
	movq	%r10, %rax
	movl	%r9d, %r10d
	andl	$-8, %r10d
	movl	$16, %edx
	subl	%r8d, %edx
	.p2align	4, 0x90
LBB0_39:                                ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp,%rax), %rsi
	leal	(%rdx,%rax), %edi
	movq	%rsi, (%r11,%rdi)
	addq	$8, %rax
	cmpq	%rax, %r10
	jne	LBB0_39
## %bb.40:
	cmpq	%r9, %r10
	je	LBB0_47
LBB0_41:
	movq	%r10, %rax
	notq	%rax
	addq	%r9, %rax
	movq	%r9, %rdx
	andq	$3, %rdx
	je	LBB0_44
## %bb.42:
	movl	$16, %esi
	subl	%r8d, %esi
	.p2align	4, 0x90
LBB0_43:                                ## =>This Inner Loop Header: Depth=1
	movzbl	-64(%rbp,%r10), %ebx
	leal	(%rsi,%r10), %edi
	movb	%bl, (%r11,%rdi)
	incq	%r10
	decq	%rdx
	jne	LBB0_43
LBB0_44:
	cmpq	$3, %rax
	jb	LBB0_47
## %bb.45:
	movl	$19, %esi
	subl	%r8d, %esi
	leaq	-61(%rbp), %rdi
	movl	$18, %ebx
	subl	%r8d, %ebx
	movl	$16, %edx
	subl	%r8d, %edx
	movl	$17, %eax
	subl	%r8d, %eax
	.p2align	4, 0x90
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	movzbl	-3(%rdi,%r10), %r8d
	leal	(%r10,%rdx), %ecx
	movb	%r8b, (%r11,%rcx)
	movzbl	-2(%rdi,%r10), %r8d
	leal	(%rax,%r10), %ecx
	movb	%r8b, (%r11,%rcx)
	movzbl	-1(%rdi,%r10), %r8d
	leal	(%rbx,%r10), %ecx
	movb	%r8b, (%r11,%rcx)
	movzbl	(%rdi,%r10), %r8d
	leal	(%rsi,%r10), %ecx
	movb	%r8b, (%r11,%rcx)
	addq	$-4, %r9
	addq	$4, %rsi
	addq	$4, %rdi
	addq	$4, %rbx
	addq	$4, %rdx
	addq	$4, %rax
	cmpq	%r9, %r10
	jne	LBB0_46
	jmp	LBB0_47
LBB0_49:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_scan_ip6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scan_ip6
_scan_ip6:                              ; @scan_ip6
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x1
	mov	x21, x0
	mov	x22, #0
	mov	w19, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	stp	xzr, xzr, [x1]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	rev	w9, w0
	lsr	w9, w9, #16
	strh	w9, [x20, x22]
	add	x9, x22, #2
	add	x21, x21, x8
	add	w19, w19, w23
	mov	x22, x9
	cmp	x9, #16
	b.eq	LBB0_10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21]
	cmp	w8, #58
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x21
	ldrb	w9, [x8, #1]!
	cmp	w9, #58
	b.eq	LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w19, w19, #1
	mov	x21, x8
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #16
	bl	_simple_strtoul
	ldr	x8, [sp, #8]
	sub	x23, x8, x21
	cbz	w23, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	and	x8, x23, #0xffffffff
	cmp	x22, #12
	b.ne	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w9, [x21, x8]
	cmp	w9, #46
	b.ne	LBB0_1
; %bb.8:
	mov	x0, x21
	bl	_in_aton
	str	w0, [sp, #20]
	add	x0, x20, #12
	add	x1, sp, #20
	mov	w2, #4
	bl	_memcpy
	add	w19, w19, w23
	b	LBB0_10
LBB0_9:
	mov	w19, #0
LBB0_10:
	ldr	x8, [sp, #40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.11:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_12:
	mov	x24, #0
	add	x21, x21, #2
	add	w19, w19, #2
	add	x25, sp, #24
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	rev	w10, w0
	lsr	w10, w10, #16
	strh	w10, [x25, x24]
	add	x23, x24, #2
	add	x21, x21, x9
	add	w19, w19, w8
	add	w8, w22, w24
	mov	x24, x23
	cmp	w8, #14
	b.eq	LBB0_23
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21]
	cmp	w8, #58
	b.ne	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	cbz	x24, LBB0_10
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x21, x21, #1
	add	w19, w19, #1
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=1
	cbnz	x24, LBB0_30
LBB0_18:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #16
	bl	_simple_strtol
	ldr	x8, [sp, #8]
	sub	x8, x8, x21
	cbz	w8, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_14 Depth=1
	add	w10, w22, w24
	and	x9, x8, #0xffffffff
	cmp	w10, #12
	b.hi	LBB0_13
; %bb.20:                               ;   in Loop: Header=BB0_14 Depth=1
	ldrb	w10, [x21, x9]
	cmp	w10, #46
	b.ne	LBB0_13
; %bb.21:
	mov	x0, x21
	bl	_in_aton
	str	w0, [sp, #20]
	add	x8, sp, #24
	add	x0, x8, x24
	add	x1, sp, #20
	mov	w2, #4
	bl	_memcpy
	add	w23, w24, #4
	mov	x0, x21
	bl	_strlen
	add	w19, w19, w0
	cbnz	w23, LBB0_24
	b	LBB0_10
LBB0_22:
	ldrb	w8, [x21]
	cmp	w8, #0
	cset	w8, ne
	sub	w19, w19, w8
	mov	x23, x24
LBB0_23:
	cbz	w23, LBB0_10
LBB0_24:
	mov	w8, w23
	cmp	w23, #8
	b.hs	LBB0_26
; %bb.25:
	mov	x9, #0
	b	LBB0_38
LBB0_26:
	mov	x9, #0
	sub	x10, x8, #1
	sub	w11, w23, #17
	cmp	w11, w10
	b.lo	LBB0_38
; %bb.27:
	lsr	x10, x10, #32
	cbnz	x10, LBB0_38
; %bb.28:
	cmp	w23, #64
	b.hs	LBB0_31
; %bb.29:
	mov	x9, #0
	b	LBB0_35
LBB0_30:
	mov	x23, x24
	cbnz	w23, LBB0_24
	b	LBB0_10
LBB0_31:
	and	x9, x8, #0xffffffc0
	add	x10, sp, #24
	add	x10, x10, #32
	mov	w11, #16
	sub	w11, w11, w23
	mov	x12, x9
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x10, #-32]
	ldp	q2, q3, [x10], #64
	add	x13, x20, w11, uxtw
	stp	q0, q1, [x13]
	stp	q2, q3, [x13, #32]
	add	w11, w11, #64
	subs	x12, x12, #64
	b.ne	LBB0_32
; %bb.33:
	cmp	x9, x8
	b.eq	LBB0_10
; %bb.34:
	tst	x8, #0x38
	b.eq	LBB0_38
LBB0_35:
	mov	x12, x9
	and	x9, x8, #0xfffffff8
	add	x10, sp, #24
	add	x10, x10, x12
	sub	x11, x12, x9
	sub	w12, w12, w23
	add	w12, w12, #16
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x10], #8
	str	d0, [x20, w12, uxtw]
	add	w12, w12, #8
	adds	x11, x11, #8
	b.ne	LBB0_36
; %bb.37:
	cmp	x9, x8
	b.eq	LBB0_10
LBB0_38:
	sub	w10, w9, w23
	add	w10, w10, #16
	add	x11, sp, #24
	add	x11, x11, x9
	sub	x8, x8, x9
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x11], #1
	strb	w9, [x20, w10, uxtw]
	add	w10, w10, #1
	subs	x8, x8, #1
	b.ne	LBB0_39
	b	LBB0_10
LBB0_40:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_scan_ip6
.subsections_via_symbols
