	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function floor0_unpack
_floor0_unpack:                         ## @floor0_unpack
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %r15
	movl	$40, %edi
	callq	__ogg_malloc
	movq	%rax, %r12
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_oggpack_read
	movl	%eax, (%r12)
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_oggpack_read
	movl	%eax, 4(%r12)
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_oggpack_read
	movl	%eax, 8(%r12)
	movq	%r14, %rdi
	movl	$6, %esi
	callq	_oggpack_read
	movq	%rax, 32(%r12)
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_oggpack_read
	movq	%rax, 24(%r12)
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_oggpack_read
	incl	%eax
	movl	%eax, 12(%r12)
	cmpl	$0, (%r12)
	jle	LBB0_9
## %bb.1:
	cmpl	$0, 4(%r12)
	jle	LBB0_9
## %bb.2:
	cmpl	$0, 8(%r12)
	jle	LBB0_9
## %bb.3:
	testl	%eax, %eax
	jle	LBB0_9
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_oggpack_read
	movq	16(%r12), %rcx
	movq	%rax, (%rcx,%rbx,8)
	cmpq	%rax, (%r15)
	jbe	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r15), %rcx
	movq	(%rcx,%rax,8), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, 8(%rax)
	jle	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	12(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
	jmp	LBB0_10
LBB0_9:
	movq	%r12, %rdi
	callq	_floor0_free_info
	xorl	%r12d, %r12d
LBB0_10:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_floor0_unpack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function floor0_unpack
_floor0_unpack:                         ; @floor0_unpack
	.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	x20, x1
	ldr	x21, [x0]
	mov	w0, #40
	bl	__ogg_malloc
	mov	x19, x0
	mov	x0, x20
	mov	w1, #8
	bl	_oggpack_read
	str	w0, [x19]
	mov	x0, x20
	mov	w1, #16
	bl	_oggpack_read
	str	w0, [x19, #4]
	mov	x0, x20
	mov	w1, #16
	bl	_oggpack_read
	str	w0, [x19, #8]
	mov	x0, x20
	mov	w1, #6
	bl	_oggpack_read
	str	x0, [x19, #32]
	mov	x0, x20
	mov	w1, #8
	bl	_oggpack_read
	str	x0, [x19, #24]
	mov	x0, x20
	mov	w1, #4
	bl	_oggpack_read
	add	w8, w0, #1
	str	w8, [x19, #12]
	ldr	w9, [x19]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.1:
	ldr	w9, [x19, #4]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.2:
	ldr	w9, [x19, #8]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.3:
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.4:
	mov	x22, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #8
	bl	_oggpack_read
	ldr	x8, [x19, #16]
	str	x0, [x8, x22, lsl #3]
	ldr	x8, [x21]
	cmp	x8, x0
	b.ls	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #8]
	ldr	x8, [x8, x0, lsl #3]
	ldr	x9, [x8]
	cbz	x9, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x8, #8]
	cmp	w8, #0
	b.le	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19, #12]
	cmp	x22, x8
	b.lt	LBB0_5
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_floor0_free_info
	mov	x19, #0
LBB0_10:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_floor0_unpack
.subsections_via_symbols
