	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_prefix
_print_prefix:                          ## @print_prefix
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	$96, (%rsi)
	jl	LBB0_8
## %bb.1:
	movq	_IPV4_MAPPED_HEADING_LEN@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jge	LBB0_8
## %bb.2:
	leaq	4(%rbx), %rdi
	callq	_is_ipv4_mapped_address
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movl	(%rbx), %r14d
	movl	$-1, %r15d
	cmpl	$128, %r14d
	jg	LBB0_10
## %bb.4:
	leaq	-104(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leal	-89(%r14), %eax
	leal	-82(%r14), %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	sarl	$3, %edx
	movq	_IPV4_MAPPED_HEADING_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leal	(%rax,%rdx), %ecx
	movl	$-3, %r15d
	cmpl	%r13d, %ecx
	jge	LBB0_10
## %bb.5:
	addl	$-96, %r14d
	leaq	(%rbx,%rax,4), %rsi
	addq	$4, %rsi
	leaq	-104(%rbp), %rdi
	movq	%rdx, %rbx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	leal	7(%r14), %eax
	testl	%r14d, %r14d
	cmovnsl	%r14d, %eax
	andl	$-8, %eax
	movl	%r14d, %ecx
	subl	%eax, %ecx
	je	LBB0_7
## %bb.6:
	movl	$65280, %eax                    ## imm = 0xFF00
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %eax
	movzbl	-104(%rbp), %ecx
	andl	%eax, %ecx
	movl	%ecx, -104(%rbp)
LBB0_7:
	leaq	-104(%rbp), %rsi
	movq	%r12, %rdi
	callq	_ipaddr_string
	leaq	L_.str(%rip), %rdx
	leaq	-96(%rbp), %rdi
	movl	$46, %esi
	movq	%rax, %rcx
	movl	%r14d, %r8d
	callq	_snprintf
	movq	_IPV4_MAPPED_HEADING_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rbx,%rax), %r15d
	incl	%r15d
	jmp	LBB0_9
LBB0_8:
	leaq	-96(%rbp), %rcx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movl	$46, %r8d
	callq	_decode_prefix6
	movl	%eax, %r15d
LBB0_9:
	leaq	-96(%rbp), %rdi
	callq	_ND_PRINT
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IPV4_MAPPED_HEADING_LEN,4,2    ## @IPV4_MAPPED_HEADING_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%d"

	.no_dead_strip	_print_prefix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_prefix
_print_prefix:                          ; @print_prefix
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldr	w8, [x1]
Lloh3:
	adrp	x23, _IPV4_MAPPED_HEADING_LEN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _IPV4_MAPPED_HEADING_LEN@GOTPAGEOFF]
	ldr	w9, [x23]
	cmp	w8, #96
	ccmp	w9, w2, #0, ge
	b.ge	LBB0_4
; %bb.1:
	add	x0, x20, #4
	bl	_is_ipv4_mapped_address
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w24, [x20]
	cmp	w24, #128
	b.le	LBB0_8
; %bb.3:
	mov	w19, #-1
	b	LBB0_6
LBB0_4:
	add	x3, sp, #10
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	w4, #46
	bl	_decode_prefix6
	mov	x19, x0
LBB0_5:
	add	x0, sp, #10
	bl	_ND_PRINT
LBB0_6:
	ldr	x8, [sp, #56]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.7:
	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
	add	sp, sp, #128
	ret
LBB0_8:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	sub	w8, w24, #89
	sub	w9, w24, #82
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w21, w8, #3
	ldr	w8, [x23]
	add	w9, w8, w21
	cmp	w9, w22
	b.ge	LBB0_12
; %bb.9:
	sub	w22, w24, #96
	add	w8, w8, #1
	add	x1, x20, w8, sxtw #2
	mov	x0, sp
	mov	x2, x21
	bl	_memcpy
	negs	w8, w22
	and	w8, w8, #0x7
	and	w9, w22, #0x7
	csneg	w8, w9, w8, mi
	cbz	w8, LBB0_11
; %bb.10:
	mov	w9, #65280
	lsr	w8, w9, w8
	ldrb	w9, [sp]
	and	w8, w8, w9
	str	w8, [sp]
LBB0_11:
	mov	x1, sp
	mov	x0, x19
	bl	_ipaddr_string
	mov	x3, x0
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #10
	mov	w1, #46
	mov	x4, x22
	bl	_snprintf
	ldr	w8, [x23]
	add	w8, w21, w8
	add	w19, w8, #1
	b	LBB0_5
LBB0_12:
	mov	w19, #-3
	b	LBB0_6
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IPV4_MAPPED_HEADING_LEN,4,2    ; @IPV4_MAPPED_HEADING_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%d"

	.no_dead_strip	_print_prefix
.subsections_via_symbols
