	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_log_data                  ## -- Begin function init_log_data
	.p2align	4, 0x90
_init_log_data:                         ## @init_log_data
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_Binlog@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_assert
	movq	(%rbx), %rcx
	movq	(%rcx), %rax
	movl	(%rax), %edx
	movq	_binlog_zipped@GOTPCREL(%rip), %rsi
	andl	$16, %edx
	movl	%edx, (%rsi)
	movl	16(%rax), %edx
	movq	_binlogname@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
	movl	8(%rcx), %edi
	jne	LBB0_1
## %bb.2:
	addq	$4, %rax
	jmp	LBB0_3
LBB0_1:
	movq	8(%rax), %rax
LBB0_3:
	movl	(%rax), %esi
	callq	_set_log_data
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_log_seek
	movq	_log_start_pos@GOTPCREL(%rip), %rax
	movq	_max_binlog_size@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	movq	_next_binlog_rotate_pos@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Binlog,8,3                     ## @Binlog
	.comm	_binlog_zipped,4,2              ## @binlog_zipped
	.comm	_binlogname,4,2                 ## @binlogname
	.comm	_log_start_pos,8,3              ## @log_start_pos
	.comm	_max_binlog_size,8,3            ## @max_binlog_size
	.comm	_next_binlog_rotate_pos,8,3     ## @next_binlog_rotate_pos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_log_data                  ; -- Begin function init_log_data
	.p2align	2
_init_log_data:                         ; @init_log_data
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _Binlog@GOTPAGE
Lloh1:
	ldr	x22, [x22, _Binlog@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_assert
	ldr	x9, [x22]
	ldr	x8, [x9]
	ldr	w10, [x8]
	and	w11, w10, #0x10
Lloh2:
	adrp	x12, _binlog_zipped@GOTPAGE
Lloh3:
	ldr	x12, [x12, _binlog_zipped@GOTPAGEOFF]
Lloh4:
	str	w11, [x12]
	ldr	w11, [x8, #16]
Lloh5:
	adrp	x12, _binlogname@GOTPAGE
Lloh6:
	ldr	x12, [x12, _binlogname@GOTPAGEOFF]
Lloh7:
	str	w11, [x12]
	ldr	w0, [x9, #8]
	tbnz	w10, #4, LBB0_2
; %bb.1:
	add	x8, x8, #4
	b	LBB0_3
LBB0_2:
	ldr	x8, [x8, #8]
LBB0_3:
	ldr	w1, [x8]
	bl	_set_log_data
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_log_seek
Lloh8:
	adrp	x8, _log_start_pos@GOTPAGE
Lloh9:
	ldr	x8, [x8, _log_start_pos@GOTPAGEOFF]
Lloh10:
	adrp	x9, _max_binlog_size@GOTPAGE
Lloh11:
	ldr	x9, [x9, _max_binlog_size@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	ldr	x9, [x9]
	add	x8, x9, x8
Lloh14:
	adrp	x9, _next_binlog_rotate_pos@GOTPAGE
Lloh15:
	ldr	x9, [x9, _next_binlog_rotate_pos@GOTPAGEOFF]
Lloh16:
	str	x8, [x9]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_Binlog,8,3                     ; @Binlog
	.comm	_binlog_zipped,4,2              ; @binlog_zipped
	.comm	_binlogname,4,2                 ; @binlogname
	.comm	_log_start_pos,8,3              ; @log_start_pos
	.comm	_max_binlog_size,8,3            ; @max_binlog_size
	.comm	_next_binlog_rotate_pos,8,3     ; @next_binlog_rotate_pos
.subsections_via_symbols
