	.file	"extr_poly1305_prov.c_poly1305_set_ctx_params.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	poly1305_set_ctx_params, @function
poly1305_set_ctx_params:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, 1
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	rdi, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR OSSL_MAC_PARAM_KEY[rip]
	call	OSSL_PARAM_locate_const@PLT
	test	rax, rax
	je	.L1
	mov	rdx, QWORD PTR OSSL_PARAM_OCTET_STRING[rip]
	cmp	QWORD PTR [rax], rdx
	jne	.L3
	mov	rcx, QWORD PTR POLY1305_KEY_SIZE[rip]
	cmp	QWORD PTR 8[rax], rcx
	je	.L4
.L3:
	mov	esi, DWORD PTR PROV_R_INVALID_KEY_LENGTH[rip]
	mov	edi, DWORD PTR ERR_LIB_PROV[rip]
	xor	r12d, r12d
	call	ERR_raise@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	esi, DWORD PTR 16[rax]
	mov	rdi, rbp
	call	Poly1305_Init@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	poly1305_set_ctx_params, .-poly1305_set_ctx_params
	.comm	PROV_R_INVALID_KEY_LENGTH,4,4
	.comm	POLY1305_KEY_SIZE,8,8
	.comm	OSSL_PARAM_OCTET_STRING,8,8
	.comm	OSSL_MAC_PARAM_KEY,4,4
	.comm	ERR_LIB_PROV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_poly1305_prov.c_poly1305_set_ctx_params.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	poly1305_set_ctx_params, %function
poly1305_set_ctx_params:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L8
	push	{r4, lr}
	mov	r4, r0
	mov	r0, r1
	ldr	r1, [r2]
	bl	OSSL_PARAM_locate_const
	subs	r3, r0, #0
	beq	.L5
	ldr	r2, .L8+4
	ldr	r1, [r3]
	ldr	r2, [r2]
	cmp	r1, r2
	bne	.L3
	ldr	r2, .L8+8
	ldr	r1, [r3, #4]
	ldr	r2, [r2]
	cmp	r1, r2
	beq	.L4
.L3:
	ldr	r2, .L8+12
	ldr	r3, .L8+16
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	ERR_raise
	mov	r0, #0
	pop	{r4, pc}
.L5:
	mov	r0, #1
	pop	{r4, pc}
.L4:
	mov	r0, r4
	ldr	r1, [r3, #8]
	bl	Poly1305_Init
	mov	r0, #1
	pop	{r4, pc}
.L9:
	.align	2
.L8:
	.word	OSSL_MAC_PARAM_KEY
	.word	OSSL_PARAM_OCTET_STRING
	.word	POLY1305_KEY_SIZE
	.word	PROV_R_INVALID_KEY_LENGTH
	.word	ERR_LIB_PROV
	.size	poly1305_set_ctx_params, .-poly1305_set_ctx_params
	.comm	PROV_R_INVALID_KEY_LENGTH,4,4
	.comm	POLY1305_KEY_SIZE,4,4
	.comm	OSSL_PARAM_OCTET_STRING,4,4
	.comm	OSSL_MAC_PARAM_KEY,4,4
	.comm	ERR_LIB_PROV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
