	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function awg_generate_line_signal
_awg_generate_line_signal:              ## @awg_generate_line_signal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	8(%r12), %rsi
	movq	_RPLSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_awg_generate_instr
	movl	%eax, %ebx
	movslq	(%r12), %rax
	movq	_AWG_DELAY@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	leaq	(%rax,%rcx), %rsi
	decq	%rsi
	movq	_SKIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_awg_generate_instr
	movl	%eax, %r15d
	orl	%ebx, %r15d
	movl	(%r12), %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	movq	8(%r12), %rsi
	testl	%eax, %eax
	jle	LBB0_4
## %bb.5:
	movq	_SET@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_RPLSET@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %edi
	xorl	%edx, %edx
	movl	$1, %ecx
	movq	%r14, %r8
	callq	_awg_generate_instr
	movl	%eax, %ebx
	orl	%r15d, %ebx
	cmpq	$0, 16(%r12)
	jle	LBB0_8
## %bb.7:
	movslq	24(%r12), %rsi
	decq	%rsi
	movq	_SKIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%edx, %edx
	movl	$1, %ecx
	movq	%r14, %r8
	callq	_awg_generate_instr
	movl	%eax, %r15d
	orl	%ebx, %r15d
	movq	8(%r12), %rsi
	movq	_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_awg_generate_instr
	movl	%eax, %ebx
	orl	%r15d, %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RPLSET,4,2                     ## @RPLSET
	.comm	_AWG_DELAY,4,2                  ## @AWG_DELAY
	.comm	_SKIP,4,2                       ## @SKIP
	.comm	_SET,4,2                        ## @SET
	.no_dead_strip	_awg_generate_line_signal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function awg_generate_line_signal
_awg_generate_line_signal:              ; @awg_generate_line_signal
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x23, _RPLSET@GOTPAGE
Lloh1:
	ldr	x23, [x23, _RPLSET@GOTPAGEOFF]
Lloh2:
	adrp	x22, _SKIP@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SKIP@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x1, [x20, #8]
	ldr	w0, [x23]
	mov	w2, #0
	mov	w3, #0
	mov	x4, x19
	bl	_awg_generate_instr
	mov	x21, x0
	ldrsw	x8, [x20]
Lloh4:
	adrp	x9, _AWG_DELAY@GOTPAGE
Lloh5:
	ldr	x9, [x9, _AWG_DELAY@GOTPAGEOFF]
Lloh6:
	ldrsw	x9, [x9]
	add	x8, x8, x9
	sub	x1, x8, #1
	ldr	w0, [x22]
	mov	w2, #0
	mov	w3, #0
	mov	x4, x19
	bl	_awg_generate_instr
	orr	w21, w0, w21
	ldr	w8, [x20]
	b	LBB0_3
LBB0_2:
	mov	w21, #0
LBB0_3:
	ldr	x1, [x20, #8]
Lloh7:
	adrp	x24, _SET@GOTPAGE
Lloh8:
	ldr	x24, [x24, _SET@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x24, x23, gt
	ldr	w0, [x8]
	mov	w2, #0
	mov	w3, #1
	mov	x4, x19
	bl	_awg_generate_instr
	orr	w21, w0, w21
	ldr	x8, [x20, #16]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.4:
	ldrsw	x8, [x20, #24]
	sub	x1, x8, #1
	ldr	w0, [x22]
	mov	w2, #0
	mov	w3, #1
	mov	x4, x19
	bl	_awg_generate_instr
	orr	w21, w0, w21
	ldr	x1, [x20, #8]
	ldr	w0, [x24]
	mov	w2, #0
	mov	w3, #0
	mov	x4, x19
	bl	_awg_generate_instr
	orr	w21, w21, w0
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RPLSET,4,2                     ; @RPLSET
	.comm	_AWG_DELAY,4,2                  ; @AWG_DELAY
	.comm	_SKIP,4,2                       ; @SKIP
	.comm	_SET,4,2                        ; @SET
	.no_dead_strip	_awg_generate_line_signal
.subsections_via_symbols
