	.file	"extr_hmacmd5.c_isc_hmacmd5_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	isc_hmacmd5_init
	.type	isc_hmacmd5_init, @function
isc_hmacmd5_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	.cfi_offset 15, -24
	mov	r15, rsi
	push	r14
	.cfi_offset 14, -32
	mov	r14d, edx
	push	r13
	push	r12
	push	rbx
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 40
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR PADLEN[rip]
	mov	rcx, rsp
	mov	r13, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L16:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L16
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L17
.L4:
	mov	rdi, QWORD PTR [rbx]
	xor	esi, esi
	mov	edx, 8
	mov	r12, rsp
	call	memset@PLT
	cmp	r14d, 8
	ja	.L18
	mov	rdi, QWORD PTR [rbx]
	mov	edx, r14d
	mov	rsi, r15
	call	memcpy@PLT
.L6:
	lea	r14, 8[rbx]
	mov	rdi, r14
	call	isc_md5_init@PLT
	mov	esi, DWORD PTR IPAD[rip]
	mov	edx, r13d
	mov	rdi, r12
	call	memset@PLT
	mov	eax, DWORD PTR PADLEN[rip]
	test	eax, eax
	jle	.L7
	mov	rsi, QWORD PTR [rbx]
	lea	ecx, -1[rax]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L8:
	movzx	edx, BYTE PTR [rsi+rax]
	xor	BYTE PTR [r12+rax], dl
	mov	rdx, rax
	add	rax, 1
	cmp	rcx, rdx
	jne	.L8
.L7:
	mov	edx, r13d
	mov	rsi, r12
	mov	rdi, r14
	call	isc_md5_update@PLT
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	lea	rdi, -60[rbp]
	mov	QWORD PTR -72[rbp], rdi
	call	isc_md5_init@PLT
	mov	rdi, QWORD PTR -72[rbp]
	mov	rsi, r15
	mov	edx, r14d
	call	isc_md5_update@PLT
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, QWORD PTR -72[rbp]
	call	isc_md5_final@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L17:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	isc_hmacmd5_init, .-isc_hmacmd5_init
	.comm	PADLEN,4,4
	.comm	IPAD,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_hmacmd5.c_isc_hmacmd5_init.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	isc_hmacmd5_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	isc_hmacmd5_init, %function
isc_hmacmd5_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #8
	mov	r7, r0
	mov	r0, #0
	ldr	r8, .L11
	ldr	r3, [r7]
	ldr	r5, [r8]
	cmp	r2, #4
	add	ip, r5, #7
	bic	ip, ip, #7
	sub	sp, sp, ip
	ldr	ip, .L11+4
	mov	r4, sp
	ldr	ip, [ip]
	str	ip, [fp, #-32]
	mov	ip,#0
	strb	r0, [r3]
	strb	r0, [r3, #1]
	strb	r0, [r3, #2]
	strb	r0, [r3, #3]
	bls	.L2
	mov	r6, r2
	mov	r9, r1
	sub	r0, fp, #36
	bl	isc_md5_init
	mov	r1, r9
	mov	r2, r6
	sub	r0, fp, #36
	bl	isc_md5_update
	ldr	r1, [r7]
	sub	r0, fp, #36
	bl	isc_md5_final
.L3:
	add	r6, r7, #4
	mov	r0, r6
	bl	isc_md5_init
	ldr	r3, .L11+8
	mov	r2, r5
	mov	r0, r4
	ldr	r1, [r3]
	bl	memset
	ldr	ip, [r8]
	cmp	ip, #0
	ble	.L4
	ldr	r1, [r7]
	sub	ip, ip, #1
	sub	r1, r1, #1
	add	ip, r4, ip
	sub	r3, r4, #1
.L5:
	ldrb	r2, [r3, #1]!	@ zero_extendqisi2
	ldrb	r0, [r1, #1]!	@ zero_extendqisi2
	cmp	r3, ip
	eor	r2, r2, r0
	strb	r2, [r3]
	bne	.L5
.L4:
	mov	r2, r5
	mov	r1, r4
	mov	r0, r6
	bl	isc_md5_update
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L2:
	ldr	r0, [r7]
	bl	memcpy
	b	.L3
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	PADLEN
	.word	.LC0
	.word	IPAD
	.size	isc_hmacmd5_init, .-isc_hmacmd5_init
	.comm	PADLEN,4,4
	.comm	IPAD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
