	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snmp_import_leaf
_snmp_import_leaf:                      ## @snmp_import_leaf
	.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, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	addq	$28, %rdx
	leaq	24(%r12), %rcx
	callq	_parse_type
	movl	$-1, %ecx
	testl	%eax, %eax
	js	LBB0_15
## %bb.1:
	movl	%eax, (%r12)
	movl	(%rbx), %eax
	movq	_TOK_STR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_gettoken
	movl	%eax, (%rbx)
LBB0_3:
	movq	_SNMP_ACCESS_GETSET@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_7
## %bb.4:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_TOK_ACCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_val@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 20(%r12)
	movq	%r15, %rdi
	callq	_gettoken
	movl	%eax, (%rbx)
	incl	%r14d
	cmpl	(%r13), %r14d
	jl	LBB0_5
LBB0_7:
	cmpl	$41, %eax
	jne	LBB0_8
## %bb.9:
	movq	_ENTRY_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_snmp_import_update_table
	movl	%eax, 16(%r12)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_snmp_leaf_insert
	testl	%eax, %eax
	js	LBB0_10
## %bb.12:
	jne	LBB0_14
## %bb.13:
	movq	8(%r12), %rdi
	callq	_free
	movq	%r12, %rdi
	callq	_free
LBB0_14:
	movq	_ENTRY_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_snmp_import_update_table
	movl	$1, %ecx
	jmp	LBB0_15
LBB0_8:
	movq	_input@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rsi
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_11
LBB0_10:
	movq	8(%r12), %rsi
	leaq	L_.str.1(%rip), %rdi
LBB0_11:
	callq	_warnx
	movl	$-1, %ecx
LBB0_15:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TOK_STR,4,2                    ## @TOK_STR
	.comm	_SNMP_ACCESS_GETSET,4,2         ## @SNMP_ACCESS_GETSET
	.comm	_TOK_ACCESS,4,2                 ## @TOK_ACCESS
	.comm	_val,8,3                        ## @val
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"')' expected at end of line %d"

	.comm	_input,8,3                      ## @input
	.comm	_ENTRY_DATA,4,2                 ## @ENTRY_DATA
L_.str.1:                               ## @.str.1
	.asciz	"Error adding leaf %s to list"

	.comm	_ENTRY_NONE,4,2                 ## @ENTRY_NONE
	.no_dead_strip	_snmp_import_leaf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snmp_import_leaf
_snmp_import_leaf:                      ; @snmp_import_leaf
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	add	x2, x2, #28
	add	x3, x19, #24
	bl	_parse_type
	tbnz	w0, #31, LBB0_15
; %bb.1:
	str	w0, [x19]
	ldr	w0, [x21]
Lloh0:
	adrp	x8, _TOK_STR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TOK_STR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_gettoken
	str	w0, [x21]
LBB0_3:
Lloh3:
	adrp	x22, _SNMP_ACCESS_GETSET@GOTPAGE
Lloh4:
	ldr	x22, [x22, _SNMP_ACCESS_GETSET@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.4:
	mov	w23, #0
Lloh5:
	adrp	x24, _TOK_ACCESS@GOTPAGE
Lloh6:
	ldr	x24, [x24, _TOK_ACCESS@GOTPAGEOFF]
Lloh7:
	adrp	x25, _val@GOTPAGE
Lloh8:
	ldr	x25, [x25, _val@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x25]
	ldr	w9, [x19, #20]
	orr	w8, w9, w8
	str	w8, [x19, #20]
	mov	x0, x20
	bl	_gettoken
	str	w0, [x21]
	add	w23, w23, #1
	ldr	w8, [x22]
	cmp	w23, w8
	b.lt	LBB0_5
LBB0_7:
	cmp	w0, #41
	b.ne	LBB0_12
; %bb.8:
Lloh9:
	adrp	x8, _ENTRY_DATA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENTRY_DATA@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_snmp_import_update_table
	str	w0, [x19, #16]
	mov	x0, x20
	mov	x1, x19
	bl	_snmp_leaf_insert
	tbnz	w0, #31, LBB0_13
; %bb.9:
	cbnz	w0, LBB0_11
; %bb.10:
	ldr	x0, [x19, #8]
	bl	_free
	mov	x0, x19
	bl	_free
LBB0_11:
Lloh12:
	adrp	x8, _ENTRY_NONE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENTRY_NONE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_snmp_import_update_table
	mov	w0, #1
	b	LBB0_16
LBB0_12:
Lloh15:
	adrp	x8, _input@GOTPAGE
Lloh16:
	ldr	x8, [x8, _input@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x1, [x8]
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_14
LBB0_13:
	ldr	x1, [x19, #8]
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_14:
	bl	_warnx
LBB0_15:
	mov	w0, #-1
LBB0_16:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_TOK_STR,4,2                    ; @TOK_STR
	.comm	_SNMP_ACCESS_GETSET,4,2         ; @SNMP_ACCESS_GETSET
	.comm	_TOK_ACCESS,4,2                 ; @TOK_ACCESS
	.comm	_val,8,3                        ; @val
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"')' expected at end of line %d"

	.comm	_input,8,3                      ; @input
	.comm	_ENTRY_DATA,4,2                 ; @ENTRY_DATA
l_.str.1:                               ; @.str.1
	.asciz	"Error adding leaf %s to list"

	.comm	_ENTRY_NONE,4,2                 ; @ENTRY_NONE
	.no_dead_strip	_snmp_import_leaf
.subsections_via_symbols
