	.file	"extr_deflate.c_zlib_deflateEnd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	zlib_deflateEnd
	.type	zlib_deflateEnd, @function
zlib_deflateEnd:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L2
	mov	rax, QWORD PTR [rdi]
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR INIT_STATE[rip], eax
	mov	edx, DWORD PTR BUSY_STATE[rip]
	je	.L5
	cmp	eax, edx
	je	.L6
	cmp	DWORD PTR FINISH_STATE[rip], eax
	je	.L15
.L2:
	mov	eax, DWORD PTR Z_STREAM_ERROR[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	mov	QWORD PTR [rdi], 0
	cmp	eax, edx
	je	.L9
	mov	eax, DWORD PTR Z_OK[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	mov	QWORD PTR [rdi], 0
	mov	eax, DWORD PTR Z_OK[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	mov	QWORD PTR [rdi], 0
.L9:
	mov	eax, DWORD PTR Z_DATA_ERROR[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	zlib_deflateEnd, .-zlib_deflateEnd
	.comm	Z_STREAM_ERROR,4,4
	.comm	Z_OK,4,4
	.comm	Z_DATA_ERROR,4,4
	.comm	INIT_STATE,4,4
	.comm	FINISH_STATE,4,4
	.comm	BUSY_STATE,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_deflate.c_zlib_deflateEnd.c"
	.text
	.align	2
	.global	zlib_deflateEnd
	.syntax unified
	.arm
	.fpu softvfp
	.type	zlib_deflateEnd, %function
zlib_deflateEnd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r0, #0
	beq	.L2
	ldr	r3, [r0]
	cmp	r3, #0
	beq	.L2
	ldr	r2, .L16
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, .L16+4
	cmp	r2, r3
	ldr	r1, [r1]
	beq	.L5
	cmp	r3, r1
	beq	.L6
	ldr	r2, .L16+8
	ldr	r2, [r2]
	cmp	r2, r3
	beq	.L15
.L2:
	ldr	r3, .L16+12
	ldr	r0, [r3]
	bx	lr
.L5:
	mov	r3, #0
	cmp	r2, r1
	str	r3, [r0]
	beq	.L9
.L8:
	ldr	r3, .L16+16
	ldr	r0, [r3]
	bx	lr
.L15:
	mov	r3, #0
	str	r3, [r0]
	b	.L8
.L6:
	mov	r3, #0
	str	r3, [r0]
.L9:
	ldr	r3, .L16+20
	ldr	r0, [r3]
	bx	lr
.L17:
	.align	2
.L16:
	.word	INIT_STATE
	.word	BUSY_STATE
	.word	FINISH_STATE
	.word	Z_STREAM_ERROR
	.word	Z_OK
	.word	Z_DATA_ERROR
	.size	zlib_deflateEnd, .-zlib_deflateEnd
	.comm	Z_STREAM_ERROR,4,4
	.comm	Z_OK,4,4
	.comm	Z_DATA_ERROR,4,4
	.comm	INIT_STATE,4,4
	.comm	FINISH_STATE,4,4
	.comm	BUSY_STATE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
