	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_fixedstring_parse
_ng_fixedstring_parse:                  ## @ng_fixedstring_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	%rdx, %r12
	movq	(%rdi), %r13
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%rsi, %rdi
	movq	%r12, %rsi
	callq	_ng_get_string_token
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movl	-44(%rbp), %edx
	cmpl	(%r13), %edx
	jge	LBB0_4
## %bb.2:
	movl	-48(%rbp), %eax
	addl	%eax, (%r12)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_memmove
	movq	_M_NETGRAPH_PARSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_free
	movslq	-44(%rbp), %rax
	leaq	(%r15,%rax,4), %rdi
	movl	(%r13), %esi
	subl	%eax, %esi
	callq	_bzero
	movl	(%r13), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_M_NETGRAPH_PARSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_free
	movq	_E2BIG@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_M_NETGRAPH_PARSE,4,2           ## @M_NETGRAPH_PARSE
	.comm	_E2BIG,4,2                      ## @E2BIG
	.no_dead_strip	_ng_fixedstring_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_fixedstring_parse
_ng_fixedstring_parse:                  ; @ng_fixedstring_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x4
	mov	x22, x2
	ldr	x23, [x0]
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x1
	mov	x1, x22
	bl	_ng_get_string_token
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	w2, [sp, #8]
	ldr	w8, [x23]
	cmp	w2, w8
	b.ge	LBB0_4
; %bb.2:
	ldr	w8, [sp, #12]
	ldr	w9, [x22]
	add	w8, w9, w8
	str	w8, [x22]
	mov	x0, x20
	mov	x1, x21
	bl	_memmove
Lloh0:
	adrp	x8, _M_NETGRAPH_PARSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_NETGRAPH_PARSE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_free
	ldrsw	x8, [sp, #8]
	add	x0, x20, x8, lsl #2
	ldr	w9, [x23]
	sub	w1, w9, w8
	bl	_bzero
	mov	w0, #0
	ldr	w8, [x23]
	str	w8, [x19]
	b	LBB0_6
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _M_NETGRAPH_PARSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _M_NETGRAPH_PARSE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_free
Lloh8:
	adrp	x8, _E2BIG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _E2BIG@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_M_NETGRAPH_PARSE,4,2           ; @M_NETGRAPH_PARSE
	.comm	_E2BIG,4,2                      ; @E2BIG
	.no_dead_strip	_ng_fixedstring_parse
.subsections_via_symbols
