	.file	"extr_isst-config.c_set_tdp_level_for_cpu.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"set_tdp_level_for_cpu"
.LC1:
	.string	"set_tdp_level"
.LC2:
	.string	"perf-profile"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"Option is set to online/offline\n"
	.section	.rodata.str1.1
.LC4:
	.string	"online cpu %d\n"
.LC5:
	.string	"offline cpu %d\n"
	.text
	.p2align 4
	.type	set_tdp_level_for_cpu, @function
set_tdp_level_for_cpu:
.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
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR tdp_level[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	isst_set_tdp_level@PLT
	test	eax, eax
	je	.L2
	lea	rdi, .LC0[rip]
	call	perror@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 32
	.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
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR outf[rip]
	xor	r8d, r8d
	mov	edi, ebp
	mov	ebx, eax
	lea	rcx, .LC1[rip]
	lea	rdx, .LC2[rip]
	call	isst_display_result@PLT
	cmp	QWORD PTR force_online_offline[rip], 0
	je	.L1
	mov	edi, ebp
	mov	r14, rsp
	call	get_physical_package_id@PLT
	mov	edi, ebp
	mov	r12d, eax
	call	get_physical_die_id@PLT
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	r13d, eax
	xor	eax, eax
	call	fprintf@PLT
	mov	rdi, r14
	call	alloc_cpu_set@PLT
	mov	esi, DWORD PTR tdp_level[rip]
	mov	rdx, r14
	mov	edi, ebp
	mov	DWORD PTR 4[rsp], eax
	call	isst_get_coremask_info@PLT
	cmp	QWORD PTR 8[rsp], 0
	je	.L1
	xor	eax, eax
	call	get_topo_max_cpus@PLT
	mov	ebp, eax
	test	eax, eax
	jle	.L1
	lea	r14, .LC5[rip]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	add	ebx, 1
	cmp	ebp, ebx
	je	.L1
.L9:
	mov	edi, ebx
	call	get_physical_package_id@PLT
	cmp	eax, r12d
	jne	.L6
	mov	edi, ebx
	call	get_physical_die_id@PLT
	cmp	eax, r13d
	jne	.L6
	mov	edx, DWORD PTR [rsp]
	mov	esi, DWORD PTR 4[rsp]
	mov	edi, ebx
	call	CPU_ISSET_S@PLT
	mov	edx, ebx
	test	rax, rax
	je	.L8
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	xor	eax, eax
	call	fprintf@PLT
	mov	esi, 1
	mov	edi, ebx
	call	set_cpu_online_offline@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edi, DWORD PTR stderr[rip]
	mov	rsi, r14
	xor	eax, eax
	call	fprintf@PLT
	xor	esi, esi
	mov	edi, ebx
	call	set_cpu_online_offline@PLT
	jmp	.L6
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	set_tdp_level_for_cpu, .-set_tdp_level_for_cpu
	.comm	tdp_level,4,4
	.comm	stderr,4,4
	.comm	outf,4,4
	.comm	force_online_offline,8,8
	.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-config.c_set_tdp_level_for_cpu.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"set_tdp_level_for_cpu\000"
	.align	2
.LC1:
	.ascii	"set_tdp_level\000"
	.align	2
.LC2:
	.ascii	"perf-profile\000"
	.align	2
.LC3:
	.ascii	"Option is set to online/offline\012\000"
	.align	2
.LC4:
	.ascii	"online cpu %d\012\000"
	.align	2
.LC5:
	.ascii	"offline cpu %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_tdp_level_for_cpu, %function
set_tdp_level_for_cpu:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r6, .L21
	ldr	r3, .L21+4
	sub	sp, sp, #28
	ldr	r1, [r6]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r5, r0
	bl	isst_set_tdp_level
	subs	r4, r0, #0
	beq	.L2
	ldr	r0, .L21+8
	bl	perror
.L1:
	ldr	r3, .L21+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r3, .L21+12
	str	r4, [sp]
	ldr	r1, [r3]
	mov	r0, r5
	ldr	r3, .L21+16
	ldr	r2, .L21+20
	bl	isst_display_result
	ldr	r3, .L21+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L1
	mov	r0, r5
	bl	get_physical_package_id
	mov	r7, r0
	mov	r0, r5
	bl	get_physical_die_id
	ldr	r9, .L21+28
	ldr	r1, .L21+32
	mov	r8, r0
	ldr	r0, [r9]
	bl	fprintf
	add	r0, sp, #8
	bl	alloc_cpu_set
	mov	r3, r0
	ldr	r1, [r6]
	mov	r0, r5
	add	r2, sp, #8
	str	r3, [sp, #12]
	bl	isst_get_coremask_info
	ldr	r3, [sp, #16]
	cmp	r3, #0
	beq	.L1
	bl	get_topo_max_cpus
	subs	r5, r0, #0
	ble	.L1
	ldr	r10, .L21+36
	ldr	r6, .L21+40
	b	.L9
.L6:
	add	r4, r4, #1
	cmp	r5, r4
	beq	.L1
.L9:
	mov	r0, r4
	bl	get_physical_package_id
	cmp	r0, r7
	bne	.L6
	mov	r0, r4
	bl	get_physical_die_id
	cmp	r0, r8
	bne	.L6
	ldr	r2, [sp, #8]
	mov	r0, r4
	ldr	r1, [sp, #12]
	bl	CPU_ISSET_S
	subs	fp, r0, #0
	mov	r2, r4
	beq	.L8
	mov	r1, r6
	ldr	r0, [r9]
	bl	fprintf
	mov	r1, #1
	mov	r0, r4
	bl	set_cpu_online_offline
	b	.L6
.L8:
	mov	r1, r10
	ldr	r0, [r9]
	bl	fprintf
	mov	r1, fp
	mov	r0, r4
	bl	set_cpu_online_offline
	b	.L6
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	tdp_level
	.word	.LC6
	.word	.LC0
	.word	outf
	.word	.LC1
	.word	.LC2
	.word	force_online_offline
	.word	stderr
	.word	.LC3
	.word	.LC5
	.word	.LC4
	.size	set_tdp_level_for_cpu, .-set_tdp_level_for_cpu
	.comm	tdp_level,4,4
	.comm	stderr,4,4
	.comm	outf,4,4
	.comm	force_online_offline,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
