	.file	"extr_mcpwm.c_mcpwm_isr_register.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mcpwm_isr_register
	.type	mcpwm_isr_register, @function
mcpwm_isr_register:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	mov	edx, DWORD PTR ESP_ERR_INVALID_ARG[rip]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	mov	esi, DWORD PTR MCPWM_UNIT_NUM_ERROR[rip]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, ecx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	xor	edi, edi
	cmp	QWORD PTR MCPWM_UNIT_MAX[rip], rbx
	setg	dil
	call	MCPWM_CHECK@PLT
	mov	edx, DWORD PTR ESP_ERR_INVALID_ARG[rip]
	mov	esi, DWORD PTR MCPWM_PARAM_ADDR_ERROR[rip]
	xor	edi, edi
	test	r12, r12
	setne	dil
	call	MCPWM_CHECK@PLT
	mov	r8, r14
	mov	rcx, r13
	mov	rdx, r12
	add	rbx, QWORD PTR ETS_PWM0_INTR_SOURCE[rip]
	mov	esi, ebp
	mov	rdi, rbx
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	esp_intr_alloc@PLT
	.cfi_endproc
.LFE0:
	.size	mcpwm_isr_register, .-mcpwm_isr_register
	.comm	MCPWM_UNIT_NUM_ERROR,4,4
	.comm	MCPWM_UNIT_MAX,8,8
	.comm	MCPWM_PARAM_ADDR_ERROR,4,4
	.comm	ETS_PWM0_INTR_SOURCE,8,8
	.comm	ESP_ERR_INVALID_ARG,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_mcpwm.c_mcpwm_isr_register.c"
	.text
	.align	2
	.global	mcpwm_isr_register
	.syntax unified
	.arm
	.fpu softvfp
	.type	mcpwm_isr_register, %function
mcpwm_isr_register:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	mov	r5, r1
	mov	r7, r2
	mov	r6, r3
	ldr	r3, .L4
	ldr	r8, .L4+4
	ldr	r0, [r3]
	ldr	r3, .L4+8
	cmp	r0, r4
	ldr	r2, [r8]
	ldr	r1, [r3]
	movle	r0, #0
	movgt	r0, #1
	ldr	r9, [sp, #32]
	bl	MCPWM_CHECK
	ldr	r3, .L4+12
	subs	r0, r5, #0
	ldr	r2, [r8]
	ldr	r1, [r3]
	movne	r0, #1
	bl	MCPWM_CHECK
	ldr	r2, .L4+16
	mov	r3, r7
	ldr	r0, [r2]
	mov	r1, r6
	mov	r2, r5
	str	r9, [sp, #32]
	add	r0, r4, r0
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	esp_intr_alloc
.L5:
	.align	2
.L4:
	.word	MCPWM_UNIT_MAX
	.word	ESP_ERR_INVALID_ARG
	.word	MCPWM_UNIT_NUM_ERROR
	.word	MCPWM_PARAM_ADDR_ERROR
	.word	ETS_PWM0_INTR_SOURCE
	.size	mcpwm_isr_register, .-mcpwm_isr_register
	.comm	MCPWM_UNIT_NUM_ERROR,4,4
	.comm	MCPWM_UNIT_MAX,4,4
	.comm	MCPWM_PARAM_ADDR_ERROR,4,4
	.comm	ETS_PWM0_INTR_SOURCE,4,4
	.comm	ESP_ERR_INVALID_ARG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
