	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	(%rsi), %rdi
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_4
LBB0_2:
	movl	$47, %esi
	callq	_strrchr
	movq	%rax, %rdi
	movq	_program_name@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.9:
	movq	(%r14), %rdi
	movq	%rdi, (%rax)
	testq	%rdi, %rdi
	jne	LBB0_5
## %bb.10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_3:
	incq	%rdi
LBB0_4:
	movq	_program_name@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	movl	$130, %ecx
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	_program_name@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	movl	$128, %ecx
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	(%rbx), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	movl	$129, %ecx
	testq	%rax, %rax
	jne	LBB0_8
LBB0_11:
	movq	_program@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	leaq	-56(%rbp), %rdi
	callq	_snmptool_init
	testq	%rax, %rax
	jns	LBB0_12
LBB0_14:
	movl	$1, %edi
	callq	_exit
LBB0_12:
	leaq	-56(%rbp), %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_snmptool_parse_options
	movl	%eax, %r12d
	testl	%eax, %eax
	jns	LBB0_15
## %bb.13:
	leaq	-56(%rbp), %rdi
	callq	_snmp_tool_freeall
	cmpl	$-2, %r12d
	jne	LBB0_14
## %bb.69:
	xorl	%edi, %edi
	callq	_exit
LBB0_15:
	movl	%r12d, %r13d
	notl	%r13d
	addl	%r15d, %r13d
	jne	LBB0_25
## %bb.16:
	movq	_program@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_22
## %bb.17:
	cmpl	$129, %eax
	je	LBB0_21
## %bb.18:
	cmpl	$130, %eax
	jne	LBB0_25
## %bb.19:
	leaq	-56(%rbp), %rdi
	callq	_ISSET_EDISCOVER
	testq	%rax, %rax
	jne	LBB0_25
## %bb.20:
	leaq	-56(%rbp), %rdi
	callq	_ISSET_LOCALKEY
	testq	%rax, %rax
	jne	LBB0_25
LBB0_21:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_39
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_22:
	movq	_snmpwalk_add_default@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdi
	xorl	%edx, %edx
	callq	_snmp_object_add
	testq	%rax, %rax
	jns	LBB0_25
## %bb.23:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_24
LBB0_25:
	leaq	-56(%rbp), %rdi
	callq	_snmp_import_all
	testq	%rax, %rax
	js	LBB0_39
## %bb.26:
	movq	_program@GOTPCREL(%rip), %rax
	cmpl	$130, (%rax)
	jne	LBB0_30
## %bb.27:
	movq	_snmp_client@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_SNMP_V1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_30
## %bb.28:
	leaq	-56(%rbp), %rdi
	callq	_GET_PDUTYPE
	movq	_SNMP_PDU_GETBULK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_30
## %bb.29:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
LBB0_24:
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_39
LBB0_30:
	testl	%r13d, %r13d
	jle	LBB0_37
## %bb.31:
	movslq	%r15d, %rax
	leaq	(%r14,%rax,8), %rbx
	addq	$-8, %rbx
	subl	%r12d, %r15d
	movq	_snmptools_parse_oid@GOTPCREL(%rip), %r13
	movq	_snmpset_parse_oid@GOTPCREL(%rip), %r12
	leaq	-56(%rbp), %r14
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	_program@GOTPCREL(%rip), %rax
	cmpl	$129, (%rax)
	movq	%r13, %rax
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r12, %rax
LBB0_35:                                ##   in Loop: Header=BB0_33 Depth=1
	movl	(%rax), %esi
	movq	(%rbx), %rdx
	movq	%r14, %rdi
	callq	_snmp_object_add
	testq	%rax, %rax
	js	LBB0_36
## %bb.32:                              ##   in Loop: Header=BB0_33 Depth=1
	addq	$-8, %rbx
	decl	%r15d
	cmpl	$2, %r15d
	jge	LBB0_33
LBB0_37:
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_snmp_open
	testq	%rax, %rax
	jne	LBB0_38
## %bb.40:
	movq	_snmp_client@GOTPCREL(%rip), %r13
	movq	_SNMP_V3@GOTPCREL(%rip), %rbx
	movq	(%r13), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_43
## %bb.41:
	cmpq	$0, 8(%r13)
	jne	LBB0_43
## %bb.42:
	leaq	-56(%rbp), %rdi
	callq	_SET_EDISCOVER
