	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snmptool_walk
_snmptool_walk:                         ## @snmptool_walk
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	callq	_GET_PDUTYPE
	movq	_SNMP_PDU_GETBULK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
	cmpq	%r12, %rax
	je	LBB0_2
## %bb.1:
	movq	_SNMP_PDU_GETNEXT@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_2:
	leaq	-96(%rbp), %r15
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_snmp_pdu_create
	movq	_snmptool_add_vbind@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	%r15, %rcx
	movl	$1, %r8d
	callq	_snmp_pdu_add_bindings
	testq	%rax, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_28
## %bb.3:
	leaq	-96(%rbp), %r14
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	-88(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_asn_append_oid
	movq	_SNMP_PDU_GETBULK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_GET_MAXREP
	movq	%r14, %rbx
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_GET_NONREP
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%rbx, %r14
	movl	%eax, %edx
	callq	_snmpget_fix_getbulk
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_snmp_dialog
	testq	%rax, %rax
	js	LBB0_19
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_snmp_parse_resp
	testq	%rax, %rax
	movq	%rbx, %r12
	js	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movq	%r12, %rsi
	leaq	-48(%rbp), %rdx
	callq	_snmp_output_resp
	testq	%rax, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	js	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	addq	%rax, %rbx
	movslq	-80(%rbp), %rdx
	cmpl	%eax, %edx
	jg	LBB0_11
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r13, %r15
	movq	-72(%rbp), %rcx
	leaq	(%rcx,%rdx,4), %rsi
	addq	$-4, %rsi
	movq	%r14, %r13
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_snmpwalk_nextpdu_create
	movq	_SNMP_PDU_GETBULK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r15, %r12
	movq	%r15, %rdi
	callq	_GET_MAXREP
	movl	%eax, %r14d
	movq	%r15, %rdi
	leaq	-80(%rbp), %r12
	callq	_GET_NONREP
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_snmpget_fix_getbulk
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	%r12, %rdi
	callq	_snmp_pdu_free
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_snmp_dialog
	testq	%rax, %rax
	movq	%r13, %r14
	movq	%r15, %r13
	js	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_snmp_parse_resp
	testq	%rax, %rax
	jns	LBB0_9
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_snmp_output_err_resp
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_snmp_pdu_free
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_snmp_pdu_free
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	testq	%rbx, %rbx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_25
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_SNMP_PDU_GET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdx
	callq	_snmpwalk_nextpdu_create
	movq	%r14, %rdi
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_snmp_dialog
	movq	_SNMP_CODE_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_snmp_parse_resp
	movq	%r13, %rdi
	movq	%rbx, %rsi
	testq	%rax, %rax
	js	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edx, %edx
	callq	_snmp_output_resp
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_warn
	jmp	LBB0_25
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=1
	callq	_snmp_output_err_resp
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_snmp_pdu_free
LBB0_25:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	leaq	-48(%rbp), %rsi
	callq	_snmp_object_remove
	testq	%rax, %rax
	js	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_snmp_pdu_free
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_snmp_pdu_create
	movq	_snmptool_add_vbind@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	%r14, %rcx
	movl	$1, %r8d
	callq	_snmp_pdu_add_bindings
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jg	LBB0_4
	jmp	LBB0_28
LBB0_26:
	leaq	L_.str.1(%rip), %rdi
	callq	_warnx
LBB0_28:
	leaq	-96(%rbp), %rdi
	callq	_snmp_pdu_free
	xorl	%eax, %eax
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	setne	%al
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_PDU_GETBULK,8,3           ## @SNMP_PDU_GETBULK
	.comm	_SNMP_PDU_GETNEXT,8,3           ## @SNMP_PDU_GETNEXT
	.comm	_snmptool_add_vbind,4,2         ## @snmptool_add_vbind
	.comm	_SNMP_PDU_GET,8,3               ## @SNMP_PDU_GET
	.comm	_SNMP_CODE_OK,8,3               ## @SNMP_CODE_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Snmp dialog"

L_.str.1:                               ## @.str.1
	.asciz	"snmp_object_remove"

	.no_dead_strip	_snmptool_walk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snmptool_walk
_snmptool_walk:                         ; @snmptool_walk
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_GET_PDUTYPE
Lloh0:
	adrp	x24, _SNMP_PDU_GETBULK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SNMP_PDU_GETBULK@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh2:
	adrp	x9, _SNMP_PDU_GETNEXT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SNMP_PDU_GETNEXT@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x0, x8
	csel	x20, x8, x9, eq
	add	x0, sp, #32
	mov	x1, x20
	bl	_snmp_pdu_create
Lloh5:
	adrp	x25, _snmptool_add_vbind@GOTPAGE
Lloh6:
	ldr	x25, [x25, _snmptool_add_vbind@GOTPAGEOFF]
	ldr	w2, [x25]
	add	x3, sp, #32
	mov	x0, x19
	mov	x1, #0
	mov	w4, #1
	bl	_snmp_pdu_add_bindings
	mov	x22, x0
	cmp	x0, #1
	b.lt	LBB0_25
; %bb.1:
Lloh7:
	adrp	x26, _SNMP_PDU_GET@GOTPAGE
Lloh8:
	ldr	x26, [x26, _SNMP_PDU_GET@GOTPAGEOFF]
Lloh9:
	adrp	x27, _SNMP_CODE_OK@GOTPAGE
Lloh10:
	ldr	x27, [x27, _SNMP_CODE_OK@GOTPAGEOFF]
Lloh11:
	adrp	x21, l_.str@PAGE
Lloh12:
	add	x21, x21, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x1, [sp, #40]
	add	x0, sp, #8
	bl	_asn_append_oid
	ldr	x8, [x24]
	cmp	x20, x8
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_GET_MAXREP
	mov	x23, x0
	mov	x0, x19
	bl	_GET_NONREP
	mov	x2, x0
	add	x0, sp, #32
	mov	x1, x23
	bl	_snmpget_fix_getbulk
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #32
	add	x1, sp, #16
	bl	_snmp_dialog
	tbnz	x0, #63, LBB0_16
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #16
	add	x1, sp, #32
	bl	_snmp_parse_resp
	tbnz	x0, #63, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x28, #0
LBB0_7:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x0, x19
	bl	_snmp_output_resp
	mov	x22, x0
	tbnz	x0, #63, LBB0_20
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x28, x22, x28
	ldr	w8, [sp, #16]
	cmp	w8, w22
	b.gt	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x9, [sp, #24]
	sub	w8, w8, #1
	add	x1, x9, w8, sxtw #2
	add	x2, sp, #32
	mov	x0, x20
	bl	_snmpwalk_nextpdu_create
	ldr	x8, [x24]
	cmp	x20, x8
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x19
	bl	_GET_MAXREP
	mov	x23, x0
	mov	x0, x19
	bl	_GET_NONREP
	mov	x2, x0
	add	x0, sp, #32
	mov	x1, x23
	bl	_snmpget_fix_getbulk
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x0, sp, #16
	bl	_snmp_pdu_free
	add	x0, sp, #32
	add	x1, sp, #16
	bl	_snmp_dialog
	tbnz	x0, #63, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=2
	add	x0, sp, #16
	add	x1, sp, #32
	bl	_snmp_parse_resp
	tbz	x0, #63, LBB0_7
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #16
	b	LBB0_19
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #16
	bl	_snmp_pdu_free
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	x28, LBB0_22
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x26]
	add	x1, sp, #8
	add	x2, sp, #32
	bl	_snmpwalk_nextpdu_create
	add	x0, sp, #32
	add	x1, sp, #16
	bl	_snmp_dialog
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #16
	add	x1, sp, #32
	bl	_snmp_parse_resp
	add	x1, sp, #16
	tbnz	x0, #63, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x2, #0
	bl	_snmp_output_resp
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_snmp_output_err_resp
LBB0_20:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #16
	bl	_snmp_pdu_free
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_warn
LBB0_22:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #8
	mov	x0, x19
	bl	_snmp_object_remove
	tbnz	x0, #63, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #32
	bl	_snmp_pdu_free
	add	x0, sp, #32
	mov	x1, x20
	bl	_snmp_pdu_create
	ldr	w2, [x25]
	add	x3, sp, #32
	mov	x0, x19
	mov	x1, #0
	mov	w4, #1
	bl	_snmp_pdu_add_bindings
	mov	x22, x0
	cmp	x0, #0
	b.gt	LBB0_2
	b	LBB0_25
LBB0_24:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warnx
LBB0_25:
	add	x0, sp, #32
	bl	_snmp_pdu_free
	cmp	x22, #0
	cset	w0, ne
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_PDU_GETBULK,8,3           ; @SNMP_PDU_GETBULK
	.comm	_SNMP_PDU_GETNEXT,8,3           ; @SNMP_PDU_GETNEXT
	.comm	_snmptool_add_vbind,4,2         ; @snmptool_add_vbind
	.comm	_SNMP_PDU_GET,8,3               ; @SNMP_PDU_GET
	.comm	_SNMP_CODE_OK,8,3               ; @SNMP_CODE_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Snmp dialog"

l_.str.1:                               ; @.str.1
	.asciz	"snmp_object_remove"

	.no_dead_strip	_snmptool_walk
.subsections_via_symbols
