	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oggpackB_look                  ## -- Begin function oggpackB_look
	.p2align	4, 0x90
_oggpackB_look:                         ## @oggpackB_look
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movl	$32, %r10d
	movq	$-1, %rax
	subl	%esi, %r10d
	jb	LBB0_12
## %bb.1:
	movl	(%rdi), %r8d
	movl	4(%rdi), %r11d
	leal	(%r8,%rsi), %r9d
	movl	8(%rdi), %edx
	leal	-4(%rdx), %ecx
	cmpl	%ecx, %r11d
	jl	LBB0_5
## %bb.2:
	leal	7(%r9), %ecx
	sarl	$3, %ecx
	subl	%ecx, %edx
	cmpl	%edx, %r11d
	jg	LBB0_12
## %bb.3:
	testl	%r9d, %r9d
	je	LBB0_4
LBB0_5:
	movq	16(%rdi), %rdi
	movl	(%rdi), %eax
	leal	24(%r8), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	cmpl	$9, %r9d
	jl	LBB0_11
## %bb.6:
	movl	4(%rdi), %edx
	leal	16(%r8), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	orl	%edx, %eax
	cmpl	$17, %r9d
	jb	LBB0_11
## %bb.7:
	movl	8(%rdi), %edx
	leal	8(%r8), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	orl	%edx, %eax
	cmpl	$25, %r9d
	jb	LBB0_11
## %bb.8:
	movl	12(%rdi), %edx
	movl	%r8d, %ecx
	shll	%cl, %edx
	orl	%edx, %eax
	testl	%r8d, %r8d
	je	LBB0_11
## %bb.9:
	cmpl	$33, %r9d
	jb	LBB0_11
## %bb.10:
	movl	16(%rdi), %edx
	movb	$8, %cl
	subb	%r8b, %cl
	sarl	%cl, %edx
	orl	%edx, %eax
LBB0_11:
	movl	%eax, %eax
	shrl	%r10d
	movl	%r10d, %ecx
	shrq	%cl, %rax
	movl	$33, %ecx
	subl	%esi, %ecx
	shrl	%ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shrq	%cl, %rax
LBB0_12:
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oggpackB_look                  ; -- Begin function oggpackB_look
	.p2align	2
_oggpackB_look:                         ; @oggpackB_look
	.cfi_startproc
; %bb.0:
	cmp	w1, #32
	b.ls	LBB0_2
; %bb.1:
	mov	x0, #-1
	ret
LBB0_2:
	ldp	w8, w9, [x0]
	add	w10, w8, w1
	ldr	w11, [x0, #8]
	sub	w12, w11, #4
	cmp	w9, w12
	b.lt	LBB0_6
; %bb.3:
	add	w12, w10, #7
	sub	w11, w11, w12, asr #3
	cmp	w9, w11
	b.le	LBB0_5
; %bb.4:
	mov	x0, #-1
	ret
LBB0_5:
	cbz	w10, LBB0_13
LBB0_6:
	mov	w9, #32
	sub	w9, w9, w1
	ldr	x12, [x0, #16]
	ldr	w11, [x12]
	add	w13, w8, #24
	lsl	w11, w11, w13
	cmp	w10, #9
	b.lt	LBB0_12
; %bb.7:
	ldr	w13, [x12, #4]
	add	w14, w8, #16
	lsl	w13, w13, w14
	orr	w11, w13, w11
	cmp	w10, #17
	b.lo	LBB0_12
; %bb.8:
	ldr	w13, [x12, #8]
	add	w14, w8, #8
	lsl	w13, w13, w14
	orr	w11, w13, w11
	cmp	w10, #25
	b.lo	LBB0_12
; %bb.9:
	ldr	w13, [x12, #12]
	lsl	w13, w13, w8
	orr	w11, w13, w11
	cbz	w8, LBB0_12
; %bb.10:
	cmp	w10, #33
	b.lo	LBB0_12
; %bb.11:
	ldr	w10, [x12, #16]
	mov	w12, #8
	sub	w8, w12, w8
	asr	w8, w10, w8
	orr	w11, w8, w11
LBB0_12:
	mov	w8, w11
	asr	w9, w9, #1
	lsr	x8, x8, x9
	mov	w9, #33
	sub	w9, w9, w1
	lsr	w9, w9, #1
	lsr	x0, x8, x9
	ret
LBB0_13:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
