	.file	"extr_stm32f4xx_tim.c_TIM_ETRClockMode1Config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	TIM_ETRClockMode1Config
	.type	TIM_ETRClockMode1Config, @function
TIM_ETRClockMode1Config:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	IS_TIM_LIST3_PERIPH@PLT
	mov	edi, eax
	call	assert_param@PLT
	mov	edi, ebp
	call	IS_TIM_EXT_PRESCALER@PLT
	mov	edi, eax
	call	assert_param@PLT
	mov	edi, r12d
	call	IS_TIM_EXT_POLARITY@PLT
	mov	edi, eax
	call	assert_param@PLT
	mov	edi, r13d
	call	IS_TIM_EXT_FILTER@PLT
	mov	edi, eax
	call	assert_param@PLT
	mov	edx, r12d
	mov	ecx, r13d
	mov	esi, ebp
	mov	rdi, rbx
	call	TIM_ETRConfig@PLT
	mov	eax, DWORD PTR TIM_SMCR_SMS[rip]
	not	eax
	and	eax, DWORD PTR [rbx]
	or	eax, DWORD PTR TIM_SlaveMode_External1[rip]
	mov	edx, eax
	mov	eax, DWORD PTR TIM_SMCR_TS[rip]
	not	eax
	and	eax, edx
	or	eax, DWORD PTR TIM_TS_ETRF[rip]
	mov	DWORD PTR [rbx], eax
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	TIM_ETRClockMode1Config, .-TIM_ETRClockMode1Config
	.comm	TIM_TS_ETRF,4,4
	.comm	TIM_SlaveMode_External1,4,4
	.comm	TIM_SMCR_TS,8,8
	.comm	TIM_SMCR_SMS,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_stm32f4xx_tim.c_TIM_ETRClockMode1Config.c"
	.text
	.align	2
	.global	TIM_ETRClockMode1Config
	.syntax unified
	.arm
	.fpu softvfp
	.type	TIM_ETRClockMode1Config, %function
TIM_ETRClockMode1Config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r6, r2
	mov	r7, r3
	mov	r4, r0
	bl	IS_TIM_LIST3_PERIPH
	bl	assert_param
	mov	r0, r5
	bl	IS_TIM_EXT_PRESCALER
	bl	assert_param
	mov	r0, r6
	bl	IS_TIM_EXT_POLARITY
	bl	assert_param
	mov	r0, r7
	bl	IS_TIM_EXT_FILTER
	bl	assert_param
	mov	r3, r7
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	bl	TIM_ETRConfig
	ldr	r1, .L4
	ldr	r2, .L4+4
	ldr	ip, [r1]
	ldr	r3, [r4]
	ldr	r1, .L4+8
	ldr	r0, [r2]
	ldr	r2, .L4+12
	ldr	r1, [r1]
	bic	r3, r3, ip
	ldr	r2, [r2]
	orr	r3, r3, r0
	bic	r3, r3, r1
	orr	r3, r2, r3
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	TIM_SMCR_SMS
	.word	TIM_SlaveMode_External1
	.word	TIM_SMCR_TS
	.word	TIM_TS_ETRF
	.size	TIM_ETRClockMode1Config, .-TIM_ETRClockMode1Config
	.comm	TIM_TS_ETRF,4,4
	.comm	TIM_SlaveMode_External1,4,4
	.comm	TIM_SMCR_TS,4,4
	.comm	TIM_SMCR_SMS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
