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

	.comm	_oidbuf,4,2                     ## @oidbuf
	.comm	_tree,8,3                       ## @tree
	.comm	_tree_size,4,2                  ## @tree_size
L_.str.1:                               ## @.str.1
	.asciz	"find: no match"

	.comm	_SNMP_SYNTAX_NOSUCHOBJECT,4,2   ## @SNMP_SYNTAX_NOSUCHOBJECT
	.comm	_SNMP_NODE_LEAF,8,3             ## @SNMP_NODE_LEAF
L_.str.2:                               ## @.str.2
	.asciz	"find: bad leaf index"

	.comm	_SNMP_SYNTAX_NOSUCHINSTANCE,4,2 ## @SNMP_SYNTAX_NOSUCHINSTANCE
L_.str.3:                               ## @.str.3
	.asciz	"find: found %s"

	.no_dead_strip	_find_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_node
_find_node:                             ; @find_node
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _FIND@GOTPAGE
Lloh1:
	ldr	x23, [x23, _FIND@GOTPAGEOFF]
	ldr	w0, [x23]
	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, x20
	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:
Lloh7:
	adrp	x21, _tree_size@GOTPAGE
Lloh8:
	ldr	x21, [x21, _tree_size@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.3:
Lloh9:
	adrp	x24, _tree@GOTPAGE
Lloh10:
	ldr	x24, [x24, _tree@GOTPAGEOFF]
	ldr	x8, [x24]
	add	x22, x8, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x20
	bl	_asn_is_suboid
	cbnz	x0, LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x20
	bl	_asn_compare_oid
	tbz	x0, #63, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24]
	ldrsw	x9, [x21]
	add	x8, x8, x9, lsl #4
	add	x9, x22, #8
	add	x22, x22, #16
	cmp	x9, x8
	b.lo	LBB0_4
LBB0_7:
	ldr	w0, [x23]
	bl	_TR
	cbz	x0, LBB0_9
; %bb.8:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_snmp_debug
LBB0_9:
	mov	x21, #0
Lloh13:
	adrp	x8, _SNMP_SYNTAX_NOSUCHOBJECT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SNMP_SYNTAX_NOSUCHOBJECT@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_12:
	mov	x21, x22
	ldr	x8, [x21, #-8]!
Lloh15:
	adrp	x9, _SNMP_NODE_LEAF@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SNMP_NODE_LEAF@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.13:
	ldr	w9, [x20]
	ldrsw	x8, [x22]
	add	w10, w8, #1
	cmp	w9, w10
	b.ne	LBB0_15
; %bb.14:
	ldr	x9, [x20, #8]
	ldr	x8, [x9, x8, lsl #3]
	cbz	x8, LBB0_18
LBB0_15:
	ldr	w0, [x23]
	bl	_TR
	cbz	x0, LBB0_17
; %bb.16:
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_snmp_debug
LBB0_17:
	mov	x21, #0
Lloh20:
	adrp	x8, _SNMP_SYNTAX_NOSUCHINSTANCE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SNMP_SYNTAX_NOSUCHINSTANCE@GOTPAGEOFF]
	b	LBB0_10
LBB0_18:
	ldr	w0, [x23]
	bl	_TR
	cbz	x0, LBB0_11
; %bb.19:
Lloh22:
	adrp	x8, _oidbuf@GOTPAGE
Lloh23:
	ldr	x8, [x8, _oidbuf@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_asn_oid2str_r
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_snmp_debug
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_FIND,4,2                       ; @FIND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"find: searching %s"

	.comm	_oidbuf,4,2                     ; @oidbuf
	.comm	_tree,8,3                       ; @tree
	.comm	_tree_size,4,2                  ; @tree_size
l_.str.1:                               ; @.str.1
	.asciz	"find: no match"

	.comm	_SNMP_SYNTAX_NOSUCHOBJECT,4,2   ; @SNMP_SYNTAX_NOSUCHOBJECT
	.comm	_SNMP_NODE_LEAF,8,3             ; @SNMP_NODE_LEAF
l_.str.2:                               ; @.str.2
	.asciz	"find: bad leaf index"

	.comm	_SNMP_SYNTAX_NOSUCHINSTANCE,4,2 ; @SNMP_SYNTAX_NOSUCHINSTANCE
l_.str.3:                               ; @.str.3
	.asciz	"find: found %s"

	.no_dead_strip	_find_node
.subsections_via_symbols
