	.file	"extr_dsa_pmeth.c_pkey_dsa_ctrl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pkey_dsa_ctrl, @function
pkey_dsa_ctrl:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	add	esi, -128
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR [rdi]
	cmp	esi, 8
	ja	.L16
	lea	rdi, .L4[rip]
	mov	rbx, rcx
	movsx	rax, DWORD PTR [rdi+rsi*4]
	add	rax, rdi
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L14-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L14-.L4
	.long	.L14-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L14:
	mov	eax, 1
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	cmp	edx, 255
	jle	.L16
	mov	DWORD PTR 0[rbp], edx
	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
.L10:
	.cfi_restore_state
	mov	esi, DWORD PTR EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE[rip]
	mov	edi, DWORD PTR DSA_F_PKEY_DSA_CTRL[rip]
	call	DSAerr@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, -2
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, rcx
	call	EVP_MD_type@PLT
	cmp	eax, DWORD PTR NID_sha1[rip]
	je	.L13
	mov	rdi, rbx
	call	EVP_MD_type@PLT
	cmp	eax, DWORD PTR NID_dsa[rip]
	jne	.L23
.L13:
	mov	QWORD PTR 8[rbp], rbx
	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
.L8:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rbp]
	mov	QWORD PTR [rcx], rax
	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
.L7:
	.cfi_restore_state
	mov	eax, edx
	and	eax, -65
	cmp	eax, 160
	je	.L11
	test	edx, -257
	jne	.L16
.L11:
	mov	DWORD PTR 4[rbp], edx
	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
.L6:
	.cfi_restore_state
	mov	rdi, rcx
	call	EVP_MD_type@PLT
	cmp	eax, DWORD PTR NID_sha1[rip]
	je	.L12
	mov	rdi, rbx
	call	EVP_MD_type@PLT
	cmp	eax, DWORD PTR NID_sha224[rip]
	jne	.L24
.L12:
	mov	QWORD PTR 16[rbp], rbx
	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
.L24:
	.cfi_restore_state
	mov	rdi, rbx
	call	EVP_MD_type@PLT
	cmp	eax, DWORD PTR NID_sha256[rip]
	je	.L12
.L21:
	mov	esi, DWORD PTR DSA_R_INVALID_DIGEST_TYPE[rip]
	mov	edi, DWORD PTR DSA_F_PKEY_DSA_CTRL[rip]
	call	DSAerr@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rdi, rbx
	call	EVP_MD_type@PLT
	cmp	eax, DWORD PTR NID_dsaWithSHA[rip]
	je	.L13
	mov	rdi, rbx
	call	EVP_MD_type@PLT
	cmp	eax, DWORD PTR NID_sha224[rip]
	je	.L13
	mov	rdi, rbx
	call	EVP_MD_type@PLT
	cmp	eax, DWORD PTR NID_sha256[rip]
	je	.L13
	mov	rdi, rbx
	call	EVP_MD_type@PLT
	cmp	eax, DWORD PTR NID_sha384[rip]
	je	.L13
	mov	rdi, rbx
	call	EVP_MD_type@PLT
	cmp	eax, DWORD PTR NID_sha512[rip]
	je	.L13
	mov	rdi, rbx
	call	EVP_MD_type@PLT
	cmp	eax, DWORD PTR NID_sha3_224[rip]
	je	.L13
	mov	rdi, rbx
	call	EVP_MD_type@PLT
	cmp	eax, DWORD PTR NID_sha3_256[rip]
	je	.L13
	mov	rdi, rbx
	call	EVP_MD_type@PLT
	cmp	eax, DWORD PTR NID_sha3_384[rip]
	je	.L13
	mov	rdi, rbx
	call	EVP_MD_type@PLT
	cmp	eax, DWORD PTR NID_sha3_512[rip]
	je	.L13
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L16:
	mov	eax, -2
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	pkey_dsa_ctrl, .-pkey_dsa_ctrl
	.comm	NID_sha512,4,4
	.comm	NID_sha3_512,4,4
	.comm	NID_sha3_384,4,4
	.comm	NID_sha3_256,4,4
	.comm	NID_sha3_224,4,4
	.comm	NID_sha384,4,4
	.comm	NID_sha256,4,4
	.comm	NID_sha224,4,4
	.comm	NID_sha1,4,4
	.comm	NID_dsaWithSHA,4,4
	.comm	NID_dsa,4,4
	.comm	EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE,4,4
	.comm	DSA_R_INVALID_DIGEST_TYPE,4,4
	.comm	DSA_F_PKEY_DSA_CTRL,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_dsa_pmeth.c_pkey_dsa_ctrl.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pkey_dsa_ctrl, %function
