	.file	"extr_statesav.c_StateSav_SaveUBYTE.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	StateSav_SaveUBYTE
	.type	StateSav_SaveUBYTE, @function
StateSav_SaveUBYTE:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8d, DWORD PTR StateFile[rip]
	test	r8d, r8d
	je	.L6
	mov	rax, QWORD PTR Z_OK[rip]
	cmp	QWORD PTR nFileError[rip], rax
	je	.L10
.L6:
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	edx, esi
	mov	rsi, rdi
	mov	edi, r8d
	call	GZWRITE@PLT
	test	rax, rax
	je	.L11
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	GetGZErrorText@PLT
	.cfi_endproc
.LFE0:
	.size	StateSav_SaveUBYTE, .-StateSav_SaveUBYTE
	.comm	nFileError,8,8
	.comm	Z_OK,8,8
	.comm	StateFile,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_statesav.c_StateSav_SaveUBYTE.c"
	.text
	.align	2
	.global	StateSav_SaveUBYTE
	.syntax unified
	.arm
	.fpu softvfp
	.type	StateSav_SaveUBYTE, %function
StateSav_SaveUBYTE:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L10
	ldr	r3, [r3]
	cmp	r3, #0
	bxeq	lr
	ldr	ip, .L10+4
	ldr	r2, .L10+8
	ldr	ip, [ip]
	ldr	r2, [r2]
	cmp	ip, r2
	bxne	lr
	mov	r2, r1
	push	{r4, lr}
	mov	r1, r0
	mov	r0, r3
	bl	GZWRITE
	cmp	r0, #0
	popne	{r4, pc}
	pop	{r4, lr}
	b	GetGZErrorText
.L11:
	.align	2
.L10:
	.word	StateFile
	.word	nFileError
	.word	Z_OK
	.size	StateSav_SaveUBYTE, .-StateSav_SaveUBYTE
	.comm	nFileError,4,4
	.comm	Z_OK,4,4
	.comm	StateFile,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
