	.file	"extr_copyexec-commit.c_cancel_transaction.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cancel_transaction: X < 1\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"cancel_transaction: X >= current transaction id (X = %d, transaction_id = %d)\n"
	.text
	.p2align 4
	.type	cancel_transaction, @function
cancel_transaction:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	test	edi, edi
	jle	.L7
	mov	eax, DWORD PTR transactions[rip]
	mov	ebp, edi
	cmp	eax, edi
	jl	.L8
	mov	esi, DWORD PTR LEV_COPYEXEC_AUX_TRANSACTION_CMD_CANCEL[rip]
	mov	edx, 4
	lea	rdi, T[rip]
	call	tb_alloc_logevent@PLT
	mov	DWORD PTR [rax], ebp
	xor	eax, eax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	edx, 1[rax]
	mov	esi, edi
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	kprintf@PLT
	mov	eax, -2
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	kprintf@PLT
	mov	eax, -1
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cancel_transaction, .-cancel_transaction
	.comm	transactions,4,4
	.comm	T,4,4
	.comm	LEV_COPYEXEC_AUX_TRANSACTION_CMD_CANCEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_copyexec-commit.c_cancel_transaction.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cancel_transaction: X < 1\012\000"
	.align	2
.LC1:
	.ascii	"cancel_transaction: X >= current transaction id (X "
	.ascii	"= %d, transaction_id = %d)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cancel_transaction, %function
cancel_transaction:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	subs	r4, r0, #0
	ble	.L7
	ldr	r3, .L9
	ldr	r2, [r3]
	cmp	r2, r4
	blt	.L8
	ldr	r3, .L9+4
	mov	r2, #4
	ldr	r1, [r3]
	ldr	r0, .L9+8
	bl	tb_alloc_logevent
	mov	r3, r0
	mov	r0, #0
	str	r4, [r3]
	pop	{r4, pc}
.L8:
	mov	r1, r4
	add	r2, r2, #1
	ldr	r0, .L9+12
	bl	kprintf
	mvn	r0, #1
	pop	{r4, pc}
.L7:
	ldr	r0, .L9+16
	bl	kprintf
	mvn	r0, #0
	pop	{r4, pc}
.L10:
	.align	2
.L9:
	.word	transactions
	.word	LEV_COPYEXEC_AUX_TRANSACTION_CMD_CANCEL
	.word	T
	.word	.LC1
	.word	.LC0
	.size	cancel_transaction, .-cancel_transaction
	.comm	transactions,4,4
	.comm	T,4,4
	.comm	LEV_COPYEXEC_AUX_TRANSACTION_CMD_CANCEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
