	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_binlog_files             ## -- Begin function check_binlog_files
	.p2align	4, 0x90
_check_binlog_files:                    ## @check_binlog_files
	.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	_local_rbs@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	_LR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%ebx, %ebx
	movq	_LRF_BROKEN@GOTPCREL(%rip), %r12
	movq	_LRF_MASTER@GOTPCREL(%rip), %r13
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_workers@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_21
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movq	_local_rbs@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$4, %rbx
	cmpq	%rax, %r15
	jge	LBB0_25
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	addq	%rbx, %rdi
	callq	_check_binlog
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_LR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	(%rdi,%rbx), %rax
	movl	(%rdi,%rbx), %ecx
	movl	(%r13), %edx
	testl	%ecx, %edx
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_binlog_disabled@GOTPCREL(%rip), %rsi
	cmpq	$0, (%rsi)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	orl	(%r12), %ecx
	movq	_LRF_READONLY_MODE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rax)
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r12), %eax
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_LR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	orl	%eax, (%rdi,%rbx)
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%r14d
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %eax
	testl	%eax, (%rdi,%rbx)
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_conf_master_binlogs@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	(%r12), %ecx
	movq	_broken_master_binlogs@GOTPCREL(%rip), %rax
	testl	%ecx, (%rdi,%rbx)
	je	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	(%rax)
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%ecx, %edx
	je	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%ecx, %edx
	jne	LBB0_18
	jmp	LBB0_12
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_conf_slave_binlogs@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	(%r12), %ecx
	movq	_broken_slave_binlogs@GOTPCREL(%rip), %rax
	testl	%ecx, (%rdi,%rbx)
	jne	LBB0_23
	jmp	LBB0_24
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rdi
	callq	_lock_last_binlog
	testq	%rax, %rax
	js	LBB0_26
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_LR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	(%rdi,%rbx), %ecx
	movl	(%r13), %edx
	testl	%ecx, %edx
	jne	LBB0_18
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	%rbx, %rdi
	callq	_create_slave_target
	testq	%rax, %rax
	js	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_LR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	jmp	LBB0_18
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_LRF_LOCK_BINLOG_FAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_LRF_TARGET_CR_FAIL@GOTPCREL(%rip), %rax
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %eax
	orl	(%r12), %eax
	jmp	LBB0_16
LBB0_1:
	xorl	%r14d, %r14d
LBB0_25:
	subl	%r14d, %eax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_local_rbs,4,2                  ## @local_rbs
	.comm	_LR,8,3                         ## @LR
	.comm	_LRF_BROKEN,4,2                 ## @LRF_BROKEN
	.comm	_LRF_MASTER,4,2                 ## @LRF_MASTER
	.comm	_binlog_disabled,8,3            ## @binlog_disabled
	.comm	_LRF_READONLY_MODE,4,2          ## @LRF_READONLY_MODE
	.comm	_LRF_LOCK_BINLOG_FAIL,4,2       ## @LRF_LOCK_BINLOG_FAIL
	.comm	_LRF_TARGET_CR_FAIL,4,2         ## @LRF_TARGET_CR_FAIL
	.comm	_conf_master_binlogs,4,2        ## @conf_master_binlogs
	.comm	_broken_master_binlogs,4,2      ## @broken_master_binlogs
	.comm	_workers,4,2                    ## @workers
	.comm	_conf_slave_binlogs,4,2         ## @conf_slave_binlogs
	.comm	_broken_slave_binlogs,4,2       ## @broken_slave_binlogs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_binlog_files             ; -- Begin function check_binlog_files
	.p2align	2
