	.file	"411955.c"
	.intel_syntax noprefix
	.text
	.globl	inbuf
	.bss
	.align 32
	.type	inbuf, @object
	.size	inbuf, 1000000
inbuf:
	.zero	1000000
	.globl	outbuf
	.align 32
	.type	outbuf, @object
	.size	outbuf, 2000000
outbuf:
	.zero	2000000
	.globl	zbuf
	.align 32
	.type	zbuf, @object
	.size	zbuf, 1010600
zbuf:
	.zero	1010600
	.globl	nIn
	.align 4
	.type	nIn, @object
	.size	nIn, 4
nIn:
	.zero	4
	.globl	nOut
	.align 4
	.type	nOut, @object
	.size	nOut, 4
nOut:
	.zero	4
	.globl	nZ
	.align 4
	.type	nZ, @object
	.size	nZ, 4
nZ:
	.zero	4
	.section	.rodata
.LC0:
	.string	"OK"
.LC1:
	.string	"SEQUENCE_ERROR"
.LC2:
	.string	"PARAM_ERROR"
.LC3:
	.string	"MEM_ERROR"
.LC4:
	.string	"DATA_ERROR"
.LC5:
	.string	"DATA_ERROR_MAGIC"
.LC6:
	.string	"IO_ERROR"
.LC7:
	.string	"UNEXPECTED_EOF"
.LC8:
	.string	"OUTBUFF_FULL"
.LC9:
	.string	"???"
	.section	.data.rel.local,"aw"
	.align 32
	.type	bzerrorstrings, @object
	.size	bzerrorstrings, 120
bzerrorstrings:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	.LC7
	.quad	.LC8
	.quad	.LC9
	.quad	.LC9
	.quad	.LC9
	.quad	.LC9
	.quad	.LC9
	.quad	.LC9
	.text
	.globl	flip_bit
	.type	flip_bit, @function
flip_bit:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	BYTE PTR -9[rbp], al
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, zbuf[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	xor	al, BYTE PTR -9[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, zbuf[rip]
	mov	BYTE PTR [rax+rcx], dl
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	flip_bit, .-flip_bit
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"411955.c"
	.text
	.comm	inbuf,1000000,4
	.comm	outbuf,2000000,4
	.comm	zbuf,1010600,4
	.comm	nIn,4,4
	.comm	nOut,4,4
	.comm	nZ,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"OK\000"
	.align	2
.LC1:
	.ascii	"SEQUENCE_ERROR\000"
	.align	2
.LC2:
	.ascii	"PARAM_ERROR\000"
	.align	2
.LC3:
	.ascii	"MEM_ERROR\000"
	.align	2
.LC4:
	.ascii	"DATA_ERROR\000"
	.align	2
.LC5:
	.ascii	"DATA_ERROR_MAGIC\000"
	.align	2
.LC6:
	.ascii	"IO_ERROR\000"
	.align	2
.LC7:
	.ascii	"UNEXPECTED_EOF\000"
	.align	2
.LC8:
	.ascii	"OUTBUFF_FULL\000"
	.align	2
.LC9:
	.ascii	"???\000"
	.data
	.align	2
	.type	bzerrorstrings, %object
	.size	bzerrorstrings, 60
bzerrorstrings:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC9
	.word	.LC9
	.word	.LC9
	.word	.LC9
	.word	.LC9
	.text
	.align	2
	.global	flip_bit
	.syntax unified
	.arm
	.fpu softvfp
	.type	flip_bit, %function
flip_bit:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	add	r2, r3, #7
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	str	r3, [fp, #-8]
	mov	r2, #1
	ldr	r3, [fp, #-8]
	lsl	r3, r2, r3
	strb	r3, [fp, #-13]
	ldr	r2, .L2
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-13]
	eor	r3, r3, r2
	and	r1, r3, #255
	ldr	r2, .L2
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	zbuf
	.size	flip_bit, .-flip_bit
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
