	.file	"extr_sshkey.c_peek_type_nid.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	peek_type_nid, @function
peek_type_nid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, QWORD PTR keytypes[rip]
	cmp	DWORD PTR [rbx], -1
	jne	.L2
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	add	rbx, 16
	cmp	DWORD PTR [rbx], -1
	je	.L7
.L2:
	mov	rbp, QWORD PTR 8[rbx]
	test	rbp, rbp
	je	.L4
	mov	rdi, rbp
	call	strlen@PLT
	cmp	rax, r12
	jne	.L4
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r13
	call	memcmp@PLT
	test	rax, rax
	jne	.L4
	mov	DWORD PTR [r14], -1
	mov	eax, DWORD PTR [rbx]
	cmp	eax, DWORD PTR KEY_ECDSA[rip]
	je	.L5
	cmp	eax, DWORD PTR KEY_ECDSA_CERT[rip]
	jne	.L1
.L5:
	mov	eax, DWORD PTR 4[rbx]
	mov	DWORD PTR [r14], eax
	mov	eax, DWORD PTR [rbx]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	eax, DWORD PTR KEY_UNSPEC[rip]
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	peek_type_nid, .-peek_type_nid
	.comm	keytypes,8,8
	.comm	KEY_UNSPEC,4,4
	.comm	KEY_ECDSA_CERT,4,4
	.comm	KEY_ECDSA,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_sshkey.c_peek_type_nid.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	peek_type_nid, %function
peek_type_nid:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L18
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r3]
	ldr	r3, [r4]
	cmn	r3, #1
	beq	.L2
	mov	r7, r0
	mov	r6, r1
	mov	r8, r2
.L7:
	ldr	r5, [r4, #8]
	cmp	r5, #0
	beq	.L3
	mov	r0, r5
	bl	strlen
	cmp	r0, r6
	bne	.L3
	mov	r1, r5
	mov	r2, r6
	mov	r0, r7
	bl	memcmp
	cmp	r0, #0
	beq	.L17
.L3:
	ldr	r3, [r4, #12]!
	cmn	r3, #1
	bne	.L7
.L2:
	ldr	r3, .L18+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	mvn	r2, #0
	ldr	r3, .L18+8
	str	r2, [r8]
	ldr	r0, [r4]
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L4
	ldr	r3, .L18+12
	ldr	r3, [r3]
	cmp	r0, r3
	popne	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r3, [r4, #4]
	str	r3, [r8]
	ldr	r0, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	.align	2
.L18:
	.word	keytypes
	.word	KEY_UNSPEC
	.word	KEY_ECDSA
	.word	KEY_ECDSA_CERT
	.size	peek_type_nid, .-peek_type_nid
	.comm	keytypes,4,4
	.comm	KEY_UNSPEC,4,4
	.comm	KEY_ECDSA_CERT,4,4
	.comm	KEY_ECDSA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
