	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dsp_audio_generate_seven
LCPI0_0:
	.quad	2147483648                      ## 0x80000000
	.quad	2147483648                      ## 0x80000000
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_dsp_audio_generate_seven
	.p2align	4, 0x90
_dsp_audio_generate_seven:              ## @dsp_audio_generate_seven
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$2064, %rsp                     ## imm = 0x810
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movq	_dsp_audio_alaw_to_s32@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%ecx, %ecx
	movdqa	LCPI0_0(%rip), %xmm9            ## xmm9 = [2147483648,2147483648]
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movq	(%rax,%rcx,8), %xmm1            ## xmm1 = mem[0],zero
	pshufd	$68, %xmm1, %xmm8               ## xmm8 = xmm1[0,1,0,1]
	pxor	%xmm1, %xmm1
	xorl	%edx, %edx
	pxor	%xmm2, %xmm2
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	%xmm8, %xmm0
	pxor	%xmm9, %xmm0
	movdqu	(%rax,%rdx,8), %xmm7
	movdqu	16(%rax,%rdx,8), %xmm3
	movdqu	32(%rax,%rdx,8), %xmm6
	movdqu	48(%rax,%rdx,8), %xmm5
	pxor	%xmm9, %xmm7
	movdqa	%xmm0, %xmm4
	pcmpgtd	%xmm7, %xmm4
	pshufd	$232, %xmm4, %xmm10             ## xmm10 = xmm4[0,2,2,3]
	pcmpeqd	%xmm0, %xmm7
	pshufd	$253, %xmm7, %xmm7              ## xmm7 = xmm7[1,3,3,3]
	pand	%xmm10, %xmm7
	pshufd	$253, %xmm4, %xmm4              ## xmm4 = xmm4[1,3,3,3]
	por	%xmm7, %xmm4
	psubd	%xmm4, %xmm1
	pxor	%xmm9, %xmm3
	movdqa	%xmm0, %xmm4
	pcmpgtd	%xmm3, %xmm4
	pshufd	$232, %xmm4, %xmm7              ## xmm7 = xmm4[0,2,2,3]
	pcmpeqd	%xmm0, %xmm3
	pshufd	$253, %xmm3, %xmm3              ## xmm3 = xmm3[1,3,3,3]
	pand	%xmm7, %xmm3
	pshufd	$253, %xmm4, %xmm4              ## xmm4 = xmm4[1,3,3,3]
	por	%xmm3, %xmm4
	psubd	%xmm4, %xmm2
	pxor	%xmm9, %xmm6
	movdqa	%xmm0, %xmm3
	pcmpgtd	%xmm6, %xmm3
	pshufd	$232, %xmm3, %xmm4              ## xmm4 = xmm3[0,2,2,3]
	pcmpeqd	%xmm0, %xmm6
	pshufd	$253, %xmm6, %xmm6              ## xmm6 = xmm6[1,3,3,3]
	pand	%xmm4, %xmm6
	pshufd	$253, %xmm3, %xmm3              ## xmm3 = xmm3[1,3,3,3]
	por	%xmm6, %xmm3
	psubd	%xmm3, %xmm1
	pxor	%xmm9, %xmm5
	movdqa	%xmm0, %xmm3
	pcmpgtd	%xmm5, %xmm3
	pshufd	$232, %xmm3, %xmm4              ## xmm4 = xmm3[0,2,2,3]
	pcmpeqd	%xmm0, %xmm5
	pshufd	$253, %xmm5, %xmm0              ## xmm0 = xmm5[1,3,3,3]
	pand	%xmm4, %xmm0
	pshufd	$253, %xmm3, %xmm3              ## xmm3 = xmm3[1,3,3,3]
	por	%xmm0, %xmm3
	psubd	%xmm3, %xmm2
	addq	$8, %rdx
	cmpq	$256, %rdx                      ## imm = 0x100
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	paddd	%xmm1, %xmm2
	pshufd	$85, %xmm2, %xmm0               ## xmm0 = xmm2[1,1,1,1]
	paddd	%xmm2, %xmm0
	movd	%xmm0, %edx
	movq	%rcx, -2064(%rbp,%rdx,8)
	incq	%rcx
	cmpq	$256, %rcx                      ## imm = 0x100
	jne	LBB0_1
