	.file	"extr_clk-bpmp.c_tegra_bpmp_clk_is_prepared.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tegra_bpmp_clk_is_prepared, @function
tegra_bpmp_clk_is_prepared:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 56
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	rbp, 16[rsp]
	call	to_tegra_bpmp_clk@PLT
	xor	esi, esi
	mov	edx, 24
	mov	rdi, rbp
	mov	rbx, rax
	call	memset@PLT
	mov	eax, DWORD PTR CMD_CLK_IS_ENABLED[rip]
	mov	edi, DWORD PTR [rbx]
	mov	rsi, rbp
	mov	DWORD PTR 16[rsp], 4
	mov	DWORD PTR 36[rsp], eax
	mov	eax, DWORD PTR 4[rbx]
	mov	DWORD PTR 32[rsp], eax
	lea	rax, 12[rsp]
	mov	QWORD PTR 24[rsp], rax
	call	tegra_bpmp_clk_transfer@PLT
	test	eax, eax
	cmovns	eax, DWORD PTR 12[rsp]
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L6
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tegra_bpmp_clk_is_prepared, .-tegra_bpmp_clk_is_prepared
	.comm	CMD_CLK_IS_ENABLED,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_clk-bpmp.c_tegra_bpmp_clk_is_prepared.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tegra_bpmp_clk_is_prepared, %function
tegra_bpmp_clk_is_prepared:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	str	lr, [sp, #-4]!
	ldr	r3, .L7
	sub	sp, sp, #28
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	to_tegra_bpmp_clk
	mov	r3, #0
	mov	r2, #4
	ldr	r1, .L7+4
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	str	r3, [sp, #12]
	ldr	ip, [r0, #4]
	ldr	r3, [r1]
	ldr	r0, [r0]
	add	r1, sp, r2
	stmib	sp, {r2, sp}
	str	r3, [sp, #16]
	str	ip, [sp, #12]
	bl	tegra_bpmp_clk_transfer
	ldr	r3, .L7
	cmp	r0, #0
	ldrge	r0, [sp]
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	add	sp, sp, #28
	@ sp needed
	ldr	pc, [sp], #4
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	CMD_CLK_IS_ENABLED
	.size	tegra_bpmp_clk_is_prepared, .-tegra_bpmp_clk_is_prepared
	.comm	CMD_CLK_IS_ENABLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
