	.file	"extr_isst-core.c_isst_get_tdp_info.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"cpu:%d ctdp:%d CONFIG_TDP_GET_TDP_INFO resp:%x tdp_ratio:%d pkg_tdp:%d\n"
	.text
	.p2align 4
	.globl	isst_get_tdp_info
	.type	isst_get_tdp_info, @function
isst_get_tdp_info:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r8d, esi
	mov	r13d, esi
	xor	ecx, ecx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR CONFIG_TDP_GET_TDP_INFO[rip]
	mov	esi, DWORD PTR CONFIG_TDP[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	r9, 4[rsp]
	call	isst_send_mbox_command@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	xor	esi, esi
	mov	edi, 14
	call	GENMASK@PLT
	and	eax, DWORD PTR 4[rsp]
	mov	esi, 16
	mov	edi, 23
	mov	DWORD PTR [rbx], eax
	call	GENMASK@PLT
	mov	ecx, DWORD PTR 4[rsp]
	mov	r9d, DWORD PTR [rbx]
	mov	edx, r13d
	mov	esi, ebp
	lea	rdi, .LC0[rip]
	and	eax, ecx
	mov	r8d, eax
	shr	r8d, 16
	mov	DWORD PTR 4[rbx], r8d
	call	debug_printf@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L6
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	isst_get_tdp_info, .-isst_get_tdp_info
	.comm	CONFIG_TDP_GET_TDP_INFO,4,4
	.comm	CONFIG_TDP,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_isst-core.c_isst_get_tdp_info.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cpu:%d ctdp:%d CONFIG_TDP_GET_TDP_INFO resp:%x tdp_"
	.ascii	"ratio:%d pkg_tdp:%d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	isst_get_tdp_info
	.syntax unified
	.arm
	.fpu softvfp
	.type	isst_get_tdp_info, %function
isst_get_tdp_info:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r1
	sub	sp, sp, #20
	mov	r6, r2
	ldr	r1, .L7
	ldr	r2, .L7+4
	str	r5, [sp]
	ldr	ip, .L7+8
	add	r3, sp, #8
	ldr	r2, [r2]
	ldr	r1, [r1]
	str	r3, [sp, #4]
	mov	r3, #0
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	mov	r7, r0
	bl	isst_send_mbox_command
	subs	r4, r0, #0
	bne	.L1
	mov	r1, r4
	mov	r0, #14
	bl	GENMASK
	ldr	r3, [sp, #8]
	mov	r1, #16
	and	r3, r3, r0
	str	r3, [r6]
	mov	r0, #23
	bl	GENMASK
	ldr	r3, [sp, #8]
	ldr	lr, [r6]
	and	ip, r0, r3
	lsr	ip, ip, #16
	str	ip, [r6, #4]
	mov	r2, r5
	mov	r1, r7
	stm	sp, {ip, lr}
	ldr	r0, .L7+12
	bl	debug_printf
.L1:
	ldr	r3, .L7+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	CONFIG_TDP
	.word	CONFIG_TDP_GET_TDP_INFO
	.word	.LC1
	.word	.LC0
	.size	isst_get_tdp_info, .-isst_get_tdp_info
	.comm	CONFIG_TDP_GET_TDP_INFO,4,4
	.comm	CONFIG_TDP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
