	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filesys_le_start
_filesys_le_start:                      ## @filesys_le_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rcx
	movq	_FILESYS_SCHEMA_V1@GOTPCREL(%rip), %rdx
	movl	$-1, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	_log_split_min@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	16(%rdi), %rdi
	movq	_log_split_max@GOTPCREL(%rip), %rdx
	movq	%rdi, (%rdx)
	movq	24(%rbx), %rdx
	movq	_log_split_mod@GOTPCREL(%rip), %rsi
	movq	%rdx, (%rsi)
	testq	%rdx, %rdx
	setg	%sil
	testq	%rax, %rax
	setns	%cl
	andb	%sil, %cl
	incq	%rax
	cmpq	%rdi, %rax
	sete	%al
	andb	%cl, %al
	cmpq	%rdx, %rdi
	setle	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	xorl	%edi, %edi
	cmpl	$8, 32(%rbx)
	sete	%dil
	callq	_assert
	movl	36(%rbx), %esi
	leaq	-16(%rbp), %rdi
	movl	$8, %edx
	callq	_memcpy
	movq	_volume_id@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	-16(%rbp), %rcx
	testq	%rdx, %rdx
	js	LBB0_3
## %bb.2:
	cmpq	%rdx, %rcx
	jne	LBB0_5
LBB0_3:
	movq	%rcx, (%rax)
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_FILESYS_SCHEMA_V1,8,3          ## @FILESYS_SCHEMA_V1
	.comm	_log_split_min,8,3              ## @log_split_min
	.comm	_log_split_max,8,3              ## @log_split_max
	.comm	_log_split_mod,8,3              ## @log_split_mod
	.comm	_volume_id,8,3                  ## @volume_id
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Binlog volume_id isn't matched.\n"

	.no_dead_strip	_filesys_le_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filesys_le_start
_filesys_le_start:                      ; @filesys_le_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _FILESYS_SCHEMA_V1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FILESYS_SCHEMA_V1@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _log_split_min@GOTPAGE
Lloh4:
	ldr	x8, [x8, _log_split_min@GOTPAGEOFF]
	ldp	x9, x10, [x0, #8]
Lloh5:
	adrp	x11, _log_split_max@GOTPAGE
Lloh6:
	ldr	x11, [x11, _log_split_max@GOTPAGEOFF]
Lloh7:
	str	x9, [x8]
Lloh8:
	str	x10, [x11]
	ldr	x8, [x0, #24]
Lloh9:
	adrp	x11, _log_split_mod@GOTPAGE
Lloh10:
	ldr	x11, [x11, _log_split_mod@GOTPAGEOFF]
Lloh11:
	str	x8, [x11]
	cmp	x8, #0
	ccmp	x9, #0, #8, gt
	add	x9, x9, #1
	ccmp	x9, x10, #0, ge
	ccmp	x10, x8, #0, eq
	cset	w0, le
	bl	_assert
	ldr	w8, [x19, #32]
	cmp	w8, #8
	cset	w0, eq
	bl	_assert
	ldr	w1, [x19, #36]
	add	x0, sp, #8
	mov	w2, #8
	bl	_memcpy
Lloh12:
	adrp	x8, _volume_id@GOTPAGE
Lloh13:
	ldr	x8, [x8, _volume_id@GOTPAGEOFF]
	ldr	x10, [x8]
	ldr	x9, [sp, #8]
	tbnz	x10, #63, LBB0_3
; %bb.2:
	cmp	x9, x10
	b.ne	LBB0_6
LBB0_3:
	mov	w0, #0
	str	x9, [x8]
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
Lloh14:
	adrp	x8, _stderr@GOTPAGE
Lloh15:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh7
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_FILESYS_SCHEMA_V1,8,3          ; @FILESYS_SCHEMA_V1
	.comm	_log_split_min,8,3              ; @log_split_min
	.comm	_log_split_max,8,3              ; @log_split_max
	.comm	_log_split_mod,8,3              ; @log_split_mod
	.comm	_volume_id,8,3                  ; @volume_id
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Binlog volume_id isn't matched.\n"

	.no_dead_strip	_filesys_le_start
.subsections_via_symbols
