	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extract_ipv6_addr
_extract_ipv6_addr:                     ## @extract_ipv6_addr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	$64, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	incq	%rbx
	movb	$0, (%rax)
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtol
	cmpl	$7, %eax
	movl	$7, %ecx
	cmovll	%eax, %ecx
	movl	%ecx, (%r13)
	movq	%rbx, %r12
LBB0_2:
	xorl	%ebx, %ebx
	cmpb	$91, (%r12)
	sete	%bl
	addq	%r12, %rbx
	movq	%rbx, %rdi
	movl	$93, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movb	$0, (%rax)
	cmpb	$58, 1(%rax)
	jne	LBB0_5
## %bb.4:
	movq	%rax, %rdi
	addq	$2, %rdi
	movb	$0, 1(%rax)
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtol
	movq	%rax, (%r14)
LBB0_5:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_inet_pton                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.no_dead_strip	_extract_ipv6_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extract_ipv6_addr
_extract_ipv6_addr:                     ; @extract_ipv6_addr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	mov	w1, #64
	bl	_strchr
	cbz	x0, LBB0_2
; %bb.1:
	mov	x23, x0
	strb	wzr, [x23], #1
	mov	x0, x22
	mov	x1, #0
	mov	w2, #0
	bl	_strtol
	mov	w8, #7
	cmp	w0, #7
	csel	w8, w0, w8, lt
	str	w8, [x21]
	mov	x22, x23
LBB0_2:
	mov	x8, x22
	ldrb	w9, [x8], #1
	cmp	w9, #91
	csel	x21, x22, x8, ne
	mov	x0, x21
	mov	w1, #93
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.3:
	strb	wzr, [x0]
	ldrb	w8, [x0, #1]
	cmp	w8, #58
	b.ne	LBB0_5
; %bb.4:
	add	x8, x0, #2
	strb	wzr, [x0, #1]
	mov	x0, x8
	mov	x1, #0
	mov	w2, #0
	bl	_strtol
	str	x0, [x20]
LBB0_5:
Lloh0:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x21
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_inet_pton
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.no_dead_strip	_extract_ipv6_addr
.subsections_via_symbols
