	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inet_cidr_ntop_ipv6
_inet_cidr_ntop_ipv6:                   ## @inet_cidr_ntop_ipv6
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	$129, %esi
	jb	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_54
LBB0_2:
	movq	%rdx, %r14
	movq	%rcx, -184(%rbp)                ## 8-byte Spill
	testl	%ebx, %ebx
	movq	%rdx, -176(%rbp)                ## 8-byte Spill
	je	LBB0_23
## %bb.3:
	movq	%rdi, %rsi
	leal	7(%rbx), %r13d
	shrl	$3, %r13d
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	movl	%r13d, %edx
	callq	_memcpy
	leaq	-64(,%r13), %rdi
	addq	%rbp, %rdi
	movl	$16, %edx
	subl	%r13d, %edx
	xorl	%esi, %esi
	callq	_memset
	movl	%ebx, %eax
	andl	$7, %eax
	je	LBB0_5
## %bb.4:
	movb	$8, %cl
	subb	%al, %cl
	movl	$-1, %eax
	shll	%cl, %eax
	decl	%r13d
	andb	%al, -64(%rbp,%r13)
LBB0_5:
	leal	15(%rbx), %eax
	shrl	$4, %eax
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	leal	-1(%rbx), %ecx
	cmpl	$16, %ecx
	movl	$2, %r9d
	cmovael	%eax, %r9d
	movl	$0, %r13d
	movl	$0, %eax
	movl	$0, %ebx
	testl	%r9d, %r9d
	movl	$0, %r8d
	je	LBB0_15
## %bb.6:
	leal	(%r9,%r9), %ecx
	xorl	%edx, %edx
	xorl	%esi, %esi
	xorl	%edi, %edi
	xorl	%eax, %eax
	xorl	%r13d, %r13d
	xorl	%r8d, %r8d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_10 Depth=1
	testl	%edi, %edi
	cmovel	%edx, %eax
	incl	%edi
LBB0_8:                                 ##   in Loop: Header=BB0_10 Depth=1
	movl	%edi, %ebx
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=1
	addq	$2, %rsi
	incl	%edx
	movl	%ebx, %edi
	cmpq	%rcx, %rsi
	jae	LBB0_15
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	-60(%rbp,%rsi,4), %ebx
	orl	-64(%rbp,%rsi,4), %ebx
	je	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%ebx, %ebx
	testl	%edi, %edi
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpl	%edi, %r13d
	jge	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%eax, %r8d
	movl	%edi, %r13d
	jmp	LBB0_9
LBB0_15:
	testl	%ebx, %ebx
	setne	%cl
	cmpl	%ebx, %r13d
	setl	%dl
	testb	%dl, %cl
	cmovnel	%eax, %r8d
	cmovnel	%ebx, %r13d
	movl	$0, -132(%rbp)                  ## 4-byte Folded Spill
	cmpl	%r9d, %r13d
	je	LBB0_24
## %bb.16:
	testl	%r8d, %r8d
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_32
## %bb.17:
	cmpl	$7, %r13d
	je	LBB0_25
## %bb.18:
	cmpl	$6, %r13d
	je	LBB0_28
## %bb.19:
	cmpl	$5, %r13d
	jne	LBB0_31
## %bb.20:
	cmpl	$255, -24(%rbp)
	jne	LBB0_31
## %bb.21:
	cmpl	$255, -20(%rbp)
	je	LBB0_28
	jmp	LBB0_31
LBB0_23:
	movw	$14906, -128(%rbp)              ## imm = 0x3A3A
	movb	$0, -126(%rbp)
	jmp	LBB0_52
LBB0_24:
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	testl	%r9d, %r9d
	jne	LBB0_33
	jmp	LBB0_52
LBB0_25:
	cmpl	$0, -8(%rbp)
	je	LBB0_31
## %bb.26:
	cmpl	$1, -4(%rbp)
	jne	LBB0_28
LBB0_31:
	movl	$0, -132(%rbp)                  ## 4-byte Folded Spill
