	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bayes_local_get_count          ## -- Begin function bayes_local_get_count
	.p2align	4, 0x90
_bayes_local_get_count:                 ## @bayes_local_get_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	je	LBB0_7
## %bb.1:
	addq	$4, %rdi
	xorl	%eax, %eax
	cmpl	$2, %r8d
	jl	LBB0_8
## %bb.2:
	xorl	%r9d, %r9d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r10d, %r9d
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	leal	1(%r9), %ecx
	cmpl	%r8d, %ecx
	jge	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r8d, %r10d
	subl	%r9d, %r10d
	sarl	%r10d
	addl	%r9d, %r10d
	movslq	%r10d, %rcx
	shlq	$4, %rcx
	cmpq	%rsi, (%rdi,%rcx)
	jle	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r10d, %r8d
	jmp	LBB0_4
LBB0_7:
	xorl	%eax, %eax
LBB0_14:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_8:
	xorl	%ecx, %ecx
	jmp	LBB0_10
LBB0_9:
	movslq	%r9d, %rcx
LBB0_10:
	shlq	$4, %rcx
	cmpq	%rsi, (%rdi,%rcx)
	jne	LBB0_14
## %bb.11:
	movq	_SPAM@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_13
## %bb.12:
	movl	8(%rdi,%rcx), %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_13:
	movl	12(%rdi,%rcx), %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPAM,4,2                       ## @SPAM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bayes_local_get_count          ; -- Begin function bayes_local_get_count
	.p2align	2
_bayes_local_get_count:                 ; @bayes_local_get_count
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0], #4
	cbz	w8, LBB0_9
; %bb.1:
	cmp	w8, #2
	b.lt	LBB0_5
; %bb.2:
	mov	w9, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w10, w8, w9
	add	w10, w9, w10, asr #1
	sbfiz	x11, x10, #4, #32
	ldr	x11, [x0, x11]
	cmp	x11, x1
	csel	w9, w9, w10, gt
	csel	w8, w10, w8, gt
	add	w10, w9, #1
	cmp	w10, w8
	b.lt	LBB0_3
; %bb.4:
	sxtw	x8, w9
	b	LBB0_6
LBB0_5:
	mov	x8, #0
LBB0_6:
	lsl	x9, x8, #4
	ldr	x9, [x0, x9]
	cmp	x9, x1
	b.ne	LBB0_9
; %bb.7:
Lloh0:
	adrp	x9, _SPAM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SPAM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	x8, x0, x8, lsl #4
	cmp	w9, w2
	b.ne	LBB0_10
; %bb.8:
	ldr	w0, [x8, #8]
	ret
LBB0_9:
	mov	w0, #0
	ret
LBB0_10:
	ldr	w0, [x8, #12]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SPAM,4,2                       ; @SPAM
.subsections_via_symbols
