	.file	"extr_scripting.c_sha1hex.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"0123456789abcdef"
	.text
	.p2align 4
	.globl	sha1hex
	.type	sha1hex, @function
sha1hex:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	r12, 12[rsp]
	mov	rdi, r12
	call	SHA1Init@PLT
	mov	rsi, rbp
	mov	rdx, r13
	mov	rdi, r12
	call	SHA1Update@PLT
	lea	rbp, 16[rsp]
	mov	rsi, r12
	mov	rdi, rbp
	call	SHA1Final@PLT
	xor	eax, eax
	lea	rsi, .LC0[rip]
	.p2align 4,,10
	.p2align 3
.L2:
	movzx	edx, BYTE PTR 0[rbp+rax]
	mov	ecx, edx
	and	edx, 15
	shr	cl, 4
	movzx	edx, BYTE PTR [rsi+rdx]
	movzx	ecx, cl
	movzx	ecx, BYTE PTR [rsi+rcx]
	mov	BYTE PTR 1[rbx+rax*2], dl
	mov	BYTE PTR [rbx+rax*2], cl
	add	rax, 1
	cmp	rax, 20
	jne	.L2
	mov	BYTE PTR 40[rbx], 0
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sha1hex, .-sha1hex
	.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_scripting.c_sha1hex.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"0123456789abcdef\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sha1hex
	.syntax unified
	.arm
	.fpu softvfp
	.type	sha1hex, %function
sha1hex:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r6, r2
	mov	r5, r0
	sub	sp, sp, #32
	ldr	r3, .L8
	add	r0, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	SHA1Init
	mov	r2, r6
	mov	r1, r4
	add	r0, sp, #4
	bl	SHA1Update
	add	r1, sp, #4
	add	r0, sp, #8
	bl	SHA1Final
	ldr	ip, .L8+4
	add	r2, r5, #1
	add	r3, sp, #7
	add	r4, sp, #27
.L2:
	ldrb	r1, [r3, #1]!	@ zero_extendqisi2
	and	lr, r1, #15
	ldrb	lr, [ip, lr]	@ zero_extendqisi2
	ldrb	r1, [ip, r1, lsr #4]	@ zero_extendqisi2
	cmp	r4, r3
	strb	r1, [r2, #-1]
	strb	lr, [r2], #2
	bne	.L2
	mov	r3, #0
	strb	r3, [r5, #40]
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC1
	.word	.LC0
	.size	sha1hex, .-sha1hex
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
