	.file	"extr_utrace.c_finish_callback_report.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	finish_callback_report, @function
finish_callback_report:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	r15, utrace_detached_ops[rip]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r8d
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	cmp	DWORD PTR UTRACE_DETACH[rip], r8d
	je	.L15
	cmp	QWORD PTR 0[rbp], r15
	je	.L16
.L3:
	cmp	DWORD PTR 4[r14], ebx
	ja	.L17
	cmp	DWORD PTR UTRACE_STOP[rip], ebx
	je	.L6
.L19:
	cmp	DWORD PTR 8[r14], ebx
	jbe	.L7
	mov	DWORD PTR 8[r14], ebx
.L7:
	mov	rdi, rbp
	call	engine_wants_stop@PLT
	test	rax, rax
	jne	.L18
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	cmp	DWORD PTR UTRACE_STOP[rip], ebx
	mov	DWORD PTR 4[r14], ebx
	jne	.L19
.L6:
	mov	rdi, rbp
	call	engine_wants_stop@PLT
	test	rax, rax
	jne	.L1
	mov	rdi, r12
	call	spin_lock@PLT
	xor	edi, edi
	cmp	QWORD PTR 0[rbp], r15
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L10
	mov	DWORD PTR [r14], 1
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, rsi
	call	spin_lock@PLT
	mov	QWORD PTR 0[rbp], r15
	mov	rdi, r12
	call	spin_unlock@PLT
	cmp	QWORD PTR 0[rbp], r15
	jne	.L3
.L16:
	mov	DWORD PTR [r14], 1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	rdi, r12
	call	spin_lock@PLT
	mov	rdi, rbp
	call	clear_engine_wants_stop@PLT
.L11:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	spin_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, r13
	call	mark_engine_wants_stop@PLT
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	finish_callback_report, .-finish_callback_report
	.comm	utrace_detached_ops,4,4
	.comm	UTRACE_STOP,4,4
	.comm	UTRACE_DETACH,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_utrace.c_finish_callback_report.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	finish_callback_report, %function
finish_callback_report:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L17
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r9, [sp, #32]
	ldr	ip, [ip]
	mov	r8, r0
	cmp	ip, r9
	mov	r7, r1
	mov	r6, r2
	mov	r4, r3
	ldr	r5, .L17+4
	beq	.L13
	ldr	r3, [r4]
	cmp	r3, r5
	beq	.L16
.L3:
	ldr	r3, [r6, #4]
	cmp	r3, r9
	ldr	r3, .L17+8
	strhi	r9, [r6, #4]
	ldr	r3, [r3]
	cmp	r3, r9
	beq	.L6
	ldr	r3, [r6, #8]
	mov	r0, r4
	cmp	r3, r9
	strhi	r9, [r6, #8]
	bl	engine_wants_stop
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r0, r7
	bl	spin_lock
	mov	r0, r4
	bl	clear_engine_wants_stop
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	spin_unlock
.L6:
	mov	r0, r4
	bl	engine_wants_stop
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r0, r7
	bl	spin_lock
	ldr	r0, [r4]
	sub	r0, r0, r5
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	beq	.L10
	mov	r3, #1
	str	r3, [r6]
.L11:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	spin_unlock
.L13:
	mov	r0, r1
	bl	spin_lock
	mov	r0, r7
	str	r5, [r4]
	bl	spin_unlock
	ldr	r3, [r4]
	cmp	r3, r5
	bne	.L3
.L16:
	mov	r3, #1
	str	r3, [r6]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	mov	r1, r4
	mov	r0, r8
	bl	mark_engine_wants_stop
	b	.L11
.L18:
	.align	2
.L17:
	.word	UTRACE_DETACH
	.word	utrace_detached_ops
	.word	UTRACE_STOP
	.size	finish_callback_report, .-finish_callback_report
	.comm	utrace_detached_ops,4,4
	.comm	UTRACE_STOP,4,4
	.comm	UTRACE_DETACH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
