	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inet_ntop_v4
_inet_ntop_v4:                          ## @inet_ntop_v4
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movl	(%rdi), %edi
	callq	_ntohl
	movq	_INET_ADDRSTRLEN@GOTPCREL(%rip), %rcx
	cmpq	%rbx, (%rcx)
	jbe	LBB0_1
## %bb.19:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%r14d, %r14d
	jmp	LBB0_18
LBB0_1:
	movl	%eax, %edx
	shrl	$24, %edx
	cmpl	$1677721600, %eax               ## imm = 0x64000000
	jae	LBB0_2
## %bb.3:
	movq	%r14, %rcx
	cmpl	$167772160, %eax                ## imm = 0xA000000
	jae	LBB0_4
	jmp	LBB0_5
LBB0_2:
	leal	(%rdx,%rdx,4), %ecx
	leal	(%rdx,%rcx,8), %esi
	shrl	$12, %esi
	leaq	L___const.inet_ntop_v4.digits(%rip), %rcx
	movb	(%rsi,%rcx), %bl
	leaq	1(%r14), %rcx
	movb	%bl, (%r14)
	imull	$100, %esi, %esi
	subb	%sil, %dl
	movzbl	%dl, %edx
LBB0_4:
	imull	$205, %edx, %esi
	shrl	$11, %esi
	leaq	L___const.inet_ntop_v4.digits(%rip), %rdi
	movb	(%rsi,%rdi), %bl
	movb	%bl, (%rcx)
	incq	%rcx
	addl	%esi, %esi
	leal	(%rsi,%rsi,4), %esi
	subb	%sil, %dl
	movzbl	%dl, %edx
LBB0_5:
	movl	%edx, %esi
	leaq	L___const.inet_ntop_v4.digits(%rip), %rdx
	movb	(%rsi,%rdx), %bl
	movb	%bl, (%rcx)
	movb	$46, 1(%rcx)
	movl	%eax, %edi
	sarl	$16, %edi
	movzbl	%dil, %esi
	cmpl	$100, %esi
	jae	LBB0_6
## %bb.7:
	addq	$2, %rcx
	cmpl	$10, %esi
	jae	LBB0_8
	jmp	LBB0_9
LBB0_6:
	movzbl	%dil, %esi
	leal	(%rsi,%rsi,4), %edi
	leal	(%rsi,%rdi,8), %edi
	movzwl	%di, %edi
	shrl	$12, %edi
	movb	(%rdi,%rdx), %bl
	movb	%bl, 2(%rcx)
	addq	$3, %rcx
	imull	$100, %edi, %edi
	subb	%dil, %sil
	movzbl	%sil, %esi
LBB0_8:
	imull	$205, %esi, %edi
	shrl	$11, %edi
	movb	(%rdi,%rdx), %bl
	movb	%bl, (%rcx)
	incq	%rcx
	addl	%edi, %edi
	leal	(%rdi,%rdi,4), %edi
	subb	%dil, %sil
	movzbl	%sil, %esi
LBB0_9:
	movl	%esi, %esi
	movb	(%rsi,%rdx), %bl
	movb	%bl, (%rcx)
	movb	$46, 1(%rcx)
	movl	%eax, %edi
	sarl	$8, %edi
	movzbl	%dil, %esi
	cmpl	$100, %esi
	jae	LBB0_10
## %bb.11:
	addq	$2, %rcx
	cmpl	$10, %esi
	jae	LBB0_12
	jmp	LBB0_13
LBB0_10:
	movzbl	%dil, %esi
	leal	(%rsi,%rsi,4), %edi
	leal	(%rsi,%rdi,8), %edi
	movzwl	%di, %edi
	shrl	$12, %edi
	movb	(%rdi,%rdx), %bl
	movb	%bl, 2(%rcx)
	addq	$3, %rcx
	imull	$100, %edi, %edi
	subb	%dil, %sil
	movzbl	%sil, %esi
LBB0_12:
	imull	$205, %esi, %edi
	shrl	$11, %edi
	movb	(%rdi,%rdx), %bl
	movb	%bl, (%rcx)
	incq	%rcx
	addl	%edi, %edi
	leal	(%rdi,%rdi,4), %edi
	subb	%dil, %sil
	movzbl	%sil, %esi
LBB0_13:
	movl	%esi, %esi
	movb	(%rsi,%rdx), %bl
	movb	%bl, (%rcx)
	movb	$46, 1(%rcx)
	movzbl	%al, %esi
	cmpl	$100, %esi
	jae	LBB0_14
## %bb.15:
	addq	$2, %rcx
	cmpl	$10, %esi
	jae	LBB0_16
	jmp	LBB0_17
