	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_commit
_do_commit:                             ## @do_commit
	.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	_assigns@GOTPCREL(%rip), %rdi
	callq	_TAILQ_FIRST
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %rbx
	movq	_assigns@GOTPCREL(%rip), %r14
	movq	_tree@GOTPCREL(%rip), %r13
	movq	_tree_size@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	8(%rbx), %rdi
	callq	_snmp_value_free
	movq	%rbx, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_TAILQ_FIRST
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
	movq	(%r13), %rax
	movq	(%r15), %rcx
	testq	%rcx, %rcx
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rcx,%rcx,2), %rdx
	leaq	(%rax,%rdx,8), %rdx
	movq	(%rbx), %rsi
	movq	%rax, %r12
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rsi, (%r12)
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	addq	$24, %r12
	cmpq	%rdx, %r12
	jb	LBB0_5
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	12(%rbx), %rax
	movq	_snmp_ctx@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rcx
	movq	%rax, (%rcx)
	movq	(%rdx), %rdi
	leaq	8(%rbx), %rsi
	movl	8(%r12), %ecx
	movl	12(%r12), %edx
	movq	_SNMP_OP_COMMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	*16(%r12)
	movq	(%r13), %rax
	movq	(%r15), %rcx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rax,%rcx,8), %rax
	cmpq	%rax, %r12
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_syslog
	jmp	LBB0_10
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_assigns,4,2                    ## @assigns
	.comm	_link,4,2                       ## @link
	.comm	_tree,8,3                       ## @tree
	.comm	_tree_size,8,3                  ## @tree_size
	.comm	_snmp_ctx,8,3                   ## @snmp_ctx
	.comm	_SNMP_OP_COMMIT,4,2             ## @SNMP_OP_COMMIT
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to find node for commit"

	.no_dead_strip	_do_commit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_commit
_do_commit:                             ; @do_commit
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x0, _assigns@GOTPAGE
Lloh1:
	ldr	x0, [x0, _assigns@GOTPAGEOFF]
	bl	_TAILQ_FIRST
	cbz	x0, LBB0_11
; %bb.1:
	mov	x20, x0
Lloh2:
	adrp	x22, _link@GOTPAGE
Lloh3:
	ldr	x22, [x22, _link@GOTPAGEOFF]
Lloh4:
	adrp	x19, _assigns@GOTPAGE
Lloh5:
	ldr	x19, [x19, _assigns@GOTPAGEOFF]
Lloh6:
	adrp	x23, _tree@GOTPAGE
Lloh7:
	ldr	x23, [x23, _tree@GOTPAGEOFF]
Lloh8:
	adrp	x24, _tree_size@GOTPAGE
Lloh9:
	ldr	x24, [x24, _tree_size@GOTPAGEOFF]
	mov	w25, #24
Lloh10:
	adrp	x26, _snmp_ctx@GOTPAGE
Lloh11:
	ldr	x26, [x26, _snmp_ctx@GOTPAGEOFF]
Lloh12:
	adrp	x21, l_.str@PAGE
Lloh13:
	add	x21, x21, l_.str@PAGEOFF
Lloh14:
	adrp	x28, _LOG_ERR@GOTPAGE
Lloh15:
	ldr	x28, [x28, _LOG_ERR@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x20, #8
	bl	_snmp_value_free
	mov	x0, x20
	bl	_free
	mov	x0, x19
	bl	_TAILQ_FIRST
	mov	x20, x0
	cbz	x0, LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_TAILQ_REMOVE
	ldr	x8, [x23]
	ldr	x9, [x24]
	cmp	x9, #1
	b.lt	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	madd	x10, x9, x25, x8
	ldr	x11, [x20]
	mov	x27, x8
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x27]
	cmp	x12, x11
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x27, x27, #24
	cmp	x27, x10
	b.lo	LBB0_5
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, x8
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x20, #12
	ldr	x9, [x26]
	str	x8, [x9]
	ldr	x8, [x27, #16]
	ldr	x0, [x26]
	add	x1, x20, #8
	ldp	w3, w2, [x27, #8]
Lloh16:
	adrp	x9, _SNMP_OP_COMMIT@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SNMP_OP_COMMIT@GOTPAGEOFF]
Lloh18:
	ldr	w4, [x9]
	blr	x8
	ldr	x8, [x23]
	ldr	x9, [x24]
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	madd	x8, x9, x25, x8
	cmp	x27, x8
	b.ne	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x28]
	mov	x1, x21
	bl	_syslog
	b	LBB0_2
LBB0_11:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_assigns,4,2                    ; @assigns
	.comm	_link,4,2                       ; @link
	.comm	_tree,8,3                       ; @tree
	.comm	_tree_size,8,3                  ; @tree_size
	.comm	_snmp_ctx,8,3                   ; @snmp_ctx
	.comm	_SNMP_OP_COMMIT,4,2             ; @SNMP_OP_COMMIT
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to find node for commit"

	.no_dead_strip	_do_commit
.subsections_via_symbols
