	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_addrtostr                      ## -- Begin function addrtostr
	.p2align	4, 0x90
_addrtostr:                             ## @addrtostr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_INET_ADDRSTRLEN@GOTPCREL(%rip), %rcx
	cmpq	%rdx, (%rcx)
	jbe	LBB0_2
## %bb.1:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	%rsi, %rax
	movl	(%rdi), %esi
	leaq	L___const.addrtostr.digits(%rip), %r8
	cmpl	$100, %esi
	jl	LBB0_4
## %bb.3:
	movl	%esi, %edx
	imulq	$1374389535, %rdx, %rcx         ## imm = 0x51EB851F
	shrq	$37, %rcx
	movb	(%rcx,%r8), %r9b
	leaq	1(%rax), %rdx
	movb	%r9b, (%rax)
	imull	$100, %ecx, %ecx
	subl	%ecx, %esi
	jmp	LBB0_5
LBB0_4:
	movq	%rax, %rdx
	cmpl	$10, %esi
	jl	LBB0_6
LBB0_5:
	movzbl	%sil, %r9d
	imull	$205, %r9d, %esi
	shrl	$11, %esi
	movb	(%rsi,%r8), %cl
	movb	%cl, (%rdx)
	incq	%rdx
	addl	%esi, %esi
	leal	(%rsi,%rsi,4), %ecx
	subb	%cl, %r9b
	movzbl	%r9b, %esi
LBB0_6:
	movslq	%esi, %rcx
	movb	(%rcx,%r8), %cl
	movb	%cl, (%rdx)
	movb	$46, 1(%rdx)
	movl	4(%rdi), %esi
	cmpl	$99, %esi
	jle	LBB0_7
## %bb.8:
	movl	%esi, %ecx
	imulq	$1374389535, %rcx, %r9          ## imm = 0x51EB851F
	shrq	$37, %r9
	movb	(%r9,%r8), %cl
	movb	%cl, 2(%rdx)
	addq	$3, %rdx
	imull	$100, %r9d, %ecx
	subl	%ecx, %esi
	jmp	LBB0_9
LBB0_7:
	addq	$2, %rdx
	cmpl	$9, %esi
	jle	LBB0_10
LBB0_9:
	movzbl	%sil, %r9d
	imull	$205, %r9d, %esi
	shrl	$11, %esi
	movb	(%rsi,%r8), %cl
	movb	%cl, (%rdx)
	incq	%rdx
	addl	%esi, %esi
	leal	(%rsi,%rsi,4), %ecx
	subb	%cl, %r9b
	movzbl	%r9b, %esi
LBB0_10:
	movslq	%esi, %rcx
	movb	(%rcx,%r8), %cl
	movb	%cl, (%rdx)
	movb	$46, 1(%rdx)
	movl	8(%rdi), %esi
	cmpl	$99, %esi
	jle	LBB0_11
## %bb.12:
	movl	%esi, %ecx
	imulq	$1374389535, %rcx, %r9          ## imm = 0x51EB851F
	shrq	$37, %r9
	movb	(%r9,%r8), %cl
	movb	%cl, 2(%rdx)
	addq	$3, %rdx
	imull	$100, %r9d, %ecx
	subl	%ecx, %esi
	jmp	LBB0_13
LBB0_11:
	addq	$2, %rdx
	cmpl	$9, %esi
	jle	LBB0_14
LBB0_13:
	movzbl	%sil, %r9d
	imull	$205, %r9d, %esi
	shrl	$11, %esi
	movb	(%rsi,%r8), %cl
	movb	%cl, (%rdx)
	incq	%rdx
	addl	%esi, %esi
	leal	(%rsi,%rsi,4), %ecx
	subb	%cl, %r9b
	movzbl	%r9b, %esi
LBB0_14:
	movslq	%esi, %rcx
	movb	(%rcx,%r8), %cl
	movb	%cl, (%rdx)
	movb	$46, 1(%rdx)
	movl	12(%rdi), %esi
	cmpl	$99, %esi
	jle	LBB0_15
## %bb.16:
	movl	%esi, %ecx
	imulq	$1374389535, %rcx, %rdi         ## imm = 0x51EB851F
	shrq	$37, %rdi
	movb	(%rdi,%r8), %cl
	movb	%cl, 2(%rdx)
	addq	$3, %rdx
	imull	$100, %edi, %ecx
	subl	%ecx, %esi
	jmp	LBB0_17
LBB0_15:
	addq	$2, %rdx
	cmpl	$9, %esi
	jle	LBB0_18
LBB0_17:
	movzbl	%sil, %edi
	imull	$205, %edi, %esi
	shrl	$11, %esi
	movb	(%rsi,%r8), %cl
	movb	%cl, (%rdx)
	incq	%rdx
	addl	%esi, %esi
	leal	(%rsi,%rsi,4), %ecx
	subb	%cl, %dil
	movzbl	%dil, %esi
