	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function rescan_binlog_table
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_rescan_binlog_table
	.p2align	4, 0x90
_rescan_binlog_table:                   ## @rescan_binlog_table
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movq	_am_monitor@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_CData@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, (%rax)
LBB0_2:
	movq	_mes_binlogs_num@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:
	movq	_mes_binlogs@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rcx)
	incq	%rdx
	movslq	(%r13), %rax
	addq	$24, %rcx
	cmpq	%rax, %rdx
	jl	LBB0_4
LBB0_5:
	movq	_active_pnum@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_40
## %bb.6:
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_7:                                 ##   in Loop: Header=BB0_10 Depth=1
	movl	$48, %edi
	callq	_mon_heap_alloc
	movl	%eax, %r14d
	movq	_mes_binlogs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r14d, 16(%rax,%rbx,8)
	movl	%r14d, %edi
	callq	_assert
	movl	%r14d, %edi
	callq	_conv_mon_ptr
	movl	$1, (%rax)
	movq	%r13, 8(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rax)
	movq	_BINLOGPOS_QUEUE_MAGIC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rax)
	movq	_cdata_my_pid@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 16(%rax)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_set_binlog_data_offset
	movq	_active_pids@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15,4), %edx
	movl	$3, %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rcx
	movl	%r14d, %r8d
LBB0_8:                                 ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	callq	_vkprintf
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=1
	incq	%r15
	movslq	(%r12), %rax
	cmpq	%rax, %r15
	jge	LBB0_39
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	movq	_active_pids@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15,4), %edi
	callq	_get_proc_status
	movq	%rax, %r8
	movq	8(%rax), %rax
	movq	(%rax), %r13
	testq	%r13, %r13
	je	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	8(%rax), %r13
	jne	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_mes_binlogs_num@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	jle	LBB0_25
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_mes_binlogs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	$-1, %ecx
	movl	%eax, %ebx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_16 Depth=2
	movl	%esi, %ecx
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=2
	movl	%ebx, %esi
	subl	%ecx, %esi
	cmpl	$1, %esi
	jle	LBB0_18
LBB0_16:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	(%rcx,%rbx), %esi
	sarl	%esi
	movslq	%esi, %rdi
	leaq	(%rdi,%rdi,2), %rdi
	cmpq	%r13, 8(%rdx,%rdi,8)
	jle	LBB0_14
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=2
	movl	%esi, %ebx
	jmp	LBB0_15
LBB0_18:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r8), %rdx
	movl	(%rdx), %r12d
	testl	%ecx, %ecx
	js	LBB0_27
## %bb.19:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_mes_binlogs@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, %ecx
	leaq	(%rcx,%rcx,2), %r14
	cmpq	%r13, 8(%rdx,%r14,8)
	jne	LBB0_27
## %bb.20:                              ##   in Loop: Header=BB0_10 Depth=1
	incl	(%rdx,%r14,8)
	movl	16(%rdx,%r14,8), %ebx
	testl	%r12d, %r12d
	je	LBB0_36
## %bb.21:                              ##   in Loop: Header=BB0_10 Depth=1
	testl	%ebx, %ebx
	je	LBB0_38
## %bb.22:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpl	%r12d, %ebx
	movq	_active_pnum@GOTPCREL(%rip), %r12
	je	LBB0_9
## %bb.23:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_am_monitor@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.24:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r8, %rdi
	movl	%ebx, %esi
	callq	_set_binlog_data_offset
	jmp	LBB0_9
LBB0_27:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_28
LBB0_25:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r8), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %ebx
LBB0_28:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%edi, %edi
	movq	_MES_BINLOGS_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	setl	%dil
	callq	_assert
	movq	_mes_binlogs@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movslq	%ebx, %r12
	leaq	(,%r12,8), %rax
	leaq	(%rax,%rax,2), %rbx
	leaq	(%rsi,%rbx), %rdi
	addq	$24, %rdi
	addq	%rbx, %rsi
	movq	_mes_binlogs_num@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	subl	%r12d, %edx
	shll	$2, %edx
	callq	_memmove
	incl	(%r14)
	movq	_mes_binlogs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r13, 8(%rax,%rbx)
	movl	$1, (%rax,%rbx)
	xorl	%r14d, %r14d
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	je	LBB0_34
## %bb.29:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%ebx, %edi
	callq	_conv_mon_ptr
	testq	%rax, %rax
	je	LBB0_34
## %bb.30:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	24(%rax), %rcx
	movq	_BINLOGPOS_QUEUE_MAGIC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_34
