	.file	"1107222.c"
	.intel_syntax noprefix
	.text
	.globl	CCW_BUS_ID_SIZE
	.bss
	.align 4
	.type	CCW_BUS_ID_SIZE, @object
	.size	CCW_BUS_ID_SIZE, 4
CCW_BUS_ID_SIZE:
	.zero	4
	.globl	EINVAL
	.align 4
	.type	EINVAL, @object
	.size	EINVAL, 4
EINVAL:
	.zero	4
	.globl	ENOMEM
	.align 4
	.type	ENOMEM, @object
	.size	ENOMEM, 4
ENOMEM:
	.zero	4
	.globl	GFP_KERNEL
	.align 4
	.type	GFP_KERNEL, @object
	.size	GFP_KERNEL, 4
GFP_KERNEL:
	.zero	4
	.globl	ccwgroup_bus_type
	.align 4
	.type	ccwgroup_bus_type, @object
	.size	ccwgroup_bus_type, 4
ccwgroup_bus_type:
	.zero	4
	.globl	ccwgroup_release
	.align 4
	.type	ccwgroup_release, @object
	.size	ccwgroup_release, 4
ccwgroup_release:
	.zero	4
	.globl	dev_attr_ungroup
	.align 4
	.type	dev_attr_ungroup, @object
	.size	dev_attr_ungroup, 4
dev_attr_ungroup:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%s"
	.text
	.globl	ccwgroup_create_from_string
	.type	ccwgroup_create_from_string, @function
ccwgroup_create_from_string:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r12
	push	rbx
	sub	rsp, 80
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	mov	QWORD PTR -88[rbp], rdi
	mov	DWORD PTR -92[rbp], esi
	mov	QWORD PTR -104[rbp], rdx
	mov	DWORD PTR -96[rbp], ecx
	mov	QWORD PTR -112[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	r12, rax
	mov	eax, DWORD PTR CCW_BUS_ID_SIZE[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -64[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L2:
	cmp	rsp, rdx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L4
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L4:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR GFP_KERNEL[rip]
	mov	edx, DWORD PTR -96[rbp]
	movsx	rdx, edx
	add	rdx, 7
	sal	edx, 3
	mov	esi, eax
	mov	edi, edx
	call	kzalloc@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L5
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	jmp	.L6
.L5:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 48
	mov	esi, 0
	mov	rdi, rax
	call	atomic_set@PLT
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 32
	mov	rdi, rax
	call	mutex_init@PLT
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 32
	mov	rdi, rax
	call	mutex_lock@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -92[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -96[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, ccwgroup_bus_type[rip]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	edx, DWORD PTR ccwgroup_release[rip]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rdi, rax
	call	device_initialize@PLT
	mov	rax, QWORD PTR -112[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	DWORD PTR -80[rbp], 0
	jmp	.L7
.L15:
	mov	rdx, QWORD PTR -56[rbp]
	lea	rax, -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	__get_next_bus_id@PLT
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], 0
	jne	.L27
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	__is_valid_bus_id@PLT
	test	eax, eax
	jne	.L10
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	mov	DWORD PTR -76[rbp], eax
	jmp	.L9
.L10:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 3
	lea	rbx, [rdx+rax]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	get_ccwdev_by_busid@PLT
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L11
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 32[rax]
	cmp	rdx, rax
	je	.L12
.L11:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	mov	DWORD PTR -76[rbp], eax
	jmp	.L9
.L12:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 24[rax]
	mov	edi, eax
	call	spin_lock_irq@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	dev_get_drvdata@PLT
	test	rax, rax
	je	.L13
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 24[rax]
	mov	edi, eax
	call	spin_unlock_irq@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	mov	DWORD PTR -76[rbp], eax
	jmp	.L9
.L13:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	dev_set_drvdata@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 24[rax]
	mov	edi, eax
	call	spin_unlock_irq@PLT
	add	DWORD PTR -80[rbp], 1
.L7:
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -96[rbp]
	jge	.L14
	mov	rax, QWORD PTR -72[rbp]
	test	rax, rax
	jne	.L15
.L14:
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -96[rbp]
	jge	.L16
	mov	rax, QWORD PTR -72[rbp]
	test	rax, rax
	jne	.L16
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	mov	DWORD PTR -76[rbp], eax
	jmp	.L9
.L16:
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -96[rbp]
	jne	.L17
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	strlen@PLT
	test	rax, rax
	jle	.L17
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	mov	DWORD PTR -76[rbp], eax
	jmp	.L9
.L17:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	dev_name@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	dev_set_name@PLT
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rdi, rax
	call	device_add@PLT
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], 0
	jne	.L28
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rdi, rax
	call	get_device@PLT
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	lea	rsi, dev_attr_ungroup[rip]
	mov	rdi, rax
	call	device_create_file@PLT
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], 0
	je	.L19
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rdi, rax
	call	device_unregister@PLT
	jmp	.L9
.L19:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	__ccwgroup_create_symlinks@PLT
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], 0
	jne	.L20
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 32
	mov	rdi, rax
	call	mutex_unlock@PLT
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rdi, rax
	call	put_device@PLT
	mov	eax, 0
	jmp	.L6
.L20:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	lea	rsi, dev_attr_ungroup[rip]
	mov	rdi, rax
	call	device_remove_file@PLT
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rdi, rax
	call	device_unregister@PLT
	jmp	.L9
.L27:
	nop
	jmp	.L9
.L28:
	nop
.L9:
	mov	DWORD PTR -80[rbp], 0
	jmp	.L21
.L24:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L22
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 24[rax]
	mov	edi, eax
	call	spin_lock_irq@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	dev_get_drvdata@PLT
	cmp	QWORD PTR -48[rbp], rax
	jne	.L23
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	call	dev_set_drvdata@PLT
.L23:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 24[rax]
	mov	edi, eax
	call	spin_unlock_irq@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	put_device@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR [rax], 0
.L22:
	add	DWORD PTR -80[rbp], 1
.L21:
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -96[rbp]
	jl	.L24
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 32
	mov	rdi, rax
	call	mutex_unlock@PLT
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rdi, rax
	call	put_device@PLT
	mov	eax, DWORD PTR -76[rbp]
.L6:
	mov	rsp, r12
	mov	rbx, QWORD PTR -40[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	ccwgroup_create_from_string, .-ccwgroup_create_from_string
	.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	"1107222.c"
	.text
	.comm	CCW_BUS_ID_SIZE,4,4
	.comm	EINVAL,4,4
	.comm	ENOMEM,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ccwgroup_bus_type,4,4
	.comm	ccwgroup_release,4,4
	.comm	dev_attr_ungroup,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ccwgroup_create_from_string
	.syntax unified
	.arm
	.fpu softvfp
	.type	ccwgroup_create_from_string, %function
ccwgroup_create_from_string:
	@ args = 4, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-64]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r5, r3
	ldr	r3, .L26+4
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-28]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-60]
	add	r3, r3, #8
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, .L26+8
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	kzalloc
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L26+12
	ldr	r3, [r3]
	rsb	r3, r3, #0
	b	.L3