## %bb.4:
	movq	_dsp_audio_law2seven@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_dsp_audio_ulaw_to_alaw@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	xorl	%edi, %edi
	movq	_dsp_options@GOTPCREL(%rip), %r8
	movq	_DSP_OPT_ULAW@GOTPCREL(%rip), %r9
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%rcx
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	shrl	%ecx
	movl	%ecx, (%rax,%rdi,4)
	incq	%rdi
	cmpq	$256, %rdi                      ## imm = 0x100
	je	LBB0_18
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movl	(%r9), %ecx
	movq	%rdi, %rsi
	testl	%ecx, (%r8)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rdx,%rdi,8), %rsi
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rsi, -2064(%rbp,%rcx,8)
	je	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	cmpq	%rsi, -2056(%rbp,%rcx,8)
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	cmpq	%rsi, -2048(%rbp,%rcx,8)
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=2
	cmpq	%rsi, -2040(%rbp,%rcx,8)
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=2
	addq	$4, %rcx
	cmpq	$256, %rcx                      ## imm = 0x100
	jne	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$256, %ecx                      ## imm = 0x100
	jmp	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	$2, %rcx
	jmp	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	$3, %rcx
	jmp	LBB0_17
LBB0_18:
	movl	(%r9), %eax
	andl	(%r8), %eax
	movq	_dsp_audio_seven2law@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_dsp_audio_alaw_to_ulaw@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	xorl	%esi, %esi
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%rdi, 8(%rcx,%rsi)
	addq	$16, %rsi
	cmpq	$1024, %rsi                     ## imm = 0x400
	je	LBB0_24
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	-2064(%rbp,%rsi,2), %rdi
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	(%rdx,%rdi,8), %rdi
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%rdi, (%rcx,%rsi)
	movq	-2048(%rbp,%rsi,2), %rdi
	testl	%eax, %eax
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	(%rdx,%rdi,8), %rdi
	jmp	LBB0_23
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	addq	$2064, %rsp                     ## imm = 0x810
	popq	%rbp
	retq
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_dsp_audio_alaw_to_s32,8,3      ## @dsp_audio_alaw_to_s32
	.comm	_dsp_options,4,2                ## @dsp_options
	.comm	_DSP_OPT_ULAW,4,2               ## @DSP_OPT_ULAW
	.comm	_dsp_audio_ulaw_to_alaw,8,3     ## @dsp_audio_ulaw_to_alaw
	.comm	_dsp_audio_law2seven,8,3        ## @dsp_audio_law2seven
	.comm	_dsp_audio_alaw_to_ulaw,8,3     ## @dsp_audio_alaw_to_ulaw
	.comm	_dsp_audio_seven2law,8,3        ## @dsp_audio_seven2law
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsp_audio_generate_seven       ; -- Begin function dsp_audio_generate_seven
	.p2align	2
_dsp_audio_generate_seven:              ; @dsp_audio_generate_seven
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w27, -24
	.cfi_offset w28, -32
	sub	sp, sp, #2064
	mov	x8, #0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-24]
Lloh3:
	adrp	x9, _dsp_audio_alaw_to_s32@GOTPAGE
