	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdu_encode_secparams
_pdu_encode_secparams:                  ## @pdu_encode_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$1080, %rsp                     ## imm = 0x438
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -1096(%rbp)
	leaq	-1072(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	%rbx, -1080(%rbp)
	movl	$256, -1088(%rbp)               ## imm = 0x100
	movq	_ASN_TYPE_SEQUENCE@GOTPCREL(%rip), %rax
	movq	_ASN_TYPE_CONSTRUCTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	-1088(%rbp), %rdi
	leaq	-1112(%rbp), %rdx
	callq	_asn_put_temp_header
	movq	_ASN_ERR_OK@GOTPCREL(%rip), %r13
	movq	_SNMP_CODE_FAILED@GOTPCREL(%rip), %rbx
	cmpq	(%r13), %rax
	jne	LBB0_20
## %bb.1:
	movq	64(%r15), %rsi
	movl	48(%r15), %edx
	leaq	-1088(%rbp), %rdi
	callq	_asn_put_octetstring
	cmpq	(%r13), %rax
	jne	LBB0_20
## %bb.2:
	movl	56(%r15), %esi
	leaq	-1088(%rbp), %rdi
	callq	_asn_put_integer
	cmpq	(%r13), %rax
	jne	LBB0_20
## %bb.3:
	movl	52(%r15), %esi
	leaq	-1088(%rbp), %rdi
	callq	_asn_put_integer
	cmpq	(%r13), %rax
	jne	LBB0_20
## %bb.4:
	movq	40(%r15), %r12
	movq	%r12, %rdi
	callq	_strlen
	leaq	-1088(%rbp), %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_asn_put_octetstring
	cmpq	(%r13), %rax
	jne	LBB0_20
## %bb.5:
	movq	_SNMP_MSG_AUTH_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_8
## %bb.6:
	movslq	-1088(%rbp), %rax
	movq	%rax, -1104(%rbp)               ## 8-byte Spill
	movq	_ASN_MAXLENLEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	movq	32(%r15), %rsi
	leaq	-1088(%rbp), %rdi
	movl	$8, %edx
	callq	_asn_put_octetstring
	cmpq	(%r13), %rax
	jne	LBB0_20
## %bb.7:
	subq	-1104(%rbp), %r12               ## 8-byte Folded Reload
	addq	$1024, %r12                     ## imm = 0x400
	jmp	LBB0_9
LBB0_8:
	movq	32(%r15), %rsi
	leaq	-1088(%rbp), %rdi
	xorl	%r12d, %r12d
	xorl	%edx, %edx
	callq	_asn_put_octetstring
	cmpq	(%r13), %rax
	jne	LBB0_20
LBB0_9:
	movq	_SNMP_MSG_PRIV_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	24(%r15), %rsi
	testl	%eax, (%r15)
	je	LBB0_11
## %bb.10:
	leaq	-1088(%rbp), %rdi
	movl	$8, %edx
	jmp	LBB0_12
LBB0_11:
	leaq	-1088(%rbp), %rdi
	xorl	%edx, %edx
LBB0_12:
	callq	_asn_put_octetstring
	cmpq	(%r13), %rax
	jne	LBB0_20
## %bb.13:
	movq	-1112(%rbp), %rsi
	leaq	-1088(%rbp), %rdi
	leaq	-1096(%rbp), %rdx
	callq	_asn_commit_header
	cmpq	(%r13), %rax
	jne	LBB0_20
## %bb.14:
	movq	_SNMP_MSG_AUTH_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_16
## %bb.15:
	shlq	$2, %r12
	addq	8(%r14), %r12
	movq	-1096(%rbp), %rax
	shlq	$2, %rax
	subq	%rax, %r12
	movq	%r12, 16(%r15)
LBB0_16:
	movl	$1024, %edx                     ## imm = 0x400
	subl	-1088(%rbp), %edx
	leaq	-1072(%rbp), %rsi
	movq	%r14, %rdi
	callq	_asn_put_octetstring
	cmpq	(%r13), %rax
	jne	LBB0_20
## %bb.17:
	movq	_ASN_MAXLENLEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	addq	%rax, 16(%r15)
	movq	_SNMP_MSG_PRIV_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_19
## %bb.18:
	movq	_ASN_TYPE_OCTETSTRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %r15
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_asn_put_temp_header
	cmpq	(%r13), %rax
	jne	LBB0_20
LBB0_19:
	movq	_SNMP_CODE_OK@GOTPCREL(%rip), %rbx
LBB0_20:
	movl	(%rbx), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_22
## %bb.21:
	addq	$1080, %rsp                     ## imm = 0x438
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN_TYPE_SEQUENCE,4,2          ## @ASN_TYPE_SEQUENCE
	.comm	_ASN_TYPE_CONSTRUCTED,4,2       ## @ASN_TYPE_CONSTRUCTED
	.comm	_ASN_ERR_OK,8,3                 ## @ASN_ERR_OK
	.comm	_SNMP_CODE_FAILED,4,2           ## @SNMP_CODE_FAILED
	.comm	_SNMP_MSG_AUTH_FLAG,4,2         ## @SNMP_MSG_AUTH_FLAG
	.comm	_ASN_MAXLENLEN,4,2              ## @ASN_MAXLENLEN
	.comm	_SNMP_MSG_PRIV_FLAG,4,2         ## @SNMP_MSG_PRIV_FLAG
	.comm	_ASN_TYPE_OCTETSTRING,4,2       ## @ASN_TYPE_OCTETSTRING
	.comm	_SNMP_CODE_OK,4,2               ## @SNMP_CODE_OK
	.no_dead_strip	_pdu_encode_secparams
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdu_encode_secparams
_pdu_encode_secparams:                  ; @pdu_encode_secparams
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #1072
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	str	xzr, [sp, #8]
	add	x21, sp, #40
	mov	w22, #256
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	str	x21, [sp, #24]
Lloh3:
	adrp	x8, _ASN_TYPE_SEQUENCE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ASN_TYPE_SEQUENCE@GOTPAGEOFF]
	str	w22, [sp, #16]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ASN_TYPE_CONSTRUCTED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ASN_TYPE_CONSTRUCTED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w9, w8
	add	x0, sp, #16
	add	x2, sp, #32
	bl	_asn_put_temp_header
Lloh9:
	adrp	x22, _ASN_ERR_OK@GOTPAGE
Lloh10:
	ldr	x22, [x22, _ASN_ERR_OK@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.1:
	ldr	x1, [x20, #64]
	ldr	w2, [x20, #48]
	add	x0, sp, #16
	bl	_asn_put_octetstring
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.2:
	ldr	w1, [x20, #56]
	add	x0, sp, #16
	bl	_asn_put_integer
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.3:
	ldr	w1, [x20, #52]
	add	x0, sp, #16
	bl	_asn_put_integer
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.4:
	ldr	x21, [x20, #40]
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	add	x0, sp, #16
	mov	x1, x21
	bl	_asn_put_octetstring
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.5:
	ldr	w8, [x20]
Lloh11:
	adrp	x21, _SNMP_MSG_AUTH_FLAG@GOTPAGE
Lloh12:
	ldr	x21, [x21, _SNMP_MSG_AUTH_FLAG@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.6:
	ldrsw	x23, [sp, #16]
Lloh13:
	adrp	x8, _ASN_MAXLENLEN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ASN_MAXLENLEN@GOTPAGEOFF]
Lloh15:
	ldrsw	x24, [x8]
	ldr	x1, [x20, #32]
	add	x0, sp, #16
	mov	w2, #8
	bl	_asn_put_octetstring
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.7:
	sub	x8, x24, x23
	add	x24, x8, #1024
	b	LBB0_10
LBB0_8:
	ldr	x1, [x20, #32]
	add	x0, sp, #16
	mov	w2, #0
	bl	_asn_put_octetstring
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.9:
	mov	x24, #0
LBB0_10:
	ldr	w8, [x20]
Lloh16:
	adrp	x23, _SNMP_MSG_PRIV_FLAG@GOTPAGE
Lloh17:
	ldr	x23, [x23, _SNMP_MSG_PRIV_FLAG@GOTPAGEOFF]
	ldr	w9, [x23]
	ldr	x1, [x20, #24]
	add	x0, sp, #16
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	mov	w2, #8
	b	LBB0_13
LBB0_12:
	mov	w2, #0
LBB0_13:
	bl	_asn_put_octetstring
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.14:
	ldr	x1, [sp, #32]
	add	x0, sp, #16
	add	x2, sp, #8
	bl	_asn_commit_header
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.15:
	ldr	w8, [x20]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.16:
	ldr	x8, [x19, #8]
	add	x8, x8, x24, lsl #2
	ldr	x9, [sp, #8]
	sub	x8, x8, x9, lsl #2
	str	x8, [x20, #16]
LBB0_17:
	ldr	w8, [sp, #16]
	mov	w9, #1024
	sub	w2, w9, w8
	add	x1, sp, #40
	mov	x0, x19
	bl	_asn_put_octetstring
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.18:
Lloh18:
	adrp	x8, _ASN_MAXLENLEN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ASN_MAXLENLEN@GOTPAGEOFF]
Lloh20:
	ldrsw	x8, [x8]
	ldr	x9, [x20, #16]
	add	x8, x9, x8, lsl #2
	str	x8, [x20, #16]
	ldr	w8, [x20]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.19:
Lloh21:
	adrp	x8, _ASN_TYPE_OCTETSTRING@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ASN_TYPE_OCTETSTRING@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	add	x2, x20, #8
	mov	x0, x19
	bl	_asn_put_temp_header
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_21
LBB0_20:
Lloh24:
	adrp	x8, _SNMP_CODE_OK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SNMP_CODE_OK@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:
Lloh26:
	adrp	x8, _SNMP_CODE_FAILED@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SNMP_CODE_FAILED@GOTPAGEOFF]
LBB0_22:
	ldr	w0, [x8]
	ldur	x8, [x29, #-72]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	add	sp, sp, #1072
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN_TYPE_SEQUENCE,4,2          ; @ASN_TYPE_SEQUENCE
	.comm	_ASN_TYPE_CONSTRUCTED,4,2       ; @ASN_TYPE_CONSTRUCTED
	.comm	_ASN_ERR_OK,8,3                 ; @ASN_ERR_OK
	.comm	_SNMP_CODE_FAILED,4,2           ; @SNMP_CODE_FAILED
	.comm	_SNMP_MSG_AUTH_FLAG,4,2         ; @SNMP_MSG_AUTH_FLAG
	.comm	_ASN_MAXLENLEN,4,2              ; @ASN_MAXLENLEN
	.comm	_SNMP_MSG_PRIV_FLAG,4,2         ; @SNMP_MSG_PRIV_FLAG
	.comm	_ASN_TYPE_OCTETSTRING,4,2       ; @ASN_TYPE_OCTETSTRING
	.comm	_SNMP_CODE_OK,4,2               ; @SNMP_CODE_OK
	.no_dead_strip	_pdu_encode_secparams
.subsections_via_symbols