## %bb.31:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_am_monitor@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_cdata_my_pid@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 16(%rax)
LBB0_33:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	%ebx, %r14d
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	_mes_binlogs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r12,%r12,2), %rbx
	movl	%r14d, 16(%rax,%rbx,8)
	movq	_am_monitor@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_active_pnum@GOTPCREL(%rip), %r12
	je	LBB0_9
## %bb.35:                              ##   in Loop: Header=BB0_10 Depth=1
	testl	%r14d, %r14d
	je	LBB0_7
	jmp	LBB0_9
LBB0_36:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	_am_monitor@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_active_pnum@GOTPCREL(%rip), %r12
	je	LBB0_9
## %bb.37:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%ebx, %edi
	movq	%r8, %r14
	callq	_assert
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_set_binlog_data_offset
	movq	_active_pids@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15,4), %edx
	movl	$3, %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rcx
	movl	%ebx, %r8d
	jmp	LBB0_8
LBB0_38:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%edi, %edi
	movq	_am_monitor@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	sete	%dil
	callq	_assert
	movq	_mes_binlogs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r12d, 16(%rax,%r14,8)
	movq	_active_pnum@GOTPCREL(%rip), %r12
	jmp	LBB0_9
LBB0_39:
	movq	_mes_binlogs_num@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
LBB0_40:
	testl	%eax, %eax
	jle	LBB0_50
## %bb.41:
	movq	_mes_binlogs@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_44
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_44 Depth=1
	incl	%r15d
LBB0_43:                                ##   in Loop: Header=BB0_44 Depth=1
	incq	%r14
	movslq	(%r13), %rax
	addq	$24, %rbx
	cmpq	%rax, %r14
	jge	LBB0_51
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	cmpl	$0, (%rax,%rbx)
	je	LBB0_47
## %bb.45:                              ##   in Loop: Header=BB0_44 Depth=1
	movl	%r15d, %ecx
	cmpq	%rcx, %r14
	je	LBB0_42
## %bb.46:                              ##   in Loop: Header=BB0_44 Depth=1
	movslq	%r15d, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movq	16(%rax,%rbx), %rdx
	movq	%rdx, 16(%rax,%rcx,8)
	movups	(%rax,%rbx), %xmm0
	movups	%xmm0, (%rax,%rcx,8)
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_44 Depth=1
	movl	16(%rax,%rbx), %r13d
	movq	8(%rax,%rbx), %rdx
	movl	$3, %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_vkprintf
	movq	_am_monitor@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_44 Depth=1
	movl	%r13d, %edi
	callq	_assert
	movl	%r13d, %edi
	callq	_mon_heap_free
LBB0_49:                                ##   in Loop: Header=BB0_44 Depth=1
	movq	_mes_binlogs_num@GOTPCREL(%rip), %r13
	jmp	LBB0_43
LBB0_50:
	xorl	%r15d, %r15d
LBB0_51:
	leaq	L_.str.4(%rip), %rsi
	movl	$3, %edi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_vkprintf
	movl	%r15d, (%r13)
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"monitor: rescanning binlog table\n"

	.comm	_am_monitor,8,3                 ## @am_monitor
	.comm	_CData,8,3                      ## @CData
	.comm	_mes_binlogs_num,4,2            ## @mes_binlogs_num
	.comm	_mes_binlogs,8,3                ## @mes_binlogs
	.comm	_active_pnum,4,2                ## @active_pnum
	.comm	_active_pids,8,3                ## @active_pids
L_.str.1:                               ## @.str.1
	.asciz	"monitor: updating binlog info for process %d, binlog name hash %016llx to %d\n"

	.comm	_MES_BINLOGS_MAX,4,2            ## @MES_BINLOGS_MAX
	.comm	_BINLOGPOS_QUEUE_MAGIC,8,3      ## @BINLOGPOS_QUEUE_MAGIC
	.comm	_cdata_my_pid,8,3               ## @cdata_my_pid
L_.str.2:                               ## @.str.2
	.asciz	"monitor: allocating binlog info (process %d) for binlog name hash %016llx at %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"monitor: forgetting unused binlog name hash %016llx (data at %d)\n"

L_.str.4:                               ## @.str.4
	.asciz	"monitor: %d active binlogs found\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rescan_binlog_table            ; -- Begin function rescan_binlog_table
	.p2align	2
_rescan_binlog_table:                   ; @rescan_binlog_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	bl	_vkprintf
Lloh2:
	adrp	x27, _am_monitor@GOTPAGE