.L2:
	ldr	r3, [fp, #-20]
	add	r3, r3, #28
	mov	r1, #0
	mov	r0, r3
	bl	atomic_set
	ldr	r3, [fp, #-20]
	add	r3, r3, #20
	mov	r0, r3
	bl	mutex_init
	ldr	r3, [fp, #-20]
	add	r3, r3, #20
	mov	r0, r3
	bl	mutex_lock
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-52]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-60]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	ldr	r2, .L26+16
	str	r2, [r3, #16]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-48]
	str	r2, [r3, #12]
	ldr	r3, .L26+20
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	mov	r0, r3
	bl	device_initialize
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L4
.L12:
	sub	r3, fp, #40
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	__get_next_bus_id
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L24
	ldr	r0, [fp, #-24]
	bl	__is_valid_bus_id
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L26+24
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [fp, #-32]
	b	.L6
.L7:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r4, r2, r3
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-56]
	bl	get_ccwdev_by_busid
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #24]
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	cmp	r2, r3
	beq	.L9
.L8:
	ldr	r3, .L26+24
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [fp, #-32]
	b	.L6
.L9:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	spin_lock_irq
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	dev_get_drvdata
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	spin_unlock_irq
	ldr	r3, .L26+24
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [fp, #-32]
	b	.L6
.L10:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	dev_set_drvdata
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	spin_unlock_irq
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L4:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	bge	.L11
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L12
.L11:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	bge	.L13
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L26+24
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [fp, #-32]
	b	.L6
.L13:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	bne	.L14
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #0
	ble	.L14
	ldr	r3, .L26+24
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [fp, #-32]
	b	.L6
.L14:
	ldr	r3, [fp, #-20]
	add	r4, r3, #8
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #24]
	ldr	r3, [r3]
	mov	r0, r3
	bl	dev_name
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L26+28
	mov	r0, r4
	bl	dev_set_name
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	mov	r0, r3
	bl	device_add
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L25
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	mov	r0, r3
	bl	get_device
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r1, .L26+32
	mov	r0, r3
	bl	device_create_file
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	mov	r0, r3
	bl	device_unregister
	b	.L6
.L16:
	ldr	r0, [fp, #-20]
	bl	__ccwgroup_create_symlinks
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-20]
	add	r3, r3, #20
	mov	r0, r3
	bl	mutex_unlock
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	mov	r0, r3
	bl	put_device
	mov	r3, #0
	b	.L3
.L17:
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r1, .L26+32
	mov	r0, r3
	bl	device_remove_file
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	mov	r0, r3
	bl	device_unregister
	b	.L6
.L24:
	nop
	b	.L6
.L25:
	nop
.L6:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L18
.L21:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	spin_lock_irq
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	dev_get_drvdata
	mov	r2, r0
	ldr	r3, [fp, #-20]
	cmp	r3, r2
	bne	.L20
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	dev_set_drvdata
.L20:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	spin_unlock_irq
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	put_device
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
.L19:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L18:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L21
	ldr	r3, [fp, #-20]
	add	r3, r3, #20
	mov	r0, r3
	bl	mutex_unlock
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	mov	r0, r3
	bl	put_device
	ldr	r3, [fp, #-32]
.L3:
	mov	sp, r5
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC1
	.word	CCW_BUS_ID_SIZE
	.word	GFP_KERNEL
	.word	ENOMEM
	.word	ccwgroup_bus_type
	.word	ccwgroup_release
	.word	EINVAL
	.word	.LC0
	.word	dev_attr_ungroup
	.size	ccwgroup_create_from_string, .-ccwgroup_create_from_string
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
