	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_initBloomState                 ## -- Begin function initBloomState
	.p2align	4, 0x90
_initBloomState:                        ## @initBloomState
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	24(%rsi), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %r15
	addq	%rbx, %r15
	incq	%r12
	movq	_BLOOM_HASH_PROC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_index_getprocinfo
	movq	_CurrentMemoryContext@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_fmgr_info_copy
	movq	16(%r13), %rax
	movl	(%rax,%rbx), %eax
	movq	16(%r14), %rcx
	movl	%eax, (%rcx,%rbx)
	movq	24(%r13), %rax
	movslq	(%rax), %rax
	addq	$4, %rbx
	cmpq	%rax, %r12
	jl	LBB0_2
LBB0_3:
	movq	(%r13), %r15
	testq	%r15, %r15
	jne	LBB0_9
## %bb.4:
	movl	8(%r13), %edi
	movl	$4, %esi
	callq	_MemoryContextAlloc
	movq	%rax, %r15
	movq	_BLOOM_METAPAGE_BLKNO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ReadBuffer
	movl	%eax, %r12d
	movq	_BUFFER_LOCK_SHARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_LockBuffer
	movl	%r12d, %edi
	callq	_BufferGetPage
	movl	%eax, %edi
	callq	_BloomPageIsMeta
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_6:
	movl	%r12d, %edi
	callq	_BufferGetPage
	movl	%eax, %edi
	callq	_BloomPageGetMeta
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_BLOOM_MAGICK_NUMBER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_8:
	movl	8(%rbx), %eax
	movl	%eax, (%r15)
	movl	%r12d, %edi
	callq	_UnlockReleaseBuffer
	movq	%r15, (%r13)
LBB0_9:
	leaq	4(%r14), %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_BLOOMTUPLEHDRSZ@GOTPCREL(%rip), %rax
	movslq	4(%r14), %rcx
	shlq	$2, %rcx
	addq	(%rax), %rcx
	movq	%rcx, 8(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLOOM_HASH_PROC,4,2            ## @BLOOM_HASH_PROC
	.comm	_CurrentMemoryContext,4,2       ## @CurrentMemoryContext
	.comm	_BLOOM_METAPAGE_BLKNO,4,2       ## @BLOOM_METAPAGE_BLKNO
	.comm	_BUFFER_LOCK_SHARE,4,2          ## @BUFFER_LOCK_SHARE
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Relation is not a bloom index"

	.comm	_BLOOM_MAGICK_NUMBER,8,3        ## @BLOOM_MAGICK_NUMBER
	.comm	_BLOOMTUPLEHDRSZ,8,3            ## @BLOOMTUPLEHDRSZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_initBloomState                 ; -- Begin function initBloomState
	.p2align	2
_initBloomState:                        ; @initBloomState
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1, #24]
	ldr	w8, [x8]
	str	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
	mov	x21, #0
Lloh0:
	adrp	x24, _BLOOM_HASH_PROC@GOTPAGE
Lloh1:
	ldr	x24, [x24, _BLOOM_HASH_PROC@GOTPAGEOFF]
Lloh2:
	adrp	x25, _CurrentMemoryContext@GOTPAGE
Lloh3:
	ldr	x25, [x25, _CurrentMemoryContext@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	add	x22, x8, x23
	add	x21, x21, #1
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x21
	bl	_index_getprocinfo
	mov	x1, x0
	ldr	w2, [x25]
	mov	x0, x22
	bl	_fmgr_info_copy
	ldp	x8, x9, [x20, #16]
	ldr	w8, [x8, x23]
	ldr	x10, [x19, #16]
	str	w8, [x10, x23]
	ldrsw	x8, [x9]
	add	x23, x23, #4
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
	ldr	x21, [x20]
	cbnz	x21, LBB0_9
; %bb.4:
	ldr	w0, [x20, #8]
	mov	w1, #4
	bl	_MemoryContextAlloc
	mov	x21, x0
Lloh4:
	adrp	x8, _BLOOM_METAPAGE_BLKNO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BLOOM_METAPAGE_BLKNO@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ReadBuffer
	mov	x22, x0
Lloh7:
	adrp	x8, _BUFFER_LOCK_SHARE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BUFFER_LOCK_SHARE@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_LockBuffer
	mov	x0, x22
	bl	_BufferGetPage
	bl	_BloomPageIsMeta
	cbnz	w0, LBB0_6
; %bb.5:
Lloh10:
	adrp	x8, _ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_6:
	mov	x0, x22
	bl	_BufferGetPage
	bl	_BloomPageGetMeta
	mov	x23, x0
	ldr	x8, [x0]
Lloh15:
	adrp	x9, _BLOOM_MAGICK_NUMBER@GOTPAGE
Lloh16:
	ldr	x9, [x9, _BLOOM_MAGICK_NUMBER@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.7:
Lloh18:
	adrp	x8, _ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_8:
	ldr	w8, [x23, #8]
	str	w8, [x21]
	mov	x0, x22
	bl	_UnlockReleaseBuffer
	str	x21, [x20]
LBB0_9:
	add	x0, x19, #4
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
Lloh23:
	adrp	x8, _BLOOMTUPLEHDRSZ@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BLOOMTUPLEHDRSZ@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	ldrsw	x9, [x19, #4]
	add	x8, x8, x9, lsl #2
	str	x8, [x19, #8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_BLOOM_HASH_PROC,4,2            ; @BLOOM_HASH_PROC
	.comm	_CurrentMemoryContext,4,2       ; @CurrentMemoryContext
	.comm	_BLOOM_METAPAGE_BLKNO,4,2       ; @BLOOM_METAPAGE_BLKNO
	.comm	_BUFFER_LOCK_SHARE,4,2          ; @BUFFER_LOCK_SHARE
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Relation is not a bloom index"

	.comm	_BLOOM_MAGICK_NUMBER,8,3        ; @BLOOM_MAGICK_NUMBER
	.comm	_BLOOMTUPLEHDRSZ,8,3            ; @BLOOMTUPLEHDRSZ
.subsections_via_symbols
