	.file	"extr_mmtimer.c_mmtimer_setup_int_1.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mmtimer_setup_int_1, @function
mmtimer_setup_int_1:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edi
	mov	edi, DWORD PTR SH_RTC2_INT_ENABLE[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	LOCAL_MMR_ADDR@PLT
	xor	esi, esi
	mov	rdi, rax
	call	HUB_S@PLT
	mov	edi, DWORD PTR SH_INT_CMPC[rip]
	call	LOCAL_MMR_ADDR@PLT
	mov	rsi, -1
	mov	rdi, rax
	call	HUB_S@PLT
	mov	edi, 1
	call	mmtimer_clr_int_pending@PLT
	mov	rcx, QWORD PTR SH_RTC2_INT_CONFIG_IDX_SHFT[rip]
	mov	rbp, QWORD PTR SGI_MMTIMER_VECTOR[rip]
	mov	edi, r13d
	sal	rbp, cl
	call	cpu_physical_id@PLT
	mov	rcx, QWORD PTR SH_RTC2_INT_CONFIG_PID_SHFT[rip]
	mov	edi, DWORD PTR SH_RTC2_INT_CONFIG[rip]
	sal	rax, cl
	or	rbp, rax
	call	LOCAL_MMR_ADDR@PLT
	mov	rsi, rbp
	mov	rdi, rax
	call	HUB_S@PLT
	mov	edi, DWORD PTR SH_RTC2_INT_ENABLE[rip]
	call	LOCAL_MMR_ADDR@PLT
	mov	esi, 1
	mov	rdi, rax
	call	HUB_S@PLT
	mov	edi, DWORD PTR SH_INT_CMPC[rip]
	call	LOCAL_MMR_ADDR@PLT
	pop	rbp
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	pop	r12
	.cfi_def_cfa_offset 16
	mov	rdi, rax
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	HUB_S@PLT
	.cfi_endproc
.LFE0:
	.size	mmtimer_setup_int_1, .-mmtimer_setup_int_1
	.comm	SH_RTC2_INT_ENABLE,4,4
	.comm	SH_RTC2_INT_CONFIG_PID_SHFT,8,8
	.comm	SH_RTC2_INT_CONFIG_IDX_SHFT,8,8
	.comm	SH_RTC2_INT_CONFIG,4,4
	.comm	SH_INT_CMPC,4,4
	.comm	SGI_MMTIMER_VECTOR,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_mmtimer.c_mmtimer_setup_int_1.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mmtimer_setup_int_1, %function
mmtimer_setup_int_1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	ldr	r8, .L4
	ldr	r7, .L4+4
	ldr	r0, [r8]
	mov	r5, r1
	bl	LOCAL_MMR_ADDR
	mov	r1, #0
	bl	HUB_S
	ldr	r0, [r7]
	bl	LOCAL_MMR_ADDR
	mvn	r1, #0
	bl	HUB_S
	mov	r0, #1
	bl	mmtimer_clr_int_pending
	ldr	r2, .L4+8
	ldr	r3, .L4+12
	ldr	r4, [r2]
	ldr	r1, [r3]
	mov	r0, r6
	lsl	r4, r4, r1
	bl	cpu_physical_id
	mov	r3, r0
	ldr	r1, .L4+16
	ldr	r2, .L4+20
	ldr	r1, [r1]
	ldr	r0, [r2]
	orr	r4, r4, r3, lsl r1
	bl	LOCAL_MMR_ADDR
	mov	r1, r4
	bl	HUB_S
	ldr	r0, [r8]
	bl	LOCAL_MMR_ADDR
	mov	r1, #1
	bl	HUB_S
	ldr	r0, [r7]
	bl	LOCAL_MMR_ADDR
	mov	r1, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	HUB_S
.L5:
	.align	2
.L4:
	.word	SH_RTC2_INT_ENABLE
	.word	SH_INT_CMPC
	.word	SGI_MMTIMER_VECTOR
	.word	SH_RTC2_INT_CONFIG_IDX_SHFT
	.word	SH_RTC2_INT_CONFIG_PID_SHFT
	.word	SH_RTC2_INT_CONFIG
	.size	mmtimer_setup_int_1, .-mmtimer_setup_int_1
	.comm	SH_RTC2_INT_ENABLE,4,4
	.comm	SH_RTC2_INT_CONFIG_PID_SHFT,4,4
	.comm	SH_RTC2_INT_CONFIG_IDX_SHFT,4,4
	.comm	SH_RTC2_INT_CONFIG,4,4
	.comm	SH_INT_CMPC,4,4
	.comm	SGI_MMTIMER_VECTOR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
