	.file	"extr_clockdomain.c_clkdm_read_wkdep.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"clockdomain: hardware cannot set/clear wake up of %s when %s wakes up\n"
	.text
	.p2align 4
	.globl	clkdm_read_wkdep
	.type	clkdm_read_wkdep, @function
clkdm_read_wkdep:
.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
	test	rdi, rdi
	je	.L12
	mov	r12, rsi
	test	rsi, rsi
	je	.L12
	mov	esi, DWORD PTR 4[rdi]
	mov	rbp, rdi
	mov	rdi, r12
	call	_clkdm_deps_lookup@PLT
	mov	rdi, rax
	mov	r13, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L5
	mov	rax, QWORD PTR arch_clkdm[rip]
	test	rax, rax
	je	.L9
	mov	rdx, QWORD PTR [rax]
	test	rdx, rdx
	je	.L7
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	rdx
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
.L1:
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.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
.L9:
	.cfi_restore_state
	xor	eax, eax
.L7:
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
.L10:
	test	r13d, r13d
	jne	.L11
	mov	rsi, r12
	mov	rdi, rbp
	mov	rdx, QWORD PTR [rax]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	rdx
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edx, DWORD PTR [r12]
	mov	esi, DWORD PTR 0[rbp]
	lea	rdi, .LC0[rip]
	call	pr_debug@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, r13
	call	PTR_ERR@PLT
	mov	r13d, eax
	mov	rax, QWORD PTR arch_clkdm[rip]
	test	rax, rax
	je	.L9
	cmp	QWORD PTR [rax], 0
	jne	.L10
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	clkdm_read_wkdep, .-clkdm_read_wkdep
	.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_read_wkdep.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"clockdomain: hardware cannot set/clear wake up of %"
	.ascii	"s when %s wakes up\012\000"
	.text
	.align	2
	.global	clkdm_read_wkdep
	.syntax unified
	.arm
	.fpu softvfp
	.type	clkdm_read_wkdep, %function
clkdm_read_wkdep:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	cmpne	r0, #0
	push	{r4, r5, r6, lr}
	bne	.L2
	ldr	r3, .L19
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L2:
	mov	r5, r1
	mov	r6, r0
	ldr	r1, [r0, #4]
	mov	r0, r5
	bl	_clkdm_deps_lookup
	mov	r4, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L4
	ldr	r3, .L19+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L8
	ldr	r2, [r3]
	cmp	r2, #0
	beq	.L6
	mov	r1, r5
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	bx	r2
.L8:
	mov	r3, #0
.L6:
	ldr	r2, .L19
	ldr	r4, [r2]
	rsb	r4, r4, #0
.L9:
	cmp	r4, #0
	bne	.L10
	mov	r1, r5
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	ldr	r2, [r3]
	bx	r2
.L10:
	ldr	r2, [r5]
	ldr	r1, [r6]
	ldr	r0, .L19+8
	bl	pr_debug
	b	.L1
.L4:
	mov	r0, r4
	bl	PTR_ERR
	ldr	r3, .L19+4
	mov	r4, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L8
	ldr	r2, [r3]
	cmp	r2, #0
	bne	.L9
	b	.L6
.L20:
	.align	2
.L19:
	.word	EINVAL
	.word	arch_clkdm
	.word	.LC0
	.size	clkdm_read_wkdep, .-clkdm_read_wkdep
	.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
