	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exec_transaction               ## -- Begin function exec_transaction
	.p2align	4, 0x90
_exec_transaction:                      ## @exec_transaction
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rdx
	movq	_first_transaction_id@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_1
## %bb.64:
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vkprintf                       ## TAILCALL
LBB0_1:
	movq	%rdi, %r13
	leaq	L_.str.1(%rip), %rsi
	movl	$3, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movq	(%r13), %rdi
	xorl	%esi, %esi
	callq	_get_transaction_f
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_transaction_want_exec
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movq	(%r13), %rdx
	movl	(%r15), %ecx
	leaq	L_.str.2(%rip), %rsi
	movl	$3, %edi
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vkprintf                       ## TAILCALL
LBB0_4:
	movq	(%r13), %rdi
	movl	$1, %esi
	callq	_get_transaction_f
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_copyexec_abort
LBB0_6:
	movq	_ts_unset@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_7:
	movl	8(%r13), %ecx
	movl	%ecx, 40(%r15)
	movl	20(%r13), %edi
	movl	16(%r13), %esi
	movl	12(%r13), %edx
	movq	(%r13), %r8
	leaq	-52(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-48(%rbp), %r9
	callq	_decrypt_transaction
	testl	%eax, %eax
	js	LBB0_8
## %bb.10:
	leaq	L_.str.4(%rip), %rsi
	movl	$3, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movq	-48(%rbp), %rdi
	movl	(%rdi), %eax
	movl	%eax, 8(%r15)
	movq	_instance_mask@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.11:
	movl	-52(%rbp), %esi
	callq	_synchronization_point_transaction
	testq	%rax, %rax
	je	LBB0_13
LBB0_12:
	movq	_ts_ignored@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_transaction_change_status
	movq	%r15, %rdi
	callq	_transaction_alloc_log_event_status
	movl	40(%r15), %ecx
	movl	%ecx, 48(%rax)
	movl	8(%r15), %ecx
	movl	%ecx, 4(%rax)
LBB0_20:
	movq	-48(%rbp), %rdi
	callq	_free
	jmp	LBB0_9
LBB0_8:
	movl	%eax, %ebx
	movl	12(%r13), %r14d
	movl	8(%r13), %r12d
	movq	(%r13), %r13
	movl	%eax, %edi
	callq	_copyexec_strerror
	leaq	L_.str.3(%rip), %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movq	%r13, %rcx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_kprintf
	xorl	%eax, %eax
	callq	_handle_failure
	movq	_ts_decryption_failed@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_transaction_change_status
	movq	%r15, %rdi
	callq	_transaction_alloc_log_event_status
	movl	40(%r15), %ecx
	movl	%ecx, 48(%rax)
	negl	%ebx
	movl	%ebx, 4(%r15)
	movl	%ebx, (%rax)
LBB0_9:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_transaction_dir@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_get_transaction_dir
	movl	(%rbx), %edx
	leaq	L_.str.5(%rip), %rsi
	movl	$3, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movslq	(%r15), %rdx
	movq	_ts_unset@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	je	LBB0_15
## %bb.14:
	leaq	L_.str.6(%rip), %rsi
	movl	$3, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_vkprintf
	xorl	%eax, %eax
	callq	_delete_transaction_dir
LBB0_15:
	movl	(%rbx), %edi
	movl	$448, %esi                      ## imm = 0x1C0
	callq	_mkdir
	movl	(%rbx), %esi
	testq	%rax, %rax
	js	LBB0_16
## %bb.17:
	movl	%esi, %edi
	callq	_chdir
	testq	%rax, %rax
	js	LBB0_18
## %bb.21:
	movq	_cur_transaction_binlog_name@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_get_transaction_binlog_name
	movq	16(%r15), %rdx
	movl	(%rbx), %ecx
	leaq	L_.str.9(%rip), %rsi
	movl	$3, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movq	_O_EXCL@GOTPCREL(%rip), %rbx
	movq	_errno@GOTPCREL(%rip), %r14
	movq	_EINTR@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	_cur_transaction_binlog_name@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_O_TRUNC@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	orl	(%rbx), %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_open
	movq	_fd_transaction_logevents@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jns	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	(%r14), %rax
	cmpq	(%r12), %rax
	je	LBB0_22
## %bb.24:
	movq	_cur_transaction_binlog_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	xorl	%eax, %eax
	callq	_handle_failure
	movq	_COPYEXEC_ERR_CREAT@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_16:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	xorl	%eax, %eax
	callq	_handle_failure
	movq	_COPYEXEC_ERR_MKDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_alloc_io_failed_logevent
	jmp	LBB0_20
LBB0_18:
	movl	(%rbx), %esi
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	xorl	%eax, %eax
	callq	_handle_failure
	movq	_COPYEXEC_ERR_CHDIR@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_25:
	leaq	-80(%rbp), %rsi
	movq	%rax, %rdi
	callq	_fstat
	testq	%rax, %rax
	js	LBB0_26
## %bb.27:
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sigemptyset
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	movq	_SIGTERM@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	movq	_copyexec_transaction_process_sigint_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)
	movl	-56(%rbp), %eax
	movl	%eax, -96(%rbp)
	movq	$0, -104(%rbp)
	xorl	%eax, %eax
	callq	_fork
	testq	%rax, %rax
	js	LBB0_28
