	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_binlog_is_last                 ## -- Begin function binlog_is_last
	.p2align	4, 0x90
_binlog_is_last:                        ## @binlog_is_last
	.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, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	cmpq	$0, (%rax)
	js	LBB0_5
## %bb.3:
	movq	8(%rax), %rcx
	movq	_kfs_binlog@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.4:
	xorl	%edi, %edi
	cmpq	$0, 16(%rax)
	setne	%dil
LBB0_5:
	callq	_assert
	movq	(%rbx), %rcx
	movq	16(%rcx), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.6:
	movslq	(%rdx), %rsi
	xorl	%eax, %eax
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.7:
	movq	8(%rdx), %rdx
	cmpq	%rcx, -8(%rdx,%rsi,8)
	jne	LBB0_9
LBB0_8:
	movl	$1, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kfs_binlog,8,3                 ## @kfs_binlog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_binlog_is_last                 ; -- Begin function binlog_is_last
	.p2align	2
_binlog_is_last:                        ; @binlog_is_last
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x9, [x8]
	tbnz	x9, #63, LBB0_5
; %bb.3:
	ldr	x9, [x8, #8]
Lloh0:
	adrp	x10, _kfs_binlog@GOTPAGE
Lloh1:
	ldr	x10, [x10, _kfs_binlog@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x8, #16]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	bl	_assert
	ldr	x8, [x19]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_10
; %bb.7:
	ldr	w10, [x9]
	cbz	w10, LBB0_9
; %bb.8:
	ldr	x9, [x9, #8]
	sub	w10, w10, #1
	ldr	x9, [x9, w10, sxtw #3]
	cmp	x9, x8
	b.eq	LBB0_10
LBB0_9:
	mov	w0, #0
	b	LBB0_11
LBB0_10:
	mov	w0, #1
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_kfs_binlog,8,3                 ; @kfs_binlog
.subsections_via_symbols
