	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip6_sprintf                    ## -- Begin function ip6_sprintf
	.p2align	4, 0x90
_ip6_sprintf:                           ## @ip6_sprintf
	.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	%rdi, %rax
	movq	(%rsi), %r10
	movq	8(%rsi), %r8
	xorl	%ecx, %ecx
	testq	%r10, %r10
	setne	%dil
	sete	%cl
	leal	1(%rcx), %ebx
	xorl	%r11d, %r11d
	testq	%r8, %r8
	sete	%dl
	setne	%r9b
	cmovnel	%r11d, %ebx
	andb	%r9b, %cl
	movzbl	%cl, %ecx
	andb	%dil, %dl
	movzbl	%dl, %r9d
	cmpq	$0, 16(%rsi)
	je	LBB0_3
## %bb.1:
	cmpl	%ecx, %ebx
	jbe	LBB0_7
## %bb.2:
	xorl	%edi, %edi
	movl	%r9d, %r11d
	cmpq	$0, 24(%rsi)
	jne	LBB0_4
LBB0_8:
	leal	1(%rdi), %ecx
	testl	%edi, %edi
	movl	$3, %edx
	cmovel	%edx, %r9d
	jmp	LBB0_10
LBB0_3:
	incl	%ebx
	testq	%r8, %r8
	movl	$2, %edx
	cmovel	%r9d, %edx
	movl	%ebx, %edi
	movl	%ecx, %ebx
	movl	%edx, %r9d
	cmpq	$0, 24(%rsi)
	je	LBB0_8
LBB0_4:
	cmpl	%edi, %ebx
	jae	LBB0_9
## %bb.5:
	xorl	%ecx, %ecx
	movl	%r9d, %r11d
	cmpq	$0, 32(%rsi)
	jne	LBB0_11
LBB0_6:
	leal	1(%rcx), %edx
	testl	%ecx, %ecx
	movl	$4, %ecx
	cmovel	%ecx, %r9d
	jmp	LBB0_15
LBB0_7:
	movl	%ebx, %edi
	movl	%ecx, %ebx
	cmpq	$0, 24(%rsi)
	jne	LBB0_4
	jmp	LBB0_8
LBB0_9:
	movl	%edi, %ecx
LBB0_10:
	movl	%ebx, %edi
	cmpq	$0, 32(%rsi)
	je	LBB0_6
LBB0_11:
	cmpl	%ecx, %edi
	jae	LBB0_14
## %bb.12:
	xorl	%edx, %edx
	movl	%r9d, %r11d
	cmpq	$0, 40(%rsi)
	jne	LBB0_16
LBB0_13:
	leal	1(%rdx), %edi
	testl	%edx, %edx
	movl	$5, %edx
	cmovel	%edx, %r9d
	jmp	LBB0_20
LBB0_14:
	movl	%ecx, %edx
LBB0_15:
	movl	%edi, %ecx
	cmpq	$0, 40(%rsi)
	je	LBB0_13
LBB0_16:
	cmpl	%edx, %ecx
	jae	LBB0_19
## %bb.17:
	xorl	%edi, %edi
	movl	%r9d, %r11d
	cmpq	$0, 48(%rsi)
	jne	LBB0_21
LBB0_18:
	leal	1(%rdi), %ecx
	testl	%edi, %edi
	movl	$6, %edi
	cmovel	%edi, %r9d
	jmp	LBB0_25
LBB0_19:
	movl	%edx, %edi
LBB0_20:
	movl	%ecx, %edx
	cmpq	$0, 48(%rsi)
	je	LBB0_18
LBB0_21:
	cmpl	%edi, %edx
	jae	LBB0_24
## %bb.22:
	xorl	%ecx, %ecx
	movl	%r9d, %r11d
	cmpq	$0, 56(%rsi)
	jne	LBB0_26
LBB0_23:
	leal	1(%rcx), %edx
	testl	%ecx, %ecx
	movl	$7, %ecx
	cmovel	%ecx, %r9d
	jmp	LBB0_29
LBB0_24:
	movl	%edi, %ecx
LBB0_25:
	movl	%edx, %edi
	cmpq	$0, 56(%rsi)
	je	LBB0_23
LBB0_26:
	cmpl	%ecx, %edi
	jae	LBB0_28
## %bb.27:
	xorl	%edx, %edx
	movl	%r9d, %r11d
	jmp	LBB0_30
LBB0_28:
	movl	%ecx, %edx
LBB0_29:
	movl	%edi, %ecx
