	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	2                               ## -- Begin function aw_pulse_set1
LCPI0_0:
	.long	0xbf800000                      ## float -1
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
LCPI0_2:
	.quad	0xbff0000000000000              ## double -1
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_aw_pulse_set1:                         ## @aw_pulse_set1
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r15d
	movq	%rsi, %rax
	movq	%rdi, %rbx
	xorl	%ecx, %ecx
	cmpq	$0, 24(%rdi)
	sete	%cl
	testl	%edx, %edx
	leal	10(%rcx,%rcx), %ecx
	movl	$12, %esi
	cmovel	%ecx, %esi
	movq	%rax, %rdi
	callq	_get_bits
	movq	(%rbx), %rcx
	movslq	%r15d, %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%rcx,%rdx,8)
	jle	LBB0_8
## %bb.1:
	xorl	%ecx, %ecx
	cmpl	$24, 8(%rbx)
	sete	%cl
	leal	4(,%rcx,4), %edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	leal	3(,%rcx,4), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	$4, %r15d
	subl	%ecx, %r15d
	addl	$3, %ecx
	movq	(%r14), %r11
	movq	8(%r14), %rdi
	movq	16(%rbx), %r10
	movq	16(%r14), %rsi
	movq	_MAX_FRAMESIZE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movl	%r8d, %edx
	shrl	$31, %edx
	addl	%r8d, %edx
	sarl	%edx
	movslq	%edx, %r13
	movl	%r15d, %r9d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	-1(%r9), %edx
	sarl	%cl, %eax
	cmpl	$1, %r9d
	movl	%edx, %r9d
	jle	LBB0_16
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	xorl	%edx, %edx
	testl	%eax, -48(%rbp)                 ## 4-byte Folded Reload
	sete	%dl
	leaq	LCPI0_2(%rip), %rbx
	movsd	(%rbx,%rdx,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, (%r11,%rdi,8)
	movl	%eax, %edx
	andl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	imull	%r15d, %edx
	addl	%r9d, %edx
	decl	%edx
	movslq	%edx, %rdx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	addq	(%r10,%rbx,8), %rdx
	movq	%rdx, (%rsi,%rdi,8)
	movq	8(%r14), %rdi
	movq	(%rsi,%rdi,8), %r12
	testq	%r12, %r12
	jns	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rsi,%rdi,8), %r8
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addq	24(%r14), %r12
	movq	%r12, (%r8)
	movq	8(%r14), %rdi
	leaq	(%rsi,%rdi,8), %r8
	movq	(%rsi,%rdi,8), %r12
	testq	%r12, %r12
	js	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r13, %r12
	jge	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	movq	%rdi, 8(%r14)
	jmp	LBB0_7
LBB0_8:
	movl	%eax, %ecx
	shrl	%ecx
	movzbl	%cl, %edx
	cmpl	$79, %edx
	jae	LBB0_10
## %bb.9:
	movl	$-1, %esi
	movl	$1, %ecx
	jmp	LBB0_13
LBB0_10:
	cmpl	$156, %edx
	jae	LBB0_12
## %bb.11:
	movl	$-3, %esi
	movl	$-76, %ecx
	jmp	LBB0_13
LBB0_12:
	xorl	%esi, %esi
	cmpl	$231, %edx
	setb	%sil
	movl	$-151, %edi
	movl	$-224, %ecx
	cmovbl	%edi, %ecx
	addl	%esi, %esi
	orl	$-7, %esi
