	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_bind
_ng_bind:                               ## @ng_bind
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	(%rdi), %ecx
	cmpl	$4, %ecx
	jl	LBB0_5
## %bb.2:
	movq	_NG_NODESIZ@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	addl	$2, %edx
	cmpl	%edx, %ecx
	jg	LBB0_5
## %bb.3:
	movq	8(%rdi), %rsi
	cmpb	$0, (%rsi)
	je	LBB0_5
## %bb.4:
	addl	$-3, %ecx
	cmpb	$0, (%rsi,%rcx)
	je	LBB0_6
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_6:
	movl	(%rax), %edi
	popq	%rbp
	jmp	_ng_name_node                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TRAP_ERROR,4,2                 ## @TRAP_ERROR
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NG_NODESIZ,4,2                 ## @NG_NODESIZ
	.no_dead_strip	_ng_bind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_bind
_ng_bind:                               ; @ng_bind
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	w9, [x0]
	cmp	w9, #4
	b.lt	LBB0_5
; %bb.2:
Lloh0:
	adrp	x10, _NG_NODESIZ@GOTPAGE
Lloh1:
	ldr	x10, [x10, _NG_NODESIZ@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	add	w10, w10, #2
	cmp	w9, w10
	b.gt	LBB0_5
; %bb.3:
	ldr	x1, [x0, #8]
	ldrb	w10, [x1]
	cbz	w10, LBB0_5
; %bb.4:
	sub	w9, w9, #3
	ldrb	w9, [x1, w9, uxtw]
	cbz	w9, LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_6:
	ldr	w0, [x8]
	b	_ng_name_node
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TRAP_ERROR,4,2                 ; @TRAP_ERROR
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NG_NODESIZ,4,2                 ; @NG_NODESIZ
	.no_dead_strip	_ng_bind
.subsections_via_symbols
