	.file	"extr_perf_event.c_sh7750_pmu_enable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sh7750_pmu_enable, @function
sh7750_pmu_enable:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, esi
	call	PMCR@PLT
	mov	edi, ebp
	mov	r12d, eax
	call	PMCR@PLT
	mov	edi, eax
	call	__raw_readw@PLT
	or	eax, DWORD PTR PMCR_PMCLR[rip]
	mov	esi, r12d
	mov	edi, eax
	call	__raw_writew@PLT
	mov	edi, ebp
	call	PMCR@PLT
	mov	edi, DWORD PTR PMCR_PMEN[rip]
	or	edi, DWORD PTR PMCR_PMST[rip]
	mov	esi, eax
	or	edi, DWORD PTR [rbx]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	__raw_writew@PLT
	.cfi_endproc
.LFE0:
	.size	sh7750_pmu_enable, .-sh7750_pmu_enable
	.comm	PMCR_PMST,4,4
	.comm	PMCR_PMEN,4,4
	.comm	PMCR_PMCLR,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_perf_event.c_sh7750_pmu_enable.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sh7750_pmu_enable, %function
sh7750_pmu_enable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	mov	r0, r1
	mov	r5, r1
	bl	PMCR
	bl	__raw_readw
	mov	r4, r0
	ldr	r3, .L4
	mov	r0, r5
	ldr	r3, [r3]
	orr	r4, r4, r3
	bl	PMCR
	mov	r1, r0
	mov	r0, r4
	bl	__raw_writew
	ldr	r2, .L4+4
	ldr	r3, .L4+8
	ldr	r4, [r2]
	ldr	r2, [r3]
	ldr	r3, [r6]
	mov	r0, r5
	orr	r4, r4, r2
	orr	r4, r4, r3
	bl	PMCR
	mov	r1, r0
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	__raw_writew
.L5:
	.align	2
.L4:
	.word	PMCR_PMCLR
	.word	PMCR_PMEN
	.word	PMCR_PMST
	.size	sh7750_pmu_enable, .-sh7750_pmu_enable
	.comm	PMCR_PMST,4,4
	.comm	PMCR_PMEN,4,4
	.comm	PMCR_PMCLR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
