	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snmpset_add_vbind
_snmpset_add_vbind:                     ## @snmpset_add_vbind
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	movq	_SNMP_MAX_BINDINGS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jbe	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_warnx
LBB0_5:
	movl	$-1, %eax
	jmp	LBB0_6
LBB0_2:
	movq	%rsi, %r14
	xorl	%eax, %eax
	cmpq	$0, (%rsi)
	jg	LBB0_6
## %bb.3:
	shlq	$2, %rdi
	addq	8(%rbx), %rdi
	addq	$8, %r14
	movq	%r14, %rsi
	callq	_snmpset_add_value
	testq	%rax, %rax
	js	LBB0_5
## %bb.4:
	movq	(%rbx), %rdi
	shlq	$2, %rdi
	addq	8(%rbx), %rdi
	movq	%r14, %rsi
	callq	_asn_append_oid
	movq	(%rbx), %rax
	incq	%rax
	movq	%rax, (%rbx)
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_MAX_BINDINGS,8,3          ## @SNMP_MAX_BINDINGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Too many OIDs for one PDU"

	.no_dead_strip	_snmpset_add_vbind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snmpset_add_vbind
_snmpset_add_vbind:                     ; @snmpset_add_vbind
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SNMP_MAX_BINDINGS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SNMP_MAX_BINDINGS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_3
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
LBB0_2:
	mov	w0, #-1
	b	LBB0_7
LBB0_3:
	ldr	x9, [x1]
	cmp	x9, #0
	b.le	LBB0_5
; %bb.4:
	mov	w0, #0
	b	LBB0_7
LBB0_5:
	mov	x19, x0
	ldr	x9, [x0, #8]
	add	x0, x9, x8, lsl #2
	add	x20, x1, #8
	mov	x1, x20
	bl	_snmpset_add_value
	tbnz	x0, #63, LBB0_2
; %bb.6:
	ldp	x9, x8, [x19]
	add	x0, x8, x9, lsl #2
	mov	x1, x20
	bl	_asn_append_oid
	ldr	x8, [x19]
	add	x0, x8, #1
	str	x0, [x19]
LBB0_7:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_MAX_BINDINGS,8,3          ; @SNMP_MAX_BINDINGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Too many OIDs for one PDU"

	.no_dead_strip	_snmpset_add_vbind
.subsections_via_symbols