LBB0_43:
	leaq	-56(%rbp), %rdi
	callq	_ISSET_EDISCOVER
	testq	%rax, %rax
	je	LBB0_47
## %bb.44:
	movl	-48(%rbp), %edi
	callq	_snmp_discover_engine
	testq	%rax, %rax
	jns	LBB0_47
## %bb.45:
	leaq	L_.str.11(%rip), %rdi
	jmp	LBB0_46
LBB0_38:
	leaq	L_.str.10(%rip), %rdi
	callq	_warn
	jmp	LBB0_39
LBB0_47:
	leaq	-56(%rbp), %rdi
	callq	_GET_OUTPUT
	movq	_OUTPUT_VERBOSE@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	je	LBB0_49
## %bb.48:
	leaq	-56(%rbp), %rdi
	callq	_ISSET_EDISCOVER
	testq	%rax, %rax
	je	LBB0_50
LBB0_49:
	xorl	%eax, %eax
	callq	_snmp_output_engine
LBB0_50:
	movq	(%r13), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_56
## %bb.51:
	leaq	-56(%rbp), %rdi
	callq	_ISSET_LOCALKEY
	testq	%rax, %rax
	je	LBB0_56
## %bb.52:
	leaq	-56(%rbp), %rdi
	callq	_ISSET_EDISCOVER
	testq	%rax, %rax
	jne	LBB0_56
## %bb.53:
	movl	-48(%rbp), %esi
	leaq	24(%r13), %r14
	movq	%r14, %rdi
	callq	_snmp_passwd_to_keys
	movq	_SNMP_CODE_OK@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_55
## %bb.54:
	movl	16(%r13), %esi
	movq	8(%r13), %rdx
	movq	%r14, %rdi
	callq	_snmp_get_local_keys
	cmpq	(%rbx), %rax
	jne	LBB0_55
LBB0_56:
	leaq	-56(%rbp), %rdi
	callq	_GET_OUTPUT
	cmpq	(%r15), %rax
	je	LBB0_58
## %bb.57:
	leaq	-56(%rbp), %rdi
	callq	_ISSET_EDISCOVER
	testq	%rax, %rax
	je	LBB0_59
LBB0_58:
	xorl	%eax, %eax
	callq	_snmp_output_keys
LBB0_59:
	leaq	-56(%rbp), %rdi
	callq	_ISSET_EDISCOVER
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_61
## %bb.60:
	cmpq	$0, -56(%rbp)
	je	LBB0_68
LBB0_61:
	movq	_program@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_65
## %bb.62:
	cmpl	$129, %eax
	je	LBB0_66
## %bb.63:
	cmpl	$130, %eax
	jne	LBB0_68
## %bb.64:
	leaq	-56(%rbp), %rdi
	callq	_snmptool_get
	jmp	LBB0_67
LBB0_36:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_39:
	leaq	-56(%rbp), %rdi
	callq	_snmp_tool_freeall
	movl	$1, %edi
	callq	_exit
LBB0_65:
	leaq	-56(%rbp), %rdi
	callq	_snmptool_walk
	jmp	LBB0_67
LBB0_66:
	leaq	-56(%rbp), %rdi
	callq	_snmptool_set
LBB0_67:
	movl	%eax, %ebx
	jmp	LBB0_68
LBB0_55:
	leaq	L_.str.12(%rip), %rdi
LBB0_46:
	callq	_warn
	movl	$1, %ebx
LBB0_68:
	leaq	-56(%rbp), %rdi
	callq	_snmp_tool_freeall
	xorl	%eax, %eax
	callq	_snmp_close
	movl	%ebx, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"snmptool"

	.comm	_program_name,8,3               ## @program_name
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Error: No program name?\n"

L_.str.2:                               ## @.str.2
	.asciz	"bsnmpget"

	.comm	_program,4,2                    ## @program
L_.str.3:                               ## @.str.3
	.asciz	"bsnmpwalk"

L_.str.4:                               ## @.str.4
	.asciz	"bsnmpset"

L_.str.5:                               ## @.str.5
	.asciz	"Unknown snmp tool name '%s'.\n"

L_.str.6:                               ## @.str.6
	.asciz	"No OID given.\n"

	.comm	_snmpwalk_add_default,4,2       ## @snmpwalk_add_default
