	.file	"extr_device.c_io_subchannel_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to create io subchannel attributes for subchannel 0.%x.%04x (rc=%d)\n"
	.text
	.p2align 4
	.type	io_subchannel_probe, @function
io_subchannel_probe:
.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, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR 4[rdi]
	call	cio_is_console@PLT
	test	rax, rax
	jne	.L14
	mov	rdi, rbp
	call	io_subchannel_init_fields@PLT
	mov	rdi, rbp
	call	cio_commit_config@PLT
	test	eax, eax
	je	.L15
.L5:
	mov	edi, DWORD PTR 0[rbp]
	call	spin_lock_irq@PLT
	mov	esi, DWORD PTR SCH_TODO_UNREG[rip]
	mov	rdi, rbp
	call	css_sched_sch_todo@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	spin_unlock_irq@PLT
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	lea	rdi, 16[rbp]
	lea	rsi, io_subchannel_attr_group[rip]
	call	sysfs_create_group@PLT
	test	eax, eax
	jne	.L5
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 4
	or	esi, DWORD PTR GFP_DMA[rip]
	call	kzalloc@PLT
	mov	DWORD PTR 12[rbp], eax
	test	eax, eax
	je	.L5
	mov	rdi, QWORD PTR 4[rbp]
	call	css_schedule_eval@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L14:
	lea	r12, 16[rbp]
	lea	rsi, io_subchannel_attr_group[rip]
	mov	rdi, r12
	call	sysfs_create_group@PLT
	test	eax, eax
	jne	.L16
.L3:
	xor	esi, esi
	mov	rdi, r12
	call	dev_set_uevent_suppress@PLT
	mov	esi, DWORD PTR KOBJ_ADD[rip]
	mov	rdi, r12
	call	kobject_uevent@PLT
	mov	rdi, rbp
	call	sch_get_cdev@PLT
	mov	rbp, rax
	mov	eax, DWORD PTR ccwdev_attr_groups[rip]
	mov	rdi, rbp
	mov	DWORD PTR 0[rbp], eax
	call	device_initialize@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, rbp
	mov	DWORD PTR 8[rax], 1
	call	ccw_device_register@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rax, QWORD PTR DEV_STATE_NOT_OPER[rip]
	je	.L4
	cmp	rax, QWORD PTR DEV_STATE_OFFLINE[rip]
	je	.L4
	cmp	rax, QWORD PTR DEV_STATE_BOXED[rip]
	je	.L4
	mov	rdi, rbp
	call	get_device@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	mov	ecx, DWORD PTR 4[rbp]
	mov	edx, DWORD PTR 8[rbp]
	mov	r8d, eax
	lea	rsi, .LC0[rip]
	xor	edi, edi
	call	CIO_MSG_EVENT@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	io_subchannel_probe, .-io_subchannel_probe
	.comm	io_subchannel_attr_group,4,4
	.comm	ccwdev_attr_groups,4,4
	.comm	SCH_TODO_UNREG,4,4
	.comm	KOBJ_ADD,4,4
	.comm	GFP_KERNEL,4,4
	.comm	GFP_DMA,4,4
	.comm	DEV_STATE_OFFLINE,8,8
	.comm	DEV_STATE_NOT_OPER,8,8
	.comm	DEV_STATE_BOXED,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_device.c_io_subchannel_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to create io subchannel attributes for subch"
	.ascii	"annel 0.%x.%04x (rc=%d)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	io_subchannel_probe, %function
io_subchannel_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	add	r5, r0, #4
	mov	r4, r0
	ldm	r5, {r0, r1}
	sub	sp, sp, #12
	bl	cio_is_console
	cmp	r0, #0
	bne	.L14
	mov	r0, r4
	bl	io_subchannel_init_fields
	mov	r0, r4
	bl	cio_commit_config
	cmp	r0, #0
	beq	.L15
.L5:
	ldr	r0, [r4]
	bl	spin_lock_irq
	ldr	r3, .L17
	mov	r0, r4
	ldr	r1, [r3]
	bl	css_sched_sch_todo
	ldr	r0, [r4]
	bl	spin_unlock_irq
.L4:
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L15:
	ldr	r1, .L17+4
	add	r0, r4, #16
	bl	sysfs_create_group
	cmp	r0, #0
	bne	.L5
	ldr	r2, .L17+8
	ldr	r3, .L17+12
	ldr	r1, [r2]
	ldr	r3, [r3]
	mov	r0, #4
	orr	r1, r1, r3
	bl	kzalloc
	cmp	r0, #0
	str	r0, [r4, #12]
	beq	.L5
	ldm	r5, {r0, r1}
	bl	css_schedule_eval
	b	.L4
.L14:
	add	r5, r4, #16
	mov	r0, r5
	ldr	r1, .L17+4
	bl	sysfs_create_group
	cmp	r0, #0
	bne	.L16
.L3:
	mov	r1, #0
	mov	r0, r5
	bl	dev_set_uevent_suppress
	ldr	r3, .L17+16
	mov	r0, r5
	ldr	r1, [r3]
	bl	kobject_uevent
	mov	r0, r4
	bl	sch_get_cdev
	ldr	r3, .L17+20
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [r0]
	bl	device_initialize
	mov	r2, #1
	ldr	r3, [r4, #4]
	mov	r0, r4
	str	r2, [r3, #4]
	bl	ccw_device_register
	ldr	r3, [r4, #4]
	ldr	r2, .L17+24
	ldr	r3, [r3]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L4
	ldr	r2, .L17+28
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L4
	ldr	r2, .L17+32
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L4
	mov	r0, r4
	bl	get_device
	b	.L4
.L16:
	str	r0, [sp]
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #8]
	ldr	r1, .L17+36
	mov	r0, #0
	bl	CIO_MSG_EVENT
	b	.L3
.L18:
	.align	2
.L17:
	.word	SCH_TODO_UNREG
	.word	io_subchannel_attr_group
	.word	GFP_KERNEL
	.word	GFP_DMA
	.word	KOBJ_ADD
	.word	ccwdev_attr_groups
	.word	DEV_STATE_NOT_OPER
	.word	DEV_STATE_OFFLINE
	.word	DEV_STATE_BOXED
	.word	.LC0
	.size	io_subchannel_probe, .-io_subchannel_probe
	.comm	io_subchannel_attr_group,4,4
	.comm	ccwdev_attr_groups,4,4
	.comm	SCH_TODO_UNREG,4,4
	.comm	KOBJ_ADD,4,4
	.comm	GFP_KERNEL,4,4
	.comm	GFP_DMA,4,4
	.comm	DEV_STATE_OFFLINE,4,4
	.comm	DEV_STATE_NOT_OPER,4,4
	.comm	DEV_STATE_BOXED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
