	.file	"extr_crypto.c_ecryptfs_decode_from_filename.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ecryptfs_decode_from_filename, @function
ecryptfs_decode_from_filename:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	rdi, rdi
	je	.L16
	test	rcx, rcx
	je	.L11
	movzx	eax, BYTE PTR [rdx]
	mov	rsi, QWORD PTR filename_rev_map[rip]
	movzx	r8d, BYTE PTR [rsi+rax]
	sal	r8d, 2
	mov	BYTE PTR [rdi], r8b
	cmp	rcx, 1
	jbe	.L11
	mov	r10, rcx
	xor	r9d, r9d
	mov	eax, 1
	and	r10, -4
	add	r10, 1
.L7:
	mov	r11, QWORD PTR filename_rev_map[rip]
	movzx	esi, BYTE PTR [rdx+rax]
	lea	rbp, 1[r9]
	movzx	esi, BYTE PTR [r11+rsi]
	mov	r11d, esi
	sal	esi, 4
	shr	r11b, 4
	mov	BYTE PTR 1[rdi], sil
	or	r8d, r11d
	mov	BYTE PTR [rdi], r8b
	lea	r8, 1[rax]
	cmp	r8, rcx
	jnb	.L14
	mov	r11, QWORD PTR filename_rev_map[rip]
	movzx	r8d, BYTE PTR 1[rdx+rax]
	lea	rbp, 2[r9]
	movzx	r8d, BYTE PTR [r11+r8]
	mov	r11d, r8d
	sal	r8d, 6
	shr	r11b, 2
	mov	BYTE PTR 2[rdi], r8b
	or	esi, r11d
	mov	BYTE PTR 1[rdi], sil
	cmp	r10, rax
	je	.L14
	movzx	esi, BYTE PTR 2[rdx+rax]
	mov	r11, QWORD PTR filename_rev_map[rip]
	add	r9, 3
	or	r8b, BYTE PTR [r11+rsi]
	lea	rsi, 3[rax]
	mov	BYTE PTR 2[rdi], r8b
	cmp	rsi, rcx
	jnb	.L5
	movzx	esi, BYTE PTR 3[rdx+rax]
	mov	r8, QWORD PTR filename_rev_map[rip]
	add	rax, 4
	add	rdi, 3
	movzx	r8d, BYTE PTR [r8+rsi]
	sal	r8d, 2
	mov	BYTE PTR [rdi], r8b
	cmp	rcx, rax
	ja	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	mov	QWORD PTR [rbx], r9
.L3:
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	xor	r9d, r9d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	mov	r9, rbp
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, rcx
	call	ecryptfs_max_decoded_size@PLT
	mov	QWORD PTR [rbx], rax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ecryptfs_decode_from_filename, .-ecryptfs_decode_from_filename
	.comm	filename_rev_map,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_crypto.c_ecryptfs_decode_from_filename.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ecryptfs_decode_from_filename, %function
ecryptfs_decode_from_filename:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	lr, r0, #0
	mov	r5, r1
	beq	.L15
	cmp	r3, #0
	beq	.L11
	ldr	r0, .L18
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldr	ip, [r0]
	cmp	r3, #1
	ldrb	ip, [ip, r1]	@ zero_extendqisi2
	movhi	r1, #1
	lsl	ip, ip, #2
	and	ip, ip, #255
	bichi	r7, r3, #3
	movhi	r6, #0
	strb	ip, [lr]
	addhi	r7, r7, r1
	bls	.L11
.L7:
	ldr	r9, [r0]
	ldrb	r4, [r2, #1]	@ zero_extendqisi2
	add	r8, r1, #3
	ldrb	r4, [r9, r4]	@ zero_extendqisi2
	add	r9, r1, #1
	orr	ip, ip, r4, lsr #4
	lsl	r4, r4, #4
	and	r4, r4, #255
	cmp	r3, r9
	strb	ip, [lr]
	strb	r4, [lr, #1]
	add	ip, r6, #1
	bls	.L16
	ldrb	ip, [r2, #2]	@ zero_extendqisi2
	ldr	r9, [r0]
	cmp	r7, r1
	ldrb	r9, [r9, ip]	@ zero_extendqisi2
	add	r1, r1, #4
	lsl	ip, r9, #6
	orr	r4, r4, r9, lsr #2
	and	ip, ip, #255
	strb	r4, [lr, #1]
	strb	ip, [lr, #2]
	add	r4, r6, #2
	beq	.L17
	ldrb	r4, [r2, #3]	@ zero_extendqisi2
	ldr	r9, [r0]
	cmp	r8, r3
	ldrb	r4, [r9, r4]	@ zero_extendqisi2
	add	r6, r6, #3
	orr	ip, ip, r4
	strb	ip, [lr, #2]
	bcs	.L5
	ldrb	ip, [r2, #4]!	@ zero_extendqisi2
	ldr	r4, [r0]
	cmp	r3, r1
	ldrb	ip, [r4, ip]	@ zero_extendqisi2
	lsl	ip, ip, #2
	and	ip, ip, #255
	strb	ip, [lr, #3]!
	bhi	.L7
.L5:
.L3:
	str	r6, [r5]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	mov	r6, #0
	str	r6, [r5]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	mov	r6, r4
	str	r6, [r5]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	mov	r6, ip
	str	r6, [r5]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	mov	r0, r3
	bl	ecryptfs_max_decoded_size
	str	r0, [r5]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L19:
	.align	2
.L18:
	.word	filename_rev_map
	.size	ecryptfs_decode_from_filename, .-ecryptfs_decode_from_filename
	.comm	filename_rev_map,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
