	.file	"extr_device_status.c_ccw_device_msg_control_check.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Channel-Check or Interface-Control-Check received ... device %04x on subchannel 0.%x.%04x, dev_stat : %02X sch_stat : %02X\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"chk%x"
	.text
	.p2align 4
	.type	ccw_device_msg_control_check, @function
ccw_device_msg_control_check:
.LFB0:
	.cfi_startproc
	endbr64
	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	rdi, rsi
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	scsw_is_valid_cstat@PLT
	test	eax, eax
	jne	.L11
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	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
.L11:
	.cfi_restore_state
	mov	rdi, rbp
	call	scsw_cstat@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR SCHN_STAT_CHN_DATA_CHK[rip]
	or	eax, DWORD PTR SCHN_STAT_CHN_CTRL_CHK[rip]
	or	eax, DWORD PTR SCHN_STAT_INTF_CTRL_CHK[rip]
	test	eax, r8d
	je	.L1
	mov	rdi, rbp
	call	scsw_cstat@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	scsw_dstat@PLT
	mov	rdx, QWORD PTR [rbx]
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	xor	edi, edi
	mov	r9d, eax
	lea	rsi, .LC0[rip]
	mov	ecx, DWORD PTR 4[rdx]
	mov	r10d, DWORD PTR 8[rdx]
	push	r12
	.cfi_def_cfa_offset 80
	mov	r8d, DWORD PTR [rdx]
	mov	edx, r10d
	call	CIO_MSG_EVENT@PLT
	mov	rax, QWORD PTR [rbx]
	lea	r12, 25[rsp]
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	mov	edx, DWORD PTR [rax]
	call	sprintf@PLT
	mov	rsi, r12
	xor	edi, edi
	call	CIO_TRACE_EVENT@PLT
	mov	edx, 4
	mov	rsi, rbp
	xor	edi, edi
	call	CIO_HEX_EVENT@PLT
	pop	rax
	.cfi_def_cfa_offset 72
	pop	rdx
	.cfi_def_cfa_offset 64
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ccw_device_msg_control_check, .-ccw_device_msg_control_check
	.comm	SCHN_STAT_INTF_CTRL_CHK,4,4
	.comm	SCHN_STAT_CHN_DATA_CHK,4,4
	.comm	SCHN_STAT_CHN_CTRL_CHK,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_device_status.c_ccw_device_msg_control_check.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Channel-Check or Interface-Control-Check received ."
	.ascii	".. device %04x on subchannel 0.%x.%04x, dev_stat : "
	.ascii	"%02X sch_stat : %02X\012\000"
	.align	2
.LC1:
	.ascii	"chk%x\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ccw_device_msg_control_check, %function
ccw_device_msg_control_check:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L13
	sub	sp, sp, #44
	mov	r5, r0
	mov	r0, r1
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	scsw_is_valid_cstat
	cmp	r0, #0
	bne	.L11
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	mov	r0, r4
	bl	scsw_cstat
	ldr	r3, .L13+4
	ldr	r1, .L13+8
	ldr	r2, .L13+12
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	r2, [r2]
	orr	r3, r3, r1
	orr	r3, r3, r2
	tst	r3, r0
	beq	.L1
	ldr	r1, [r5]
	mov	r0, r4
	ldr	r7, [r1, #8]
	ldr	r8, [r1, #4]
	ldr	r9, [r1]
	bl	scsw_dstat
	mov	r6, r0
	mov	r0, r4
	bl	scsw_cstat
	mov	r3, r8
	mov	r2, r7
	str	r0, [sp, #8]
	ldr	r1, .L13+16
	str	r9, [sp]
	str	r6, [sp, #4]
	mov	r0, #0
	bl	CIO_MSG_EVENT
	ldr	r3, [r5]
	ldr	r1, .L13+20
	ldr	r2, [r3]
	add	r0, sp, #20
	bl	sprintf
	add	r1, sp, #20
	mov	r0, #0
	bl	CIO_TRACE_EVENT
	mov	r1, r4
	mov	r2, #4
	mov	r0, #0
	bl	CIO_HEX_EVENT
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	SCHN_STAT_CHN_DATA_CHK
	.word	SCHN_STAT_CHN_CTRL_CHK
	.word	SCHN_STAT_INTF_CTRL_CHK
	.word	.LC0
	.word	.LC1
	.size	ccw_device_msg_control_check, .-ccw_device_msg_control_check
	.comm	SCHN_STAT_INTF_CTRL_CHK,4,4
	.comm	SCHN_STAT_CHN_DATA_CHK,4,4
	.comm	SCHN_STAT_CHN_CTRL_CHK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
