	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_pdus
_parse_pdus:                            ## @parse_pdus
	.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	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r15
	leaq	-64(%rbp), %rdx
	callq	_snmp_parse_pdus_hdr
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_ASN_ERR_STOPPED
	testq	%rax, %rax
	jne	LBB0_12
## %bb.1:
	movq	(%r15), %rax
	movq	%rax, %rcx
	subq	-64(%rbp), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	_ASN_ERR_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rsi
	movq	8(%r13), %rbx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rsi
	incq	%rsi
	movq	%rsi, (%r13)
	addq	$4, %rbx
	cmpq	$0, (%r15)
	je	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_SNMP_MAX_BINDINGS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_get_var_binding
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_ASN_ERR_STOPPED
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_ASN_ERR_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r12d
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%eax, %r14d
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	incq	%rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	%r12d, %r14d
	jmp	LBB0_10
LBB0_11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r15)
	jmp	LBB0_12
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_snmp_error
LBB0_6:
	movq	_ASN_ERR_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN_ERR_OK,4,2                 ## @ASN_ERR_OK
	.comm	_SNMP_MAX_BINDINGS,8,3          ## @SNMP_MAX_BINDINGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too many bindings (> %u) in PDU"

	.comm	_ASN_ERR_FAILED,4,2             ## @ASN_ERR_FAILED
	.no_dead_strip	_parse_pdus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_pdus
_parse_pdus:                            ; @parse_pdus
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x2, sp, #8
	bl	_snmp_parse_pdus_hdr
	mov	x22, x0
	bl	_ASN_ERR_STOPPED
	cbnz	x0, LBB0_11
; %bb.1:
	ldr	x25, [x19]
	ldr	x26, [sp, #8]
Lloh0:
	adrp	x27, _ASN_ERR_OK@GOTPAGE
Lloh1:
	ldr	x27, [x27, _ASN_ERR_OK@GOTPAGEOFF]
	ldr	w22, [x27]
	cbz	x25, LBB0_8
; %bb.2:
	ldp	x1, x23, [x21]
Lloh2:
	adrp	x28, _SNMP_MAX_BINDINGS@GOTPAGE
Lloh3:
	ldr	x28, [x28, _SNMP_MAX_BINDINGS@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21]
	add	x1, x8, #1
	str	x1, [x21]
	add	x23, x23, #4
	ldr	x8, [x19]
	cbz	x8, LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x28]
	cmp	x1, x8
	b.eq	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_get_var_binding
	mov	x24, x0
	bl	_ASN_ERR_STOPPED
	cbnz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x27]
	cmp	w24, w8
	ccmp	w22, w8, #0, ne
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21]
	add	x8, x8, #1
	str	x8, [x20]
	mov	x22, x24
	b	LBB0_3
LBB0_8:
	sub	x8, x25, x26
	str	x8, [x19]
	b	LBB0_11
LBB0_9:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_snmp_error
LBB0_10:
Lloh6:
	adrp	x8, _ASN_ERR_FAILED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ASN_ERR_FAILED@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
LBB0_11:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN_ERR_OK,4,2                 ; @ASN_ERR_OK
	.comm	_SNMP_MAX_BINDINGS,8,3          ; @SNMP_MAX_BINDINGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too many bindings (> %u) in PDU"

	.comm	_ASN_ERR_FAILED,4,2             ; @ASN_ERR_FAILED
	.no_dead_strip	_parse_pdus
.subsections_via_symbols
