	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_secparams
_parse_secparams:                       ## @parse_secparams
	.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
	subq	$1072, %rsp                     ## imm = 0x430
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-1072(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	%rbx, -1088(%rbp)
	movq	$256, -1104(%rbp)               ## imm = 0x100
	leaq	-1104(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_asn_get_octetstring
	movq	_ASN_ERR_OK@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_1
## %bb.3:
	movl	-1104(%rbp), %eax
	movl	%eax, -1096(%rbp)
	leaq	-1096(%rbp), %rdi
	leaq	-1080(%rbp), %rsi
	callq	_asn_get_sequence
	cmpq	(%rbx), %rax
	jne	LBB0_4
## %bb.5:
	movq	_SNMP_ENGINE_ID_SIZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -1080(%rbp)
	leaq	48(%r14), %rsi
	leaq	-1096(%rbp), %rdi
	leaq	-1080(%rbp), %rdx
	callq	_asn_get_octetstring
	cmpq	(%rbx), %rax
	jne	LBB0_6
## %bb.7:
	movq	-1080(%rbp), %rax
	movq	%rax, 32(%r14)
	leaq	44(%r14), %rsi
	leaq	-1096(%rbp), %rdi
	callq	_asn_get_integer
	cmpq	(%rbx), %rax
	jne	LBB0_8
## %bb.9:
	leaq	40(%r14), %rsi
	leaq	-1096(%rbp), %rdi
	callq	_asn_get_integer
	cmpq	(%rbx), %rax
	jne	LBB0_10
## %bb.11:
	movq	_SNMP_ADM_STR32_SIZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	decq	%rax
	movq	%rax, -1080(%rbp)
	leaq	24(%r14), %rsi
	leaq	-1096(%rbp), %rdi
	leaq	-1080(%rbp), %rdx
	callq	_asn_get_octetstring
	cmpq	(%rbx), %rax
	jne	LBB0_12
## %bb.13:
	movq	24(%r14), %rax
	movq	-1080(%rbp), %rcx
	movb	$0, (%rax,%rcx)
	movq	$4, -1080(%rbp)
	leaq	20(%r14), %rsi
	leaq	-1096(%rbp), %rdi
	leaq	-1080(%rbp), %rdx
	callq	_asn_get_octetstring
	cmpq	(%rbx), %rax
	jne	LBB0_16
## %bb.14:
	movq	_SNMP_MSG_AUTH_FLAG@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, (%r14)
	je	LBB0_17
## %bb.15:
	cmpq	$4, -1080(%rbp)
	jne	LBB0_16
LBB0_17:
	movq	$4, -1080(%rbp)
	leaq	16(%r14), %rsi
	leaq	-1096(%rbp), %rdi
	leaq	-1080(%rbp), %rdx
	callq	_asn_get_octetstring
	cmpq	(%rbx), %rax
	jne	LBB0_16
## %bb.18:
	movl	(%r14), %edx
	movq	_SNMP_MSG_PRIV_FLAG@GOTPCREL(%rip), %rsi
	movq	-1080(%rbp), %rcx
	testl	%edx, (%rsi)
	je	LBB0_20
## %bb.19:
	cmpq	$4, %rcx
	je	LBB0_20
LBB0_16:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_2
LBB0_8:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_2
LBB0_10:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_2
LBB0_12:
	leaq	L_.str.5(%rip), %rdi
LBB0_2:
	callq	_snmp_error
	movq	_ASN_ERR_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_24
## %bb.23:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$1072, %rsp                     ## imm = 0x430
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	testl	%edx, (%r12)
	je	LBB0_22
## %bb.21:
	movq	8(%r15), %rdx
	movq	_SNMP_USM_AUTH_SIZE@GOTPCREL(%rip), %rsi
	subq	(%rsi), %rdx
	movq	_ASN_MAXLENLEN@GOTPCREL(%rip), %rsi
	shlq	$2, %rcx
	addq	(%rsi), %rcx
	sarq	$2, %rdx
	subq	%rcx, %rdx
	sarq	$2, %rdx
	movq	%rdx, 8(%r14)
	jmp	LBB0_22
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN_ERR_OK,8,3                 ## @ASN_ERR_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot parse usm header"

	.comm	_ASN_ERR_FAILED,4,2             ## @ASN_ERR_FAILED
L_.str.1:                               ## @.str.1
	.asciz	"cannot decode usm header"

	.comm	_SNMP_ENGINE_ID_SIZ,8,3         ## @SNMP_ENGINE_ID_SIZ
L_.str.2:                               ## @.str.2
	.asciz	"cannot decode msg engine id"

L_.str.3:                               ## @.str.3
	.asciz	"cannot decode msg engine boots"

L_.str.4:                               ## @.str.4
	.asciz	"cannot decode msg engine time"

	.comm	_SNMP_ADM_STR32_SIZ,8,3         ## @SNMP_ADM_STR32_SIZ
L_.str.5:                               ## @.str.5
	.asciz	"cannot decode msg user name"

	.comm	_SNMP_MSG_AUTH_FLAG,4,2         ## @SNMP_MSG_AUTH_FLAG
L_.str.6:                               ## @.str.6
	.asciz	"cannot decode msg authentication param"

	.comm	_SNMP_MSG_PRIV_FLAG,4,2         ## @SNMP_MSG_PRIV_FLAG
	.comm	_SNMP_USM_AUTH_SIZE,8,3         ## @SNMP_USM_AUTH_SIZE
	.comm	_ASN_MAXLENLEN,8,3              ## @ASN_MAXLENLEN
	.no_dead_strip	_parse_secparams
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_secparams
_parse_secparams:                       ; @parse_secparams
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 w27, -56
	.cfi_offset w28, -64
	sub	sp, sp, #1072
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	add	x21, sp, #40
	mov	w22, #256
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	str	x21, [sp, #24]
	str	x22, [sp, #8]
	add	x1, sp, #40
	add	x2, sp, #8
	mov	x0, x20
	bl	_asn_get_octetstring
Lloh3:
	adrp	x21, _ASN_ERR_OK@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ASN_ERR_OK@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.1:
	ldr	x8, [sp, #8]
	str	w8, [sp, #16]
	add	x0, sp, #16
	add	x1, sp, #32
	bl	_asn_get_sequence
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.2:
Lloh5:
	adrp	x8, _SNMP_ENGINE_ID_SIZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SNMP_ENGINE_ID_SIZ@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [sp, #32]
	add	x1, x19, #48
	add	x0, sp, #16
	add	x2, sp, #32
	bl	_asn_get_octetstring
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.3:
	ldr	x8, [sp, #32]
	str	x8, [x19, #32]
	add	x1, x19, #44
	add	x0, sp, #16
	bl	_asn_get_integer
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.4:
	add	x1, x19, #40
	add	x0, sp, #16
	bl	_asn_get_integer
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_17
; %bb.5:
Lloh8:
	adrp	x8, _SNMP_ADM_STR32_SIZ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SNMP_ADM_STR32_SIZ@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	sub	x8, x8, #1
	str	x8, [sp, #32]
	add	x1, x19, #24
	add	x0, sp, #16
	add	x2, sp, #32
	bl	_asn_get_octetstring
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_18
; %bb.6:
	ldr	x8, [x19, #24]
	ldr	x9, [sp, #32]
	strb	wzr, [x8, x9]
	mov	w8, #4
	str	x8, [sp, #32]
	add	x1, x19, #20
	add	x0, sp, #16
	add	x2, sp, #32
	bl	_asn_get_octetstring
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.7:
	ldr	w8, [x19]
Lloh11:
	adrp	x22, _SNMP_MSG_AUTH_FLAG@GOTPAGE
Lloh12:
	ldr	x22, [x22, _SNMP_MSG_AUTH_FLAG@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	ldr	x8, [sp, #32]
	cmp	x8, #4
	b.ne	LBB0_12
LBB0_9:
	mov	w8, #4
	str	x8, [sp, #32]
	add	x1, x19, #16
	add	x0, sp, #16
	add	x2, sp, #32
	bl	_asn_get_octetstring
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.10:
	ldr	w9, [x19]
Lloh13:
	adrp	x8, _SNMP_MSG_PRIV_FLAG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SNMP_MSG_PRIV_FLAG@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x8]
	ldr	x8, [sp, #32]
	tst	w10, w9
	b.eq	LBB0_22
; %bb.11:
	cmp	x8, #4
	b.eq	LBB0_22
LBB0_12:
Lloh16:
	adrp	x0, l_.str.6@PAGE
Lloh17:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_19
LBB0_13:
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_19
LBB0_14:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_19
LBB0_15:
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_19
LBB0_16:
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_19
LBB0_17:
Lloh26:
	adrp	x0, l_.str.4@PAGE
Lloh27:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_19
LBB0_18:
Lloh28:
	adrp	x0, l_.str.5@PAGE
Lloh29:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_19:
	bl	_snmp_error
Lloh30:
	adrp	x8, _ASN_ERR_FAILED@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ASN_ERR_FAILED@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
LBB0_20:
	ldur	x8, [x29, #-56]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.21:
                                        ; kill: def $w0 killed $w0 killed $x0
	add	sp, sp, #1072
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_22:
	ldr	w10, [x22]
	tst	w10, w9
	b.eq	LBB0_20
; %bb.23:
	ldr	x9, [x20, #8]
Lloh36:
	adrp	x10, _SNMP_USM_AUTH_SIZE@GOTPAGE
Lloh37:
	ldr	x10, [x10, _SNMP_USM_AUTH_SIZE@GOTPAGEOFF]
Lloh38:
	ldr	x10, [x10]
	sub	x9, x9, x10
Lloh39:
	adrp	x10, _ASN_MAXLENLEN@GOTPAGE
Lloh40:
	ldr	x10, [x10, _ASN_MAXLENLEN@GOTPAGEOFF]
	asr	x9, x9, #2
Lloh41:
	ldr	x10, [x10]
	add	x8, x10, x8, lsl #2
	sub	x8, x9, x8
	asr	x8, x8, #2
	str	x8, [x19, #8]
	b	LBB0_20
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, 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 AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN_ERR_OK,8,3                 ; @ASN_ERR_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot parse usm header"

	.comm	_ASN_ERR_FAILED,4,2             ; @ASN_ERR_FAILED
l_.str.1:                               ; @.str.1
	.asciz	"cannot decode usm header"

	.comm	_SNMP_ENGINE_ID_SIZ,8,3         ; @SNMP_ENGINE_ID_SIZ
l_.str.2:                               ; @.str.2
	.asciz	"cannot decode msg engine id"

l_.str.3:                               ; @.str.3
	.asciz	"cannot decode msg engine boots"

l_.str.4:                               ; @.str.4
	.asciz	"cannot decode msg engine time"

	.comm	_SNMP_ADM_STR32_SIZ,8,3         ; @SNMP_ADM_STR32_SIZ
l_.str.5:                               ; @.str.5
	.asciz	"cannot decode msg user name"

	.comm	_SNMP_MSG_AUTH_FLAG,4,2         ; @SNMP_MSG_AUTH_FLAG
l_.str.6:                               ; @.str.6
	.asciz	"cannot decode msg authentication param"

	.comm	_SNMP_MSG_PRIV_FLAG,4,2         ; @SNMP_MSG_PRIV_FLAG
	.comm	_SNMP_USM_AUTH_SIZE,8,3         ; @SNMP_USM_AUTH_SIZE
	.comm	_ASN_MAXLENLEN,8,3              ; @ASN_MAXLENLEN
	.no_dead_strip	_parse_secparams
.subsections_via_symbols