## %bb.29:
	je	LBB0_31
## %bb.30:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_get_process_creation_time
	movq	%rax, 64(%r15)
	movq	-48(%rbp), %rdi
	callq	_free
	movq	_fd_transaction_logevents@GOTPCREL(%rip), %rdi
	callq	_fd_close
	movq	%r12, 56(%r15)
	movq	_ts_running@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_transaction_change_status
	movq	_child_running_list@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	callq	_tlist_insert
	movq	%r15, %rdi
	callq	_transaction_alloc_log_event_status
	movl	40(%r15), %ecx
	movl	%ecx, 48(%rax)
	movl	8(%r15), %ecx
	movl	%ecx, 4(%rax)
	movq	%r12, 8(%rax)
	movq	64(%r15), %rcx
	movq	%rcx, 40(%rax)
	movq	-72(%rbp), %rcx
	movq	%rcx, 24(%r15)
	movq	%rcx, 16(%rax)
	movq	-80(%rbp), %rcx
	movq	%rcx, 32(%r15)
	movq	%rcx, 24(%rax)
	jmp	LBB0_9
LBB0_26:
	movq	_cur_transaction_binlog_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	xorl	%eax, %eax
	callq	_handle_failure
	movq	_COPYEXEC_ERR_FSTAT@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_28:
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	xorl	%eax, %eax
	callq	_handle_failure
	movq	_COPYEXEC_ERR_FORK@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_alloc_io_failed_logevent
	xorl	%eax, %eax
	callq	_delete_transaction_dir
	jmp	LBB0_20
LBB0_31:
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-104(%rbp), %rbx
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sigaction
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movl	(%r14), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sigaction
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_set_sigusr1_handler
	movq	_sigterm_receiver_pid@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	xorl	%eax, %eax
	callq	_getpid
	cmpq	%rax, %rbx
	jne	LBB0_34
## %bb.32:
	movq	_transaction_interrupting_signal@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_34
## %bb.33:
	movl	(%r14), %eax
	movq	_transaction_interrupting_signal@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_34:
	xorl	%eax, %eax
	callq	_setsid
	movq	_Binlog@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_close_binlog
	movq	_fd_aux_binlog@GOTPCREL(%rip), %rdi
	callq	_fd_close
	movq	_epoll_fd@GOTPCREL(%rip), %rdi
	callq	_fd_close
	movq	_sfd@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_36
## %bb.35:
	movq	_sfd@GOTPCREL(%rip), %rdi
	callq	_fd_close
LBB0_36:
	movq	_fd_transaction_logevents@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_close_unused_fd
	xorl	%eax, %eax
	callq	_getpid
	movq	%rax, 56(%r15)
	movq	_cur_transaction_hash@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_get_transaction_hash
	movq	_cmd_id@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	(%r13), %rdi
	movq	_cur_transaction_id@GOTPCREL(%rip), %r12
	movq	%rdi, (%r12)
	callq	_transaction_change_process_name
	movq	_MASK_WAITING_TRANSACTION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r15)
	jne	LBB0_37
LBB0_44:
	movq	-48(%rbp), %rbx
	movslq	-52(%rbp), %rax
	leaq	(%rbx,%rax), %r13
	addq	$-20, %r13
	addq	$4, %rbx
	movq	_transaction_interrupting_signal@GOTPCREL(%rip), %r14
LBB0_45:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r13, %rbx
	jae	LBB0_49
## %bb.46:                              ##   in Loop: Header=BB0_45 Depth=1
	cmpl	$0, (%r14)
	jne	LBB0_49
## %bb.47:                              ##   in Loop: Header=BB0_45 Depth=1
	xorl	%eax, %eax
	callq	_interrupted_by_cancelled
	testq	%rax, %rax
	jne	LBB0_48
## %bb.53:                              ##   in Loop: Header=BB0_45 Depth=1
	movl	%r13d, %esi
	subl	%ebx, %esi
	movq	%rbx, %rdi
	callq	_transaction_replay_logevent
	movl	%eax, %r12d
	leal	3(%r12), %eax
	andl	$-4, %eax
	cltq
	addq	%rax, %rbx
	testl	%r12d, %r12d
	jns	LBB0_45
## %bb.54:
	movq	-48(%rbp), %rdi
	callq	_free
	movq	_cur_transaction_id@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.13(%rip), %rsi
	movl	$1, %edi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_vkprintf
	movb	$1, %al
	jmp	LBB0_55
LBB0_37:
	movq	_auto_running_list@GOTPCREL(%rip), %r14
	movq	48(%r14), %rbx
	jmp	LBB0_38
LBB0_52:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	48(%rbx), %rbx
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, %rbx
	je	LBB0_39
## %bb.50:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	16(%rbx), %rdi
	cmpq	(%r12), %rdi
	jge	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_38 Depth=1
	callq	_do_wait
	jmp	LBB0_52
LBB0_39:
	movq	_child_running_list@GOTPCREL(%rip), %r14
	movq	48(%r14), %rbx
	jmp	LBB0_40
LBB0_43:                                ##   in Loop: Header=BB0_40 Depth=1
	movq	48(%rbx), %rbx
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, %rbx
	je	LBB0_44
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=1
	movq	16(%rbx), %rdi
	cmpq	(%r12), %rdi
	jge	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_40 Depth=1
	callq	_do_wait
	jmp	LBB0_43
