	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function NameValueParserEndElt
_NameValueParserEndElt:                 ## @NameValueParserEndElt
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 8(%rdi)
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movl	32(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movl	(%rbx), %r12d
	movl	$24, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rax, %r14
	movq	(%rax), %rdi
	movl	32(%rbx), %esi
	movl	$64, %edx
	callq	_strncpy
	movq	(%r14), %rax
	movb	$0, 63(%rax)
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	cmpl	$7, %r12d
	movl	$7, %r15d
	cmovll	%r12d, %r15d
	movq	8(%r14), %rdi
	movl	%r15d, %edx
	callq	_memcpy
	movslq	%r15d, %rax
	addq	8(%r14), %rax
	jmp	LBB0_6
LBB0_5:
	movq	8(%r14), %rax
LBB0_6:
	movb	$0, (%rax)
	movq	24(%rbx), %rax
	movq	%rax, 16(%r14)
	movq	%r14, 24(%rbx)
LBB0_7:
	movl	$0, (%rbx)
	addq	$8, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NewPortListing"

	.comm	_stderr,4,2                     ## @stderr
	.no_dead_strip	_NameValueParserEndElt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function NameValueParserEndElt
_NameValueParserEndElt:                 ; @NameValueParserEndElt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x0
	ldr	x8, [x22, #8]!
	cbz	x8, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #32]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.2:
	ldr	w21, [x19]
	mov	w0, #24
	bl	_malloc
	cbz	x0, LBB0_8
; %bb.3:
	mov	x20, x0
	ldr	x0, [x0]
	ldr	w1, [x19, #32]
	mov	w2, #64
	bl	_strncpy
	ldr	x8, [x20]
	strb	wzr, [x8, #63]
	ldr	x1, [x19, #16]
	cbz	x1, LBB0_5
; %bb.4:
	mov	w8, #7
	cmp	w21, #7
	csel	w21, w21, w8, lt
	ldr	x0, [x20, #8]
	mov	x2, x21
	bl	_memcpy
	ldr	x8, [x20, #8]
	add	x8, x8, w21, sxtw
	b	LBB0_6
LBB0_5:
	ldr	x8, [x20, #8]
LBB0_6:
	strb	wzr, [x8]
	ldr	x8, [x19, #24]
	str	x8, [x20, #16]
	str	x20, [x19, #24]
LBB0_7:
	str	wzr, [x19]
	stp	xzr, xzr, [x22]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NewPortListing"

	.comm	_stderr,4,2                     ; @stderr
	.no_dead_strip	_NameValueParserEndElt
.subsections_via_symbols