LBB0_13:
	addl	%ecx, %edx
	xorl	%ecx, %ecx
	testl	$512, %eax                      ## imm = 0x200
	sete	%cl
	leaq	LCPI0_0(%rip), %rdi
	movss	(%rdi,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movq	8(%r14), %rcx
	movq	16(%r14), %r8
	movl	$3, %edi
	shll	%cl, %edi
	orl	%edi, 32(%r14)
	addl	%edx, %esi
	movslq	%esi, %rsi
	movq	%rsi, (%r8,%rcx,8)
	cvtss2sd	%xmm0, %xmm1
	movq	(%r14), %rcx
	movq	8(%r14), %rsi
	movsd	%xmm1, (%rcx,%rsi,8)
	movq	%rdx, 8(%r8,%rsi,8)
	testb	$1, %al
	je	LBB0_15
## %bb.14:
	xorps	LCPI0_1(%rip), %xmm0
LBB0_15:
	cvtss2sd	%xmm0, %xmm0
	movq	8(%r14), %rax
	movsd	%xmm0, 8(%rcx,%rax,8)
	addq	$2, %rax
	movq	%rax, 8(%r14)
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_FRAMESIZE,4,2              ## @MAX_FRAMESIZE
	.no_dead_strip	_aw_pulse_set1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aw_pulse_set1
_aw_pulse_set1:                         ; @aw_pulse_set1
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x8, x1
	mov	x20, x0
	ldr	x9, [x0, #24]
	cmp	x9, #0
	ccmp	w2, #0, #0, ne
	mov	w9, #12
	mov	w10, #10
	csel	w1, w10, w9, eq
	mov	x0, x8
	bl	_get_bits
	ldr	x8, [x20]
	ldr	x8, [x8, w21, sxtw #3]
	cmp	x8, #1
	b.lt	LBB0_8
; %bb.1:
	sxtw	x8, w21
	ldr	w9, [x20, #8]
	mov	w10, #4
	mov	w11, #8
	cmp	w9, #24
	csel	w9, w11, w10, eq
	mov	w12, #3
	mov	w10, #7
	csel	w10, w10, w12, eq
	cinc	w11, w12, eq
	cinc	w12, w12, ne
	ldr	x13, [x20, #16]
	ldp	x2, x14, [x19, #8]
Lloh0:
	adrp	x15, _MAX_FRAMESIZE@GOTPAGE
Lloh1:
	ldr	x15, [x15, _MAX_FRAMESIZE@GOTPAGEOFF]
Lloh2:
	ldr	w15, [x15]
	cmp	w15, #0
	cinc	w15, w15, lt
	sbfx	x15, x15, #1, #31
	ldr	x16, [x19]
	fmov	d0, #-1.00000000
	fmov	d1, #1.00000000
	mov	x17, x12
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	asr	w0, w0, w11
	cmp	w17, #1
	mov	x17, x1
	b.le	LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	sub	w1, w17, #1
	tst	w0, w9
	fcsel	d2, d1, d0, eq
	lsl	x2, x2, #3
	str	d2, [x16, x2]
	and	w3, w0, w10
	madd	w3, w3, w12, w1
	ldr	x4, [x13, x8, lsl #3]
	add	x3, x4, w3, sxtw
	str	x3, [x14, x2]
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x2, [x19, #8]
	add	x4, x14, x2, lsl #3
	ldr	x3, [x4]
	tbz	x3, #63, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	x2, [x19, #24]
	add	x2, x2, x3
	str	x2, [x4]
	b	LBB0_4
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x3, x15
	b.ge	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x2, x2, #1
	str	x2, [x19, #8]
	b	LBB0_2
LBB0_8:
	ubfx	w8, w0, #1, #8
	mov	w9, #-1
	mov	w10, #1
	mov	w11, #-3
	mov	w12, #-76
	mov	w13, #-224
	mov	w14, #-151
	cmp	w8, #231
	csel	w13, w14, w13, lo
	mov	w14, #-7
	mov	w15, #-5
	csel	w14, w15, w14, lo
	cmp	w8, #156
	csel	w12, w12, w13, lo
	csel	w11, w11, w14, lo
	cmp	w8, #79
	csel	w10, w10, w12, lo
	csel	w9, w9, w11, lo
	tst	w0, #0x200
	fmov	s0, #-1.00000000
	fmov	s1, #1.00000000
	fcsel	s0, s1, s0, eq
	mov	w11, #3
	ldp	x13, x12, [x19]
	lsl	w11, w11, w12
	ldr	w14, [x19, #32]
	add	w8, w8, w10
	add	w9, w8, w9
	sxtw	x9, w9
	ldr	x10, [x19, #16]
	str	x9, [x10, x12, lsl #3]
	orr	w9, w11, w14
	fcvt	d1, s0
	ldr	x11, [x19, #8]
	lsl	x11, x11, #3
	str	d1, [x13, x11]
	str	w9, [x19, #32]
	add	x9, x11, x10
	str	x8, [x9, #8]
	fneg	s1, s0
	tst	w0, #0x1
	fcsel	s0, s0, s1, eq
	fcvt	d0, s0
	ldr	x8, [x19, #8]
	add	x9, x13, x8, lsl #3
	str	d0, [x9, #8]
	add	x8, x8, #2
	str	x8, [x19, #8]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_FRAMESIZE,4,2              ; @MAX_FRAMESIZE
	.no_dead_strip	_aw_pulse_set1
.subsections_via_symbols