pkey_dsa_ctrl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	sub	r1, r1, #128
	push	{r4, r5, r6, lr}
	mov	r4, r3
	ldr	r5, [r0]
	cmp	r1, #8
	ldrls	pc, [pc, r1, asl #2]
	b	.L16
.L4:
	.word	.L14
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L14
	.word	.L14
.L14:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L5:
	cmp	r2, #255
	ble	.L16
	mov	r0, #1
	str	r2, [r5]
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r2, .L25
	ldr	r3, .L25+4
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	DSAerr
	mvn	r0, #1
	pop	{r4, r5, r6, pc}
.L9:
	mov	r0, r3
	bl	EVP_MD_type
	ldr	r3, .L25+8
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L13
	mov	r0, r4
	bl	EVP_MD_type
	ldr	r3, .L25+12
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L23
.L13:
	mov	r0, #1
	str	r4, [r5, #8]
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, [r5, #8]
	mov	r0, #1
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L7:
	bic	r3, r2, #64
	cmp	r3, #160
	beq	.L11
	bics	r3, r2, #256
	bne	.L16
.L11:
	mov	r0, #1
	str	r2, [r5, #4]
	pop	{r4, r5, r6, pc}
.L6:
	mov	r0, r3
	bl	EVP_MD_type
	ldr	r3, .L25+8
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L12
	mov	r0, r4
	bl	EVP_MD_type
	ldr	r3, .L25+16
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L24
.L12:
	mov	r0, #1
	str	r4, [r5, #12]
	pop	{r4, r5, r6, pc}
.L24:
	mov	r0, r4
	bl	EVP_MD_type
	ldr	r3, .L25+20
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L12
.L21:
	ldr	r2, .L25+24
	ldr	r3, .L25+4
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	DSAerr
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L23:
	mov	r0, r4
	bl	EVP_MD_type
	ldr	r3, .L25+28
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L13
	mov	r0, r4
	bl	EVP_MD_type
	ldr	r3, .L25+16
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L13
	mov	r0, r4
	bl	EVP_MD_type
	ldr	r3, .L25+20
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L13
	mov	r0, r4
	bl	EVP_MD_type
	ldr	r3, .L25+32
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L13
	mov	r0, r4
	bl	EVP_MD_type
	ldr	r3, .L25+36
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L13
	mov	r0, r4
	bl	EVP_MD_type
	ldr	r3, .L25+40
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L13
	mov	r0, r4
	bl	EVP_MD_type
	ldr	r3, .L25+44
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L13
	mov	r0, r4
	bl	EVP_MD_type
	ldr	r3, .L25+48
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L13
	mov	r0, r4
	bl	EVP_MD_type
	ldr	r3, .L25+52
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L13
	b	.L21
.L16:
	mvn	r0, #1
	pop	{r4, r5, r6, pc}
.L26:
	.align	2
.L25:
	.word	EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE
	.word	DSA_F_PKEY_DSA_CTRL
	.word	NID_sha1
	.word	NID_dsa
	.word	NID_sha224
	.word	NID_sha256
	.word	DSA_R_INVALID_DIGEST_TYPE
	.word	NID_dsaWithSHA
	.word	NID_sha384
	.word	NID_sha512
	.word	NID_sha3_224
	.word	NID_sha3_256
	.word	NID_sha3_384
	.word	NID_sha3_512
	.size	pkey_dsa_ctrl, .-pkey_dsa_ctrl
	.comm	NID_sha512,4,4
	.comm	NID_sha3_512,4,4
	.comm	NID_sha3_384,4,4
	.comm	NID_sha3_256,4,4
	.comm	NID_sha3_224,4,4
	.comm	NID_sha384,4,4
	.comm	NID_sha256,4,4
	.comm	NID_sha224,4,4
	.comm	NID_sha1,4,4
	.comm	NID_dsaWithSHA,4,4
	.comm	NID_dsa,4,4
	.comm	EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE,4,4
	.comm	DSA_R_INVALID_DIGEST_TYPE,4,4
	.comm	DSA_F_PKEY_DSA_CTRL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
