	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StrategyInitialize             ## -- Begin function StrategyInitialize
	.p2align	4, 0x90
_StrategyInitialize:                    ## @StrategyInitialize
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_NBuffers@GOTPCREL(%rip), %r15
	movq	_NUM_BUFFER_PARTITIONS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r15), %rdi
	callq	_InitBufTable
	leaq	L_.str(%rip), %rdi
	leaq	-28(%rbp), %rdx
	movl	$48, %esi
	callq	_ShmemInitStruct
	movq	_StrategyControl@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	cmpl	$0, -28(%rbp)
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	testl	%ebx, %ebx
	sete	%dil
	callq	_Assert
	jmp	LBB0_3
LBB0_1:
	movl	%ebx, %edi
	callq	_Assert
	movq	(%r14), %rdi
	addq	$40, %rdi
	callq	_SpinLockInit
	movq	(%r14), %rdi
	movq	$0, 32(%rdi)
	movq	(%r15), %rax
	decq	%rax
	movq	%rax, 24(%rdi)
	addq	$16, %rdi
	xorl	%esi, %esi
	callq	_pg_atomic_init_u32
	movq	(%r14), %rdi
	movq	$0, 8(%rdi)
	addq	$4, %rdi
	xorl	%esi, %esi
	callq	_pg_atomic_init_u32
	movq	(%r14), %rax
	movl	$-1, (%rax)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NBuffers,8,3                   ## @NBuffers
	.comm	_NUM_BUFFER_PARTITIONS,8,3      ## @NUM_BUFFER_PARTITIONS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Buffer Strategy Status"

	.comm	_StrategyControl,8,3            ## @StrategyControl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StrategyInitialize             ; -- Begin function StrategyInitialize
	.p2align	2
_StrategyInitialize:                    ; @StrategyInitialize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
Lloh0:
	adrp	x20, _NBuffers@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NBuffers@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _NUM_BUFFER_PARTITIONS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NUM_BUFFER_PARTITIONS@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_InitBufTable
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	w1, #48
	bl	_ShmemInitStruct
Lloh7:
	adrp	x21, _StrategyControl@GOTPAGE
Lloh8:
	ldr	x21, [x21, _StrategyControl@GOTPAGEOFF]
	str	x0, [x21]
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_2
; %bb.1:
	cmp	w19, #0
	cset	w0, eq
	bl	_Assert
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_Assert
	ldr	x8, [x21]
	add	x0, x8, #40
	bl	_SpinLockInit
	ldr	x8, [x21]
	ldr	x9, [x20]
	sub	x9, x9, #1
	stp	x9, xzr, [x8, #24]
	add	x0, x8, #16
	mov	w1, #0
	bl	_pg_atomic_init_u32
	ldr	x8, [x21]
	str	xzr, [x8, #8]
	add	x0, x8, #4
	mov	w1, #0
	bl	_pg_atomic_init_u32
	ldr	x8, [x21]
	mov	w9, #-1
	str	w9, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NBuffers,8,3                   ; @NBuffers
	.comm	_NUM_BUFFER_PARTITIONS,8,3      ; @NUM_BUFFER_PARTITIONS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Buffer Strategy Status"

	.comm	_StrategyControl,8,3            ; @StrategyControl
.subsections_via_symbols
