	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetAccessStrategy              ## -- Begin function GetAccessStrategy
	.p2align	4, 0x90
_GetAccessStrategy:                     ## @GetAccessStrategy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	leal	-128(%r14), %edx
	cmpl	$3, %edx
	ja	LBB0_2
## %bb.1:
	movl	$262144, %ecx                   ## imm = 0x40000
	xorl	%eax, %eax
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_3:
	movl	$16777216, %ecx                 ## imm = 0x1000000
LBB0_4:
	movq	_BLCKSZ@GOTPCREL(%rip), %rsi
	movl	%ecx, %eax
	xorl	%edx, %edx
	idivl	(%rsi)
	movq	_NBuffers@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	7(%rcx), %edi
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edi
	sarl	$3, %edi
	movl	%eax, %esi
	callq	_Min
	movl	%eax, %ebx
	movq	_BufferAccessStrategyData@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_buffers@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_offsetof
	movslq	%ebx, %rbx
	leaq	(%rax,%rbx,4), %rdi
	callq	_palloc0
	movl	%r14d, (%rax)
	movl	%ebx, 4(%rax)
	jmp	LBB0_5
LBB0_2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_elog
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_BLCKSZ,4,2                     ## @BLCKSZ
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unrecognized buffer access strategy: %d"

	.comm	_NBuffers,4,2                   ## @NBuffers
	.comm	_BufferAccessStrategyData,4,2   ## @BufferAccessStrategyData
	.comm	_buffers,4,2                    ## @buffers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetAccessStrategy              ; -- Begin function GetAccessStrategy
	.p2align	2
_GetAccessStrategy:                     ; @GetAccessStrategy
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	sub	w9, w0, #128
	cmp	w9, #3
	b.hi	LBB0_4
; %bb.1:
	mov	x0, #0
	mov	w8, #262144
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	mov	w8, #16777216
LBB0_3:
Lloh2:
	adrp	x9, _BLCKSZ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BLCKSZ@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _NBuffers@GOTPAGE
Lloh6:
	ldr	x10, [x10, _NBuffers@GOTPAGEOFF]
	sdiv	w1, w8, w9
Lloh7:
	ldr	w8, [x10]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #3
	bl	_Min
	mov	x20, x0
Lloh8:
	adrp	x8, _BufferAccessStrategyData@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BufferAccessStrategyData@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _buffers@GOTPAGE
Lloh12:
	ldr	x8, [x8, _buffers@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_offsetof
	add	x0, x0, w20, sxtw #2
	bl	_palloc0
	stp	w19, w20, [x0]
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x8, _ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_elog
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
                                        ; -- End function
	.comm	_BLCKSZ,4,2                     ; @BLCKSZ
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unrecognized buffer access strategy: %d"

	.comm	_NBuffers,4,2                   ; @NBuffers
	.comm	_BufferAccessStrategyData,4,2   ; @BufferAccessStrategyData
	.comm	_buffers,4,2                    ; @buffers
.subsections_via_symbols
