	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snmp_parse_pdus_hdr            ## -- Begin function snmp_parse_pdus_hdr
	.p2align	4, 0x90
_snmp_parse_pdus_hdr:                   ## @snmp_parse_pdus_hdr
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rsi), %rax
	movq	_SNMP_PDU_TRAP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.1:
	leaq	36(%rbx), %rsi
	movq	%r15, %rdi
	callq	_asn_get_objid
	movq	_ASN_ERR_OK@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_2
## %bb.5:
	movl	32(%rbx), %esi
	movq	%r15, %rdi
	callq	_asn_get_ipaddress
	cmpq	(%r12), %rax
	jne	LBB0_6
## %bb.7:
	leaq	28(%rbx), %rsi
	movq	%r15, %rdi
	callq	_asn_get_integer
	cmpq	(%r12), %rax
	jne	LBB0_8
## %bb.9:
	leaq	24(%rbx), %rsi
	movq	%r15, %rdi
	callq	_asn_get_integer
	cmpq	(%r12), %rax
	jne	LBB0_10
## %bb.11:
	addq	$20, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_asn_get_timeticks
	cmpq	(%r12), %rax
	je	LBB0_19
## %bb.12:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_3
LBB0_13:
	leaq	16(%rbx), %rsi
	movq	%r15, %rdi
	callq	_asn_get_integer
	movq	_ASN_ERR_OK@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_14
## %bb.15:
	leaq	12(%rbx), %rsi
	movq	%r15, %rdi
	callq	_asn_get_integer
	cmpq	(%r12), %rax
	jne	LBB0_16
## %bb.17:
	addq	$8, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_asn_get_integer
	cmpq	(%r12), %rax
	jne	LBB0_18
LBB0_19:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_asn_get_sequence
	movq	_ASN_ERR_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.20:
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_14:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_3
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_3
LBB0_16:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_3
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_3
LBB0_18:
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_3
LBB0_10:
	leaq	L_.str.3(%rip), %rdi
LBB0_3:
	callq	_snmp_error
	movq	_ASN_ERR_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_PDU_TRAP,8,3              ## @SNMP_PDU_TRAP
	.comm	_ASN_ERR_OK,8,3                 ## @ASN_ERR_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot parse trap enterprise"

	.comm	_ASN_ERR_FAILED,4,2             ## @ASN_ERR_FAILED
L_.str.1:                               ## @.str.1
	.asciz	"cannot parse trap agent address"

L_.str.2:                               ## @.str.2
	.asciz	"cannot parse 'generic-trap'"

L_.str.3:                               ## @.str.3
	.asciz	"cannot parse 'specific-trap'"

L_.str.4:                               ## @.str.4
	.asciz	"cannot parse trap 'time-stamp'"

L_.str.5:                               ## @.str.5
	.asciz	"cannot parse 'request-id'"

L_.str.6:                               ## @.str.6
	.asciz	"cannot parse 'error_status'"

L_.str.7:                               ## @.str.7
	.asciz	"cannot parse 'error_index'"

L_.str.8:                               ## @.str.8
	.asciz	"cannot get varlist header"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snmp_parse_pdus_hdr            ; -- Begin function snmp_parse_pdus_hdr
	.p2align	2
_snmp_parse_pdus_hdr:                   ; @snmp_parse_pdus_hdr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _SNMP_PDU_TRAP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SNMP_PDU_TRAP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	add	x1, x21, #36
	mov	x0, x20
	bl	_asn_get_objid
Lloh3:
	adrp	x22, _ASN_ERR_OK@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ASN_ERR_OK@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.2:
	ldr	w1, [x21, #32]
	mov	x0, x20
	bl	_asn_get_ipaddress
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.3:
	add	x1, x21, #28
	mov	x0, x20
	bl	_asn_get_integer
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.4:
	add	x1, x21, #24
	mov	x0, x20
	bl	_asn_get_integer
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_18
; %bb.5:
	add	x1, x21, #20
	mov	x0, x20
	bl	_asn_get_timeticks
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.6:
Lloh5:
	adrp	x0, l_.str.4@PAGE
Lloh6:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_19
LBB0_7:
	add	x1, x21, #16
	mov	x0, x20
	bl	_asn_get_integer
Lloh7:
	adrp	x22, _ASN_ERR_OK@GOTPAGE
Lloh8:
	ldr	x22, [x22, _ASN_ERR_OK@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.8:
	add	x1, x21, #12
	mov	x0, x20
	bl	_asn_get_integer
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.9:
	add	x1, x21, #8
	mov	x0, x20
	bl	_asn_get_integer
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_17
LBB0_10:
	mov	x0, x20
	mov	x1, x19
	bl	_asn_get_sequence
Lloh9:
	adrp	x8, _ASN_ERR_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ASN_ERR_OK@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_20
; %bb.11:
Lloh12:
	adrp	x0, l_.str.8@PAGE
Lloh13:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_19
LBB0_12:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_19
LBB0_13:
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_19
LBB0_14:
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_19
LBB0_15:
Lloh20:
	adrp	x0, l_.str.6@PAGE
Lloh21:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_19
LBB0_16:
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_19
LBB0_17:
Lloh24:
	adrp	x0, l_.str.7@PAGE
Lloh25:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_19
LBB0_18:
Lloh26:
	adrp	x0, l_.str.3@PAGE
Lloh27:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_19:
	bl	_snmp_error
Lloh28:
	adrp	x8, _ASN_ERR_FAILED@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ASN_ERR_FAILED@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
LBB0_20:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_PDU_TRAP,8,3              ; @SNMP_PDU_TRAP
	.comm	_ASN_ERR_OK,8,3                 ; @ASN_ERR_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot parse trap enterprise"

	.comm	_ASN_ERR_FAILED,4,2             ; @ASN_ERR_FAILED
l_.str.1:                               ; @.str.1
	.asciz	"cannot parse trap agent address"

l_.str.2:                               ; @.str.2
	.asciz	"cannot parse 'generic-trap'"

l_.str.3:                               ; @.str.3
	.asciz	"cannot parse 'specific-trap'"

l_.str.4:                               ; @.str.4
	.asciz	"cannot parse trap 'time-stamp'"

l_.str.5:                               ; @.str.5
	.asciz	"cannot parse 'request-id'"

l_.str.6:                               ; @.str.6
	.asciz	"cannot parse 'error_status'"

l_.str.7:                               ; @.str.7
	.asciz	"cannot parse 'error_index'"

l_.str.8:                               ; @.str.8
	.asciz	"cannot get varlist header"

.subsections_via_symbols