_check_binlog_files:                    ; @check_binlog_files
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x20, _local_rbs@GOTPAGE
Lloh1:
	ldr	x20, [x20, _local_rbs@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	w9, #1
	b.lt	LBB0_23
; %bb.1:
	mov	x21, #0
	mov	x22, #0
	mov	w19, #0
Lloh2:
	adrp	x23, _LR@GOTPAGE
Lloh3:
	ldr	x23, [x23, _LR@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh4:
	adrp	x24, _LRF_BROKEN@GOTPAGE
Lloh5:
	ldr	x24, [x24, _LRF_BROKEN@GOTPAGEOFF]
Lloh6:
	adrp	x25, _LRF_MASTER@GOTPAGE
Lloh7:
	ldr	x25, [x25, _LRF_MASTER@GOTPAGEOFF]
Lloh8:
	adrp	x28, _conf_master_binlogs@GOTPAGE
Lloh9:
	ldr	x28, [x28, _conf_master_binlogs@GOTPAGEOFF]
Lloh10:
	adrp	x27, _broken_master_binlogs@GOTPAGE
Lloh11:
	ldr	x27, [x27, _broken_master_binlogs@GOTPAGEOFF]
Lloh12:
	adrp	x26, _binlog_disabled@GOTPAGE
Lloh13:
	ldr	x26, [x26, _binlog_disabled@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh14:
	adrp	x9, _workers@GOTPAGE
Lloh15:
	ldr	x9, [x9, _workers@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cbz	w9, LBB0_15
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	ldrsw	x9, [x20]
	add	x21, x21, #4
	cmp	x22, x9
	b.ge	LBB0_24
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x8, x21
	bl	_check_binlog
	tbnz	x0, #63, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	add	x0, x8, x21
	ldr	w9, [x0]
	ldr	w10, [x25]
	and	w11, w10, w9
	ldr	x12, [x26]
	cmp	w11, #0
	ccmp	x12, #0, #4, eq
	b.ne	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w11, LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w10, w9
	b.ne	LBB0_12
	b	LBB0_18
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x24]
	ldr	x8, [x23]
	ldr	w10, [x8, x21]
	orr	w9, w10, w9
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w9, [x8, x21]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x24]
Lloh17:
	adrp	x11, _LRF_READONLY_MODE@GOTPAGE
Lloh18:
	ldr	x11, [x11, _LRF_READONLY_MODE@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
	orr	w9, w10, w9
	orr	w9, w9, w11
	str	w9, [x0]
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w19, w19, #1
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x8, x21]
	ldr	w10, [x25]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x28]
	add	w9, w9, #1
	str	w9, [x28]
	ldr	w10, [x8, x21]
	ldr	w11, [x24]
	mov	x9, x27
	tst	w11, w10
	b.eq	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x9]
	add	w10, w10, #1
	str	w10, [x9]
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh20:
	adrp	x10, _conf_slave_binlogs@GOTPAGE
Lloh21:
	ldr	x10, [x10, _conf_slave_binlogs@GOTPAGEOFF]
	ldr	w9, [x10]
	add	w9, w9, #1
	str	w9, [x10]
	ldr	w10, [x8, x21]
	ldr	w11, [x24]
Lloh22:
	adrp	x9, _broken_slave_binlogs@GOTPAGE
Lloh23:
	ldr	x9, [x9, _broken_slave_binlogs@GOTPAGEOFF]
	tst	w11, w10
	b.ne	LBB0_14
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_lock_last_binlog
	tbnz	x0, #63, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	ldr	w9, [x8, x21]
	ldr	w10, [x25]
	tst	w10, w9
	b.ne	LBB0_12
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x8, x21
	bl	_create_slave_target
	tbnz	x0, #63, LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	b	LBB0_12
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
Lloh24:
	adrp	x9, _LRF_LOCK_BINLOG_FAIL@GOTPAGE
Lloh25:
	ldr	x9, [x9, _LRF_LOCK_BINLOG_FAIL@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
Lloh26:
	adrp	x9, _LRF_TARGET_CR_FAIL@GOTPAGE
Lloh27:
	ldr	x9, [x9, _LRF_TARGET_CR_FAIL@GOTPAGEOFF]
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x9]
	orr	w9, w9, w8
	ldr	x8, [x23]
	ldr	w10, [x8, x21]
	orr	w9, w9, w10
	b	LBB0_9
LBB0_23:
	mov	w19, #0
LBB0_24:
	sub	w0, w9, w19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_local_rbs,4,2                  ; @local_rbs
	.comm	_LR,8,3                         ; @LR
	.comm	_LRF_BROKEN,4,2                 ; @LRF_BROKEN
	.comm	_LRF_MASTER,4,2                 ; @LRF_MASTER
	.comm	_binlog_disabled,8,3            ; @binlog_disabled
	.comm	_LRF_READONLY_MODE,4,2          ; @LRF_READONLY_MODE
	.comm	_LRF_LOCK_BINLOG_FAIL,4,2       ; @LRF_LOCK_BINLOG_FAIL
	.comm	_LRF_TARGET_CR_FAIL,4,2         ; @LRF_TARGET_CR_FAIL
	.comm	_conf_master_binlogs,4,2        ; @conf_master_binlogs
	.comm	_broken_master_binlogs,4,2      ; @broken_master_binlogs
	.comm	_workers,4,2                    ; @workers
	.comm	_conf_slave_binlogs,4,2         ; @conf_slave_binlogs
	.comm	_broken_slave_binlogs,4,2       ; @broken_slave_binlogs
.subsections_via_symbols