LBB0_30:
	cmpl	%edx, %ecx
	cmovael	%r11d, %r9d
	testq	%r10, %r10
	je	LBB0_32
## %bb.31:
	movq	_digits@GOTPCREL(%rip), %r8
	movq	(%r8), %rdx
	sarl	$4, %r10d
	movslq	%r10d, %rdi
	movb	(%rdx,%rdi,8), %dl
	movb	%dl, (%rax)
	xorl	%edi, %edi
	cmpb	$48, %dl
	setne	%dil
	leaq	(%rax,%rdi), %r10
	movq	(%r8), %rbx
	movl	(%rsi), %ecx
	andl	$15, %ecx
	movb	(%rbx,%rcx,8), %cl
	movb	%cl, (%rax,%rdi)
	cmpb	$48, %cl
	setne	%cl
	orb	%cl, %dil
	movzbl	%dil, %ecx
	leaq	(%r10,%rcx), %r11
	movq	(%r8), %rdi
	movl	4(%rsi), %edx
	sarl	$4, %edx
	movslq	%edx, %rdx
	movb	(%rdi,%rdx,8), %dl
	movb	%dl, (%rcx,%r10)
	cmpb	$48, %dl
	setne	%dl
	orb	%dl, %cl
	movzbl	%cl, %ecx
	leaq	(%r11,%rcx), %r14
	movq	(%r8), %rdx
	movl	4(%rsi), %ebx
	andl	$15, %ebx
	movb	(%rdx,%rbx,8), %dl
	movb	%dl, (%rcx,%r11)
	xorl	%r10d, %r10d
	jmp	LBB0_37
LBB0_32:
	testq	%r8, %r8
	jne	LBB0_35
## %bb.33:
	testl	%r9d, %r9d
	jne	LBB0_35
## %bb.34:
	movb	$58, (%rax)
	movl	$1, %r10d
	jmp	LBB0_36
LBB0_35:
	movb	$48, (%rax)
	xorl	%r10d, %r10d
LBB0_36:
	movq	%rax, %r14
LBB0_37:
	movb	$58, 1(%r14)
	addq	$2, %r14
	decl	%r9d
	xorl	%ecx, %ecx
	movq	_digits@GOTPCREL(%rip), %r8
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_42 Depth=1
	movl	$2, %r10d
	testq	%rdx, %rdx
	je	LBB0_46
LBB0_39:                                ##   in Loop: Header=BB0_42 Depth=1
	movq	(%r8), %rbx
	sarl	$4, %edx
	movslq	%edx, %rdx
	movzbl	(%rbx,%rdx,8), %edx
	movb	%dl, (%r14)
	xorl	%ebx, %ebx
	cmpb	$48, %dl
	setne	%bl
	leaq	(%r14,%rbx), %r11
	movq	(%r8), %rdi
	movl	8(%rsi,%rcx,8), %edx
	andl	$15, %edx
	movzbl	(%rdi,%rdx,8), %edx
	movb	%dl, (%r14,%rbx)
	cmpb	$48, %dl
	setne	%dl
	orb	%dl, %bl
	movzbl	%bl, %edx
	leaq	(%r11,%rdx), %rdi
	movq	(%r8), %r14
	movl	12(%rsi,%rcx,8), %ebx
	sarl	$4, %ebx
	movslq	%ebx, %rbx
	movzbl	(%r14,%rbx,8), %ebx
	movb	%bl, (%rdx,%r11)
	cmpb	$48, %bl
	setne	%bl
	orb	%bl, %dl
	movzbl	%dl, %edx
	movq	(%r8), %r11
	movl	12(%rsi,%rcx,8), %ebx
	andl	$15, %ebx
	movzbl	(%r11,%rbx,8), %ebx
	leaq	(%rdx,%rdi), %r14
	incq	%r14
	movb	%bl, (%rdx,%rdi)
	addq	%rdi, %rdx
	addq	$2, %rdx
LBB0_40:                                ##   in Loop: Header=BB0_42 Depth=1
	movb	$58, (%r14)
	movq	%rdx, %r14
LBB0_41:                                ##   in Loop: Header=BB0_42 Depth=1
	incq	%rcx
	cmpl	$7, %ecx
	je	LBB0_51
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rsi,%rcx,8), %rdx
	cmpl	$1, %r10d
	je	LBB0_38
## %bb.43:                              ##   in Loop: Header=BB0_42 Depth=1
	testq	%rdx, %rdx
	jne	LBB0_39
## %bb.44:                              ##   in Loop: Header=BB0_42 Depth=1
	testl	%r10d, %r10d
	je	LBB0_47
