	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oggpack_look                   ## -- Begin function oggpack_look
	.p2align	4, 0x90
_oggpack_look:                          ## @oggpack_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
	movq	$-1, %rax
	cmpl	$32, %esi
	ja	LBB0_12
## %bb.1:
	movq	_mask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%esi, %edx
	movq	(%rcx,%rdx,8), %r8
	movl	(%rdi), %r9d
	movl	4(%rdi), %r10d
	addl	%r9d, %esi
	movl	8(%rdi), %edx
	leal	-4(%rdx), %ecx
	cmpl	%ecx, %r10d
	jl	LBB0_5
## %bb.2:
	leal	7(%rsi), %ecx
	sarl	$3, %ecx
	subl	%ecx, %edx
	cmpl	%edx, %r10d
	jg	LBB0_12
## %bb.3:
	testl	%esi, %esi
	je	LBB0_4
LBB0_5:
	movq	16(%rdi), %rdi
	movq	(%rdi), %rax
	movl	%r9d, %ecx
	shrq	%cl, %rax
	cmpl	$9, %esi
	jl	LBB0_11
## %bb.6:
	movq	8(%rdi), %rdx
	movb	$8, %cl
	subb	%r9b, %cl
	shlq	%cl, %rdx
	orq	%rdx, %rax
	cmpl	$17, %esi
	jb	LBB0_11
## %bb.7:
	movq	16(%rdi), %rdx
	movb	$16, %cl
	subb	%r9b, %cl
	shlq	%cl, %rdx
	orq	%rdx, %rax
	cmpl	$25, %esi
	jb	LBB0_11
## %bb.8:
	movq	24(%rdi), %rdx
	movb	$24, %cl
	subb	%r9b, %cl
	shlq	%cl, %rdx
	orq	%rdx, %rax
	testq	%r9, %r9
	je	LBB0_11
## %bb.9:
	cmpl	$33, %esi
	jb	LBB0_11
## %bb.10:
	movq	32(%rdi), %rdx
	addq	$32, %r9
	negq	%r9
	movl	%r9d, %ecx
	shlq	%cl, %rdx
	orq	%rdx, %rax
LBB0_11:
	andq	%r8, %rax
LBB0_12:
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mask,8,3                       ## @mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oggpack_look                   ; -- Begin function oggpack_look
	.p2align	2
_oggpack_look:                          ; @oggpack_look
	.cfi_startproc
; %bb.0:
	cmp	w1, #32
	b.ls	LBB0_2
; %bb.1:
	mov	x0, #-1
	ret
LBB0_2:
Lloh0:
	adrp	x8, _mask@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mask@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, w1, uxtw #3]
	ldp	w9, w10, [x0]
	add	w11, w9, w1
	ldr	w12, [x0, #8]
	sub	w13, w12, #4
	cmp	w10, w13
	b.lt	LBB0_6
; %bb.3:
	add	w13, w11, #7
	sub	w12, w12, w13, asr #3
	cmp	w10, w12
	b.le	LBB0_5
; %bb.4:
	mov	x0, #-1
	ret
LBB0_5:
	cbz	w11, LBB0_13
LBB0_6:
	ldr	x12, [x0, #16]
	ldr	x10, [x12]
	lsr	x10, x10, x9
	cmp	w11, #9
	b.lt	LBB0_12
; %bb.7:
	ldr	x13, [x12, #8]
	mov	w14, #8
	sub	w14, w14, w9
	lsl	x13, x13, x14
	orr	x10, x13, x10
	cmp	w11, #17
	b.lo	LBB0_12
; %bb.8:
	ldr	x13, [x12, #16]
	mov	w14, #16
	sub	w14, w14, w9
	lsl	x13, x13, x14
	orr	x10, x13, x10
	cmp	w11, #25
	b.lo	LBB0_12
; %bb.9:
	ldr	x13, [x12, #24]
	mov	w14, #24
	sub	w14, w14, w9
	lsl	x13, x13, x14
	orr	x10, x13, x10
	cbz	w9, LBB0_12
; %bb.10:
	cmp	w11, #33
	b.lo	LBB0_12
; %bb.11:
	ldr	x11, [x12, #32]
	mov	w12, #32
	sub	w9, w12, w9
	lsl	x9, x11, x9
	orr	x10, x9, x10
LBB0_12:
	and	x0, x10, x8
	ret
LBB0_13:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mask,8,3                       ; @mask
.subsections_via_symbols
