	.file	"extr_pmu.c_pmu_read_byte.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pmu_read_byte, @function
pmu_read_byte:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	call	pmu_in@PLT
	mov	esi, DWORD PTR vSR[rip]
	mov	rdi, rbp
	call	pmu_read_reg@PLT
	mov	rdi, rbp
	mov	QWORD PTR 8[rsp], rax
	call	pmu_ack_off@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, rbp
	call	pmu_intr_state@PLT
	test	rax, rax
	je	.L2
	mov	rdi, rbp
	call	pmu_ack_on@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, rbp
	call	pmu_intr_state@PLT
	test	rax, rax
	jne	.L3
	mov	esi, DWORD PTR vSR[rip]
	mov	rdi, rbp
	call	pmu_read_reg@PLT
	mov	QWORD PTR [rbx], rax
	add	rsp, 24
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	pmu_read_byte, .-pmu_read_byte
	.comm	vSR,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_pmu.c_pmu_read_byte.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pmu_read_byte, %function
pmu_read_byte:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r0
	ldr	r7, .L9
	sub	sp, sp, #12
	mov	r6, r1
	bl	pmu_in
	mov	r0, r5
	ldr	r1, [r7]
	bl	pmu_read_reg
	mov	r3, r0
	mov	r0, r5
	str	r3, [sp, #4]
	bl	pmu_ack_off
.L2:
	mov	r0, r5
	bl	pmu_intr_state
	cmp	r0, #0
	beq	.L2
	mov	r0, r5
	bl	pmu_ack_on
.L3:
	mov	r0, r5
	bl	pmu_intr_state
	subs	r4, r0, #0
	bne	.L3
	mov	r0, r5
	ldr	r1, [r7]
	bl	pmu_read_reg
	mov	r3, r0
	mov	r0, r4
	str	r3, [r6]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	.align	2
.L9:
	.word	vSR
	.size	pmu_read_byte, .-pmu_read_byte
	.comm	vSR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