L_.str.7:                               ## @.str.7
	.asciz	"Error setting default subtree.\n"

	.comm	_snmp_client,32,3               ## @snmp_client
	.comm	_SNMP_V1,8,3                    ## @SNMP_V1
	.comm	_SNMP_PDU_GETBULK,8,3           ## @SNMP_PDU_GETBULK
L_.str.8:                               ## @.str.8
	.asciz	"Cannot send GETBULK PDU with SNMPv1.\n"

	.comm	_snmpset_parse_oid,4,2          ## @snmpset_parse_oid
	.comm	_snmptools_parse_oid,4,2        ## @snmptools_parse_oid
L_.str.9:                               ## @.str.9
	.asciz	"Error parsing OID string '%s'.\n"

L_.str.10:                              ## @.str.10
	.asciz	"Failed to open snmp session"

	.comm	_SNMP_V3,8,3                    ## @SNMP_V3
L_.str.11:                              ## @.str.11
	.asciz	"Unknown SNMP Engine ID"

	.comm	_OUTPUT_VERBOSE,8,3             ## @OUTPUT_VERBOSE
	.comm	_SNMP_CODE_OK,8,3               ## @SNMP_CODE_OK
L_.str.12:                              ## @.str.12
	.asciz	"Failed to get keys"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x1]
Lloh0:
	adrp	x21, _program_name@GOTPAGE
Lloh1:
	ldr	x21, [x21, _program_name@GOTPAGEOFF]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:
	mov	w1, #47
	bl	_strrchr
	str	x0, [x21]
	cbnz	x0, LBB0_5
; %bb.3:
	ldr	x0, [x20]
	str	x0, [x21]
	cbnz	x0, LBB0_7
; %bb.4:
Lloh4:
	adrp	x8, _stderr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_26
LBB0_5:
	add	x0, x0, #1
LBB0_6:
	str	x0, [x21]
LBB0_7:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_9
; %bb.8:
	mov	w8, #130
	b	LBB0_13
LBB0_9:
	ldr	x0, [x21]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_11
; %bb.10:
	mov	w8, #128
	b	LBB0_13
LBB0_11:
	ldr	x0, [x21]
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_25
; %bb.12:
	mov	w8, #129
LBB0_13:
Lloh15:
	adrp	x22, _program@GOTPAGE
Lloh16:
	ldr	x22, [x22, _program@GOTPAGEOFF]
	str	w8, [x22]
	add	x0, sp, #16
	bl	_snmptool_init
	tbz	x0, #63, LBB0_15
LBB0_14:
	mov	w0, #1
	bl	_exit
LBB0_15:
	add	x0, sp, #16
	mov	x1, x19
	mov	x2, x20
	bl	_snmptool_parse_options
	mov	x21, x0
	tbz	w0, #31, LBB0_18
; %bb.16:
	add	x0, sp, #16
	bl	_snmp_tool_freeall
	cmn	w21, #2
	b.ne	LBB0_14
; %bb.17:
	mov	w0, #0
	bl	_exit
LBB0_18:
	mvn	w8, w21
	adds	w23, w8, w19
	b.ne	LBB0_29
; %bb.19:
	ldr	w8, [x22]
	cmp	w8, #128
	b.eq	LBB0_27
; %bb.20:
	cmp	w8, #129
	b.eq	LBB0_24
; %bb.21:
	cmp	w8, #130
	b.ne	LBB0_29
; %bb.22:
	add	x0, sp, #16
	bl	_ISSET_EDISCOVER
	cbnz	x0, LBB0_29
; %bb.23:
	add	x0, sp, #16
	bl	_ISSET_LOCALKEY
	cbnz	x0, LBB0_29
LBB0_24:
Lloh17:
	adrp	x8, _stderr@GOTPAGE
Lloh18:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
	bl	_usage
	b	LBB0_64
LBB0_25:
Lloh22:
	adrp	x8, _stderr@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ldr	x8, [x21]
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_26:
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_27:
Lloh27:
	adrp	x8, _snmpwalk_add_default@GOTPAGE
