	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nameentry_create
_nameentry_create:                      ## @nameentry_create
	.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
	movl	%esi, %eax
	orl	%edi, %eax
	js	LBB0_7
## %bb.1:
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.2:
	cmpb	$0, (%rbx)
	je	LBB0_7
## %bb.3:
	movl	%esi, %r14d
	movl	%edi, %r12d
	movl	$16, %edi
	callq	_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_strdup
	movq	%rax, %rdi
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	jne	LBB0_6
LBB0_5:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_err
	movq	8(%r15), %rdi
LBB0_6:
	callq	_RTRIM
	movl	%r12d, (%r15)
	movl	%r14d, 4(%r15)
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_namelist@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SLIST_INSERT_HEAD              ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EX_OSERR,4,2                   ## @EX_OSERR
	.comm	_namelist,4,2                   ## @namelist
	.comm	_link,4,2                       ## @link
	.no_dead_strip	_nameentry_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nameentry_create
_nameentry_create:                      ; @nameentry_create
	.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
	orr	w8, w1, w0
	tbnz	w8, #31, LBB0_7
; %bb.1:
	mov	x22, x2
	cbz	x2, LBB0_7
; %bb.2:
	ldrb	w8, [x22]
	cbz	w8, LBB0_7
; %bb.3:
	mov	x19, x1
	mov	x20, x0
	mov	w0, #16
	bl	_malloc
	mov	x21, x0
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x22
	bl	_strdup
	str	x0, [x21, #8]
	cbnz	x0, LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_err
	ldr	x0, [x21, #8]
LBB0_6:
	bl	_RTRIM
	stp	w20, w19, [x21]
Lloh3:
	adrp	x8, _link@GOTPAGE
Lloh4:
	ldr	x8, [x8, _link@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x0, _namelist@GOTPAGE
Lloh7:
	ldr	x0, [x0, _namelist@GOTPAGEOFF]
	mov	x1, x21
	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
	b	_SLIST_INSERT_HEAD
LBB0_7:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EX_OSERR,4,2                   ; @EX_OSERR
	.comm	_namelist,4,2                   ; @namelist
	.comm	_link,4,2                       ; @link
	.no_dead_strip	_nameentry_create
.subsections_via_symbols
