	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ov_crosslap                    ## -- Begin function ov_crosslap
	.p2align	4, 0x90
_ov_crosslap:                           ## @ov_crosslap
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	%rsi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	_OPENED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rdi)
	jl	LBB0_3
## %bb.4:
	movq	%rsi, %r14
	cmpq	%rax, (%rsi)
	jge	LBB0_5
LBB0_3:
	movq	_OV_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_11
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_11
LBB0_5:
	movq	%rbx, %rdi
	callq	__ov_initset
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_11
## %bb.6:
	movq	%r14, %rdi
	callq	__ov_initprime
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_ov_info
	movq	%rax, %r13
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_ov_info
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_ov_halfrate_p
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_ov_halfrate_p
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r13), %edi
	shll	$3, %edi
	callq	_alloca
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_vorbis_info_blocksize
                                        ## kill: def $eax killed $eax def $rax
	incb	%r12b
	movl	%r12d, %ecx
	sarl	%cl, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_vorbis_info_blocksize
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	incb	%cl
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	8(%rbx), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	callq	_vorbis_window
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	addq	$8, %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_vorbis_window
	movq	%r13, %r12
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r13)
	jle	LBB0_10
## %bb.8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_alloca
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rdx,%r13,8)
	incq	%r13
	movslq	(%r12), %rax
	cmpq	%rax, %r13
	jl	LBB0_9
LBB0_10:
	movq	%rbx, %rdi
	movq	%r12, %rbx
	movq	%r12, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	%r13d, %r8d
	callq	__ov_getlap
	leaq	-104(%rbp), %rsi
	movq	%r14, %rdi
	callq	_vorbis_synthesis_lapout
	movq	-104(%rbp), %rdi
	movl	(%rbx), %r8d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r9d
	movq	%r12, %rsi
	movl	%r13d, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	callq	__ov_splice
	addq	$16, %rsp
LBB0_11:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPENED,8,3                     ## @OPENED
	.comm	_OV_EINVAL,4,2                  ## @OV_EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ov_crosslap                    ; -- Begin function ov_crosslap
	.p2align	2
_ov_crosslap:                           ; @ov_crosslap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	cmp	x0, x1
	b.eq	LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	x9, [x0]
Lloh0:
	adrp	x8, _OPENED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPENED@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
	b.lt	LBB0_3
; %bb.2:
	mov	x22, x1
	ldr	x9, [x1]
	cmp	x9, x8
	b.ge	LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _OV_EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OV_EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_11
LBB0_4:
	mov	x0, x19
	bl	__ov_initset
	cbnz	w0, LBB0_11
; %bb.5:
	mov	x0, x22
	bl	__ov_initprime
	cbnz	w0, LBB0_11
; %bb.6:
	mov	x0, x19
	mov	w1, #-1
	bl	_ov_info
	mov	x20, x0
	mov	x0, x22
	mov	w1, #-1
	bl	_ov_info
	mov	x21, x0
	mov	x0, x19
	bl	_ov_halfrate_p
	mov	x24, x0
	mov	x0, x22
	bl	_ov_halfrate_p
	mov	x25, x0
	ldr	w8, [x20]
	lsl	w0, w8, #3
	bl	_alloca
	mov	x23, x0
	mov	x0, x20
	mov	w1, #0
	bl	_vorbis_info_blocksize
	add	w8, w24, #1
	asr	w24, w0, w8
	mov	x0, x21
	mov	w1, #0
	bl	_vorbis_info_blocksize
	add	w8, w25, #1
	asr	w8, w0, w8
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	add	x27, x19, #8
	mov	x0, x27
	mov	w1, #0
	bl	_vorbis_window
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	add	x28, x22, #8
	mov	x0, x28
	mov	w1, #0
	bl	_vorbis_window
	mov	x22, x0
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x26, #0
	lsl	w25, w24, #2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	bl	_alloca
	str	x0, [x23, x26, lsl #3]
	add	x26, x26, #1
	ldrsw	x8, [x20]
	cmp	x26, x8
	b.lt	LBB0_8
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x27
	mov	x3, x23
	mov	x4, x24
	bl	__ov_getlap
	add	x1, sp, #24
	mov	x0, x28
	bl	_vorbis_synthesis_lapout
	ldr	x0, [sp, #24]
	ldr	w4, [x20]
	ldr	w5, [x21]
	mov	x1, x23
	mov	x2, x24
	ldr	w3, [sp, #20]                   ; 4-byte Folded Reload
	ldr	x6, [sp, #8]                    ; 8-byte Folded Reload
	mov	x7, x22
	bl	__ov_splice
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_OPENED,8,3                     ; @OPENED
	.comm	_OV_EINVAL,4,2                  ; @OV_EINVAL
.subsections_via_symbols
