	.file	"extr_clockdomain.c__clkdm_add_sleepdep.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"clockdomain: hardware cannot set/clear sleep dependency affecting %s from %s\n"
	.align 8
.LC1:
	.string	"clockdomain: will prevent %s from sleeping if %s is active\n"
	.text
	.p2align 4
	.type	_clkdm_add_sleepdep, @function
_clkdm_add_sleepdep:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rdi, rdi
	je	.L11
	mov	r12, rsi
	test	rsi, rsi
	je	.L11
	mov	esi, DWORD PTR 4[rdi]
	mov	rbp, rdi
	mov	rdi, r12
	call	_clkdm_deps_lookup@PLT
	mov	rdi, rax
	mov	rbx, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L5
	mov	rax, QWORD PTR arch_clkdm[rip]
	test	rax, rax
	je	.L8
	cmp	QWORD PTR [rax], 0
	je	.L8
.L9:
	mov	eax, DWORD PTR [rbx]
	xor	r13d, r13d
	add	eax, 1
	mov	DWORD PTR [rbx], eax
	cmp	eax, 1
	jne	.L1
	mov	esi, DWORD PTR 0[rbp]
	mov	edx, DWORD PTR [r12]
	lea	rdi, .LC1[rip]
	call	pr_debug@PLT
	mov	rax, QWORD PTR arch_clkdm[rip]
	mov	rsi, r12
	mov	rdi, rbp
	mov	rax, QWORD PTR [rax]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, rbx
	call	PTR_ERR@PLT
	mov	r13d, eax
	mov	rax, QWORD PTR arch_clkdm[rip]
	test	rax, rax
	je	.L8
	cmp	QWORD PTR [rax], 0
	jne	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
.L7:
	test	r13d, r13d
	je	.L9
	mov	edx, DWORD PTR [r12]
	mov	esi, DWORD PTR 0[rbp]
	lea	rdi, .LC0[rip]
	call	pr_debug@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	_clkdm_add_sleepdep, .-_clkdm_add_sleepdep
	.comm	arch_clkdm,8,8
	.comm	EINVAL,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_clockdomain.c__clkdm_add_sleepdep.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"clockdomain: hardware cannot set/clear sleep depend"
	.ascii	"ency affecting %s from %s\012\000"
	.align	2
.LC1:
	.ascii	"clockdomain: will prevent %s from sleeping if %s is"
	.ascii	" active\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_clkdm_add_sleepdep, %function
_clkdm_add_sleepdep:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	cmpne	r0, #0
	push	{r4, r5, r6, r7, r8, lr}
	bne	.L2
	ldr	r3, .L24
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r5, r1
	mov	r6, r0
	ldr	r1, [r0, #4]
	mov	r0, r5
	bl	_clkdm_deps_lookup
	mov	r7, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L4
	ldr	r8, .L24+4
	ldr	r3, [r8]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L7
.L8:
	ldr	r3, [r7]
	add	r3, r3, #1
	cmp	r3, #1
	movne	r4, #0
	str	r3, [r7]
	bne	.L1
	ldr	r1, [r6]
	ldr	r2, [r5]
	ldr	r0, .L24+8
	bl	pr_debug
	ldr	r3, [r8]
	mov	r1, r5
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r3]
	bx	r3
.L4:
	mov	r0, r7
	bl	PTR_ERR
	ldr	r8, .L24+4
	mov	r4, r0
	ldr	r3, [r8]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L6
.L7:
	ldr	r3, .L24
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L6:
	cmp	r4, #0
	beq	.L8
	ldr	r2, [r5]
	ldr	r1, [r6]
	ldr	r0, .L24+12
	bl	pr_debug
	b	.L1
.L25:
	.align	2
.L24:
	.word	EINVAL
	.word	arch_clkdm
	.word	.LC1
	.word	.LC0
	.size	_clkdm_add_sleepdep, .-_clkdm_add_sleepdep
	.comm	arch_clkdm,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