LBB0_48:
	movq	_SIGUSR2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_49:
	movq	-48(%rbp), %rdi
	callq	_free
	xorl	%eax, %eax
LBB0_55:
	movq	_LEV_COPYEXEC_MAIN_TRANSACTION_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_transaction_interrupting_signal@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	jne	LBB0_56
## %bb.59:
	testb	%al, %al
	je	LBB0_60
## %bb.61:
	movq	_ts_failed@GOTPCREL(%rip), %rax
	jmp	LBB0_62
LBB0_56:
	movq	_cmd_id@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_57
## %bb.58:
	movq	_ts_cancelled@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shll	$8, %ecx
	movq	_cur_transaction_result@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	jmp	LBB0_63
LBB0_60:
	movq	_ts_terminated@GOTPCREL(%rip), %rax
	jmp	LBB0_62
LBB0_57:
	movq	_ts_interrupted@GOTPCREL(%rip), %rax
LBB0_62:
	movq	(%rax), %rax
LBB0_63:
	addl	%eax, %esi
	leaq	-88(%rbp), %r12
	movq	%r12, %rdi
	movl	$56, %edx
	callq	_alloc_buffered_logevent
	movq	%rax, %rbx
	movq	16(%r15), %rax
	movq	%rax, 32(%rbx)
	movl	40(%r15), %eax
	movl	%eax, 48(%rbx)
	movl	8(%r15), %eax
	movl	%eax, 4(%rbx)
	xorl	%eax, %eax
	callq	_getpid
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	_get_process_creation_time
	movq	%rax, 40(%rbx)
	movq	_cur_transaction_result@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movl	%eax, (%rbx)
	pshufd	$78, -80(%rbp), %xmm0           ## xmm0 = mem[2,3,0,1]
	movdqu	%xmm0, 16(%rbx)
	movq	%r12, %rdi
	callq	_flush_logevent_to_file
	movq	_fd_transaction_logevents@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_fsync
	movq	%rbx, %rdi
	callq	_fd_close
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_first_transaction_id,8,3       ## @first_transaction_id
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"skip tr%d (first_transaction_id = %d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"exec_transaction (id = %d)\n"

L_.str.2:                               ## @.str.2
	.asciz	"skip tr%d (status = %d)\n"

	.comm	_ts_unset,8,3                   ## @ts_unset
L_.str.3:                               ## @.str.3
	.asciz	"decrypt_transaction (key_id: %d, binlog_pos: %lld, transaction_id: %d) returns %s.\n"

	.comm	_ts_decryption_failed,4,2       ## @ts_decryption_failed
L_.str.4:                               ## @.str.4
	.asciz	"transaction was successfully decrypted.\n"

	.comm	_instance_mask,4,2              ## @instance_mask
	.comm	_ts_ignored,4,2                 ## @ts_ignored
	.comm	_transaction_dir,4,2            ## @transaction_dir
L_.str.5:                               ## @.str.5
	.asciz	"transaction_dir = %s\n"

L_.str.6:                               ## @.str.6
	.asciz	"exec_transaction: T->status = %d (T->status != ts_unset).\n"

L_.str.7:                               ## @.str.7
	.asciz	"mkdir %s failed. %m\n"

	.comm	_COPYEXEC_ERR_MKDIR,4,2         ## @COPYEXEC_ERR_MKDIR
L_.str.8:                               ## @.str.8
	.asciz	"chdir %s failed. %m\n"

	.comm	_COPYEXEC_ERR_CHDIR,4,2         ## @COPYEXEC_ERR_CHDIR
	.comm	_cur_transaction_binlog_name,4,2 ## @cur_transaction_binlog_name
L_.str.9:                               ## @.str.9
	.asciz	"[tr%d] binlog_name: %s\n"

	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_TRUNC,4,2                    ## @O_TRUNC
	.comm	_O_EXCL,4,2                     ## @O_EXCL
	.comm	_fd_transaction_logevents,8,3   ## @fd_transaction_logevents
	.comm	_errno,8,3                      ## @errno
	.comm	_EINTR,8,3                      ## @EINTR
L_.str.10:                              ## @.str.10
	.asciz	"creat (%s) failed. %m\n"

	.comm	_COPYEXEC_ERR_CREAT,4,2         ## @COPYEXEC_ERR_CREAT
L_.str.11:                              ## @.str.11
	.asciz	"fstat (%s) failed. %m\n"

	.comm	_COPYEXEC_ERR_FSTAT,4,2         ## @COPYEXEC_ERR_FSTAT
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_copyexec_transaction_process_sigint_handler,4,2 ## @copyexec_transaction_process_sigint_handler
L_.str.12:                              ## @.str.12
	.asciz	"fork () failed. %m\n"

	.comm	_COPYEXEC_ERR_FORK,4,2          ## @COPYEXEC_ERR_FORK
	.comm	_ts_running,4,2                 ## @ts_running
	.comm	_child_running_list,72,3        ## @child_running_list
	.comm	_sigterm_receiver_pid,8,3       ## @sigterm_receiver_pid
	.comm	_transaction_interrupting_signal,4,2 ## @transaction_interrupting_signal
	.comm	_Binlog,4,2                     ## @Binlog
	.comm	_fd_aux_binlog,8,3              ## @fd_aux_binlog
	.comm	_epoll_fd,8,3                   ## @epoll_fd
	.comm	_sfd,8,3                        ## @sfd
	.comm	_cur_transaction_hash,4,2       ## @cur_transaction_hash
	.comm	_cmd_id,8,3                     ## @cmd_id
	.comm	_cur_transaction_id,8,3         ## @cur_transaction_id
	.comm	_MASK_WAITING_TRANSACTION,4,2   ## @MASK_WAITING_TRANSACTION
	.comm	_auto_running_list,72,3         ## @auto_running_list
	.comm	_SIGUSR2,4,2                    ## @SIGUSR2
