	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function next_node
_next_node:                             ## @next_node
	.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	%rsi, %rbx
	movq	%rdi, %r15
	movq	_FIND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_oidbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_asn_oid2str_r
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_snmp_debug
LBB0_2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	$0, (%rbx)
	movq	_tree_size@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_18
## %bb.3:
	movq	_tree@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	addq	$8, %rbx
	movq	_SNMP_NODE_LEAF@GOTPCREL(%rip), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movslq	(%r13), %rax
	shlq	$4, %rax
	addq	(%r12), %rax
	leaq	16(%rbx), %rcx
	addq	$8, %rbx
	cmpq	%rax, %rbx
	movq	%rcx, %rbx
	jae	LBB0_18
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_asn_is_suboid
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-8(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_17
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_asn_is_suboid
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_asn_compare_oid
	testq	%rax, %rax
	js	LBB0_17
LBB0_14:
	movq	_FIND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TR
	leaq	-8(%rbx), %r15
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	_oidbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_asn_oid2str_r
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_snmp_debug
LBB0_16:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	jmp	LBB0_21
LBB0_18:
	movq	_FIND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TR
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:
	leaq	L_.str.4(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_snmp_debug
	jmp	LBB0_21
LBB0_19:
	xorl	%r15d, %r15d
	jmp	LBB0_21
LBB0_10:
	movq	_FIND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TR
	leaq	-8(%rbx), %r15
	testq	%rax, %rax
	je	LBB0_21
## %bb.11:
	movq	_oidbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_asn_oid2str_r
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_9
LBB0_7:
	movq	_FIND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TR
	leaq	-8(%rbx), %r15
	testq	%rax, %rax
	je	LBB0_21
## %bb.8:
	movq	_oidbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_asn_oid2str_r
	leaq	L_.str.1(%rip), %rdi
LBB0_9:
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_snmp_debug
LBB0_21:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FIND,4,2                       ## @FIND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"next: searching %s"

	.comm	_oidbuf,4,2                     ## @oidbuf
	.comm	_tree,8,3                       ## @tree
	.comm	_tree_size,4,2                  ## @tree_size
	.comm	_SNMP_NODE_LEAF,8,3             ## @SNMP_NODE_LEAF
L_.str.1:                               ## @.str.1
	.asciz	"next: found scalar %s"

L_.str.2:                               ## @.str.2
	.asciz	"next: found column %s"

L_.str.3:                               ## @.str.3
	.asciz	"next: found %s"

L_.str.4:                               ## @.str.4
	.asciz	"next: failed"

	.no_dead_strip	_next_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function next_node
_next_node:                             ; @next_node
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _FIND@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FIND@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_TR
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _oidbuf@GOTPAGE
Lloh3:
	ldr	x8, [x8, _oidbuf@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_asn_oid2str_r
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_snmp_debug
LBB0_2:
	str	wzr, [x19]
Lloh7:
	adrp	x23, _tree_size@GOTPAGE
Lloh8:
	ldr	x23, [x23, _tree_size@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.3:
Lloh9:
	adrp	x24, _tree@GOTPAGE
Lloh10:
	ldr	x24, [x24, _tree@GOTPAGEOFF]
	ldr	x8, [x24]
	add	x20, x8, #8
Lloh11:
	adrp	x25, _SNMP_NODE_LEAF@GOTPAGE
Lloh12:
	ldr	x25, [x25, _SNMP_NODE_LEAF@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24]
	ldrsw	x9, [x23]
	add	x8, x8, x9, lsl #4
	add	x9, x20, #8
	add	x20, x20, #16
	cmp	x9, x8
	b.hs	LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_asn_is_suboid
	cbz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	x8, [x20, #-8]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_4
	b	LBB0_19
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_asn_is_suboid
	cbnz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_asn_compare_oid
	tbnz	x0, #63, LBB0_4
LBB0_10:
	ldr	w0, [x22]
	bl	_TR
	sub	x21, x20, #8
	cbz	x0, LBB0_12
; %bb.11:
Lloh13:
	adrp	x8, _oidbuf@GOTPAGE
Lloh14:
	ldr	x8, [x8, _oidbuf@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_asn_oid2str_r
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_snmp_debug
LBB0_12:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_16
LBB0_13:
	ldr	w0, [x22]
	bl	_TR
	cbz	x0, LBB0_15
; %bb.14:
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_snmp_debug
LBB0_15:
	mov	x21, #0
LBB0_16:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_17:
	ldr	w0, [x22]
	bl	_TR
	sub	x21, x20, #8
	cbz	x0, LBB0_16
; %bb.18:
Lloh20:
	adrp	x8, _oidbuf@GOTPAGE
Lloh21:
	ldr	x8, [x8, _oidbuf@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_asn_oid2str_r
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_snmp_debug
	b	LBB0_16
LBB0_19:
	ldr	w0, [x22]
	bl	_TR
	sub	x21, x20, #8
	cbz	x0, LBB0_16
; %bb.20:
Lloh25:
	adrp	x8, _oidbuf@GOTPAGE
Lloh26:
	ldr	x8, [x8, _oidbuf@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_asn_oid2str_r
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh28:
	adrp	x0, l_.str.1@PAGE
Lloh29:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_snmp_debug
	b	LBB0_16
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_FIND,4,2                       ; @FIND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"next: searching %s"

	.comm	_oidbuf,4,2                     ; @oidbuf
	.comm	_tree,8,3                       ; @tree
	.comm	_tree_size,4,2                  ; @tree_size
	.comm	_SNMP_NODE_LEAF,8,3             ; @SNMP_NODE_LEAF
l_.str.1:                               ; @.str.1
	.asciz	"next: found scalar %s"

l_.str.2:                               ; @.str.2
	.asciz	"next: found column %s"

l_.str.3:                               ; @.str.3
	.asciz	"next: found %s"

l_.str.4:                               ; @.str.4
	.asciz	"next: failed"

	.no_dead_strip	_next_node
.subsections_via_symbols