LBB0_32:
	testl	%r9d, %r9d
	je	LBB0_52
LBB0_33:
	leaq	-128(%rbp), %r14
	leal	(%r8,%r13), %eax
	movl	%eax, -164(%rbp)                ## 4-byte Spill
	negl	%r9d
	xorl	%r12d, %r12d
	movq	%r8, -160(%rbp)                 ## 8-byte Spill
	movq	%r9, -152(%rbp)                 ## 8-byte Spill
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_36 Depth=1
	addq	$8, %r15
LBB0_35:                                ##   in Loop: Header=BB0_36 Depth=1
	incl	%r12d
	movl	%r9d, %eax
	addl	%r12d, %eax
	je	LBB0_52
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	testl	%r13d, %r13d
	je	LBB0_43
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=1
	cmpl	%r8d, %r12d
	jl	LBB0_43
## %bb.38:                              ##   in Loop: Header=BB0_36 Depth=1
	cmpl	-164(%rbp), %r12d               ## 4-byte Folded Reload
	jge	LBB0_43
## %bb.39:                              ##   in Loop: Header=BB0_36 Depth=1
	leal	(%r9,%r12), %eax
	cmpl	%r12d, %r8d
	jne	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_36 Depth=1
	movb	$58, (%r14)
	incq	%r14
LBB0_41:                                ##   in Loop: Header=BB0_36 Depth=1
	cmpl	$-1, %eax
	jne	LBB0_34
## %bb.42:                              ##   in Loop: Header=BB0_36 Depth=1
	movb	$58, (%r14)
	incq	%r14
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_36 Depth=1
	cmpl	$6, %r12d
	setae	%al
	andb	-132(%rbp), %al                 ## 1-byte Folded Reload
	cmpb	$1, %al
	jne	LBB0_47
## %bb.44:                              ##   in Loop: Header=BB0_36 Depth=1
	cmpl	$6, %r12d
	movl	$46, %eax
	movl	$58, %ecx
	cmovel	%ecx, %eax
	movb	%al, (%r14)
	movslq	(%r15), %rdi
	callq	_SPRINTF
	cltq
	addq	%rax, %r14
	incq	%r14
	cmpl	$120, %ebx
	jg	LBB0_50
## %bb.45:                              ##   in Loop: Header=BB0_36 Depth=1
	cmpl	$7, %r12d
	jne	LBB0_50
## %bb.46:                              ##   in Loop: Header=BB0_36 Depth=1
	addq	$4, %r15
	jmp	LBB0_51
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_36 Depth=1
	leaq	-128(%rbp), %rax
	movq	%rax, %rbx
	cmpq	%rax, %r14
	je	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_36 Depth=1
	movb	$58, (%r14)
	incq	%r14
	movq	%r14, %rbx
LBB0_49:                                ##   in Loop: Header=BB0_36 Depth=1
	movslq	(%r15), %rax
	shlq	$8, %rax
	movslq	4(%r15), %rdi
	addq	%rax, %rdi
	callq	_SPRINTF
	movslq	%eax, %r14
	addq	%rbx, %r14
	addq	$8, %r15
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_51
LBB0_50:                                ##   in Loop: Header=BB0_36 Depth=1
	movb	$46, (%r14)
	movslq	4(%r15), %rdi
	addq	$8, %r15
	callq	_SPRINTF
	cltq
	addq	%rax, %r14
	incq	%r14
LBB0_51:                                ##   in Loop: Header=BB0_36 Depth=1
	movq	-160(%rbp), %r8                 ## 8-byte Reload
	movq	-152(%rbp), %r9                 ## 8-byte Reload
	jmp	LBB0_35
LBB0_28:
	movb	$1, %al
	movl	%eax, -132(%rbp)                ## 4-byte Spill
	testl	%r9d, %r9d
	jne	LBB0_33
