	.file	"extr_x509_cmp.c_X509_NAME_hash.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	X509_NAME_hash
	.type	X509_NAME_hash, @function
X509_NAME_hash:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR SHA_DIGEST_LENGTH[rip]
	mov	rcx, rsp
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L13:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L13
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L14
.L4:
	xor	esi, esi
	mov	rdi, rbx
	call	i2d_X509_NAME@PLT
	xor	eax, eax
	call	EVP_sha1@PLT
	mov	esi, DWORD PTR [rbx]
	mov	edi, DWORD PTR 4[rbx]
	xor	r9d, r9d
	mov	r8d, eax
	xor	ecx, ecx
	mov	rdx, rsp
	call	EVP_Digest@PLT
	mov	edx, 0
	mov	r8d, eax
	mov	eax, DWORD PTR [rsp]
	test	r8d, r8d
	cmove	rax, rdx
	mov	rsi, QWORD PTR -24[rbp]
	xor	rsi, QWORD PTR fs:40
	jne	.L15
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	X509_NAME_hash, .-X509_NAME_hash
	.comm	SHA_DIGEST_LENGTH,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_x509_cmp.c_X509_NAME_hash.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	X509_NAME_hash
	.syntax unified
	.arm
	.fpu softvfp
	.type	X509_NAME_hash, %function
X509_NAME_hash:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #20
	mov	r4, r0
	ldr	r3, .L8
	ldr	r2, .L8+4
	ldr	r3, [r3]
	mov	r1, #0
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r2, [r2]
	str	r2, [fp, #-24]
	mov	r2,#0
	bl	i2d_X509_NAME
	ldr	r5, [r4, #4]
	ldr	r6, [r4]
	bl	EVP_sha1
	mov	r3, #0
	add	r4, sp, #8
	str	r0, [sp]
	mov	r1, r6
	mov	r0, r5
	mov	r2, r4
	str	r3, [sp, #4]
	bl	EVP_Digest
	cmp	r0, #0
	beq	.L1
	ldrb	r2, [r4, #1]	@ zero_extendqisi2
	ldrb	r3, [sp, #8]	@ zero_extendqisi2
	ldrb	r0, [r4, #2]	@ zero_extendqisi2
	orr	r3, r3, r2, lsl #8
	ldrb	r2, [r4, #3]	@ zero_extendqisi2
	orr	r0, r3, r0, lsl #16
	orr	r0, r0, r2, lsl #24
.L1:
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	SHA_DIGEST_LENGTH
	.word	.LC0
	.size	X509_NAME_hash, .-X509_NAME_hash
	.comm	SHA_DIGEST_LENGTH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
