	.file	"extr_inflate.c_inflate_flush.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	inflate_flush
	.type	inflate_flush, @function
inflate_flush:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	mov	r9d, eax
	and	r9d, 7
	cmp	eax, 7
	jle	.L4
	mov	ecx, r9d
	xor	r8d, r8d
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR 4[rdi]
	add	r8d, 1
	add	rsi, 1
	sar	eax, cl
	add	ecx, 8
	mov	BYTE PTR -1[rsi], al
	mov	edx, DWORD PTR [rdi]
	test	edx, edx
	lea	eax, 7[rdx]
	cmovns	eax, edx
	sar	eax, 3
	cmp	eax, r8d
	jg	.L3
	mov	DWORD PTR [rdi], r9d
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	xor	r8d, r8d
	mov	DWORD PTR [rdi], r9d
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	inflate_flush, .-inflate_flush
	.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_inflate.c_inflate_flush.c"
	.text
	.align	2
	.global	inflate_flush
	.syntax unified
	.arm
	.fpu softvfp
	.type	inflate_flush, %function
inflate_flush:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, lr}
	cmp	r3, #7
	mov	ip, r0
	and	r4, r3, #7
	ble	.L4
	mov	r2, r4
	mov	r0, #0
	sub	r1, r1, #1
.L3:
	ldr	r3, [ip, #4]
	add	r0, r0, #1
	asr	r3, r3, r2
	strb	r3, [r1, #1]!
	ldr	r3, [ip]
	add	r2, r2, #8
	cmp	r3, #0
	add	lr, r3, #7
	movlt	r3, lr
	cmp	r0, r3, asr #3
	blt	.L3
	str	r4, [ip]
	pop	{r4, pc}
.L4:
	mov	r0, #0
	str	r4, [ip]
	pop	{r4, pc}
	.size	inflate_flush, .-inflate_flush
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