L_.str.13:                              ## @.str.13
	.asciz	"transaction: %d, res = %d\n"

	.comm	_LEV_COPYEXEC_MAIN_TRANSACTION_STATUS,4,2 ## @LEV_COPYEXEC_MAIN_TRANSACTION_STATUS
	.comm	_ts_interrupted,8,3             ## @ts_interrupted
	.comm	_ts_cancelled,8,3               ## @ts_cancelled
	.comm	_cur_transaction_result,4,2     ## @cur_transaction_result
	.comm	_ts_failed,8,3                  ## @ts_failed
	.comm	_ts_terminated,8,3              ## @ts_terminated
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exec_transaction               ; -- Begin function exec_transaction
	.p2align	2
_exec_transaction:                      ; @exec_transaction
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _first_transaction_id@GOTPAGE
Lloh1:
	ldr	x9, [x9, _first_transaction_id@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.1:
	stp	x8, x9, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	mov	w0, #3
	bl	_vkprintf
	b	LBB0_15
LBB0_3:
	mov	x21, x0
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #3
	bl	_vkprintf
	ldr	x0, [x21]
	mov	w1, #0
	bl	_get_transaction_f
	cbz	x0, LBB0_6
; %bb.4:
	mov	x19, x0
	bl	_transaction_want_exec
	cbnz	w0, LBB0_9
; %bb.5:
	ldr	x8, [x21]
	ldr	w9, [x19]
	stp	x8, x9, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_2
LBB0_6:
	ldr	x0, [x21]
	mov	w1, #1
	bl	_get_transaction_f
	mov	x19, x0
	cbnz	x0, LBB0_8
; %bb.7:
	bl	_copyexec_abort
LBB0_8:
Lloh9:
	adrp	x8, _ts_unset@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ts_unset@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	w8, [x19]
LBB0_9:
	ldr	w3, [x21, #8]
	str	w3, [x19, #40]
	ldp	w1, w0, [x21, #16]
	ldr	w2, [x21, #12]
	ldr	x4, [x21]
	add	x5, sp, #88
	add	x6, sp, #84
	bl	_decrypt_transaction
	tbnz	w0, #31, LBB0_14
; %bb.10:
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #3
	bl	_vkprintf
	ldr	x0, [sp, #88]
	ldr	w8, [x0]
	str	w8, [x19, #8]
Lloh14:
	adrp	x9, _instance_mask@GOTPAGE
Lloh15:
	ldr	x9, [x9, _instance_mask@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	ldr	w1, [sp, #84]
	bl	_synchronization_point_transaction
	cbz	x0, LBB0_16
LBB0_12:
Lloh17:
	adrp	x8, _ts_ignored@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ts_ignored@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_transaction_change_status
	mov	x0, x19
	bl	_transaction_alloc_log_event_status
	ldr	w8, [x19, #40]
	str	w8, [x0, #48]
	ldr	w8, [x19, #8]
	str	w8, [x0, #4]
LBB0_13:
	ldr	x0, [sp, #88]
	bl	_free
	b	LBB0_15
LBB0_14:
	mov	x20, x0
	ldr	x22, [x21]
	ldp	w21, w23, [x21, #8]
	bl	_copyexec_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp, #16]
	stp	x23, x21, [sp]
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_kprintf
	bl	_handle_failure
Lloh22:
	adrp	x8, _ts_decryption_failed@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ts_decryption_failed@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_transaction_change_status
	mov	x0, x19
	bl	_transaction_alloc_log_event_status
	ldr	w8, [x19, #40]
	str	w8, [x0, #48]
	neg	w8, w20
	str	w8, [x19, #4]
	str	w8, [x0]
LBB0_15:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_16:
Lloh25:
	adrp	x20, _transaction_dir@GOTPAGE
Lloh26:
	ldr	x20, [x20, _transaction_dir@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_get_transaction_dir
	ldr	w8, [x20]
	str	x8, [sp]
Lloh27:
	adrp	x1, l_.str.5@PAGE
Lloh28:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #3
	bl	_vkprintf
	ldrsw	x8, [x19]
Lloh29:
	adrp	x9, _ts_unset@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ts_unset@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.eq	LBB0_18
; %bb.17:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh32:
	adrp	x1, l_.str.6@PAGE
Lloh33:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #3
	bl	_vkprintf
	bl	_delete_transaction_dir
LBB0_18:
	ldr	w0, [x20]
	mov	w1, #448
	bl	_mkdir
	mov	x8, x0
	ldr	w0, [x20]
	tbnz	x8, #63, LBB0_24
; %bb.19:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_chdir
	tbnz	x0, #63, LBB0_25
; %bb.20:
Lloh34:
	adrp	x22, _cur_transaction_binlog_name@GOTPAGE
Lloh35:
	ldr	x22, [x22, _cur_transaction_binlog_name@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_get_transaction_binlog_name
	ldr	x8, [x19, #16]
	ldr	w9, [x22]
	stp	x8, x9, [sp]
Lloh36:
	adrp	x1, l_.str.9@PAGE
Lloh37:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #3
	bl	_vkprintf
Lloh38:
	adrp	x23, _O_WRONLY@GOTPAGE
Lloh39:
	ldr	x23, [x23, _O_WRONLY@GOTPAGEOFF]
Lloh40:
	adrp	x24, _O_CREAT@GOTPAGE
Lloh41:
	ldr	x24, [x24, _O_CREAT@GOTPAGEOFF]
Lloh42:
	adrp	x25, _O_TRUNC@GOTPAGE
Lloh43:
	ldr	x25, [x25, _O_TRUNC@GOTPAGEOFF]
Lloh44:
	adrp	x26, _O_EXCL@GOTPAGE
Lloh45:
	ldr	x26, [x26, _O_EXCL@GOTPAGEOFF]
Lloh46:
	adrp	x20, _fd_transaction_logevents@GOTPAGE
Lloh47:
	ldr	x20, [x20, _fd_transaction_logevents@GOTPAGEOFF]
Lloh48:
	adrp	x27, _errno@GOTPAGE
Lloh49:
	ldr	x27, [x27, _errno@GOTPAGEOFF]
Lloh50:
	adrp	x28, _EINTR@GOTPAGE
Lloh51:
	ldr	x28, [x28, _EINTR@GOTPAGEOFF]
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w8, w9, w8
	ldr	w9, [x25]
	orr	w8, w8, w9
	ldr	w9, [x26]
	orr	w1, w8, w9
	mov	w2, #256
	bl	_open
	str	x0, [x20]
	tbz	x0, #63, LBB0_26
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [x27]
	ldr	x9, [x28]
	cmp	x8, x9
	b.eq	LBB0_21
; %bb.23:
	ldr	w8, [x22]
	str	x8, [sp]
Lloh52:
	adrp	x0, l_.str.10@PAGE
Lloh53:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_kprintf
	bl	_handle_failure
Lloh54:
	adrp	x8, _COPYEXEC_ERR_CREAT@GOTPAGE
Lloh55:
	ldr	x8, [x8, _COPYEXEC_ERR_CREAT@GOTPAGEOFF]
	b	LBB0_32
LBB0_24:
	str	x0, [sp]
Lloh56:
	adrp	x0, l_.str.7@PAGE
Lloh57:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_kprintf
	bl	_handle_failure
Lloh58:
	adrp	x8, _COPYEXEC_ERR_MKDIR@GOTPAGE
Lloh59:
	ldr	x8, [x8, _COPYEXEC_ERR_MKDIR@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_alloc_io_failed_logevent
	b	LBB0_13
LBB0_25:
	ldr	w8, [x20]
	str	x8, [sp]
Lloh61:
	adrp	x0, l_.str.8@PAGE
Lloh62:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_kprintf
	bl	_handle_failure
Lloh63:
	adrp	x8, _COPYEXEC_ERR_CHDIR@GOTPAGE
Lloh64:
	ldr	x8, [x8, _COPYEXEC_ERR_CHDIR@GOTPAGEOFF]
	b	LBB0_32
LBB0_26:
	add	x1, sp, #64
	bl	_fstat
	tbnz	x0, #63, LBB0_30
; %bb.27:
	add	x0, sp, #60
	bl	_sigemptyset
Lloh65:
	adrp	x23, _SIGINT@GOTPAGE
Lloh66:
	ldr	x23, [x23, _SIGINT@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x0, sp, #60
	bl	_sigaddset
Lloh67:
	adrp	x24, _SIGTERM@GOTPAGE
Lloh68:
	ldr	x24, [x24, _SIGTERM@GOTPAGEOFF]
	ldr	w1, [x24]
	add	x0, sp, #60
	bl	_sigaddset
Lloh69:
	adrp	x8, _copyexec_transaction_process_sigint_handler@GOTPAGE
Lloh70:
	ldr	x8, [x8, _copyexec_transaction_process_sigint_handler@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	ldr	w9, [sp, #60]
	stp	w9, w8, [sp, #48]
	str	xzr, [sp, #40]
	bl	_fork
	tbnz	x0, #63, LBB0_31
; %bb.28:
	mov	x22, x0
	cbz	x0, LBB0_33
; %bb.29:
	mov	x0, x22
	bl	_get_process_creation_time
	str	x0, [x19, #64]
	ldr	x0, [sp, #88]
	bl	_free
Lloh72:
	adrp	x0, _fd_transaction_logevents@GOTPAGE
Lloh73:
	ldr	x0, [x0, _fd_transaction_logevents@GOTPAGEOFF]
	bl	_fd_close
	str	x22, [x19, #56]
Lloh74:
	adrp	x8, _ts_running@GOTPAGE
Lloh75:
	ldr	x8, [x8, _ts_running@GOTPAGEOFF]
Lloh76:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_transaction_change_status
Lloh77:
	adrp	x0, _child_running_list@GOTPAGE
Lloh78:
	ldr	x0, [x0, _child_running_list@GOTPAGEOFF]
	mov	x1, x19
	bl	_tlist_insert
	mov	x0, x19
	bl	_transaction_alloc_log_event_status
	ldr	w8, [x19, #40]
	str	w8, [x0, #48]
	ldr	w8, [x19, #8]
	str	w8, [x0, #4]
	str	x22, [x0, #8]
	ldr	x8, [x19, #64]
	str	x8, [x0, #40]
	ldp	x9, x8, [sp, #64]
	str	x8, [x19, #24]
	str	x8, [x0, #16]
	str	x9, [x19, #32]
	str	x9, [x0, #24]
	b	LBB0_15
LBB0_30:
	ldr	w8, [x22]
	str	x8, [sp]
Lloh79:
	adrp	x0, l_.str.11@PAGE
Lloh80:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_kprintf
	bl	_handle_failure
Lloh81:
	adrp	x8, _COPYEXEC_ERR_FSTAT@GOTPAGE
Lloh82:
	ldr	x8, [x8, _COPYEXEC_ERR_FSTAT@GOTPAGEOFF]
	b	LBB0_32
LBB0_31:
Lloh83:
	adrp	x0, l_.str.12@PAGE
Lloh84:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_kprintf
	bl	_handle_failure
Lloh85:
	adrp	x8, _COPYEXEC_ERR_FORK@GOTPAGE
Lloh86:
	ldr	x8, [x8, _COPYEXEC_ERR_FORK@GOTPAGEOFF]
LBB0_32:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_alloc_io_failed_logevent
	bl	_delete_transaction_dir
	b	LBB0_13
LBB0_33:
	ldr	w0, [x23]
	add	x1, sp, #40
	mov	x2, #0
	bl	_sigaction
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	ldr	w0, [x24]
	add	x1, sp, #40
	mov	x2, #0
	bl	_sigaction
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	bl	_set_sigusr1_handler
Lloh87:
	adrp	x8, _sigterm_receiver_pid@GOTPAGE
Lloh88:
	ldr	x8, [x8, _sigterm_receiver_pid@GOTPAGEOFF]
Lloh89:
	ldr	x22, [x8]
	bl	_getpid
Lloh90:
	adrp	x23, _transaction_interrupting_signal@GOTPAGE
Lloh91:
	ldr	x23, [x23, _transaction_interrupting_signal@GOTPAGEOFF]
	cmp	x22, x0
	b.ne	LBB0_36
; %bb.34:
	ldr	w8, [x23]
	cbnz	w8, LBB0_36
; %bb.35:
	ldr	w8, [x24]
	str	w8, [x23]
LBB0_36:
	bl	_setsid
Lloh92:
	adrp	x8, _Binlog@GOTPAGE
Lloh93:
	ldr	x8, [x8, _Binlog@GOTPAGEOFF]
Lloh94:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_close_binlog
Lloh95:
	adrp	x0, _fd_aux_binlog@GOTPAGE
Lloh96:
	ldr	x0, [x0, _fd_aux_binlog@GOTPAGEOFF]
	bl	_fd_close
Lloh97:
	adrp	x0, _epoll_fd@GOTPAGE
Lloh98:
	ldr	x0, [x0, _epoll_fd@GOTPAGEOFF]
	bl	_fd_close
Lloh99:
	adrp	x8, _sfd@GOTPAGE
Lloh100:
	ldr	x8, [x8, _sfd@GOTPAGEOFF]
Lloh101:
	ldr	x8, [x8]
	cbz	x8, LBB0_38
; %bb.37:
Lloh102:
	adrp	x0, _sfd@GOTPAGE
Lloh103:
	ldr	x0, [x0, _sfd@GOTPAGEOFF]
	bl	_fd_close
LBB0_38:
	ldr	x0, [x20]
	bl	_close_unused_fd
	bl	_getpid
	str	x0, [x19, #56]
Lloh104:
	adrp	x8, _cur_transaction_hash@GOTPAGE
Lloh105:
	ldr	x8, [x8, _cur_transaction_hash@GOTPAGEOFF]
Lloh106:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_get_transaction_hash
Lloh107:
	adrp	x25, _cmd_id@GOTPAGE
Lloh108:
	ldr	x25, [x25, _cmd_id@GOTPAGEOFF]
	str	xzr, [x25]
	ldr	x0, [x21]
Lloh109:
	adrp	x21, _cur_transaction_id@GOTPAGE
Lloh110:
	ldr	x21, [x21, _cur_transaction_id@GOTPAGEOFF]
	str	x0, [x21]
	bl	_transaction_change_process_name
	ldr	w8, [x19, #8]
Lloh111:
	adrp	x9, _MASK_WAITING_TRANSACTION@GOTPAGE
Lloh112:
	ldr	x9, [x9, _MASK_WAITING_TRANSACTION@GOTPAGEOFF]
Lloh113:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_45
LBB0_39:
	mov	x24, x21
	ldr	x8, [sp, #88]
	ldrsw	x9, [sp, #84]
	add	x9, x8, x9
	sub	x26, x9, #20
	add	x21, x8, #4
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	cmp	x21, x26
	b.hs	LBB0_56
; %bb.41:                               ;   in Loop: Header=BB0_40 Depth=1
	ldr	w8, [x23]
	cbnz	w8, LBB0_56
; %bb.42:                               ;   in Loop: Header=BB0_40 Depth=1
	bl	_interrupted_by_cancelled
	cbnz	x0, LBB0_55
; %bb.43:                               ;   in Loop: Header=BB0_40 Depth=1
	sub	w1, w26, w21
	mov	x0, x21
	bl	_transaction_replay_logevent
	add	w8, w0, #3
	and	w8, w8, #0xfffffffc
	add	x21, x21, w8, sxtw
	tbz	w0, #31, LBB0_40
; %bb.44:
	mov	x22, x0
	ldr	x0, [sp, #88]
	bl	_free
	ldr	x8, [x24]
	stp	x8, x22, [sp]
Lloh114:
	adrp	x1, l_.str.13@PAGE
Lloh115:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	w21, #1
	mov	w0, #1
	bl	_vkprintf
	b	LBB0_57
LBB0_45:
Lloh116:
	adrp	x22, _auto_running_list@GOTPAGE
Lloh117:
	ldr	x22, [x22, _auto_running_list@GOTPAGEOFF]
	ldr	x24, [x22, #48]
	b	LBB0_47
LBB0_46:                                ;   in Loop: Header=BB0_47 Depth=1
	ldr	x24, [x24, #48]
LBB0_47:                                ; =>This Inner Loop Header: Depth=1
	cmp	x24, x22
	b.eq	LBB0_50
; %bb.48:                               ;   in Loop: Header=BB0_47 Depth=1
	ldr	x0, [x24, #16]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ge	LBB0_46
; %bb.49:                               ;   in Loop: Header=BB0_47 Depth=1
	bl	_do_wait
	b	LBB0_46
LBB0_50:
Lloh118:
	adrp	x22, _child_running_list@GOTPAGE
Lloh119:
	ldr	x22, [x22, _child_running_list@GOTPAGEOFF]
	ldr	x24, [x22, #48]
	b	LBB0_52
LBB0_51:                                ;   in Loop: Header=BB0_52 Depth=1
	ldr	x24, [x24, #48]
LBB0_52:                                ; =>This Inner Loop Header: Depth=1
	cmp	x24, x22
	b.eq	LBB0_39
; %bb.53:                               ;   in Loop: Header=BB0_52 Depth=1
	ldr	x0, [x24, #16]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ge	LBB0_51
; %bb.54:                               ;   in Loop: Header=BB0_52 Depth=1
	bl	_do_wait
	b	LBB0_51
LBB0_55:
Lloh120:
	adrp	x8, _SIGUSR2@GOTPAGE
Lloh121:
	ldr	x8, [x8, _SIGUSR2@GOTPAGEOFF]
Lloh122:
	ldr	w8, [x8]
	str	w8, [x23]
LBB0_56:
	ldr	x0, [sp, #88]
	bl	_free
	mov	w21, #0
LBB0_57:
Lloh123:
	adrp	x8, _LEV_COPYEXEC_MAIN_TRANSACTION_STATUS@GOTPAGE
Lloh124:
	ldr	x8, [x8, _LEV_COPYEXEC_MAIN_TRANSACTION_STATUS@GOTPAGEOFF]
Lloh125:
	ldr	w8, [x8]
	ldr	w10, [x23]
Lloh126:
	adrp	x22, _cur_transaction_result@GOTPAGE
Lloh127:
	ldr	x22, [x22, _cur_transaction_result@GOTPAGEOFF]
	cbnz	w10, LBB0_59
; %bb.58:
Lloh128:
	adrp	x9, _ts_failed@GOTPAGE
Lloh129:
	ldr	x9, [x9, _ts_failed@GOTPAGEOFF]
Lloh130:
	adrp	x10, _ts_terminated@GOTPAGE
Lloh131:
	ldr	x10, [x10, _ts_terminated@GOTPAGEOFF]
	cmp	w21, #0
	csel	x9, x9, x10, ne
	b	LBB0_62
LBB0_59:
	ldr	x9, [x25]
	cbnz	x9, LBB0_61
; %bb.60:
Lloh132:
	adrp	x9, _ts_cancelled@GOTPAGE
Lloh133:
	ldr	x9, [x9, _ts_cancelled@GOTPAGEOFF]
Lloh134:
	ldr	x9, [x9]
	lsl	w10, w10, #8
	str	w10, [x22]
	b	LBB0_63
LBB0_61:
Lloh135:
	adrp	x9, _ts_interrupted@GOTPAGE
Lloh136:
	ldr	x9, [x9, _ts_interrupted@GOTPAGEOFF]
LBB0_62:
	ldr	x9, [x9]
LBB0_63:
	add	w1, w8, w9
	add	x0, sp, #32
	mov	w2, #56
	bl	_alloc_buffered_logevent
	mov	x21, x0
	ldr	x8, [x19, #16]
	str	x8, [x0, #32]
	ldr	w8, [x19, #40]
	str	w8, [x0, #48]
	ldr	w8, [x19, #8]
	str	w8, [x0, #4]
	bl	_getpid
	str	x0, [x21, #8]
	bl	_get_process_creation_time
	str	x0, [x21, #40]
	ldr	w8, [x22]
	str	w8, [x19, #4]
	str	w8, [x21]
	ldr	q0, [sp, #64]
	ext.16b	v0, v0, v0, #8
	str	q0, [x21, #16]
	add	x0, sp, #32
	bl	_flush_logevent_to_file
	ldr	x0, [x20]
	bl	_fsync
	mov	x0, x20
	bl	_fd_close
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGot	Lloh109, Lloh110
	.loh AdrpLdrGot	Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpAdd	Lloh114, Lloh115
	.loh AdrpLdrGot	Lloh116, Lloh117
	.loh AdrpLdrGot	Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGot	Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpLdrGot	Lloh130, Lloh131
	.loh AdrpLdrGot	Lloh128, Lloh129
	.loh AdrpLdrGotLdr	Lloh132, Lloh133, Lloh134
	.loh AdrpLdrGot	Lloh135, Lloh136
	.cfi_endproc
                                        ; -- End function
	.comm	_first_transaction_id,8,3       ; @first_transaction_id
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"skip tr%d (first_transaction_id = %d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"exec_transaction (id = %d)\n"

l_.str.2:                               ; @.str.2
	.asciz	"skip tr%d (status = %d)\n"

	.comm	_ts_unset,8,3                   ; @ts_unset
l_.str.3:                               ; @.str.3
	.asciz	"decrypt_transaction (key_id: %d, binlog_pos: %lld, transaction_id: %d) returns %s.\n"

	.comm	_ts_decryption_failed,4,2       ; @ts_decryption_failed
l_.str.4:                               ; @.str.4
	.asciz	"transaction was successfully decrypted.\n"

	.comm	_instance_mask,4,2              ; @instance_mask
	.comm	_ts_ignored,4,2                 ; @ts_ignored
	.comm	_transaction_dir,4,2            ; @transaction_dir
l_.str.5:                               ; @.str.5
	.asciz	"transaction_dir = %s\n"

l_.str.6:                               ; @.str.6
	.asciz	"exec_transaction: T->status = %d (T->status != ts_unset).\n"

l_.str.7:                               ; @.str.7
	.asciz	"mkdir %s failed. %m\n"

	.comm	_COPYEXEC_ERR_MKDIR,4,2         ; @COPYEXEC_ERR_MKDIR
l_.str.8:                               ; @.str.8
	.asciz	"chdir %s failed. %m\n"

	.comm	_COPYEXEC_ERR_CHDIR,4,2         ; @COPYEXEC_ERR_CHDIR
	.comm	_cur_transaction_binlog_name,4,2 ; @cur_transaction_binlog_name
l_.str.9:                               ; @.str.9
	.asciz	"[tr%d] binlog_name: %s\n"

	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_TRUNC,4,2                    ; @O_TRUNC
	.comm	_O_EXCL,4,2                     ; @O_EXCL
	.comm	_fd_transaction_logevents,8,3   ; @fd_transaction_logevents
	.comm	_errno,8,3                      ; @errno
	.comm	_EINTR,8,3                      ; @EINTR
l_.str.10:                              ; @.str.10
	.asciz	"creat (%s) failed. %m\n"

	.comm	_COPYEXEC_ERR_CREAT,4,2         ; @COPYEXEC_ERR_CREAT
l_.str.11:                              ; @.str.11
	.asciz	"fstat (%s) failed. %m\n"

	.comm	_COPYEXEC_ERR_FSTAT,4,2         ; @COPYEXEC_ERR_FSTAT
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_copyexec_transaction_process_sigint_handler,4,2 ; @copyexec_transaction_process_sigint_handler
l_.str.12:                              ; @.str.12
	.asciz	"fork () failed. %m\n"

	.comm	_COPYEXEC_ERR_FORK,4,2          ; @COPYEXEC_ERR_FORK
	.comm	_ts_running,4,2                 ; @ts_running
	.comm	_child_running_list,72,3        ; @child_running_list
	.comm	_sigterm_receiver_pid,8,3       ; @sigterm_receiver_pid
	.comm	_transaction_interrupting_signal,4,2 ; @transaction_interrupting_signal
	.comm	_Binlog,4,2                     ; @Binlog
	.comm	_fd_aux_binlog,8,3              ; @fd_aux_binlog
	.comm	_epoll_fd,8,3                   ; @epoll_fd
	.comm	_sfd,8,3                        ; @sfd
	.comm	_cur_transaction_hash,4,2       ; @cur_transaction_hash
	.comm	_cmd_id,8,3                     ; @cmd_id
	.comm	_cur_transaction_id,8,3         ; @cur_transaction_id
	.comm	_MASK_WAITING_TRANSACTION,4,2   ; @MASK_WAITING_TRANSACTION
	.comm	_auto_running_list,72,3         ; @auto_running_list
	.comm	_SIGUSR2,4,2                    ; @SIGUSR2
l_.str.13:                              ; @.str.13
	.asciz	"transaction: %d, res = %d\n"

	.comm	_LEV_COPYEXEC_MAIN_TRANSACTION_STATUS,4,2 ; @LEV_COPYEXEC_MAIN_TRANSACTION_STATUS
	.comm	_ts_interrupted,8,3             ; @ts_interrupted
	.comm	_ts_cancelled,8,3               ; @ts_cancelled
	.comm	_cur_transaction_result,4,2     ; @cur_transaction_result
	.comm	_ts_failed,8,3                  ; @ts_failed
	.comm	_ts_terminated,8,3              ; @ts_terminated
.subsections_via_symbols
