	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_crc_event
_process_crc_event:                     ## @process_crc_event
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	xorl	%edi, %edi
	callq	_relax_log_crc32
	movq	_disable_crc32@GOTPCREL(%rip), %rax
	testb	$2, (%rax)
	jne	LBB0_5
## %bb.1:
	xorl	%eax, %eax
	callq	_log_cur_pos
	addl	%ebx, %eax
	movslq	%eax, %r14
	movq	_log_crc32_complement@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	notl	%eax
	cmpl	%eax, 8(%r15)
	je	LBB0_3
## %bb.2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_binlogname@GOTPCREL(%rip), %rax
	movq	_log_start_pos@GOTPCREL(%rip), %rcx
	movq	%r14, %r8
	subq	(%rcx), %r8
	movl	(%rax), %ecx
	movq	_log_headers_size@GOTPCREL(%rip), %rax
	addq	(%rax), %r8
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%rbx), %eax
	notl	%eax
	xorl	%edi, %edi
	cmpl	%eax, 8(%r15)
	sete	%dil
	callq	_assert
LBB0_3:
	movq	(%r15), %r9
	cmpq	%r14, %r9
	je	LBB0_5
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_binlogname@GOTPCREL(%rip), %rax
	movq	_log_start_pos@GOTPCREL(%rip), %rcx
	movq	%r14, %r8
	subq	(%rcx), %r8
	movl	(%rax), %ecx
	movq	_log_headers_size@GOTPCREL(%rip), %rax
	addq	(%rax), %r8
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	xorl	%edi, %edi
	cmpq	%r14, (%r15)
	sete	%dil
	callq	_assert
LBB0_5:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_process_timestamp_event        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_disable_crc32,4,2              ## @disable_crc32
	.comm	_log_crc32_complement,4,2       ## @log_crc32_complement
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"crc mismatch at binlog position %lld, file %s offset %lld\n"

	.comm	_binlogname,4,2                 ## @binlogname
	.comm	_log_start_pos,8,3              ## @log_start_pos
	.comm	_log_headers_size,8,3           ## @log_headers_size
L_.str.1:                               ## @.str.1
	.asciz	"position at binlog position %lld, file %s offset %lld: expected position %lld\n"

	.no_dead_strip	_process_crc_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_crc_event
_process_crc_event:                     ; @process_crc_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x1
	mov	x19, x0
	mov	w0, #0
	bl	_relax_log_crc32
Lloh0:
	adrp	x8, _disable_crc32@GOTPAGE
Lloh1:
	ldr	x8, [x8, _disable_crc32@GOTPAGEOFF]
	ldrb	w8, [x8]
	tbnz	w8, #1, LBB0_5
; %bb.1:
	bl	_log_cur_pos
	add	w8, w0, w20
	sxtw	x20, w8
Lloh2:
	adrp	x25, _log_crc32_complement@GOTPAGE
Lloh3:
	ldr	x25, [x25, _log_crc32_complement@GOTPAGEOFF]
	ldr	w8, [x25]
	mvn	w8, w8
Lloh4:
	adrp	x22, _stderr@GOTPAGE
Lloh5:
	ldr	x22, [x22, _stderr@GOTPAGEOFF]
Lloh6:
	adrp	x23, _binlogname@GOTPAGE
Lloh7:
	ldr	x23, [x23, _binlogname@GOTPAGEOFF]
	ldr	w9, [x19, #8]
Lloh8:
	adrp	x24, _log_start_pos@GOTPAGE
Lloh9:
	ldr	x24, [x24, _log_start_pos@GOTPAGEOFF]
Lloh10:
	adrp	x21, _log_headers_size@GOTPAGE
Lloh11:
	ldr	x21, [x21, _log_headers_size@GOTPAGEOFF]
	cmp	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x22]
	ldr	w3, [x23]
	ldr	x8, [x24]
	ldr	x9, [x21]
	sub	x8, x20, x8
	add	x4, x8, x9
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_fprintf
	ldr	w8, [x25]
	mvn	w8, w8
	ldr	w9, [x19, #8]
	cmp	w9, w8
	cset	w0, eq
	bl	_assert
LBB0_3:
	ldr	x8, [x19]
	cmp	x8, x20
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x22]
	ldr	w3, [x23]
	ldr	x9, [x24]
	ldr	x10, [x21]
	sub	x9, x20, x9
	add	x4, x9, x10
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	str	x8, [sp]
	mov	x2, x20
	bl	_fprintf
	ldr	x8, [x19]
	cmp	x8, x20
	cset	w0, eq
	bl	_assert
LBB0_5:
	mov	x0, x19
	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
	add	sp, sp, #96
	b	_process_timestamp_event
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_disable_crc32,4,2              ; @disable_crc32
	.comm	_log_crc32_complement,4,2       ; @log_crc32_complement
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"crc mismatch at binlog position %lld, file %s offset %lld\n"

	.comm	_binlogname,4,2                 ; @binlogname
	.comm	_log_start_pos,8,3              ; @log_start_pos
	.comm	_log_headers_size,8,3           ; @log_headers_size
l_.str.1:                               ; @.str.1
	.asciz	"position at binlog position %lld, file %s offset %lld: expected position %lld\n"

	.no_dead_strip	_process_crc_event
.subsections_via_symbols