Lloh28:
	ldr	x8, [x8, _snmpwalk_add_default@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	add	x0, sp, #16
	mov	x2, #0
	bl	_snmp_object_add
	tbz	x0, #63, LBB0_29
; %bb.28:
Lloh30:
	adrp	x8, _stderr@GOTPAGE
Lloh31:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x1, l_.str.7@PAGE
Lloh34:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_63
LBB0_29:
	add	x0, sp, #16
	bl	_snmp_import_all
	tbnz	x0, #63, LBB0_64
; %bb.30:
	ldr	w8, [x22]
	cmp	w8, #130
	b.ne	LBB0_34
; %bb.31:
Lloh35:
	adrp	x8, _snmp_client@GOTPAGE
Lloh36:
	ldr	x8, [x8, _snmp_client@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
Lloh38:
	adrp	x9, _SNMP_V1@GOTPAGE
Lloh39:
	ldr	x9, [x9, _SNMP_V1@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_34
; %bb.32:
	add	x0, sp, #16
	bl	_GET_PDUTYPE
Lloh41:
	adrp	x8, _SNMP_PDU_GETBULK@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SNMP_PDU_GETBULK@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_34
; %bb.33:
Lloh44:
	adrp	x8, _stderr@GOTPAGE
Lloh45:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
Lloh47:
	adrp	x1, l_.str.8@PAGE
Lloh48:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_63
LBB0_34:
	cmp	w23, #1
	b.lt	LBB0_38
; %bb.35:
	add	x8, x20, w19, sxtw #3
	sub	x20, x8, #8
	sub	w19, w19, w21
Lloh49:
	adrp	x21, _snmpset_parse_oid@GOTPAGE
Lloh50:
	ldr	x21, [x21, _snmpset_parse_oid@GOTPAGEOFF]
Lloh51:
	adrp	x23, _snmptools_parse_oid@GOTPAGE
Lloh52:
	ldr	x23, [x23, _snmptools_parse_oid@GOTPAGEOFF]
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	cmp	w8, #129
	csel	x8, x21, x23, eq
	ldr	w1, [x8]
	ldr	x2, [x20]
	add	x0, sp, #16
	bl	_snmp_object_add
	tbnz	x0, #63, LBB0_62
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=1
	sub	x20, x20, #8
	sub	w19, w19, #1
	cmp	w19, #2
	b.ge	LBB0_36
LBB0_38:
	mov	x0, #0
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_snmp_open
	cbnz	x0, LBB0_44
; %bb.39:
Lloh53:
	adrp	x20, _snmp_client@GOTPAGE
Lloh54:
	ldr	x20, [x20, _snmp_client@GOTPAGEOFF]
Lloh55:
	adrp	x19, _SNMP_V3@GOTPAGE
Lloh56:
	ldr	x19, [x19, _SNMP_V3@GOTPAGEOFF]
	ldr	x8, [x19]
	ldp	x9, x10, [x20]
	cmp	x9, x8
	ccmp	x10, #0, #0, eq
	b.ne	LBB0_41
; %bb.40:
	add	x0, sp, #16
	bl	_SET_EDISCOVER
LBB0_41:
	add	x0, sp, #16
	bl	_ISSET_EDISCOVER
	cbz	x0, LBB0_45
; %bb.42:
	ldr	w0, [sp, #24]
	bl	_snmp_discover_engine
	tbz	x0, #63, LBB0_45
; %bb.43:
Lloh57:
	adrp	x0, l_.str.11@PAGE
Lloh58:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_70
LBB0_44:
Lloh59:
	adrp	x0, l_.str.10@PAGE
Lloh60:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_warn
	b	LBB0_64
LBB0_45:
	add	x0, sp, #16
	bl	_GET_OUTPUT
Lloh61:
	adrp	x21, _OUTPUT_VERBOSE@GOTPAGE
Lloh62:
	ldr	x21, [x21, _OUTPUT_VERBOSE@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_47
; %bb.46:
	add	x0, sp, #16
	bl	_ISSET_EDISCOVER
	cbz	x0, LBB0_48
LBB0_47:
	bl	_snmp_output_engine
LBB0_48:
	ldr	x8, [x20]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_53
; %bb.49:
	add	x0, sp, #16
	bl	_ISSET_LOCALKEY
	cbz	x0, LBB0_53
; %bb.50:
	add	x0, sp, #16
	bl	_ISSET_EDISCOVER
	cbnz	x0, LBB0_53
; %bb.51:
	ldr	w1, [sp, #24]
	add	x19, x20, #24
	mov	x0, x19
	bl	_snmp_passwd_to_keys
Lloh63:
	adrp	x23, _SNMP_CODE_OK@GOTPAGE
Lloh64:
	ldr	x23, [x23, _SNMP_CODE_OK@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_69
; %bb.52:
	ldr	w1, [x20, #16]
	ldr	x2, [x20, #8]
	mov	x0, x19
	bl	_snmp_get_local_keys
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_69
LBB0_53:
	add	x0, sp, #16
	bl	_GET_OUTPUT
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_55
; %bb.54:
	add	x0, sp, #16
	bl	_ISSET_EDISCOVER
	cbz	x0, LBB0_56
LBB0_55:
	bl	_snmp_output_keys
LBB0_56:
	add	x0, sp, #16
	bl	_ISSET_EDISCOVER
	cbz	x0, LBB0_58
; %bb.57:
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_65
LBB0_58:
	ldr	w8, [x22]
	cmp	w8, #128
	b.eq	LBB0_66
; %bb.59:
	cmp	w8, #129
	b.eq	LBB0_67
; %bb.60:
	cmp	w8, #130
	b.ne	LBB0_65
; %bb.61:
	add	x0, sp, #16
	bl	_snmptool_get
	b	LBB0_68
LBB0_62:
Lloh65:
	adrp	x8, _stderr@GOTPAGE
Lloh66:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
	ldr	x8, [x20]
	str	x8, [sp]
Lloh68:
	adrp	x1, l_.str.9@PAGE
Lloh69:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_63:
	bl	_fprintf
LBB0_64:
	add	x0, sp, #16
	bl	_snmp_tool_freeall
	mov	w0, #1
	bl	_exit
LBB0_65:
	mov	w19, #0
	b	LBB0_71
LBB0_66:
	add	x0, sp, #16
	bl	_snmptool_walk
	b	LBB0_68
LBB0_67:
	add	x0, sp, #16
	bl	_snmptool_set
LBB0_68:
	mov	x19, x0
	b	LBB0_71
LBB0_69:
Lloh70:
	adrp	x0, l_.str.12@PAGE
Lloh71:
	add	x0, x0, l_.str.12@PAGEOFF
LBB0_70:
	bl	_warn
	mov	w19, #1
LBB0_71:
	add	x0, sp, #16
	bl	_snmp_tool_freeall
	bl	_snmp_close
	mov	x0, x19
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh70, Lloh71
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"snmptool"

	.comm	_program_name,8,3               ; @program_name
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Error: No program name?\n"

l_.str.2:                               ; @.str.2
	.asciz	"bsnmpget"

	.comm	_program,4,2                    ; @program
l_.str.3:                               ; @.str.3
	.asciz	"bsnmpwalk"

l_.str.4:                               ; @.str.4
	.asciz	"bsnmpset"

l_.str.5:                               ; @.str.5
	.asciz	"Unknown snmp tool name '%s'.\n"

l_.str.6:                               ; @.str.6
	.asciz	"No OID given.\n"

	.comm	_snmpwalk_add_default,4,2       ; @snmpwalk_add_default
l_.str.7:                               ; @.str.7
	.asciz	"Error setting default subtree.\n"

	.comm	_snmp_client,32,3               ; @snmp_client
	.comm	_SNMP_V1,8,3                    ; @SNMP_V1
	.comm	_SNMP_PDU_GETBULK,8,3           ; @SNMP_PDU_GETBULK
l_.str.8:                               ; @.str.8
	.asciz	"Cannot send GETBULK PDU with SNMPv1.\n"

	.comm	_snmpset_parse_oid,4,2          ; @snmpset_parse_oid
	.comm	_snmptools_parse_oid,4,2        ; @snmptools_parse_oid
l_.str.9:                               ; @.str.9
	.asciz	"Error parsing OID string '%s'.\n"

l_.str.10:                              ; @.str.10
	.asciz	"Failed to open snmp session"

	.comm	_SNMP_V3,8,3                    ; @SNMP_V3
l_.str.11:                              ; @.str.11
	.asciz	"Unknown SNMP Engine ID"

	.comm	_OUTPUT_VERBOSE,8,3             ; @OUTPUT_VERBOSE
	.comm	_SNMP_CODE_OK,8,3               ; @SNMP_CODE_OK
l_.str.12:                              ; @.str.12
	.asciz	"Failed to get keys"

.subsections_via_symbols