Lloh4:
	ldr	x9, [x9, _dsp_audio_alaw_to_s32@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x10, sp, #8
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	mov	x11, #0
	add	x12, x9, x8, lsl #3
	ld1r.2d	{ v1 }, [x12]
	movi.2d	v0, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x12, x9, x11
	ldp	q5, q6, [x12]
	ldp	q7, q16, [x12, #32]
	cmgt.2d	v5, v1, v5
	xtn.2s	v5, v5
	cmgt.2d	v6, v1, v6
	xtn.2s	v6, v6
	cmgt.2d	v7, v1, v7
	xtn.2s	v7, v7
	cmgt.2d	v16, v1, v16
	xtn.2s	v16, v16
	sub.2s	v0, v0, v5
	sub.2s	v2, v2, v6
	sub.2s	v3, v3, v7
	sub.2s	v4, v4, v16
	add	x11, x11, #64
	cmp	x11, #2048
	b.ne	LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	add.2s	v0, v2, v0
	add.2s	v0, v3, v0
	add.2s	v0, v4, v0
	addp.2s	v0, v0, v0
	fmov	w11, s0
	str	x8, [x10, w11, uxtw #3]
	add	x8, x8, #1
	cmp	x8, #256
	b.ne	LBB0_1
; %bb.4:
	mov	x8, #0
Lloh6:
	adrp	x9, _dsp_audio_law2seven@GOTPAGE
Lloh7:
	ldr	x9, [x9, _dsp_audio_law2seven@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _dsp_audio_ulaw_to_alaw@GOTPAGE
Lloh10:
	ldr	x10, [x10, _dsp_audio_ulaw_to_alaw@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
Lloh12:
	adrp	x11, _dsp_options@GOTPAGE
Lloh13:
	ldr	x11, [x11, _dsp_options@GOTPAGEOFF]
Lloh14:
	adrp	x12, _DSP_OPT_ULAW@GOTPAGE
Lloh15:
	ldr	x12, [x12, _DSP_OPT_ULAW@GOTPAGEOFF]
	add	x13, sp, #8
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	lsr	w14, w15, #1
	str	w14, [x9, x8, lsl #2]
	add	x8, x8, #1
	cmp	x8, #256
	b.eq	LBB0_11
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	w15, [x11]
	ldr	w16, [x12]
	mov	x14, x8
	tst	w16, w15
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x14, [x10, x8, lsl #3]
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x15, #0
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x16, [x13, x15, lsl #3]
	cmp	x16, x14
	b.eq	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x15, x15, #1
	cmp	x15, #256
	b.ne	LBB0_9
	b	LBB0_5
LBB0_11:
	mov	x8, #0
	ldr	w9, [x11]
	ldr	w10, [x12]
Lloh16:
	adrp	x11, _dsp_audio_seven2law@GOTPAGE
Lloh17:
	ldr	x11, [x11, _dsp_audio_seven2law@GOTPAGEOFF]
	and	w9, w10, w9
Lloh18:
	ldr	x10, [x11]
Lloh19:
	adrp	x11, _dsp_audio_alaw_to_ulaw@GOTPAGE
Lloh20:
	ldr	x11, [x11, _dsp_audio_alaw_to_ulaw@GOTPAGEOFF]
Lloh21:
	ldr	x11, [x11]
	add	x12, sp, #8
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	str	x13, [x10, x8]
	add	x12, x12, #16
	add	x8, x8, #8
	cmp	x8, #1024
	b.eq	LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x12]
	cbz	w9, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x13, [x11, x13, lsl #3]
	b	LBB0_12
LBB0_15:
	ldur	x8, [x29, #-24]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	add	sp, sp, #2064
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_dsp_audio_alaw_to_s32,8,3      ; @dsp_audio_alaw_to_s32
	.comm	_dsp_options,4,2                ; @dsp_options
	.comm	_DSP_OPT_ULAW,4,2               ; @DSP_OPT_ULAW
	.comm	_dsp_audio_ulaw_to_alaw,8,3     ; @dsp_audio_ulaw_to_alaw
	.comm	_dsp_audio_law2seven,8,3        ; @dsp_audio_law2seven
	.comm	_dsp_audio_alaw_to_ulaw,8,3     ; @dsp_audio_alaw_to_ulaw
	.comm	_dsp_audio_seven2law,8,3        ; @dsp_audio_seven2law
.subsections_via_symbols
