	.file	"extr_dpp.c_dpp_pkex_get_role_elem.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dpp_pkex_get_role_elem, @function
dpp_pkex_get_role_elem:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR 8[rdi]
	mov	r12, QWORD PTR [rdi]
	sub	eax, 19
	cmp	eax, 11
	ja	.L18
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L18-.L4
	.long	.L18-.L4
	.long	.L18-.L4
	.long	.L18-.L4
	.long	.L18-.L4
	.long	.L18-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L18:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	r12d, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	rax, r12
	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
.L3:
	.cfi_restore_state
	test	esi, esi
	je	.L16
	mov	r13, QWORD PTR pkex_init_x_bp_p512r1[rip]
	mov	r14, QWORD PTR pkex_init_y_bp_p512r1[rip]
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edi, DWORD PTR 12[rdi]
	call	OBJ_txt2nid@PLT
	mov	edi, eax
	call	EC_GROUP_new_by_curve_name@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L18
	mov	rcx, r12
	mov	rdx, r14
	mov	rsi, r13
	mov	rdi, rax
	call	dpp_set_pubkey_point_group@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	EC_GROUP_free@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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
.L9:
	.cfi_restore_state
	test	esi, esi
	je	.L10
	mov	r13, QWORD PTR pkex_init_x_p256[rip]
	mov	r14, QWORD PTR pkex_init_y_p256[rip]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L8:
	test	esi, esi
	je	.L12
	mov	r13, QWORD PTR pkex_init_x_p384[rip]
	mov	r14, QWORD PTR pkex_init_y_p384[rip]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L6:
	test	esi, esi
	je	.L14
	mov	r13, QWORD PTR pkex_init_x_bp_p256r1[rip]
	mov	r14, QWORD PTR pkex_init_y_bp_p256r1[rip]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L7:
	test	esi, esi
	je	.L13
	mov	r13, QWORD PTR pkex_init_x_p521[rip]
	mov	r14, QWORD PTR pkex_init_y_p521[rip]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L5:
	test	esi, esi
	je	.L15
	mov	r13, QWORD PTR pkex_init_x_bp_p384r1[rip]
	mov	r14, QWORD PTR pkex_init_y_bp_p384r1[rip]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L16:
	mov	r13, QWORD PTR pkex_resp_x_bp_p512r1[rip]
	mov	r14, QWORD PTR pkex_resp_y_bp_p512r1[rip]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L15:
	mov	r13, QWORD PTR pkex_resp_x_bp_p384r1[rip]
	mov	r14, QWORD PTR pkex_resp_y_bp_p384r1[rip]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L10:
	mov	r13, QWORD PTR pkex_resp_x_p256[rip]
	mov	r14, QWORD PTR pkex_resp_y_p256[rip]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L14:
	mov	r13, QWORD PTR pkex_resp_x_bp_p256r1[rip]
	mov	r14, QWORD PTR pkex_resp_y_bp_p256r1[rip]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	mov	r13, QWORD PTR pkex_resp_x_p384[rip]
	mov	r14, QWORD PTR pkex_resp_y_p384[rip]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L13:
	mov	r13, QWORD PTR pkex_resp_x_p521[rip]
	mov	r14, QWORD PTR pkex_resp_y_p521[rip]
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	dpp_pkex_get_role_elem, .-dpp_pkex_get_role_elem
	.comm	pkex_resp_y_p521,8,8
	.comm	pkex_resp_y_p384,8,8
	.comm	pkex_resp_y_p256,8,8
	.comm	pkex_resp_y_bp_p512r1,8,8
	.comm	pkex_resp_y_bp_p384r1,8,8
	.comm	pkex_resp_y_bp_p256r1,8,8
	.comm	pkex_resp_x_p521,8,8
	.comm	pkex_resp_x_p384,8,8
	.comm	pkex_resp_x_p256,8,8
	.comm	pkex_resp_x_bp_p512r1,8,8
	.comm	pkex_resp_x_bp_p384r1,8,8
	.comm	pkex_resp_x_bp_p256r1,8,8
	.comm	pkex_init_y_p521,8,8
	.comm	pkex_init_y_p384,8,8
	.comm	pkex_init_y_p256,8,8
	.comm	pkex_init_y_bp_p512r1,8,8
	.comm	pkex_init_y_bp_p384r1,8,8
	.comm	pkex_init_y_bp_p256r1,8,8
	.comm	pkex_init_x_p521,8,8
	.comm	pkex_init_x_p384,8,8
	.comm	pkex_init_x_p256,8,8
	.comm	pkex_init_x_bp_p512r1,8,8
	.comm	pkex_init_x_bp_p384r1,8,8
	.comm	pkex_init_x_bp_p256r1,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_dpp.c_dpp_pkex_get_role_elem.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dpp_pkex_get_role_elem, %function