Lloh3:
	ldr	x27, [x27, _am_monitor@GOTPAGEOFF]
	ldr	x8, [x27]
	cbz	x8, LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _CData@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CData@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	str	xzr, [x8]
LBB0_2:
Lloh7:
	adrp	x24, _mes_binlogs_num@GOTPAGE
Lloh8:
	ldr	x24, [x24, _mes_binlogs_num@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh9:
	adrp	x26, _mes_binlogs@GOTPAGE
Lloh10:
	ldr	x26, [x26, _mes_binlogs@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x9, #0
	ldr	x10, [x26]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	wzr, [x10], #24
	add	x9, x9, #1
	ldrsw	x8, [x24]
	cmp	x9, x8
	b.lt	LBB0_4
LBB0_5:
Lloh11:
	adrp	x9, _active_pnum@GOTPAGE
Lloh12:
	ldr	x9, [x9, _active_pnum@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_36
; %bb.6:
	mov	x28, #0
Lloh14:
	adrp	x19, _active_pids@GOTPAGE
Lloh15:
	ldr	x19, [x19, _active_pids@GOTPAGEOFF]
	mov	w20, #24
Lloh16:
	adrp	x24, _active_pnum@GOTPAGE
Lloh17:
	ldr	x24, [x24, _active_pnum@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	w0, #48
	bl	_mon_heap_alloc
	mov	x22, x0
	ldr	x8, [x26]
	madd	x8, x23, x20, x8
	str	w0, [x8, #16]
	bl	_assert
	mov	x0, x22
	bl	_conv_mon_ptr
	mov	w8, #1
	str	w8, [x0]
	str	xzr, [x0, #40]
Lloh18:
	adrp	x8, _BINLOGPOS_QUEUE_MAGIC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BINLOGPOS_QUEUE_MAGIC@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	stp	x8, xzr, [x0, #24]
Lloh21:
	adrp	x8, _cdata_my_pid@GOTPAGE
Lloh22:
	ldr	x8, [x8, _cdata_my_pid@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	stp	x25, x8, [x0, #8]
	mov	x0, x21
	mov	x1, x22
	bl	_set_binlog_data_offset
	ldr	x8, [x19]
	ldr	w8, [x8, x28, lsl #2]
	stp	x25, x22, [sp, #8]
	str	x8, [sp]
	mov	w0, #3
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	bl	_vkprintf
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x28, x28, #1
	ldrsw	x8, [x24]
	cmp	x28, x8
	b.ge	LBB0_35
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	ldr	x8, [x19]
	ldr	w0, [x8, x28, lsl #2]
	bl	_get_proc_status
	ldr	x8, [x0, #8]
	ldr	x25, [x8]
	cbz	x25, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x8, #8]
	cmp	x25, x8
	b.ne	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x21, x0
Lloh26:
	adrp	x8, _mes_binlogs_num@GOTPAGE
Lloh27:
	ldr	x8, [x8, _mes_binlogs_num@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w8, #0
	b.le	LBB0_21
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh29:
	adrp	x9, _mes_binlogs@GOTPAGE
Lloh30:
	ldr	x9, [x9, _mes_binlogs@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	mov	w19, #-1
	mov	x27, x8
LBB0_14:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w10, w19, w27
	asr	w10, w10, #1
	smaddl	x11, w10, w20, x9
	ldr	x11, [x11, #8]
	cmp	x11, x25
	csel	w27, w10, w27, gt
	csel	w19, w19, w10, gt
	sub	w10, w27, w19
	cmp	w10, #1
	b.gt	LBB0_14
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [x21]
	ldr	w22, [x9]
	tbnz	w19, #31, LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh32:
	adrp	x9, _mes_binlogs@GOTPAGE
Lloh33:
	ldr	x9, [x9, _mes_binlogs@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	umaddl	x10, w19, w20, x9
	ldr	x10, [x10, #8]
	cmp	x10, x25
	b.ne	LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=1
	madd	x8, x19, x20, x9
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	w23, [x8, #16]
Lloh35:
	adrp	x27, _am_monitor@GOTPAGE
Lloh36:
	ldr	x27, [x27, _am_monitor@GOTPAGEOFF]
	cbz	w22, LBB0_32
; %bb.18:                               ;   in Loop: Header=BB0_10 Depth=1
	cbz	w23, LBB0_34
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x27]
	cmp	w23, w22
	ccmp	x8, #0, #4, ne
Lloh37:
	adrp	x26, _mes_binlogs@GOTPAGE
Lloh38:
	ldr	x26, [x26, _mes_binlogs@GOTPAGEOFF]
Lloh39:
	adrp	x19, _active_pids@GOTPAGE
Lloh40:
	ldr	x19, [x19, _active_pids@GOTPAGEOFF]
	b.eq	LBB0_9
; %bb.20:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_set_binlog_data_offset
	b	LBB0_9
LBB0_21:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [x21]
	ldr	w22, [x9]
	mov	x27, x8
LBB0_22:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh41:
	adrp	x9, _MES_BINLOGS_MAX@GOTPAGE
Lloh42:
	ldr	x9, [x9, _MES_BINLOGS_MAX@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, lt
	bl	_assert
Lloh44:
	adrp	x26, _mes_binlogs@GOTPAGE
Lloh45:
	ldr	x26, [x26, _mes_binlogs@GOTPAGEOFF]
	ldr	x8, [x26]
	sxtw	x23, w27
	add	x9, x23, w27, sxtw #1
	lsl	x19, x9, #3
	add	x1, x8, x19
	add	x0, x1, #24
Lloh46:
	adrp	x24, _mes_binlogs_num@GOTPAGE
Lloh47:
	ldr	x24, [x24, _mes_binlogs_num@GOTPAGEOFF]
	ldr	w8, [x24]
	sub	w8, w8, w27
	lsl	w2, w8, #2
	bl	_memmove
	ldr	w8, [x24]
	add	w8, w8, #1
	str	w8, [x24]
	ldr	x8, [x26]
	add	x8, x8, x19
	str	x25, [x8, #8]
	mov	w9, #1
	str	w9, [x8]
	cbz	w22, LBB0_29
; %bb.23:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x22
	bl	_conv_mon_ptr
Lloh48:
	adrp	x27, _am_monitor@GOTPAGE
Lloh49:
	ldr	x27, [x27, _am_monitor@GOTPAGEOFF]
Lloh50:
	adrp	x24, _active_pnum@GOTPAGE
Lloh51:
	ldr	x24, [x24, _active_pnum@GOTPAGEOFF]
Lloh52:
	adrp	x19, _active_pids@GOTPAGE
Lloh53:
	ldr	x19, [x19, _active_pids@GOTPAGEOFF]
	cbz	x0, LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x0, #24]
Lloh54:
	adrp	x9, _BINLOGPOS_QUEUE_MAGIC@GOTPAGE
Lloh55:
	ldr	x9, [x9, _BINLOGPOS_QUEUE_MAGIC@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x27]
	cbz	x8, LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh57:
	adrp	x8, _cdata_my_pid@GOTPAGE
Lloh58:
	ldr	x8, [x8, _cdata_my_pid@GOTPAGEOFF]
Lloh59:
	ldr	x8, [x8]
	str	x8, [x0, #16]
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w22, #0
LBB0_28:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh60:
	adrp	x26, _mes_binlogs@GOTPAGE
Lloh61:
	ldr	x26, [x26, _mes_binlogs@GOTPAGEOFF]
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_10 Depth=1
Lloh62:
	adrp	x27, _am_monitor@GOTPAGE
Lloh63:
	ldr	x27, [x27, _am_monitor@GOTPAGEOFF]
Lloh64:
	adrp	x26, _mes_binlogs@GOTPAGE
Lloh65:
	ldr	x26, [x26, _mes_binlogs@GOTPAGEOFF]
Lloh66:
	adrp	x24, _active_pnum@GOTPAGE
Lloh67:
	ldr	x24, [x24, _active_pnum@GOTPAGEOFF]
Lloh68:
	adrp	x19, _active_pids@GOTPAGE
Lloh69:
	ldr	x19, [x19, _active_pids@GOTPAGEOFF]
LBB0_30:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x26]
	madd	x8, x23, x20, x8
	str	w22, [x8, #16]
	ldr	x8, [x27]
	cbz	x8, LBB0_9
; %bb.31:                               ;   in Loop: Header=BB0_10 Depth=1
	cbz	w22, LBB0_7
	b	LBB0_9
LBB0_32:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x27]
Lloh70:
	adrp	x26, _mes_binlogs@GOTPAGE
Lloh71:
	ldr	x26, [x26, _mes_binlogs@GOTPAGEOFF]
Lloh72:
	adrp	x19, _active_pids@GOTPAGE
Lloh73:
	ldr	x19, [x19, _active_pids@GOTPAGEOFF]
	cbz	x8, LBB0_9
; %bb.33:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x23
	bl	_assert
	mov	x0, x21
	mov	x1, x23
	bl	_set_binlog_data_offset
	ldr	x8, [x19]
	ldr	w8, [x8, x28, lsl #2]
	stp	x25, x23, [sp, #8]
	str	x8, [sp]
	mov	w0, #3
Lloh74:
	adrp	x1, l_.str.1@PAGE
Lloh75:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_34:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x27]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
Lloh76:
	adrp	x26, _mes_binlogs@GOTPAGE
Lloh77:
	ldr	x26, [x26, _mes_binlogs@GOTPAGEOFF]
	ldr	x8, [x26]
	madd	x8, x19, x20, x8
	str	w22, [x8, #16]
Lloh78:
	adrp	x19, _active_pids@GOTPAGE
Lloh79:
	ldr	x19, [x19, _active_pids@GOTPAGEOFF]
	b	LBB0_9
LBB0_35:
Lloh80:
	adrp	x24, _mes_binlogs_num@GOTPAGE
Lloh81:
	ldr	x24, [x24, _mes_binlogs_num@GOTPAGEOFF]
	ldr	w8, [x24]
LBB0_36:
	cmp	w8, #1
	b.lt	LBB0_45
; %bb.37:
	mov	x22, #0
	mov	x23, #0
	mov	w19, #0
	mov	w25, #24
Lloh82:
	adrp	x20, l_.str.3@PAGE
Lloh83:
	add	x20, x20, l_.str.3@PAGEOFF
	b	LBB0_40
LBB0_38:                                ;   in Loop: Header=BB0_40 Depth=1
	add	w19, w19, #1
LBB0_39:                                ;   in Loop: Header=BB0_40 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x24]
	add	x22, x22, #24
	cmp	x23, x8
	b.ge	LBB0_46
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	ldr	w9, [x8, x22]
	cbz	w9, LBB0_43
; %bb.41:                               ;   in Loop: Header=BB0_40 Depth=1
	cmp	x23, w19, uxtw
	b.eq	LBB0_38
; %bb.42:                               ;   in Loop: Header=BB0_40 Depth=1
	add	x9, x8, x22
	ldr	q0, [x9]
	ldr	x9, [x9, #16]
	smaddl	x8, w19, w25, x8
	str	x9, [x8, #16]
	str	q0, [x8]
	b	LBB0_38
LBB0_43:                                ;   in Loop: Header=BB0_40 Depth=1
	add	x8, x8, x22
	ldr	w21, [x8, #16]
	ldr	x8, [x8, #8]
	stp	x8, x21, [sp]
	mov	w0, #3
	mov	x1, x20
	bl	_vkprintf
	ldr	x8, [x27]
	cbz	x8, LBB0_39
; %bb.44:                               ;   in Loop: Header=BB0_40 Depth=1
	mov	x0, x21
	bl	_assert
	mov	x0, x21
	bl	_mon_heap_free
	b	LBB0_39
LBB0_45:
	mov	w19, #0
LBB0_46:
	str	x19, [sp]
Lloh84:
	adrp	x1, l_.str.4@PAGE
Lloh85:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #3
	bl	_vkprintf
	str	w19, [x24]
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"monitor: rescanning binlog table\n"

	.comm	_am_monitor,8,3                 ; @am_monitor
	.comm	_CData,8,3                      ; @CData
	.comm	_mes_binlogs_num,4,2            ; @mes_binlogs_num
	.comm	_mes_binlogs,8,3                ; @mes_binlogs
	.comm	_active_pnum,4,2                ; @active_pnum
	.comm	_active_pids,8,3                ; @active_pids
l_.str.1:                               ; @.str.1
	.asciz	"monitor: updating binlog info for process %d, binlog name hash %016llx to %d\n"

	.comm	_MES_BINLOGS_MAX,4,2            ; @MES_BINLOGS_MAX
	.comm	_BINLOGPOS_QUEUE_MAGIC,8,3      ; @BINLOGPOS_QUEUE_MAGIC
	.comm	_cdata_my_pid,8,3               ; @cdata_my_pid
l_.str.2:                               ; @.str.2
	.asciz	"monitor: allocating binlog info (process %d) for binlog name hash %016llx at %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"monitor: forgetting unused binlog name hash %016llx (data at %d)\n"

l_.str.4:                               ; @.str.4
	.asciz	"monitor: %d active binlogs found\n"

.subsections_via_symbols