LBB0_14:
	movzbl	%al, %eax
	leal	(%rax,%rax,4), %esi
	leal	(%rax,%rsi,8), %esi
	movzwl	%si, %esi
	shrl	$12, %esi
	movb	(%rsi,%rdx), %bl
	movb	%bl, 2(%rcx)
	addq	$3, %rcx
	imull	$100, %esi, %esi
	subb	%sil, %al
	movzbl	%al, %esi
LBB0_16:
	imull	$205, %esi, %eax
	shrl	$11, %eax
	movb	(%rax,%rdx), %bl
	movb	%bl, (%rcx)
	incq	%rcx
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	subb	%al, %sil
	movzbl	%sil, %esi
LBB0_17:
	movl	%esi, %eax
	movb	(%rax,%rdx), %al
	movb	%al, (%rcx)
	movb	$0, 1(%rcx)
LBB0_18:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L___const.inet_ntop_v4.digits:          ## @__const.inet_ntop_v4.digits
	.asciz	"0123456789"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inet_ntop_v4
_inet_ntop_v4:                          ; @inet_ntop_v4
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x1
	ldr	w0, [x0]
	bl	_ntohl
Lloh0:
	adrp	x8, _INET_ADDRSTRLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INET_ADDRSTRLEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ls	LBB0_2
; %bb.1:
	mov	x19, #0
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]
	b	LBB0_19
LBB0_2:
	lsr	w9, w0, #24
	lsr	w10, w0, #26
Lloh9:
	adrp	x8, l___const.inet_ntop_v4.digits@PAGE
Lloh10:
	add	x8, x8, l___const.inet_ntop_v4.digits@PAGEOFF
	cmp	w10, #25
	b.hs	LBB0_4
; %bb.3:
	lsr	w11, w0, #25
	mov	x10, x19
	cmp	w11, #5
	b.hs	LBB0_5
	b	LBB0_6
LBB0_4:
	and	w10, w9, #0xff
	mov	w11, #41
	mul	w10, w10, w11
	lsr	w11, w10, #12
	ldrb	w12, [x8, w11, uxtw]
	mov	x10, x19
	strb	w12, [x10], #1
	mov	w12, #100
	msub	w9, w11, w12, w9
	and	w9, w9, #0xff
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, uxtw]
	strb	w9, [x10]
	mov	w9, #46
	strb	w9, [x10, #1]
	ubfx	w11, w0, #16, #8
	cmp	w11, #100
	b.hs	LBB0_8
; %bb.7:
	add	x9, x10, #2
	cmp	w11, #10
	b.hs	LBB0_9
	b	LBB0_10
LBB0_8:
	lsr	w11, w0, #16
	and	w9, w11, #0xff
	mov	w12, #41
	mul	w9, w9, w12
	lsr	w12, w9, #12
	ldrb	w13, [x8, w12, uxtw]
	add	x9, x10, #3
	strb	w13, [x10, #2]
	mov	w10, #100
	msub	w10, w12, w10, w11
	and	w11, w10, #0xff
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, uxtw]
	strb	w10, [x9]
	mov	w10, #46
	strb	w10, [x9, #1]
	ubfx	w11, w0, #8, #8
	cmp	w11, #100
	b.hs	LBB0_12
; %bb.11:
	add	x10, x9, #2
	cmp	w11, #10
	b.hs	LBB0_13
	b	LBB0_14
LBB0_12:
	lsr	w11, w0, #8
	and	w10, w11, #0xff
	mov	w12, #41
	mul	w10, w10, w12
	lsr	w12, w10, #12
	ldrb	w13, [x8, w12, uxtw]
	add	x10, x9, #3
	strb	w13, [x9, #2]
	mov	w9, #100
	msub	w9, w12, w9, w11
	and	w11, w9, #0xff
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, uxtw]
	strb	w9, [x10]
	mov	w9, #46
	strb	w9, [x10, #1]
	and	w11, w0, #0xff
	cmp	w11, #100
	b.hs	LBB0_16
; %bb.15:
	add	x9, x10, #2
	cmp	w11, #10
	b.hs	LBB0_17
	b	LBB0_18
LBB0_16:
	and	w9, w0, #0xff
	mov	w11, #41
	mul	w9, w9, w11
	lsr	w11, w9, #12
	ldrb	w12, [x8, w11, uxtw]
	add	x9, x10, #3
	strb	w12, [x10, #2]
	mov	w10, #100
	msub	w10, w11, w10, w0
	and	w11, w10, #0xff
LBB0_17:
	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_18:
	ldrb	w8, [x8, w11, uxtw]
	strb	w8, [x9]
	strb	wzr, [x9, #1]
LBB0_19:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	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.inet_ntop_v4.digits:          ; @__const.inet_ntop_v4.digits
	.asciz	"0123456789"

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