	.file	"extr_cipher_aes_ocb.c_aes_ocb_get_ctx_params.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	aes_ocb_get_ctx_params, @function
aes_ocb_get_ctx_params:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	mov	esi, DWORD PTR OSSL_CIPHER_PARAM_IVLEN[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	rdi, rbp
	call	OSSL_PARAM_locate@PLT
	test	rax, rax
	je	.L2
	mov	rsi, QWORD PTR 16[rbx]
	mov	rdi, rax
	call	OSSL_PARAM_set_size_t@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L28
.L2:
	mov	esi, DWORD PTR OSSL_CIPHER_PARAM_KEYLEN[rip]
	mov	rdi, rbp
	call	OSSL_PARAM_locate@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L4
	mov	rsi, QWORD PTR 24[rbx]
	call	OSSL_PARAM_set_size_t@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L28
.L4:
	mov	esi, DWORD PTR OSSL_CIPHER_PARAM_AEAD_TAGLEN[rip]
	mov	rdi, rbp
	call	OSSL_PARAM_locate@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L5
	mov	rsi, QWORD PTR [rbx]
	call	OSSL_PARAM_set_size_t@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L28
.L5:
	mov	esi, DWORD PTR OSSL_CIPHER_PARAM_IV[rip]
	mov	rdi, rbp
	call	OSSL_PARAM_locate@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L6
	mov	rdx, QWORD PTR 16[rbx]
	cmp	rdx, QWORD PTR [rax]
	jne	.L30
	mov	esi, DWORD PTR 36[rbx]
	call	OSSL_PARAM_set_octet_string@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L28
.L6:
	mov	esi, DWORD PTR OSSL_CIPHER_PARAM_AEAD_TAG[rip]
	mov	rdi, rbp
	mov	r12d, 1
	call	OSSL_PARAM_locate@PLT
	test	rax, rax
	je	.L1
	mov	rcx, QWORD PTR OSSL_PARAM_OCTET_STRING[rip]
	cmp	QWORD PTR 8[rax], rcx
	jne	.L31
	mov	edx, DWORD PTR 32[rbx]
	test	edx, edx
	je	.L9
	mov	rdx, QWORD PTR [rbx]
	cmp	QWORD PTR [rax], rdx
	je	.L10
.L9:
	mov	esi, DWORD PTR PROV_R_INVALID_TAGLEN[rip]
	mov	edi, DWORD PTR ERR_LIB_PROV[rip]
	xor	r12d, r12d
	call	ERR_raise@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_restore_state
	mov	esi, DWORD PTR PROV_R_INVALID_IV_LENGTH[rip]
	mov	edi, DWORD PTR ERR_LIB_PROV[rip]
	xor	r12d, r12d
	call	ERR_raise@PLT
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	mov	esi, DWORD PTR PROV_R_FAILED_TO_SET_PARAMETER[rip]
	mov	edi, DWORD PTR ERR_LIB_PROV[rip]
	call	ERR_raise@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L31:
	.cfi_restore_state
	mov	esi, DWORD PTR PROV_R_FAILED_TO_GET_PARAMETER[rip]
	mov	edi, DWORD PTR ERR_LIB_PROV[rip]
	xor	r12d, r12d
	call	ERR_raise@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	esi, DWORD PTR 8[rbx]
	mov	edi, DWORD PTR 16[rax]
	call	memcpy@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	aes_ocb_get_ctx_params, .-aes_ocb_get_ctx_params
	.comm	PROV_R_INVALID_TAGLEN,4,4
	.comm	PROV_R_INVALID_IV_LENGTH,4,4
	.comm	PROV_R_FAILED_TO_SET_PARAMETER,4,4
	.comm	PROV_R_FAILED_TO_GET_PARAMETER,4,4
	.comm	OSSL_PARAM_OCTET_STRING,8,8
	.comm	OSSL_CIPHER_PARAM_KEYLEN,4,4
	.comm	OSSL_CIPHER_PARAM_IVLEN,4,4
	.comm	OSSL_CIPHER_PARAM_IV,4,4
	.comm	OSSL_CIPHER_PARAM_AEAD_TAGLEN,4,4
	.comm	OSSL_CIPHER_PARAM_AEAD_TAG,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_cipher_aes_ocb.c_aes_ocb_get_ctx_params.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	aes_ocb_get_ctx_params, %function
aes_ocb_get_ctx_params:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L33
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r0
	mov	r0, r1
	ldr	r1, [r2]
	bl	OSSL_PARAM_locate
	cmp	r0, #0
	beq	.L2
	ldr	r1, [r6, #8]
	bl	OSSL_PARAM_set_size_t
	subs	r4, r0, #0
	beq	.L31
.L2:
	ldr	r3, .L33+4
	mov	r0, r5
	ldr	r1, [r3]
	bl	OSSL_PARAM_locate
	cmp	r0, #0
	beq	.L4
	ldr	r1, [r6, #12]
	bl	OSSL_PARAM_set_size_t
	subs	r4, r0, #0
	beq	.L31
.L4:
	ldr	r3, .L33+8
	mov	r0, r5
	ldr	r1, [r3]
	bl	OSSL_PARAM_locate
	cmp	r0, #0
	beq	.L5
	ldr	r1, [r6]
	bl	OSSL_PARAM_set_size_t
	subs	r4, r0, #0
	beq	.L31
.L5:
	ldr	r3, .L33+12
	mov	r0, r5
	ldr	r1, [r3]
	bl	OSSL_PARAM_locate
	subs	r3, r0, #0
	beq	.L6
	ldr	r3, [r3]
	ldr	r2, [r6, #8]
	cmp	r2, r3
	beq	.L7
	ldr	r2, .L33+16
.L30:
	ldr	r3, .L33+20
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	ERR_raise
	mov	r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r1, [r6, #20]
	bl	OSSL_PARAM_set_octet_string
	subs	r4, r0, #0
	beq	.L31
.L6:
	ldr	r3, .L33+24
	mov	r0, r5
	ldr	r1, [r3]
	bl	OSSL_PARAM_locate
	cmp	r0, #0
	moveq	r4, #1
	beq	.L1
	ldr	r3, .L33+28
	ldr	r2, [r0, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	ldrne	r2, .L33+32
	bne	.L30
	ldr	r3, [r6, #16]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [r6]
	ldr	r2, [r0]
	cmp	r2, r3
	beq	.L10
.L9:
	ldr	r2, .L33+36
	b	.L30
.L31:
	ldr	r2, .L33+40
	ldr	r3, .L33+20
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	ERR_raise
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r1, [r6, #4]
	ldr	r0, [r0, #8]
	bl	memcpy
	mov	r4, #1
	b	.L1
.L34:
	.align	2
.L33:
	.word	OSSL_CIPHER_PARAM_IVLEN
	.word	OSSL_CIPHER_PARAM_KEYLEN
	.word	OSSL_CIPHER_PARAM_AEAD_TAGLEN
	.word	OSSL_CIPHER_PARAM_IV
	.word	PROV_R_INVALID_IV_LENGTH
	.word	ERR_LIB_PROV
	.word	OSSL_CIPHER_PARAM_AEAD_TAG
	.word	OSSL_PARAM_OCTET_STRING
	.word	PROV_R_FAILED_TO_GET_PARAMETER
	.word	PROV_R_INVALID_TAGLEN
	.word	PROV_R_FAILED_TO_SET_PARAMETER
	.size	aes_ocb_get_ctx_params, .-aes_ocb_get_ctx_params
	.comm	PROV_R_INVALID_TAGLEN,4,4
	.comm	PROV_R_INVALID_IV_LENGTH,4,4
	.comm	PROV_R_FAILED_TO_SET_PARAMETER,4,4
	.comm	PROV_R_FAILED_TO_GET_PARAMETER,4,4
	.comm	OSSL_PARAM_OCTET_STRING,4,4
	.comm	OSSL_CIPHER_PARAM_KEYLEN,4,4
	.comm	OSSL_CIPHER_PARAM_IVLEN,4,4
	.comm	OSSL_CIPHER_PARAM_IV,4,4
	.comm	OSSL_CIPHER_PARAM_AEAD_TAGLEN,4,4
	.comm	OSSL_CIPHER_PARAM_AEAD_TAG,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
