	.file	"extr_e_devcrypto.c_cryptodev_select_cipher_cb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"devcrypto: unknown cipher %s\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"devcrypto: cipher %s not available\n"
	.text
	.p2align 4
	.type	cryptodev_select_cipher_cb, @function
cryptodev_select_cipher_cb:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, 1
	test	esi, esi
	je	.L14
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	rdx, rdx
	je	.L4
	call	OPENSSL_strndup@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L4
	mov	rdi, rax
	call	EVP_get_cipherbyname@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L18
	call	EVP_CIPHER_nid@PLT
	mov	edi, eax
	call	find_cipher_data_index@PLT
	cmp	rax, -1
	je	.L7
	mov	DWORD PTR [rbx+rax*4], 1
.L6:
	mov	rdi, rbp
	call	OPENSSL_free@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore 3
	.cfi_restore 6
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -24
	.cfi_offset 6, -16
	mov	edi, DWORD PTR stderr[rip]
	mov	rdx, rbp
	lea	rsi, .LC0[rip]
	call	fprintf@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, DWORD PTR stderr[rip]
	mov	rdx, rbp
	lea	rsi, .LC1[rip]
	call	fprintf@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	cryptodev_select_cipher_cb, .-cryptodev_select_cipher_cb
	.comm	stderr,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_e_devcrypto.c_cryptodev_select_cipher_cb.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"devcrypto: unknown cipher %s\012\000"
	.align	2
.LC1:
	.ascii	"devcrypto: cipher %s not available\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cryptodev_select_cipher_cb, %function
cryptodev_select_cipher_cb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	beq	.L8
	cmp	r2, #0
	push	{r4, r5, r6, lr}
	mov	r4, r2
	beq	.L4
	bl	OPENSSL_strndup
	subs	r5, r0, #0
	beq	.L4
	bl	EVP_get_cipherbyname
	cmp	r0, #0
	beq	.L17
	bl	EVP_CIPHER_nid
	bl	find_cipher_data_index
	cmn	r0, #1
	beq	.L7
	mov	r3, #1
	str	r3, [r4, r0, lsl #2]
.L6:
	mov	r0, r5
	bl	OPENSSL_free
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	mov	r0, #1
	bx	lr
.L17:
	ldr	r3, .L18
	mov	r2, r5
	ldr	r0, [r3]
	ldr	r1, .L18+4
	bl	fprintf
	b	.L6
.L7:
	ldr	r3, .L18
	mov	r2, r5
	ldr	r0, [r3]
	ldr	r1, .L18+8
	bl	fprintf
	b	.L6
.L19:
	.align	2
.L18:
	.word	stderr
	.word	.LC0
	.word	.LC1
	.size	cryptodev_select_cipher_cb, .-cryptodev_select_cipher_cb
	.comm	stderr,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
