	.file	"extr_sysfs.c_gpe_count.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	gpe_count, @function
gpe_count:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR all_counters[rip]
	add	DWORD PTR acpi_gpe_count[rip], 1
	test	rdx, rdx
	je	.L1
	mov	rax, QWORD PTR num_gpes[rip]
	cmp	rax, rdi
	jbe	.L3
	add	DWORD PTR [rdx+rdi*4], 1
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	add	rax, QWORD PTR ACPI_NUM_FIXED_EVENTS[rip]
	add	rax, QWORD PTR COUNT_ERROR[rip]
	add	DWORD PTR [rdx+rax*4], 1
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	gpe_count, .-gpe_count
	.comm	num_gpes,8,8
	.comm	all_counters,8,8
	.comm	acpi_gpe_count,4,4
	.comm	COUNT_ERROR,8,8
	.comm	ACPI_NUM_FIXED_EVENTS,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_sysfs.c_gpe_count.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gpe_count, %function
gpe_count:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r1, .L8
	ldr	r2, .L8+4
	ldr	r3, [r1]
	ldr	r2, [r2]
	add	r3, r3, #1
	cmp	r2, #0
	str	r3, [r1]
	bxeq	lr
	ldr	r3, .L8+8
	ldr	r3, [r3]
	cmp	r3, r0
	bls	.L3
	ldr	r3, [r2, r0, lsl #2]
	add	r3, r3, #1
	str	r3, [r2, r0, lsl #2]
	bx	lr
.L3:
	ldr	r0, .L8+12
	ldr	r1, .L8+16
	ldr	r0, [r0]
	ldr	r1, [r1]
	add	r3, r3, r0
	add	r3, r3, r1
	ldr	r1, [r2, r3, lsl #2]
	add	r1, r1, #1
	str	r1, [r2, r3, lsl #2]
	bx	lr
.L9:
	.align	2
.L8:
	.word	acpi_gpe_count
	.word	all_counters
	.word	num_gpes
	.word	ACPI_NUM_FIXED_EVENTS
	.word	COUNT_ERROR
	.size	gpe_count, .-gpe_count
	.comm	num_gpes,4,4
	.comm	all_counters,4,4
	.comm	acpi_gpe_count,4,4
	.comm	COUNT_ERROR,4,4
	.comm	ACPI_NUM_FIXED_EVENTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