dpp_pkex_get_role_elem:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0, #4]
	push	{r4, r5, r6, r7, r8, lr}
	sub	r2, r2, #19
	ldr	r5, [r0]
	cmp	r2, #11
	ldrls	pc, [pc, r2, asl #2]
	b	.L17
.L4:
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L17
	.word	.L17
	.word	.L17
	.word	.L17
	.word	.L17
	.word	.L17
	.word	.L6
	.word	.L5
	.word	.L3
.L17:
	mov	r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	cmp	r1, #0
	ldrne	r2, .L21
	ldrne	r3, .L21+4
	ldreq	r2, .L21+8
	ldreq	r3, .L21+12
	ldr	r6, [r2]
	ldr	r7, [r3]
.L11:
	ldr	r0, [r0, #8]
	bl	OBJ_txt2nid
	bl	EC_GROUP_new_by_curve_name
	subs	r4, r0, #0
	beq	.L1
	mov	r3, r5
	mov	r2, r7
	mov	r1, r6
	bl	dpp_set_pubkey_point_group
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	bl	EC_GROUP_free
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	cmp	r1, #0
	ldrne	r2, .L21+16
	ldrne	r3, .L21+20
	ldreq	r2, .L21+24
	ldreq	r3, .L21+28
	ldr	r6, [r2]
	ldr	r7, [r3]
	b	.L11
.L8:
	cmp	r1, #0
	ldrne	r2, .L21+32
	ldrne	r3, .L21+36
	ldreq	r2, .L21+40
	ldreq	r3, .L21+44
	ldr	r6, [r2]
	ldr	r7, [r3]
	b	.L11
.L7:
	cmp	r1, #0
	ldrne	r2, .L21+48
	ldrne	r3, .L21+52
	ldreq	r2, .L21+56
	ldreq	r3, .L21+60
	ldr	r6, [r2]
	ldr	r7, [r3]
	b	.L11
.L6:
	cmp	r1, #0
	ldrne	r2, .L21+64
	ldrne	r3, .L21+68
	ldreq	r2, .L21+72
	ldreq	r3, .L21+76
	ldr	r6, [r2]
	ldr	r7, [r3]
	b	.L11
.L5:
	cmp	r1, #0
	ldrne	r2, .L21+80
	ldrne	r3, .L21+84
	ldreq	r2, .L21+88
	ldreq	r3, .L21+92
	ldr	r6, [r2]
	ldr	r7, [r3]
	b	.L11
.L22:
	.align	2
.L21:
	.word	pkex_init_x_bp_p512r1
	.word	pkex_init_y_bp_p512r1
	.word	pkex_resp_x_bp_p512r1
	.word	pkex_resp_y_bp_p512r1
	.word	pkex_init_x_p256
	.word	pkex_init_y_p256
	.word	pkex_resp_x_p256
	.word	pkex_resp_y_p256
	.word	pkex_init_x_p384
	.word	pkex_init_y_p384
	.word	pkex_resp_x_p384
	.word	pkex_resp_y_p384
	.word	pkex_init_x_p521
	.word	pkex_init_y_p521
	.word	pkex_resp_x_p521
	.word	pkex_resp_y_p521
	.word	pkex_init_x_bp_p256r1
	.word	pkex_init_y_bp_p256r1
	.word	pkex_resp_x_bp_p256r1
	.word	pkex_resp_y_bp_p256r1
	.word	pkex_init_x_bp_p384r1
	.word	pkex_init_y_bp_p384r1
	.word	pkex_resp_x_bp_p384r1
	.word	pkex_resp_y_bp_p384r1
	.size	dpp_pkex_get_role_elem, .-dpp_pkex_get_role_elem
	.comm	pkex_resp_y_p521,4,4
	.comm	pkex_resp_y_p384,4,4
	.comm	pkex_resp_y_p256,4,4
	.comm	pkex_resp_y_bp_p512r1,4,4
	.comm	pkex_resp_y_bp_p384r1,4,4
	.comm	pkex_resp_y_bp_p256r1,4,4
	.comm	pkex_resp_x_p521,4,4
	.comm	pkex_resp_x_p384,4,4
	.comm	pkex_resp_x_p256,4,4
	.comm	pkex_resp_x_bp_p512r1,4,4
	.comm	pkex_resp_x_bp_p384r1,4,4
	.comm	pkex_resp_x_bp_p256r1,4,4
	.comm	pkex_init_y_p521,4,4
	.comm	pkex_init_y_p384,4,4
	.comm	pkex_init_y_p256,4,4
	.comm	pkex_init_y_bp_p512r1,4,4
	.comm	pkex_init_y_bp_p384r1,4,4
	.comm	pkex_init_y_bp_p256r1,4,4
	.comm	pkex_init_x_p521,4,4
	.comm	pkex_init_x_p384,4,4
	.comm	pkex_init_x_p256,4,4
	.comm	pkex_init_x_bp_p512r1,4,4
	.comm	pkex_init_x_bp_p384r1,4,4
	.comm	pkex_init_x_bp_p256r1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
