	.file	"extr_claw.c_claw_strt_out_IO.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"strt_io"
.LC1:
	.string	"StWrtIO"
	.text
	.p2align 4
	.type	claw_strt_out_IO, @function
claw_strt_out_IO:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L12
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rax, QWORD PTR WRITE[rip]
	lea	rdx, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	esi, DWORD PTR trace[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbp, QWORD PTR 8[rdi]
	sal	rax, 4
	mov	rbx, rdi
	mov	edi, 4
	add	rax, QWORD PTR 8[rbp]
	mov	r12, rax
	call	CLAW_DBF_TEXT@PLT
	mov	rbp, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR CLAW_STOP[rip]
	cmp	QWORD PTR [r12], rax
	je	.L1
	test	rbp, rbp
	je	.L1
	xor	edi, edi
	lea	rsi, 12[r12]
	call	test_and_set_bit@PLT
	test	rax, rax
	je	.L16
.L6:
	mov	eax, DWORD PTR jiffies[rip]
	mov	DWORD PTR [rbx], eax
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	mov	esi, DWORD PTR trace[rip]
	lea	rdx, .LC1[rip]
	mov	edi, 2
	call	CLAW_DBF_TEXT@PLT
	mov	edi, DWORD PTR 8[r12]
	xor	r8d, r8d
	mov	rdx, r12
	mov	ecx, 255
	mov	rsi, rbp
	call	ccw_device_start@PLT
	test	eax, eax
	je	.L6
	mov	edi, DWORD PTR 8[r12]
	mov	esi, eax
	call	ccw_check_return_code@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	claw_strt_out_IO, .-claw_strt_out_IO
	.comm	trace,4,4
	.comm	jiffies,4,4
	.comm	WRITE,8,8
	.comm	CLAW_STOP,8,8
	.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_claw.c_claw_strt_out_IO.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"strt_io\000"
	.align	2
.LC1:
	.ascii	"StWrtIO\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	claw_strt_out_IO, %function
claw_strt_out_IO:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	subs	r5, r0, #0
	sub	sp, sp, #12
	beq	.L1
	ldr	r3, .L14
	ldr	r6, [r5, #4]
	ldr	r3, [r3]
	ldr	r7, .L14+4
	ldr	r8, [r6, #4]
	add	r3, r3, r3, lsl #1
	ldr	r2, .L14+8
	mov	r0, #4
	ldr	r1, [r7]
	lsl	r9, r3, #2
	add	r4, r8, r3, lsl #2
	bl	CLAW_DBF_TEXT
	ldr	r2, .L14+12
	ldr	r3, [r8, r9]
	ldr	r0, [r2]
	ldr	r6, [r6]
	cmp	r6, #0
	cmpne	r3, r0
	moveq	r0, #1
	movne	r0, #0
	beq	.L1
	add	r1, r4, #8
	bl	test_and_set_bit
	subs	r8, r0, #0
	beq	.L13
.L6:
	ldr	r3, .L14+16
	ldr	r3, [r3]
	str	r3, [r5]
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	ldr	r1, [r7]
	ldr	r2, .L14+20
	mov	r0, #2
	bl	CLAW_DBF_TEXT
	mov	r1, r6
	ldr	r0, [r4, #4]
	mov	r3, #255
	mov	r2, r4
	str	r8, [sp]
	bl	ccw_device_start
	subs	r1, r0, #0
	beq	.L6
	ldr	r0, [r4, #4]
	bl	ccw_check_return_code
	b	.L6
.L15:
	.align	2
.L14:
	.word	WRITE
	.word	trace
	.word	.LC0
	.word	CLAW_STOP
	.word	jiffies
	.word	.LC1
	.size	claw_strt_out_IO, .-claw_strt_out_IO
	.comm	trace,4,4
	.comm	jiffies,4,4
	.comm	WRITE,4,4
	.comm	CLAW_STOP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
