	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_imdct_half_c                ## -- Begin function ff_imdct_half_c
	.p2align	4, 0x90
_ff_imdct_half_c:                       ## @ff_imdct_half_c
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movb	24(%rdi), %cl
	movl	$1, %eax
	shll	%cl, %eax
	cmpl	$3, %eax
	jle	LBB0_7
## %bb.1:
	movq	%rdx, %r12
	movq	(%rdi), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rbx
	movl	%eax, %ecx
	sarl	$3, %ecx
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movl	%eax, %r15d
	shrl	%r15d
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	%eax, %r14d
	andl	$-4, %r14d
	decq	%r15
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax,%r13), %rax
	shlq	$4, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax), %rdi
	movq	8(%rcx,%rax), %rsi
	movq	(%r12,%r15,8), %rdx
	movq	(%r12,%r13,4), %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r13,2), %r8
	movq	(%rbx,%r13,2), %r9
	callq	_CMUL
	addq	$4, %r13
	addq	$-2, %r15
	cmpq	%r13, %r14
	jne	LBB0_2
## %bb.3:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	*32(%rdi)
	cmpl	$8, -72(%rbp)                   ## 4-byte Folded Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jl	LBB0_6
## %bb.4:
	movslq	-64(%rbp), %rax                 ## 4-byte Folded Reload
	cmpl	$2, %eax
	movl	$1, %edx
	cmovgel	%eax, %edx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	shlq	$4, %rax
	addq	%rax, -56(%rbp)                 ## 8-byte Folded Spill
	leaq	-8(%rbx), %rax
	leaq	-8(%rcx), %r14
	shlq	$4, %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	$-8, %r15
	xorl	%r13d, %r13d
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-8(%rbx,%r15), %rcx
	movq	(%rbx,%r15), %rdx
	movq	(%rax,%r12,8), %r8
	movq	(%r14,%r12,8), %r9
	callq	_CMUL
	movq	(%rbx,%r13), %rcx
	movq	8(%rbx,%r13), %rdx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx,%r12,8), %r8
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r12,8), %r9
	callq	_CMUL
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addq	$8, %rbx
	addq	$8, %rcx
	addq	$16, %r13
	addq	$-8, %rax
	addq	$-8, %r14
	addq	$-16, %r15
	cmpq	%r13, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_5
LBB0_6:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	32(%rdi), %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_imdct_half_c                ; -- Begin function ff_imdct_half_c
	.p2align	2
_ff_imdct_half_c:                       ; @ff_imdct_half_c
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0, #24]
	mov	w9, #1
	lsl	w24, w9, w8
	cmp	w24, #3
	b.le	LBB0_7
; %bb.1:
	mov	x21, x2
	ldp	x26, x22, [x20]
	asr	w25, w24, #3
	lsr	w8, w24, #1
	add	x8, x2, w8, uxtw #3
	ldr	x23, [x20, #16]
	sub	x27, x8, #8
	lsr	w28, w24, #2
	stp	x23, x22, [sp]                  ; 16-byte Folded Spill
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x26], #4
	add	x8, x19, x8, lsl #4
	ldp	x0, x1, [x8]
	ldr	x2, [x27], #-16
	ldr	x3, [x21], #16
	ldr	x4, [x22], #8
	ldr	x5, [x23], #8
	bl	_CMUL
	subs	x28, x28, #1
	b.ne	LBB0_2
; %bb.3:
	ldr	x8, [x20, #32]
	mov	x0, x20
	mov	x1, x19
	blr	x8
	cmp	w24, #8
	ldp	x23, x22, [sp]                  ; 16-byte Folded Reload
	b.lt	LBB0_6
; %bb.4:
	sxtw	x8, w25
	cmp	w25, #1
	add	x9, x19, w25, sxtw #4
	csinc	w19, w25, wzr, gt
	add	x20, x9, #8
	sub	x21, x23, #8
	sub	x24, x22, #8
	sub	x25, x9, #8
	lsl	x26, x8, #3
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x3, x2, [x25, #-8]
	ldr	x4, [x21, x26]
	ldr	x5, [x24, x26]
	bl	_CMUL
	ldp	x3, x2, [x20, #-8]
	ldr	x4, [x23, x26]
	ldr	x5, [x22, x26]
	bl	_CMUL
	add	x23, x23, #8
	add	x22, x22, #8
	add	x20, x20, #16
	sub	x21, x21, #8
	sub	x24, x24, #8
	sub	x25, x25, #16
	sub	x19, x19, #1
	cbnz	x19, LBB0_5
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_7:
	ldr	x2, [x20, #32]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	br	x2
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