LBB0_45:                                ##   in Loop: Header=BB0_42 Depth=1
	movb	$48, (%r14)
	movq	%r14, %rdx
	incq	%r14
	addq	$2, %rdx
	jmp	LBB0_40
LBB0_46:                                ##   in Loop: Header=BB0_42 Depth=1
	movl	$1, %r10d
	cmpl	$6, %ecx
	jne	LBB0_41
	jmp	LBB0_50
LBB0_47:                                ##   in Loop: Header=BB0_42 Depth=1
	cmpq	$0, 16(%rsi,%rcx,8)
	jne	LBB0_45
## %bb.48:                              ##   in Loop: Header=BB0_42 Depth=1
	cmpl	%ecx, %r9d
	jne	LBB0_45
## %bb.49:                              ##   in Loop: Header=BB0_42 Depth=1
	leaq	1(%r14), %rdx
	movl	$1, %r10d
	jmp	LBB0_40
LBB0_50:
	movb	$58, (%r14)
	incq	%r14
LBB0_51:
	movb	$0, -1(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_digits,8,3                     ## @digits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip6_sprintf                    ; -- Begin function ip6_sprintf
	.p2align	2
_ip6_sprintf:                           ; @ip6_sprintf
	.cfi_startproc
; %bb.0:
	ldp	x10, x9, [x1]
	cmp	x10, #0
	cset	w8, ne
	cset	w11, eq
	mov	w12, #1
	cinc	w12, w12, eq
	cmp	x9, #0
	cset	w13, eq
	cset	w14, ne
	csel	w12, w12, wzr, eq
	and	w11, w14, w11
	and	w8, w13, w8
	cmp	x9, #0
	mov	w13, #2
	csel	w13, w8, w13, eq
	cmp	w12, w11
	csel	w14, w12, wzr, ls
	csel	w15, w11, w12, ls
	csel	w16, wzr, w8, ls
	ldp	x17, x2, [x1, #16]
	cmp	x17, #0
	csinc	w12, w14, w12, ne
	csel	w11, w11, w15, eq
	csel	w8, w13, w8, eq
	csel	w13, wzr, w16, eq
	mov	w14, #3
	cmp	w12, #0
	csel	w14, w14, w8, eq
	cmp	w11, w12
	csel	w15, w12, wzr, hs
	csel	w16, w11, w12, hs
	csel	w17, w13, w8, hs
	cmp	x2, #0
	csinc	w12, w15, w12, ne
	csel	w11, w11, w16, eq
	csel	w8, w14, w8, eq
	csel	w13, w13, w17, eq
	mov	w14, #4
	cmp	w12, #0
	csel	w14, w14, w8, eq
	cmp	w11, w12
	csel	w15, w12, wzr, hs
	csel	w16, w11, w12, hs
	csel	w17, w13, w8, hs
	ldp	x2, x3, [x1, #32]
	cmp	x2, #0
	csinc	w12, w15, w12, ne
	csel	w11, w11, w16, eq
	csel	w8, w14, w8, eq
	csel	w13, w13, w17, eq
	mov	w14, #5
	cmp	w12, #0
	csel	w14, w14, w8, eq
	cmp	w11, w12
	csel	w15, w12, wzr, hs
	csel	w16, w11, w12, hs
	csel	w17, w13, w8, hs
	cmp	x3, #0
	csinc	w12, w15, w12, ne
	csel	w11, w11, w16, eq
	csel	w8, w14, w8, eq
	csel	w13, w13, w17, eq
	mov	w14, #6
	cmp	w12, #0
	csel	w14, w14, w8, eq
	cmp	w11, w12
	csel	w15, w12, wzr, hs
	csel	w16, w11, w12, hs
	csel	w17, w13, w8, hs
	ldp	x2, x3, [x1, #48]
	cmp	x2, #0
	csinc	w12, w15, w12, ne
	csel	w11, w11, w16, eq
	csel	w8, w14, w8, eq
	csel	w13, w13, w17, eq
	mov	w14, #7
	cmp	w12, #0
	csel	w14, w14, w8, eq
	cmp	w11, w12
	csel	w15, w12, wzr, hs
	csel	w16, w11, w12, hs
	csel	w17, w13, w8, hs
	cmp	x3, #0
	csinc	w12, w15, w12, ne
	csel	w11, w11, w16, eq
	csel	w8, w14, w8, eq
	csel	w13, w13, w17, eq
	cmp	w11, w12
	csel	w12, w8, w13, lo
Lloh0:
	adrp	x8, _digits@GOTPAGE
Lloh1:
	ldr	x8, [x8, _digits@GOTPAGEOFF]
	cbz	x10, LBB0_2
; %bb.1:
	mov	w9, #0
	ldr	x11, [x8]
	asr	w10, w10, #4
	ldr	x10, [x11, w10, sxtw #3]
	and	w11, w10, #0xff
	mov	x13, x0
	strb	w10, [x13], #1
	cmp	w11, #48
	cset	w10, ne
	ldr	x11, [x8]
	ldr	w14, [x1]
	and	x14, x14, #0xf
	ldr	x11, [x11, x14, lsl #3]
	csel	x13, x0, x13, eq
	and	w14, w11, #0xff
	strb	w11, [x13]
	cmp	w14, #48
	cset	w11, ne
	orr	w10, w10, w11
	ldr	x11, [x8]
	ldr	w14, [x1, #4]
	asr	w14, w14, #4
	ldr	x11, [x11, w14, sxtw #3]
	and	w14, w11, #0xff
	cmp	w14, #48
	cset	w14, ne
	orr	w14, w10, w14
	add	x10, x13, x10
	add	x13, x10, x14
	strb	w11, [x10]
	ldr	x10, [x8]
	ldr	w11, [x1, #4]
	and	x11, x11, #0xf
	ldr	x10, [x10, x11, lsl #3]
	strb	w10, [x13]
	b	LBB0_7
LBB0_2:
	cbnz	x9, LBB0_5
; %bb.3:
	cbnz	w12, LBB0_5
; %bb.4:
	mov	w9, #58
	strb	w9, [x0]
	mov	w9, #1
	b	LBB0_6
LBB0_5:
	mov	w9, #0
	mov	w10, #48
	strb	w10, [x0]
LBB0_6:
	mov	x13, x0
LBB0_7:
	mov	x10, #0
	add	x14, x13, #2
	mov	w11, #58
	strb	w11, [x13, #1]
	sub	w12, w12, #1
	mov	w13, #48
	b	LBB0_13
LBB0_8:                                 ;   in Loop: Header=BB0_13 Depth=1
	cbz	x15, LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	w9, #2
LBB0_10:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x16, x1, x10
	ldr	x17, [x8]
	asr	w15, w15, #4
	ldr	x15, [x17, w15, sxtw #3]
	and	w17, w15, #0xff
	mov	x2, x14
	strb	w15, [x2], #1
	cmp	w17, #48
	cset	w15, ne
	csel	x14, x14, x2, eq
	ldr	x17, [x8]
	ldr	w2, [x16, #8]
	and	x2, x2, #0xf
	ldr	x17, [x17, x2, lsl #3]
	and	w2, w17, #0xff
	strb	w17, [x14]
	cmp	w2, #48
	cset	w17, ne
	orr	w15, w15, w17
	ldr	x17, [x8]
	ldr	w2, [x16, #12]
	asr	w2, w2, #4
	ldr	x17, [x17, w2, sxtw #3]
	and	w2, w17, #0xff
	cmp	w2, #48
	cset	w2, ne
	orr	w2, w15, w2
	add	x14, x14, x15
	add	x15, x14, x2
	strb	w17, [x14]
	ldr	x14, [x8]
	ldr	w16, [x16, #12]
	and	x16, x16, #0xf
	ldr	x16, [x14, x16, lsl #3]
	add	x14, x15, #1
	strb	w16, [x15], #2
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	strb	w11, [x14]
	mov	x14, x15
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x10, x10, #8
	sub	w12, w12, #1
	cmp	w10, #56
	b.eq	LBB0_21
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	x15, x1, x10
	ldr	x15, [x15, #8]
	cmp	w9, #1
	b.eq	LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	cbnz	x15, LBB0_10
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	cbnz	w9, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x15, x1, x10
	ldr	x15, [x15, #16]
	cmp	x15, #0
	ccmp	w12, #0, #0, eq
	b.eq	LBB0_20
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x16, x14, #1
	strb	w13, [x14], #2
	mov	x15, x14
	mov	x14, x16
	b	LBB0_11
LBB0_18:                                ;   in Loop: Header=BB0_13 Depth=1
	cmp	w10, #48
	b.eq	LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w9, #1
	b	LBB0_12
LBB0_20:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x15, x14, #1
	mov	w9, #1
	b	LBB0_11
LBB0_21:
	sturb	wzr, [x14, #-1]
	ret
LBB0_22:
	mov	w8, #58
	strb	w8, [x14], #1
	sturb	wzr, [x14, #-1]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_digits,8,3                     ; @digits
.subsections_via_symbols
