	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_ipaddr_parse
_ng_ipaddr_parse:                       ## @ng_ipaddr_parse
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	_ng_parse_int8_type@GOTPCREL(%rip), %rdi
	callq	_ng_int8_parse
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movslq	(%r13), %rax
	cmpb	$46, (%rbx,%rax)
	jne	LBB0_2
## %bb.3:
	incl	%eax
	movl	%eax, (%r13)
	leaq	4(%r15), %r8
	movq	_ng_parse_int8_type@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	movq	%r14, %r9
	callq	_ng_int8_parse
	testl	%eax, %eax
	jne	LBB0_9
## %bb.4:
	movslq	(%r13), %rax
	cmpb	$46, (%rbx,%rax)
	jne	LBB0_2
## %bb.5:
	incl	%eax
	movl	%eax, (%r13)
	leaq	8(%r15), %r8
	movq	_ng_parse_int8_type@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	movq	%r14, %r9
	callq	_ng_int8_parse
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	movslq	(%r13), %rax
	cmpb	$46, (%rbx,%rax)
	jne	LBB0_2
## %bb.7:
	incl	%eax
	movl	%eax, (%r13)
	addq	$12, %r15
	movq	_ng_parse_int8_type@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_ng_int8_parse
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	incl	(%r13)
	movl	$4, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ng_parse_int8_type,4,2         ## @ng_parse_int8_type
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ng_ipaddr_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_ipaddr_parse
_ng_ipaddr_parse:                       ; @ng_ipaddr_parse
	.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	x19, x5
	mov	x23, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
Lloh0:
	adrp	x0, _ng_parse_int8_type@GOTPAGE
Lloh1:
	ldr	x0, [x0, _ng_parse_int8_type@GOTPAGEOFF]
	bl	_ng_int8_parse
	cbnz	w0, LBB0_9
; %bb.1:
	ldrsw	x8, [x20]
	ldrb	w9, [x22, x8]
	cmp	w9, #46
	b.ne	LBB0_8
; %bb.2:
	add	w8, w8, #1
	str	w8, [x20]
	add	x4, x23, #4
Lloh2:
	adrp	x0, _ng_parse_int8_type@GOTPAGE
Lloh3:
	ldr	x0, [x0, _ng_parse_int8_type@GOTPAGEOFF]
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	mov	x5, x19
	bl	_ng_int8_parse
	cbnz	w0, LBB0_9
; %bb.3:
	ldrsw	x8, [x20]
	ldrb	w9, [x22, x8]
	cmp	w9, #46
	b.ne	LBB0_8
; %bb.4:
	add	w8, w8, #1
	str	w8, [x20]
	add	x4, x23, #8
Lloh4:
	adrp	x0, _ng_parse_int8_type@GOTPAGE
Lloh5:
	ldr	x0, [x0, _ng_parse_int8_type@GOTPAGEOFF]
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	mov	x5, x19
	bl	_ng_int8_parse
	cbnz	w0, LBB0_9
; %bb.5:
	ldrsw	x8, [x20]
	ldrb	w9, [x22, x8]
	cmp	w9, #46
	b.ne	LBB0_8
; %bb.6:
	add	w8, w8, #1
	str	w8, [x20]
	add	x4, x23, #12
Lloh6:
	adrp	x0, _ng_parse_int8_type@GOTPAGE
Lloh7:
	ldr	x0, [x0, _ng_parse_int8_type@GOTPAGEOFF]
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	mov	x5, x19
	bl	_ng_int8_parse
	cbnz	w0, LBB0_9
; %bb.7:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	mov	w8, #4
	str	w8, [x19]
	b	LBB0_9
LBB0_8:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_9:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ng_parse_int8_type,4,2         ; @ng_parse_int8_type
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ng_ipaddr_parse
.subsections_via_symbols
