	.file	"extr_horizon.c_update_tx_channel_config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	update_tx_channel_config, @function
update_tx_channel_config:
.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	ebx, ecx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	imul	si, WORD PTR TX_CHANNEL_CONFIG_MULT[rip]
	or	esi, edx
	movsx	edx, si
	mov	esi, DWORD PTR TX_CHANNEL_CONFIG_COMMAND_OFF[rip]
	call	wr_regw@PLT
	mov	esi, DWORD PTR TX_CHANNEL_CONFIG_DATA_OFF[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	movsx	edx, bx
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	wr_regw@PLT
	.cfi_endproc
.LFE0:
	.size	update_tx_channel_config, .-update_tx_channel_config
	.comm	TX_CHANNEL_CONFIG_MULT,2,2
	.comm	TX_CHANNEL_CONFIG_DATA_OFF,4,4
	.comm	TX_CHANNEL_CONFIG_COMMAND_OFF,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_horizon.c_update_tx_channel_config.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_tx_channel_config, %function
update_tx_channel_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r3
	mov	r4, r0
	ldr	r3, .L4
	ldrh	r3, [r3]
	mul	r1, r3, r1
	ldr	r3, .L4+4
	orr	r2, r2, r1
	lsl	r2, r2, #16
	ldr	r1, [r3]
	asr	r2, r2, #16
	bl	wr_regw
	ldr	r3, .L4+8
	mov	r2, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	wr_regw
.L5:
	.align	2
.L4:
	.word	TX_CHANNEL_CONFIG_MULT
	.word	TX_CHANNEL_CONFIG_COMMAND_OFF
	.word	TX_CHANNEL_CONFIG_DATA_OFF
	.size	update_tx_channel_config, .-update_tx_channel_config
	.comm	TX_CHANNEL_CONFIG_MULT,2,2
	.comm	TX_CHANNEL_CONFIG_DATA_OFF,4,4
	.comm	TX_CHANNEL_CONFIG_COMMAND_OFF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
