	.file	"extr_fs3270.c_fs3270_do_io.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fs3270_do_io, @function
fs3270_do_io:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR fs3270_wake_up[rip]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	DWORD PTR 8[rsi], eax
	mov	QWORD PTR [rsi], rdi
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, r12d
	add	eax, DWORD PTR EACCES[rip]
	jne	.L1
.L7:
	mov	rdi, rbx
	call	fs3270_working@PLT
	test	eax, eax
	jne	.L6
	mov	rdi, rbx
	call	fs3270_working@PLT
	mov	edi, DWORD PTR [rbx]
	mov	esi, eax
	call	wait_event_interruptible@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
.L6:
	mov	rsi, rbp
	mov	rdi, rbx
	call	raw3270_start@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L4
	mov	rdi, rbp
	call	raw3270_request_final@PLT
	mov	edi, DWORD PTR [rbx]
	mov	esi, eax
	call	wait_event@PLT
	mov	eax, r12d
	add	eax, DWORD PTR EACCES[rip]
	je	.L7
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	fs3270_do_io, .-fs3270_do_io
	.comm	fs3270_wake_up,4,4
	.comm	EACCES,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_fs3270.c_fs3270_do_io.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fs3270_do_io, %function
fs3270_do_io:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r3]
	mov	r5, r0
	mov	r6, r1
	ldr	r7, .L11+4
	str	r0, [r1]
	str	r3, [r1, #4]
	b	.L7
.L4:
	ldr	r3, [r7]
	cmn	r4, r3
	bne	.L1
.L7:
	mov	r0, r5
	bl	fs3270_working
	cmp	r0, #0
	bne	.L6
	mov	r0, r5
	ldr	r4, [r5]
	bl	fs3270_working
	mov	r1, r0
	mov	r0, r4
	bl	wait_event_interruptible
	subs	r4, r0, #0
	bne	.L1
.L6:
	mov	r1, r6
	mov	r0, r5
	bl	raw3270_start
	subs	r4, r0, #0
	bne	.L4
	mov	r0, r6
	ldr	r8, [r5]
	bl	raw3270_request_final
	mov	r1, r0
	mov	r0, r8
	bl	wait_event
	ldr	r3, [r7]
	cmn	r4, r3
	beq	.L7
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	fs3270_wake_up
	.word	EACCES
	.size	fs3270_do_io, .-fs3270_do_io
	.comm	fs3270_wake_up,4,4
	.comm	EACCES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
