	.file	"extr_auth_digest.c_build_digest_ha2.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s:%s"
.LC1:
	.string	"auth"
	.text
	.p2align 4
	.type	build_digest_ha2, @function
build_digest_ha2:
.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
	push	r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	mov	r14, rdx
	push	r13
	.cfi_offset 13, -40
	mov	r13, rsi
	push	r12
	.cfi_offset 12, -48
	mov	r12, r8
	push	rbx
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	test	rcx, rcx
	je	.L8
	mov	rdi, rcx
	lea	rsi, .LC1[rip]
	call	strcmp@PLT
	test	rax, rax
	jne	.L22
.L8:
	movsx	rax, DWORD PTR APR_MD5_DIGESTSIZE[rip]
	mov	rcx, rsp
	mov	r15, rsp
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L4
.L23:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L23
.L4:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L24
.L5:
	mov	rcx, r13
	mov	rdx, r14
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	apr_psprintf@PLT
	mov	rdi, rax
	mov	r13, rax
	call	strlen@PLT
	mov	rsi, r13
	mov	rdi, rsp
	mov	edx, eax
	call	apr_md5@PLT
	test	rax, rax
	je	.L25
	mov	rsp, r15
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rax, QWORD PTR APR_ENOTIMPL[rip]
.L1:
	mov	rbx, QWORD PTR -56[rbp]
	xor	rbx, QWORD PTR fs:40
	jne	.L26
	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
.L25:
	.cfi_restore_state
	mov	rdi, rsp
	mov	rsi, r12
	call	hex_encode@PLT
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR APR_SUCCESS[rip]
	mov	rsp, r15
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L24:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L5
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	build_digest_ha2, .-build_digest_ha2
	.comm	APR_SUCCESS,8,8
	.comm	APR_MD5_DIGESTSIZE,4,4
	.comm	APR_ENOTIMPL,8,8
	.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_auth_digest.c_build_digest_ha2.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"auth\000"
	.align	2
.LC1:
	.ascii	"%s:%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_digest_ha2, %function
build_digest_ha2:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #8
	mov	r6, r2
	ldr	r2, .L14
	cmp	r3, #0
	mov	r4, r0
	mov	r7, r1
	ldr	r2, [r2]
	str	r2, [fp, #-24]
	mov	r2,#0
	ldr	r5, [fp, #4]
	beq	.L2
	mov	r0, r3
	ldr	r1, .L14+4
	bl	strcmp
	cmp	r0, #0
	bne	.L3
.L2:
	ldr	r2, .L14+8
	mov	r3, r7
	ldr	ip, [r2]
	ldr	r1, .L14+12
	add	ip, ip, #7
	bic	ip, ip, #7
	mov	r2, r6
	mov	r7, sp
	mov	r0, r5
	sub	sp, sp, ip
	bl	apr_psprintf
	mov	r6, r0
	bl	strlen
	mov	r1, r6
	mov	r2, r0
	mov	r0, sp
	bl	apr_md5
	cmp	r0, #0
	beq	.L12
.L4:
	mov	sp, r7
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L12:
	mov	r1, r5
	mov	r0, sp
	bl	hex_encode
	ldr	r3, .L14+16
	str	r0, [r4]
	ldr	r0, [r3]
	b	.L4
.L3:
	ldr	r3, .L14+20
	ldr	r0, [r3]
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC2
	.word	.LC0
	.word	APR_MD5_DIGESTSIZE
	.word	.LC1
	.word	APR_SUCCESS
	.word	APR_ENOTIMPL
	.size	build_digest_ha2, .-build_digest_ha2
	.comm	APR_SUCCESS,4,4
	.comm	APR_MD5_DIGESTSIZE,4,4
	.comm	APR_ENOTIMPL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
