	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipv6_cb
_ipv6_cb:                               ## @ipv6_cb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movl	%esi, %edx
	movq	%rdi, %rsi
	movslq	(%rbx), %rdi
	xorl	%r14d, %r14d
	cmpq	$16, %rdi
	je	LBB0_14
## %bb.1:
	testl	%edx, %edx
	je	LBB0_2
## %bb.6:
	cmpl	$5, %edx
	jl	LBB0_11
## %bb.7:
	cmpl	$12, %edi
	jg	LBB0_14
## %bb.8:
	movl	%edx, %eax
	cmpb	$0, (%rsi,%rax)
	jne	LBB0_14
## %bb.9:
	addq	8(%rbx), %rdi
	callq	_ipv4_from_asc
	testl	%eax, %eax
	je	LBB0_14
## %bb.10:
	movl	$4, %eax
	jmp	LBB0_13
LBB0_2:
	movl	4(%rbx), %eax
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.4:
	cmpl	%edi, %eax
	je	LBB0_5
	jmp	LBB0_14
LBB0_11:
	addq	8(%rbx), %rdi
	callq	_ipv6_hex
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:
	movl	$2, %eax
	jmp	LBB0_13
LBB0_3:
	movl	%edi, 4(%rbx)
LBB0_5:
	addq	$16, %rbx
	movl	$1, %eax
LBB0_13:
	addl	%eax, (%rbx)
	movl	$1, %r14d
LBB0_14:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ipv6_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipv6_cb
_ipv6_cb:                               ; @ipv6_cb
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	ldr	w8, [x2]
	cmp	w8, #16
	b.ne	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_15
LBB0_2:
	mov	x2, x1
	cbz	w1, LBB0_8
; %bb.3:
	mov	x1, x0
	sxtw	x9, w8
	cmp	w2, #5
	b.lt	LBB0_10
; %bb.4:
	cmp	w8, #12
	b.gt	LBB0_1
; %bb.5:
	ldrb	w8, [x1, w2, uxtw]
	cbnz	w8, LBB0_1
; %bb.6:
	ldr	x8, [x19, #8]
	add	x0, x8, x9
	bl	_ipv4_from_asc
	cbz	w0, LBB0_15
; %bb.7:
	mov	w8, #4
	b	LBB0_14
LBB0_8:
	ldr	w9, [x19, #4]
	cmn	w9, #1
	b.eq	LBB0_12
; %bb.9:
	cmp	w9, w8
	b.ne	LBB0_1
	b	LBB0_13
LBB0_10:
	ldr	x8, [x19, #8]
	add	x0, x8, x9
	bl	_ipv6_hex
	cbz	w0, LBB0_15
; %bb.11:
	mov	w8, #2
	b	LBB0_14
LBB0_12:
	str	w8, [x19, #4]
LBB0_13:
	add	x19, x19, #16
	mov	w8, #1
LBB0_14:
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
	mov	w0, #1
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ipv6_cb
.subsections_via_symbols
