	.file	"extr_clientloop.c_key_accepted_by_hostkeyalgs.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"rsa-sha2-256"
.LC1:
	.string	"rsa-sha2-512"
	.text
	.p2align 4
	.type	key_accepted_by_hostkeyalgs, @function
key_accepted_by_hostkeyalgs:
.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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	call	sshkey_ssh_name@PLT
	mov	rbp, QWORD PTR options[rip]
	test	rbp, rbp
	cmove	rbp, QWORD PTR KEX_DEFAULT_PK_ALG[rip]
	test	rbx, rbx
	je	.L8
	mov	rdx, QWORD PTR [rbx]
	mov	r12, rax
	xor	eax, eax
	cmp	rdx, QWORD PTR KEY_UNSPEC[rip]
	je	.L1
	cmp	rdx, QWORD PTR KEY_RSA[rip]
	je	.L4
.L7:
	xor	edx, edx
	mov	rsi, rbp
	mov	rdi, r12
	call	match_pattern_list@PLT
	cmp	eax, 1
	sete	al
	movzx	eax, al
.L1:
	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
.L4:
	.cfi_restore_state
	xor	edx, edx
	mov	rsi, rbp
	lea	rdi, .LC0[rip]
	call	match_pattern_list@PLT
	cmp	eax, 1
	je	.L6
	xor	edx, edx
	mov	rsi, rbp
	lea	rdi, .LC1[rip]
	call	match_pattern_list@PLT
	cmp	eax, 1
	jne	.L7
.L6:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	key_accepted_by_hostkeyalgs, .-key_accepted_by_hostkeyalgs
	.comm	options,8,8
	.comm	KEY_UNSPEC,8,8
	.comm	KEY_RSA,8,8
	.comm	KEX_DEFAULT_PK_ALG,8,8
	.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_clientloop.c_key_accepted_by_hostkeyalgs.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"rsa-sha2-256\000"
	.align	2
.LC1:
	.ascii	"rsa-sha2-512\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	key_accepted_by_hostkeyalgs, %function
key_accepted_by_hostkeyalgs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	sshkey_ssh_name
	ldr	r3, .L15
	mov	r6, r0
	ldr	r5, [r3]
	cmp	r5, #0
	ldreq	r3, .L15+4
	ldreq	r5, [r3]
	cmp	r4, #0
	beq	.L9
	ldr	r2, .L15+8
	ldr	r3, [r4]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L9
	ldr	r2, .L15+12
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L4
.L7:
	mov	r1, r5
	mov	r0, r6
	mov	r2, #0
	bl	match_pattern_list
	sub	r0, r0, #1
	clz	r0, r0
	lsr	r0, r0, #5
	pop	{r4, r5, r6, pc}
.L4:
	mov	r2, #0
	mov	r1, r5
	ldr	r0, .L15+16
	bl	match_pattern_list
	cmp	r0, #1
	beq	.L6
	mov	r2, #0
	mov	r1, r5
	ldr	r0, .L15+20
	bl	match_pattern_list
	cmp	r0, #1
	bne	.L7
.L6:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L9:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L16:
	.align	2
.L15:
	.word	options
	.word	KEX_DEFAULT_PK_ALG
	.word	KEY_UNSPEC
	.word	KEY_RSA
	.word	.LC0
	.word	.LC1
	.size	key_accepted_by_hostkeyalgs, .-key_accepted_by_hostkeyalgs
	.comm	options,4,4
	.comm	KEY_UNSPEC,4,4
	.comm	KEY_RSA,4,4
	.comm	KEX_DEFAULT_PK_ALG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
