	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_node_next
_find_node_next:                        ## @find_node_next
	.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	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movq	_snmp_node@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NGM_GENERIC_COOKIE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NGM_LISTNODES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_ng_dialog_id
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rbx
	movq	%r14, %r13
	movq	(%rax), %r14
	movq	(%r14), %rsi
	movq	8(%r14), %rdi
	movq	_ncmp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$8, %edx
	callq	_qsort
	cmpq	%r15, %r13
	jne	LBB0_6
## %bb.3:
	cmpq	$0, (%r14)
	je	LBB0_4
## %bb.5:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_11
LBB0_1:
	movl	$-1, %r15d
	jmp	LBB0_13
LBB0_6:
	movq	%r15, %rdx
	movq	(%r14), %rax
	movl	$-1, %r15d
	testq	%rax, %rax
	jle	LBB0_12
## %bb.7:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	(%rcx,%rdx,8), %rcx
	movq	8(%r14), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rdi
	cmpq	%rcx, %rdi
	jg	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_9
	jmp	LBB0_12
LBB0_4:
	movl	$-1, %r15d
	jmp	LBB0_12
LBB0_10:
	movq	%rdi, (%rbx)
LBB0_11:
	xorl	%r15d, %r15d
LBB0_12:
	movq	%r12, %rdi
	callq	_free
LBB0_13:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snmp_node,4,2                  ## @snmp_node
	.comm	_NGM_GENERIC_COOKIE,4,2         ## @NGM_GENERIC_COOKIE
	.comm	_NGM_LISTNODES,4,2              ## @NGM_LISTNODES
	.comm	_ncmp,4,2                       ## @ncmp
	.no_dead_strip	_find_node_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_node_next
_find_node_next:                        ; @find_node_next
	.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	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x23, [x0]
Lloh0:
	adrp	x8, _snmp_node@GOTPAGE
Lloh1:
	ldr	x8, [x8, _snmp_node@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _NGM_GENERIC_COOKIE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NGM_GENERIC_COOKIE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _NGM_LISTNODES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NGM_LISTNODES@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x3, #0
	mov	w4, #0
	bl	_ng_dialog_id
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x24, [x0]
	ldp	x1, x0, [x24]
Lloh9:
	adrp	x8, _ncmp@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ncmp@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	w2, #8
	bl	_qsort
	cmp	x23, x21
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x24]
	cbz	x8, LBB0_9
; %bb.3:
	mov	w21, #0
	ldr	x8, [x24, #8]
	ldr	x8, [x8]
	str	x8, [x20]
	b	LBB0_11
LBB0_4:
	mov	w21, #-1
	b	LBB0_12
LBB0_5:
	ldr	x8, [x24]
	cmp	x8, #1
	b.lt	LBB0_9
; %bb.6:
	ldr	x9, [x22, #8]
	ldr	x9, [x9, x21, lsl #3]
	ldr	x10, [x24, #8]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	cmp	x11, x9
	b.gt	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x10, x10, #8
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_9:
	mov	w21, #-1
	b	LBB0_11
LBB0_10:
	mov	w21, #0
	str	x11, [x20]
LBB0_11:
	mov	x0, x19
	bl	_free
LBB0_12:
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_snmp_node,4,2                  ; @snmp_node
	.comm	_NGM_GENERIC_COOKIE,4,2         ; @NGM_GENERIC_COOKIE
	.comm	_NGM_LISTNODES,4,2              ; @NGM_LISTNODES
	.comm	_ncmp,4,2                       ; @ncmp
	.no_dead_strip	_find_node_next
.subsections_via_symbols
