	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_transaction_end
_do_transaction_end:                    ## @do_transaction_end
	.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	_events@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_1
## %bb.2:
	movq	_LEV_FILESYS_XFS_END_TRANSACTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$8, %esi
	callq	_memory_alloc_log_event
	movq	_transaction_id@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_vkprintf                       ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_kprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_events,4,2                     ## @events
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Transaction didn't contain any event. Nothing output to the binlog.\n"

	.comm	_LEV_FILESYS_XFS_END_TRANSACTION,4,2 ## @LEV_FILESYS_XFS_END_TRANSACTION
	.comm	_transaction_id,4,2             ## @transaction_id
L_.str.1:                               ## @.str.1
	.asciz	"Transaction contains %lld events.\n"

	.no_dead_strip	_do_transaction_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_transaction_end
_do_transaction_end:                    ; @do_transaction_end
	.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
Lloh0:
	adrp	x19, _events@GOTPAGE
Lloh1:
	ldr	x19, [x19, _events@GOTPAGEOFF]
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _LEV_FILESYS_XFS_END_TRANSACTION@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LEV_FILESYS_XFS_END_TRANSACTION@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	w1, #8
	bl	_memory_alloc_log_event
Lloh5:
	adrp	x8, _transaction_id@GOTPAGE
Lloh6:
	ldr	x8, [x8, _transaction_id@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x0, #4]
	ldr	w2, [x19]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vkprintf
LBB0_2:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kprintf
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_events,4,2                     ; @events
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Transaction didn't contain any event. Nothing output to the binlog.\n"

	.comm	_LEV_FILESYS_XFS_END_TRANSACTION,4,2 ; @LEV_FILESYS_XFS_END_TRANSACTION
	.comm	_transaction_id,4,2             ; @transaction_id
l_.str.1:                               ; @.str.1
	.asciz	"Transaction contains %lld events.\n"

	.no_dead_strip	_do_transaction_end
.subsections_via_symbols
