	.file	"extr_cb_pcidas64.c_set_dac_interval_regs.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"bug! ao divisor too big\n"
	.text
	.p2align 4
	.type	set_dac_interval_regs, @function
set_dac_interval_regs:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR TRIG_TIMER[rip]
	cmp	QWORD PTR [rsi], rax
	je	.L8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	r8d, DWORD PTR 8[rsi]
	mov	rbx, rdi
	mov	r12, QWORD PTR 8[rdi]
	mov	edi, DWORD PTR 12[rsi]
	mov	esi, r8d
	call	get_ao_divisor@PLT
	cmp	DWORD PTR max_counter_value[rip], eax
	mov	ebp, eax
	jb	.L9
.L3:
	movzx	edi, bp
	mov	rsi, QWORD PTR DAC_SAMPLE_INTERVAL_LOWER_REG[rip]
	shr	ebp, 16
	add	rsi, QWORD PTR [r12]
	call	writew@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_restore 3
	.cfi_def_cfa_offset 24
	mov	rsi, QWORD PTR DAC_SAMPLE_INTERVAL_UPPER_REG[rip]
	movzx	edi, bpl
	add	rsi, QWORD PTR [r12]
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 8
	jmp	writew@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	ebp, DWORD PTR max_counter_value[rip]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	set_dac_interval_regs, .-set_dac_interval_regs
	.comm	max_counter_value,4,4
	.comm	TRIG_TIMER,8,8
	.comm	DAC_SAMPLE_INTERVAL_UPPER_REG,8,8
	.comm	DAC_SAMPLE_INTERVAL_LOWER_REG,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_cb_pcidas64.c_set_dac_interval_regs.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bug! ao divisor too big\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_dac_interval_regs, %function
set_dac_interval_regs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L9
	mov	r3, r1
	ldr	r2, [r2]
	ldr	r1, [r1]
	cmp	r1, r2
	bxne	lr
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r1, [r3, #4]
	ldr	r0, [r3, #8]
	ldr	r6, [r4, #4]
	bl	get_ao_divisor
	ldr	r7, .L9+4
	mov	r5, r0
	ldr	r3, [r7]
	cmp	r3, r0
	bcc	.L8
.L3:
	ldr	r3, .L9+8
	ldr	r1, [r6]
	ldr	r3, [r3]
	lsl	r0, r5, #16
	add	r1, r1, r3
	lsr	r0, r0, #16
	bl	writew
	ldr	r3, .L9+12
	ldr	r1, [r6]
	ldr	r3, [r3]
	lsr	r0, r5, #16
	and	r0, r0, #255
	add	r1, r1, r3
	pop	{r4, r5, r6, r7, r8, lr}
	b	writew
.L8:
	ldr	r0, [r4]
	ldr	r1, .L9+16
	bl	dev_err
	ldr	r5, [r7]
	b	.L3
.L10:
	.align	2
.L9:
	.word	TRIG_TIMER
	.word	max_counter_value
	.word	DAC_SAMPLE_INTERVAL_LOWER_REG
	.word	DAC_SAMPLE_INTERVAL_UPPER_REG
	.word	.LC0
	.size	set_dac_interval_regs, .-set_dac_interval_regs
	.comm	max_counter_value,4,4
	.comm	TRIG_TIMER,4,4
	.comm	DAC_SAMPLE_INTERVAL_UPPER_REG,4,4
	.comm	DAC_SAMPLE_INTERVAL_LOWER_REG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
