	.file	"extr_ts_conf.c_TS_CONF_set_signer_digest.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	TS_CONF_set_signer_digest
	.type	TS_CONF_set_signer_digest, @function
TS_CONF_set_signer_digest:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	rdx, rdx
	je	.L8
	mov	rdi, rdx
.L2:
	call	EVP_get_digestbyname@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L9
.L3:
	endbr64
	mov	rdi, r12
	call	TS_RESP_CTX_set_signer_digest@PLT
	test	eax, eax
	setne	al
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movzx	eax, al
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR ENV_SIGNER_DIGEST[rip]
	call	NCONF_get_string@PLT
	mov	rdi, rax
	test	rax, rax
	jne	.L2
	mov	esi, DWORD PTR ENV_SIGNER_DIGEST[rip]
	mov	rdi, rbp
	call	ts_CONF_lookup_fail@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	esi, DWORD PTR ENV_SIGNER_DIGEST[rip]
	mov	rdi, rbp
	call	ts_CONF_invalid@PLT
	add	rsp, 8
	.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	TS_CONF_set_signer_digest, .-TS_CONF_set_signer_digest
	.comm	ENV_SIGNER_DIGEST,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_ts_conf.c_TS_CONF_set_signer_digest.c"
	.text
	.align	2
	.global	TS_CONF_set_signer_digest
	.syntax unified
	.arm
	.fpu softvfp
	.type	TS_CONF_set_signer_digest, %function
TS_CONF_set_signer_digest:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r4, r2, #0
	mov	r5, r3
	mov	r6, r1
	beq	.L7
.L2:
	mov	r0, r4
	bl	EVP_get_digestbyname
	subs	r4, r0, #0
	beq	.L8
.L3:
	mov	r1, r4
	mov	r0, r5
	bl	TS_RESP_CTX_set_signer_digest
	subs	r0, r0, #0
	movne	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r7, .L9
	ldr	r2, [r7]
	bl	NCONF_get_string
	subs	r4, r0, #0
	bne	.L2
	mov	r0, r6
	ldr	r1, [r7]
	bl	ts_CONF_lookup_fail
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r3, .L9
	mov	r0, r6
	ldr	r1, [r3]
	bl	ts_CONF_invalid
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	ENV_SIGNER_DIGEST
	.size	TS_CONF_set_signer_digest, .-TS_CONF_set_signer_digest
	.comm	ENV_SIGNER_DIGEST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
