	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_start_binlog                   ## -- Begin function start_binlog
	.p2align	4, 0x90
_start_binlog:                          ## @start_binlog
	.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
	movq	%rsi, %r12
	movl	%edi, %r15d
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %r14d
	leal	4(%rax), %ebx
	andl	$-4, %ebx
	testl	%eax, %eax
	cmovel	%eax, %ebx
	jmp	LBB0_3
LBB0_1:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
LBB0_3:
	leal	36(%rbx), %edi
	callq	_write_alloc
	movq	_LEV_START@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 36(%rax)
	movl	%r15d, (%rax)
	movl	%ebx, 4(%rax)
	movq	_split_mod@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rax)
	movq	_split_rem@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rax)
	incq	%rcx
	movq	%rcx, 16(%rax)
	cmpl	$2, %r14d
	jae	LBB0_5
## %bb.4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	8(%rax), %edi
	movq	%r12, %rsi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LEV_START,4,2                  ## @LEV_START
	.comm	_split_mod,4,2                  ## @split_mod
	.comm	_split_rem,8,3                  ## @split_rem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_start_binlog                   ; -- Begin function start_binlog
	.p2align	2
_start_binlog:                          ; @start_binlog
	.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, x1
	mov	x21, x0
	cbz	x1, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_strlen
	add	w20, w0, #1
	add	w8, w0, #4
	and	w8, w8, #0xfffffffc
	cmp	w0, #0
	csel	w22, wzr, w8, eq
	b	LBB0_3
LBB0_2:
	mov	w20, #0
	mov	w22, #0
LBB0_3:
	add	w0, w22, #36
	bl	_write_alloc
Lloh0:
	adrp	x8, _LEV_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LEV_START@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w21, w22, [x0]
Lloh3:
	adrp	x9, _split_mod@GOTPAGE
Lloh4:
	ldr	x9, [x9, _split_mod@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _split_rem@GOTPAGE
Lloh7:
	ldr	x10, [x10, _split_rem@GOTPAGEOFF]
	stp	w9, w8, [x0, #32]
Lloh8:
	ldr	x8, [x10]
	add	x9, x8, #1
	stp	x9, x8, [x0, #16]
	cmp	w20, #2
	b.hs	LBB0_5
; %bb.4:
	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
LBB0_5:
	ldr	w0, [x0, #8]
	mov	x1, x19
	mov	x2, x20
	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
	b	_memcpy
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LEV_START,4,2                  ; @LEV_START
	.comm	_split_mod,4,2                  ; @split_mod
	.comm	_split_rem,8,3                  ; @split_rem
.subsections_via_symbols
