	.file	"extr_proc.c_set_cidmode.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"scheduling PROC_CIDMODE"
	.text
	.p2align 4
	.type	set_cidmode, @function
set_cidmode:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	dev_get_drvdata@PLT
	mov	rdi, r12
	mov	rsi, rsp
	xor	edx, edx
	mov	r13, rax
	call	simple_strtol@PLT
	mov	rbx, QWORD PTR [rsp]
	mov	r12, rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	add	rbx, 1
	mov	QWORD PTR [rsp], rbx
	movsx	edi, BYTE PTR -1[rbx]
	call	isspace@PLT
	test	eax, eax
	je	.L11
.L2:
	cmp	BYTE PTR [rbx], 0
	jne	.L4
	cmp	r12, 1
	jbe	.L5
.L11:
	mov	rax, QWORD PTR EINVAL[rip]
	neg	rax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L13
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	r14, 4[r13]
	mov	rdi, r14
	call	mutex_lock_interruptible@PLT
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR ERESTARTSYS[rip]
	neg	rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	DWORD PTR 0[r13], 1
	xor	r9d, r9d
	xor	ecx, ecx
	mov	r8, r12
	mov	edx, DWORD PTR EV_PROC_CIDMODE[rip]
	lea	rsi, 12[r13]
	mov	rdi, r13
	call	gigaset_add_event@PLT
	test	eax, eax
	je	.L14
	mov	edi, DWORD PTR DEBUG_CMD[rip]
	lea	rsi, .LC0[rip]
	call	gig_dbg@PLT
	mov	rdi, r13
	call	gigaset_schedule_event@PLT
	mov	eax, DWORD PTR 0[r13]
	mov	edi, DWORD PTR 8[r13]
	xor	esi, esi
	test	eax, eax
	sete	sil
	call	wait_event@PLT
	mov	rdi, r14
	call	mutex_unlock@PLT
	mov	rax, rbp
	jmp	.L1
.L14:
	mov	DWORD PTR 0[r13], 0
	mov	rdi, r14
	call	mutex_unlock@PLT
	mov	rax, QWORD PTR ENOMEM[rip]
	neg	rax
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	set_cidmode, .-set_cidmode
	.comm	EV_PROC_CIDMODE,4,4
	.comm	ERESTARTSYS,8,8
	.comm	ENOMEM,8,8
	.comm	EINVAL,8,8
	.comm	DEBUG_CMD,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_proc.c_set_cidmode.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"scheduling PROC_CIDMODE\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_cidmode, %function
set_cidmode:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r3
	ldr	r3, .L15
	sub	sp, sp, #20
	mov	r4, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	dev_get_drvdata
	mov	r2, #0
	mov	r7, r0
	add	r1, sp, #8
	mov	r0, r4
	bl	simple_strtol
	ldr	r4, [sp, #8]
	mov	r6, r0
	b	.L2
.L4:
	str	r4, [sp, #8]
	ldrb	r0, [r4, #-1]	@ zero_extendqisi2
	bl	isspace
	cmp	r0, #0
	beq	.L11
.L2:
	ldrb	r2, [r4], #1	@ zero_extendqisi2
	cmp	r2, #0
	bne	.L4
	cmp	r6, #1
	bls	.L5
.L11:
	ldr	r3, .L15+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	add	r4, r7, #4
	mov	r0, r4
	bl	mutex_lock_interruptible
	subs	r3, r0, #0
	ldrne	r3, .L15+8
	ldrne	r0, [r3]
	rsbne	r0, r0, #0
	bne	.L1
.L6:
	mov	r0, #1
	mov	r1, r7
	ldr	r2, .L15+12
	str	r0, [r1], #12
	str	r3, [sp, #4]
	str	r6, [sp]
	mov	r0, r7
	ldr	r2, [r2]
	bl	gigaset_add_event
	cmp	r0, #0
	beq	.L14
	ldr	r3, .L15+16
	ldr	r1, .L15+20
	ldr	r0, [r3]
	bl	gig_dbg
	mov	r0, r7
	bl	gigaset_schedule_event
	ldr	r1, [r7]
	ldr	r0, [r7, #8]
	clz	r1, r1
	lsr	r1, r1, #5
	bl	wait_event
	mov	r0, r4
	bl	mutex_unlock
	mov	r0, r5
	b	.L1
.L14:
	str	r0, [r7]
	mov	r0, r4
	bl	mutex_unlock
	ldr	r3, .L15+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L13:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC1
	.word	EINVAL
	.word	ERESTARTSYS
	.word	EV_PROC_CIDMODE
	.word	DEBUG_CMD
	.word	.LC0
	.word	ENOMEM
	.size	set_cidmode, .-set_cidmode
	.comm	EV_PROC_CIDMODE,4,4
	.comm	ERESTARTSYS,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	DEBUG_CMD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