LBB0_52:
	movslq	%ebx, %rdi
	callq	_SPRINTF
	leaq	-128(%rbp), %rdi
	callq	_strlen
	incl	%eax
	cltq
	cmpq	-184(%rbp), %rax                ## 8-byte Folded Reload
	jbe	LBB0_55
## %bb.53:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
LBB0_54:
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%ebx, %ebx
	jmp	LBB0_56
LBB0_55:
	leaq	-128(%rbp), %rsi
	movq	-176(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_strcpy
LBB0_56:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_58
## %bb.57:
	movq	%rbx, %rax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_58:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.no_dead_strip	_inet_cidr_ntop_ipv6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inet_cidr_ntop_ipv6
_inet_cidr_ntop_ipv6:                   ; @inet_cidr_ntop_ipv6
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	cmp	w1, #129
	b.lo	LBB0_2
; %bb.1:
	mov	x19, #0
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_41
LBB0_2:
	stp	x2, x3, [sp, #8]                ; 16-byte Folded Spill
	str	x20, [sp, #24]                  ; 8-byte Folded Spill
	cbz	w20, LBB0_8
; %bb.3:
	mov	x1, x0
	add	w8, w20, #7
	lsr	w22, w8, #3
	add	x19, sp, #88
	add	x0, sp, #88
	mov	x2, x22
	bl	_memcpy
	add	x0, x19, x22
	mov	w8, #16
	sub	w2, w8, w22
	mov	w1, #0
	bl	_memset
	ands	w8, w20, #0x7
	b.eq	LBB0_5
; %bb.4:
	mov	w9, #8
	sub	w8, w9, w8
	mov	w9, #-1
	lsl	w8, w9, w8
	sub	w9, w22, #1
	ldrb	w10, [x19, x9]
	and	w8, w10, w8
	strb	w8, [x19, x9]
LBB0_5:
	add	w8, w20, #15
	lsr	w8, w8, #4
	sub	w9, w20, #1
	mov	w10, #2
	cmp	w9, #16
	csel	w8, w10, w8, lo
	cbz	w8, LBB0_9
; %bb.6:
	mov	w13, #0
	mov	x14, #0
	mov	w11, #0
	mov	w12, #0
	mov	w9, #0
	mov	w10, #0
	lsl	w15, w8, #1
	add	x16, sp, #88
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x17, x16, x14, lsl #2
	ldp	w0, w17, [x17]
	orr	w17, w17, w0
	cmp	w9, w11
	csel	w0, w10, w12, ge
	csel	w1, w9, w11, ge
	csel	w2, w11, wzr, ge
	cmp	w11, #0
	csel	w0, w10, w0, eq
	csel	w1, w9, w1, eq
	csel	w2, wzr, w2, eq
	cmp	w11, #0
	csel	w3, w13, w12, eq
	cmp	w17, #0
	csel	w10, w0, w10, ne
	csel	w9, w1, w9, ne
	csel	w12, w12, w3, ne
	csinc	w11, w2, w11, ne
	add	x14, x14, #2
	add	w13, w13, #1
	cmp	x14, x15
	b.lo	LBB0_7
	b	LBB0_10
LBB0_8:
	mov	w8, #14906
	strh	w8, [sp, #38]
	strb	wzr, [sp, #40]
	b	LBB0_39
LBB0_9:
	mov	w10, #0
	mov	w9, #0
	mov	w12, #0
	mov	w11, #0
LBB0_10:
	mov	w24, #0
	cmp	w11, #0
	cset	w13, ne
	cmp	w9, w11
	cset	w14, lt
	tst	w13, w14
	csel	w22, w12, w10, ne
	csel	w23, w11, w9, ne
	cmp	w23, w8
	b.eq	LBB0_20
; %bb.11:
	cbnz	w22, LBB0_20
; %bb.12:
	cmp	w23, #7
	b.eq	LBB0_17
; %bb.13:
	cmp	w23, #6
	b.eq	LBB0_38
; %bb.14:
	cmp	w23, #5
	b.ne	LBB0_19
; %bb.15:
	ldr	w9, [sp, #128]
	cmp	w9, #255
	b.ne	LBB0_19
; %bb.16:
	ldr	w9, [sp, #132]
	cmp	w9, #255
	b.eq	LBB0_38
	b	LBB0_19
LBB0_17:
	ldr	w9, [sp, #144]
	cbz	w9, LBB0_19
; %bb.18:
	ldr	w9, [sp, #148]
	cmp	w9, #1
	b.ne	LBB0_38
LBB0_19:
	mov	w24, #0
LBB0_20:
	cbz	w8, LBB0_39
LBB0_21:
	mov	w25, #0
	add	x21, sp, #88
	add	x19, sp, #38
	add	w26, w22, w23
	neg	w27, w8
	mov	w28, #58
	b	LBB0_25
LBB0_22:                                ;   in Loop: Header=BB0_25 Depth=1
	ldpsw	x8, x9, [x21]
	add	x0, x9, x8, lsl #8
	bl	_SPRINTF
	add	x19, x20, w0, sxtw
LBB0_23:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x20, x21, #8
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	w25, w25, #1
	mov	x21, x20
	cmn	w27, w25
	b.eq	LBB0_39
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	cbz	w23, LBB0_32
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	cmp	w25, w22
	b.lt	LBB0_32
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	cmp	w25, w26
	b.ge	LBB0_32
; %bb.28:                               ;   in Loop: Header=BB0_25 Depth=1
	cmp	w22, w25
	b.ne	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_25 Depth=1
	strb	w28, [x19], #1
LBB0_30:                                ;   in Loop: Header=BB0_25 Depth=1
	add	w8, w27, w25
	cmn	w8, #1
	b.ne	LBB0_23
; %bb.31:                               ;   in Loop: Header=BB0_25 Depth=1
	strb	w28, [x19], #1
	b	LBB0_23
LBB0_32:                                ;   in Loop: Header=BB0_25 Depth=1
	cmp	w25, #5
	cset	w8, hi
	and	w8, w24, w8
	cmp	w8, #1
	b.ne	LBB0_36
; %bb.33:                               ;   in Loop: Header=BB0_25 Depth=1
	cmp	w25, #6
	mov	w8, #46
	csel	w8, w28, w8, eq
	strb	w8, [x19]
	mov	x20, x21
	ldrsw	x0, [x20], #4
	bl	_SPRINTF
	add	x8, x19, w0, sxtw
	add	x19, x8, #1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cmp	w8, #120
	b.gt	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_25 Depth=1
	cmp	w25, #7
	b.eq	LBB0_24
LBB0_35:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	w8, #46
	strb	w8, [x19]
	ldrsw	x0, [x21, #4]
	bl	_SPRINTF
	add	x8, x19, w0, sxtw
	add	x20, x21, #8
	add	x19, x8, #1
	b	LBB0_24
LBB0_36:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x20, sp, #38
	cmp	x19, x20
	b.eq	LBB0_22
; %bb.37:                               ;   in Loop: Header=BB0_25 Depth=1
	strb	w28, [x19], #1
	mov	x20, x19
	b	LBB0_22
LBB0_38:
	mov	w24, #1
	cbnz	w8, LBB0_21
LBB0_39:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	sxtw	x0, w8
	bl	_SPRINTF
	add	x0, sp, #38
	bl	_strlen
	add	w8, w0, #1
	sxtw	x8, w8
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x8, x9
	b.ls	LBB0_42
; %bb.40:
	mov	x19, #0
Lloh5:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
LBB0_41:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _errno@GOTPAGE
Lloh8:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh9:
	str	w8, [x9]
	b	LBB0_43
LBB0_42:
	add	x1, sp, #38
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x19
	bl	_strcpy
LBB0_43:
	ldur	x8, [x29, #-88]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_45
; %bb.44:
	mov	x0, x19
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_45:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.no_dead_strip	_inet_cidr_ntop_ipv6
.subsections_via_symbols
