	.file	"extr_ssh-pkcs11-helper.c_del_keys_by_name.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	del_keys_by_name, @function
del_keys_by_name:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	lea	rdi, pkcs11_keylist[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	TAILQ_FIRST@PLT
	test	rax, rax
	je	.L1
	mov	rbx, rax
	lea	r13, pkcs11_keylist[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	test	rbx, rbx
	je	.L1
.L4:
	mov	esi, DWORD PTR next[rip]
	mov	rdi, rbx
	mov	rbp, rbx
	call	TAILQ_NEXT@PLT
	mov	rdi, QWORD PTR 8[rbp]
	mov	rsi, r12
	mov	rbx, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L3
	mov	edx, DWORD PTR next[rip]
	mov	rsi, rbp
	mov	rdi, r13
	call	TAILQ_REMOVE@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	free@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	sshkey_free@PLT
	mov	rdi, rbp
	call	free@PLT
	test	rbx, rbx
	jne	.L4
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	del_keys_by_name, .-del_keys_by_name
	.comm	pkcs11_keylist,4,4
	.comm	next,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_ssh-pkcs11-helper.c_del_keys_by_name.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	del_keys_by_name, %function
del_keys_by_name:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	ldr	r0, .L11
	bl	TAILQ_FIRST
	subs	r4, r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r6, .L11+4
	ldr	r8, .L11
	b	.L4
.L3:
	cmp	r4, #0
	popeq	{r4, r5, r6, r7, r8, pc}
.L4:
	mov	r0, r4
	ldr	r1, [r6]
	bl	TAILQ_NEXT
	mov	r5, r4
	mov	r1, r7
	mov	r4, r0
	ldr	r0, [r5, #4]
	bl	strcmp
	cmp	r0, #0
	bne	.L3
	mov	r1, r5
	ldr	r2, [r6]
	mov	r0, r8
	bl	TAILQ_REMOVE
	ldr	r0, [r5, #4]
	bl	free
	ldr	r0, [r5]
	bl	sshkey_free
	mov	r0, r5
	bl	free
	cmp	r4, #0
	bne	.L4
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	pkcs11_keylist
	.word	next
	.size	del_keys_by_name, .-del_keys_by_name
	.comm	pkcs11_keylist,4,4
	.comm	next,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
