	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function format_prefix
_format_prefix:                         ## @format_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	cmpb	$96, %r14b
	jb	LBB0_3
## %bb.1:
	movq	_v4prefix@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$12, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ip6addr_string
	jmp	LBB0_4
LBB0_2:
	addq	$48, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ipaddr_string
	addb	$-96, %r14b
LBB0_4:
	movzbl	%r14b, %r8d
	leaq	_format_prefix.buf(%rip), %rdi
	leaq	L_.str(%rip), %rdx
	movl	$50, %esi
	movq	%rax, %rcx
	callq	_snprintf
	movb	$0, _format_prefix.buf+49(%rip)
	leaq	_format_prefix.buf(%rip), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_format_prefix.buf,50,4 ## @format_prefix.buf
	.comm	_v4prefix,4,2                   ## @v4prefix
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%u"

	.no_dead_strip	_format_prefix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function format_prefix
_format_prefix:                         ; @format_prefix
	.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	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x19, _format_prefix.buf@PAGE
Lloh1:
	add	x19, x19, _format_prefix.buf@PAGEOFF
	subs	w23, w2, #96
	b.lo	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _v4prefix@GOTPAGE
Lloh3:
	ldr	x8, [x8, _v4prefix@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #12
	bl	_memcmp
	cbz	x0, LBB0_3
LBB0_2:
	mov	x0, x21
	mov	x1, x22
	bl	_ip6addr_string
	mov	x3, x0
Lloh5:
	adrp	x0, _format_prefix.buf@PAGE
Lloh6:
	add	x0, x0, _format_prefix.buf@PAGEOFF
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #50
	mov	x4, x20
	b	LBB0_4
LBB0_3:
	add	x1, x22, #48
	mov	x0, x21
	bl	_ipaddr_string
	mov	x3, x0
Lloh9:
	adrp	x0, _format_prefix.buf@PAGE
Lloh10:
	add	x0, x0, _format_prefix.buf@PAGEOFF
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	and	w4, w23, #0xff
	mov	w1, #50
LBB0_4:
	bl	_snprintf
	strb	wzr, [x19, #49]
	mov	x0, 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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_format_prefix.buf,50,0 ; @format_prefix.buf
	.comm	_v4prefix,4,2                   ; @v4prefix
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%u"

	.no_dead_strip	_format_prefix
.subsections_via_symbols
