	.file	"extr_sti_awg_utils.c_awg_generate_line_signal.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	awg_generate_line_signal, @function
awg_generate_line_signal:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR [rbx]
	mov	edi, DWORD PTR RPLSET[rip]
	mov	rsi, QWORD PTR 8[rsi]
	test	edx, edx
	jg	.L9
.L4:
	xor	edx, edx
	mov	r8, rbp
	mov	ecx, 1
	call	awg_generate_instr@PLT
	or	r12d, eax
	cmp	QWORD PTR 16[rbx], 0
	jle	.L1
	mov	eax, DWORD PTR 24[rbx]
	mov	edi, DWORD PTR SKIP[rip]
	mov	r8, rbp
	xor	edx, edx
	mov	ecx, 1
	lea	esi, -1[rax]
	movsx	rsi, esi
	call	awg_generate_instr@PLT
	mov	rsi, QWORD PTR 8[rbx]
	mov	r8, rbp
	xor	ecx, ecx
	mov	edi, DWORD PTR SET[rip]
	xor	edx, edx
	mov	r13d, eax
	call	awg_generate_instr@PLT
	or	r13d, eax
	or	r12d, r13d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	r8, rbp
	xor	ecx, ecx
	xor	edx, edx
	call	awg_generate_instr@PLT
	mov	edx, DWORD PTR [rbx]
	mov	edi, DWORD PTR SKIP[rip]
	mov	r8, rbp
	mov	r12d, eax
	mov	eax, DWORD PTR AWG_DELAY[rip]
	xor	ecx, ecx
	lea	esi, -1[rdx+rax]
	xor	edx, edx
	movsx	rsi, esi
	call	awg_generate_instr@PLT
	mov	rsi, QWORD PTR 8[rbx]
	or	r12d, eax
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	jle	.L3
	mov	edi, DWORD PTR SET[rip]
	jmp	.L4
.L3:
	mov	edi, DWORD PTR RPLSET[rip]
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	awg_generate_line_signal, .-awg_generate_line_signal
	.comm	SKIP,4,4
	.comm	SET,4,4
	.comm	RPLSET,4,4
	.comm	AWG_DELAY,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_sti_awg_utils.c_awg_generate_line_signal.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	awg_generate_line_signal, %function
awg_generate_line_signal:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, [r1]
	ldr	r7, .L9
	cmp	r3, #0
	mov	r4, r1
	mov	r5, r0
	movle	r6, #0
	ldr	r1, [r1, #4]
	ldr	r0, [r7]
	sub	sp, sp, #12
	ble	.L4
	mov	r3, #0
	str	r5, [sp]
	mov	r2, r3
	bl	awg_generate_instr
	mov	r3, #0
	ldr	r1, .L9+4
	ldr	r2, [r4]
	ldr	r1, [r1]
	mov	r6, r0
	ldr	r0, .L9+8
	sub	r2, r2, #1
	str	r5, [sp]
	add	r1, r2, r1
	ldr	r0, [r0]
	mov	r2, r3
	bl	awg_generate_instr
	ldr	r3, [r4]
	orr	r6, r6, r0
	cmp	r3, #0
	ldrgt	r3, .L9+12
	ldr	r1, [r4, #4]
	ldrgt	r0, [r3]
	ldrle	r0, [r7]
.L4:
	mov	r3, #1
	mov	r2, #0
	str	r5, [sp]
	bl	awg_generate_instr
	ldr	r3, [r4, #8]
	orr	r6, r0, r6
	cmp	r3, #0
	ble	.L1
	ldr	r1, [r4, #12]
	ldr	r3, .L9+8
	str	r5, [sp]
	mov	r2, #0
	ldr	r0, [r3]
	sub	r1, r1, #1
	mov	r3, #1
	bl	awg_generate_instr
	mov	r3, #0
	mov	ip, r0
	ldr	r0, .L9+12
	str	r5, [sp]
	ldr	r1, [r4, #4]
	mov	r2, r3
	ldr	r0, [r0]
	mov	r4, ip
	bl	awg_generate_instr
	orr	r4, r4, r0
	orr	r6, r6, r4
.L1:
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	.align	2
.L9:
	.word	RPLSET
	.word	AWG_DELAY
	.word	SKIP
	.word	SET
	.size	awg_generate_line_signal, .-awg_generate_line_signal
	.comm	SKIP,4,4
	.comm	SET,4,4
	.comm	RPLSET,4,4
	.comm	AWG_DELAY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
