	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alloc_new_cluster              ## -- Begin function alloc_new_cluster
	.p2align	4, 0x90
_alloc_new_cluster:                     ## @alloc_new_cluster
	.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
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_vkprintf
	movl	$40, %edi
	callq	_zmalloc0
	movq	%rax, %rbx
	movq	_BINLOG_BUFFER_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	addl	%edi, %edi
	callq	_malloc
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	_assert
	movq	8(%rbx), %rax
	movslq	(%r14), %rcx
	leaq	(%rax,%rcx,2), %rcx
	movq	%rcx, 32(%rbx)
	movq	%rax, 24(%rbx)
	movq	%rax, 16(%rbx)
	movq	_MAX_BINLOG_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CRC64_ARRAY_STEP_LOG@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edi
	shll	$3, %edi
	callq	_malloc
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_assert
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Allocating new cluster\n"

	.comm	_BINLOG_BUFFER_SIZE,4,2         ## @BINLOG_BUFFER_SIZE
	.comm	_MAX_BINLOG_SIZE,4,2            ## @MAX_BINLOG_SIZE
	.comm	_CRC64_ARRAY_STEP_LOG,4,2       ## @CRC64_ARRAY_STEP_LOG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alloc_new_cluster              ; -- Begin function alloc_new_cluster
	.p2align	2
_alloc_new_cluster:                     ; @alloc_new_cluster
	.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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
	mov	w0, #40
	bl	_zmalloc0
	mov	x19, x0
Lloh2:
	adrp	x20, _BINLOG_BUFFER_SIZE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _BINLOG_BUFFER_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #1
	bl	_malloc
	str	x0, [x19, #8]
	bl	_assert
	ldr	x8, [x19, #8]
	ldrsw	x9, [x20]
	add	x9, x8, x9, lsl #1
	stp	x8, x9, [x19, #24]
	str	x8, [x19, #16]
Lloh4:
	adrp	x8, _MAX_BINLOG_SIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MAX_BINLOG_SIZE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _CRC64_ARRAY_STEP_LOG@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CRC64_ARRAY_STEP_LOG@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	asr	w8, w8, w9
	lsl	w0, w8, #3
	bl	_malloc
	str	x0, [x19]
	bl	_assert
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Allocating new cluster\n"

	.comm	_BINLOG_BUFFER_SIZE,4,2         ; @BINLOG_BUFFER_SIZE
	.comm	_MAX_BINLOG_SIZE,4,2            ; @MAX_BINLOG_SIZE
	.comm	_CRC64_ARRAY_STEP_LOG,4,2       ; @CRC64_ARRAY_STEP_LOG
.subsections_via_symbols