LBB0_18:
	movslq	%esi, %rcx
	movb	(%rcx,%r8), %cl
	movb	%cl, (%rdx)
	movb	$0, 1(%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L___const.addrtostr.digits:             ## @__const.addrtostr.digits
	.asciz	"0123456789"

	.comm	_INET_ADDRSTRLEN,8,3            ## @INET_ADDRSTRLEN
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_addrtostr                      ; -- Begin function addrtostr
	.p2align	2
_addrtostr:                             ; @addrtostr
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _INET_ADDRSTRLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INET_ADDRSTRLEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	b.ls	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _errno@GOTPAGE
Lloh7:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	mov	x0, #0
	ret
LBB0_2:
	ldr	w9, [x0]
Lloh9:
	adrp	x8, l___const.addrtostr.digits@PAGE
Lloh10:
	add	x8, x8, l___const.addrtostr.digits@PAGEOFF
	cmp	w9, #100
	b.lt	LBB0_4
; %bb.3:
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	umull	x10, w9, w10
	lsr	x11, x10, #37
	ldrb	w12, [x8, x11]
	mov	x10, x1
	strb	w12, [x10], #1
	mov	w12, #100
	msub	w9, w11, w12, w9
	b	LBB0_5
LBB0_4:
	mov	x10, x1
	cmp	w9, #10
	b.lt	LBB0_6
LBB0_5:
	and	w11, w9, #0xff
	mov	w12, #205
	mul	w11, w11, w12
	lsr	w11, w11, #11
	ldrb	w12, [x8, w11, uxtw]
	strb	w12, [x10], #1
	mov	w12, #10
	msub	w9, w11, w12, w9
	and	w9, w9, #0xff
LBB0_6:
	ldrb	w9, [x8, w9, sxtw]
	strb	w9, [x10]
	mov	w9, #46
	strb	w9, [x10, #1]
	ldr	w11, [x0, #4]
	cmp	w11, #99
	b.le	LBB0_8
; %bb.7:
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	umull	x9, w11, w9
	lsr	x12, x9, #37
	ldrb	w13, [x8, x12]
	add	x9, x10, #3
	strb	w13, [x10, #2]
	mov	w10, #100
	msub	w11, w12, w10, w11
	b	LBB0_9
LBB0_8:
	add	x9, x10, #2
	cmp	w11, #9
	b.le	LBB0_10
LBB0_9:
	and	w10, w11, #0xff
	mov	w12, #205
	mul	w10, w10, w12
	lsr	w10, w10, #11
	ldrb	w12, [x8, w10, uxtw]
	strb	w12, [x9], #1
	mov	w12, #10
	msub	w10, w10, w12, w11
	and	w11, w10, #0xff
LBB0_10:
	ldrb	w10, [x8, w11, sxtw]
	strb	w10, [x9]
	mov	w10, #46
	strb	w10, [x9, #1]
	ldr	w11, [x0, #8]
	cmp	w11, #99
	b.le	LBB0_12
; %bb.11:
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	umull	x10, w11, w10
	lsr	x12, x10, #37
	ldrb	w13, [x8, x12]
	add	x10, x9, #3
	strb	w13, [x9, #2]
	mov	w9, #100
	msub	w11, w12, w9, w11
	b	LBB0_13
LBB0_12:
	add	x10, x9, #2
	cmp	w11, #9
	b.le	LBB0_14
LBB0_13:
	and	w9, w11, #0xff
	mov	w12, #205
	mul	w9, w9, w12
	lsr	w9, w9, #11
	ldrb	w12, [x8, w9, uxtw]
	strb	w12, [x10], #1
	mov	w12, #10
	msub	w9, w9, w12, w11
	and	w11, w9, #0xff
LBB0_14:
	ldrb	w9, [x8, w11, sxtw]
	strb	w9, [x10]
	mov	w9, #46
	strb	w9, [x10, #1]
	ldr	w9, [x0, #12]
	cmp	w9, #99
	b.le	LBB0_16
; %bb.15:
	mov	w11, #34079
	movk	w11, #20971, lsl #16
	umull	x11, w9, w11
	lsr	x12, x11, #37
	ldrb	w13, [x8, x12]
	add	x11, x10, #3
	strb	w13, [x10, #2]
	mov	w10, #100
	msub	w9, w12, w10, w9
	b	LBB0_17
LBB0_16:
	add	x11, x10, #2
	cmp	w9, #9
	b.le	LBB0_18
LBB0_17:
	and	w10, w9, #0xff
	mov	w12, #205
	mul	w10, w10, w12
	lsr	w10, w10, #11
	ldrb	w12, [x8, w10, uxtw]
	strb	w12, [x11], #1
	mov	w12, #10
	msub	w9, w10, w12, w9
	and	w9, w9, #0xff
LBB0_18:
	ldrb	w8, [x8, w9, sxtw]
	strb	w8, [x11]
	strb	wzr, [x11, #1]
	mov	x0, x1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l___const.addrtostr.digits:             ; @__const.addrtostr.digits
	.asciz	"0123456789"

	.comm	_INET_ADDRSTRLEN,8,3            ; @INET_ADDRSTRLEN
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
