	.file	"extr_powercap_sys.c_enabled_show.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
	.text
	.p2align 4
	.type	enabled_show, @function
enabled_show:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdx
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR [rdi], 0
	mov	DWORD PTR 4[rsp], 1
	je	.L2
	call	to_powercap_zone@PLT
	mov	rdi, rax
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L13
	lea	rsi, 4[rsp]
	call	rax
	test	rax, rax
	jne	.L5
.L13:
	mov	edx, DWORD PTR 4[rsp]
.L4:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	sprintf@PLT
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L17
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	to_powercap_control_type@PLT
	mov	rdi, rax
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L13
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L13
	lea	rsi, 4[rsp]
	call	rax
	test	rax, rax
	je	.L13
.L5:
	mov	DWORD PTR 4[rsp], 0
	xor	edx, edx
	jmp	.L4
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	enabled_show, .-enabled_show
	.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_powercap_sys.c_enabled_show.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	enabled_show, %function
enabled_show:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #1
	push	{r4, lr}
	ldr	r1, [r0]
	mov	r4, r2
	ldr	r2, .L18
	sub	sp, sp, #8
	cmp	r1, #0
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	str	r3, [sp]
	beq	.L2
	bl	to_powercap_zone
	ldr	r3, [r0]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L13
.L15:
	mov	r1, sp
	blx	r3
	cmp	r0, #0
	movne	r2, #0
	strne	r2, [sp]
	beq	.L13
.L4:
	mov	r0, r4
	ldr	r1, .L18+4
	bl	sprintf
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L2:
	bl	to_powercap_control_type
	ldr	r3, [r0]
	cmp	r3, #0
	bne	.L6
.L13:
	ldr	r2, [sp]
	b	.L4
.L6:
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L15
	b	.L13
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC1
	.word	.LC0
	.size	enabled_show, .-enabled_show
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
