	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function celt_haar1
_celt_haar1:                            ## @celt_haar1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	jle	LBB0_6
## %bb.1:
	movl	%esi, %eax
	sarl	%eax
	cmpl	$2, %eax
	movl	$1, %r8d
	cmovgel	%eax, %r8d
	movl	%edx, %ecx
	leaq	(,%rcx,8), %r10
	xorl	%r9d, %r9d
	movq	_M_SQRT1_2@GOTPCREL(%rip), %r11
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r9
	addq	$4, %rdi
	cmpq	%rcx, %r9
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	cmpl	$2, %esi
	jl	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r8, %rdx
	movq	%rdi, %rax
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	(%rax,%rcx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm2
	addss	%xmm1, %xmm2
	mulss	(%r11), %xmm2
	movss	%xmm2, (%rax)
	subss	%xmm1, %xmm0
	mulss	(%r11), %xmm0
	movss	%xmm0, (%rax,%rcx,4)
	addq	%r10, %rax
	decq	%rdx
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_SQRT1_2,4,2                  ## @M_SQRT1_2
	.no_dead_strip	_celt_haar1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function celt_haar1
_celt_haar1:                            ; @celt_haar1
	.cfi_startproc
; %bb.0:
	cmp	w2, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x8, #0
	asr	w10, w1, #1
	mov	w9, w2
	cmp	w10, #1
	csinc	w10, w10, wzr, gt
	lsl	x11, x9, #3
	lsl	x12, x9, #2
Lloh0:
	adrp	x13, _M_SQRT1_2@GOTPAGE
Lloh1:
	ldr	x13, [x13, _M_SQRT1_2@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	add	x0, x0, #4
	cmp	x8, x9
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w1, #2
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x14, x10
	mov	x15, x0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	s0, [x15, x12]
	ldr	s1, [x15]
	fadd	s2, s1, s0
	ldr	s3, [x13]
	fmul	s2, s2, s3
	str	s2, [x15]
	fsub	s0, s1, s0
	ldr	s1, [x13]
	fmul	s0, s0, s1
	str	s0, [x15, x12]
	add	x15, x15, x11
	subs	x14, x14, #1
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_M_SQRT1_2,4,2                  ; @M_SQRT1_2
	.no_dead_strip	_celt_haar1
.subsections_via_symbols
