	.file	"extr_fgraph.c_unregister_ftrace_graph.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	unregister_ftrace_graph
	.type	unregister_ftrace_graph, @function
unregister_ftrace_graph:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rdi, ftrace_lock[rip]
	call	mutex_lock@PLT
	mov	eax, DWORD PTR ftrace_graph_active[rip]
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L2
	mov	rax, QWORD PTR ftrace_stub[rip]
	mov	esi, DWORD PTR FTRACE_STOP_FUNC_RET[rip]
	lea	rdi, graph_ops[rip]
	sub	DWORD PTR ftrace_graph_active[rip], 1
	mov	QWORD PTR ftrace_graph_return[rip], rax
	mov	rax, QWORD PTR ftrace_graph_entry_stub[rip]
	mov	QWORD PTR ftrace_graph_entry[rip], rax
	mov	QWORD PTR __ftrace_graph_entry[rip], rax
	call	ftrace_shutdown@PLT
	lea	rdi, ftrace_suspend_notifier[rip]
	call	unregister_pm_notifier@PLT
	mov	edi, DWORD PTR ftrace_graph_probe_sched_switch[rip]
	xor	esi, esi
	call	unregister_trace_sched_switch@PLT
.L2:
	lea	rdi, ftrace_lock[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	mutex_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	unregister_ftrace_graph, .-unregister_ftrace_graph
	.comm	graph_ops,4,4
	.comm	ftrace_suspend_notifier,4,4
	.comm	ftrace_stub,8,8
	.comm	ftrace_lock,4,4
	.comm	ftrace_graph_return,8,8
	.comm	ftrace_graph_probe_sched_switch,4,4
	.comm	ftrace_graph_entry_stub,8,8
	.comm	ftrace_graph_entry,8,8
	.comm	ftrace_graph_active,4,4
	.comm	__ftrace_graph_entry,8,8
	.comm	FTRACE_STOP_FUNC_RET,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_fgraph.c_unregister_ftrace_graph.c"
	.text
	.align	2
	.global	unregister_ftrace_graph
	.syntax unified
	.arm
	.fpu softvfp
	.type	unregister_ftrace_graph, %function
unregister_ftrace_graph:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L5
	ldr	r0, .L5+4
	bl	mutex_lock
	ldr	r0, [r5]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	subs	r4, r0, #0
	bne	.L2
	ldr	r1, .L5+8
	ldr	r3, [r5]
	ldr	ip, [r1]
	ldr	r0, .L5+12
	ldr	r2, .L5+16
	sub	r3, r3, #1
	ldr	r1, .L5+20
	ldr	r2, [r2]
	str	ip, [r0]
	str	r3, [r5]
	ldr	ip, .L5+24
	ldr	r3, .L5+28
	ldr	r1, [r1]
	ldr	r0, .L5+32
	str	r2, [r3]
	str	r2, [ip]
	bl	ftrace_shutdown
	ldr	r0, .L5+36
	bl	unregister_pm_notifier
	ldr	r3, .L5+40
	mov	r1, r4
	ldr	r0, [r3]
	bl	unregister_trace_sched_switch
.L2:
	pop	{r4, r5, r6, lr}
	ldr	r0, .L5+4
	b	mutex_unlock
.L6:
	.align	2
.L5:
	.word	ftrace_graph_active
	.word	ftrace_lock
	.word	ftrace_stub
	.word	ftrace_graph_return
	.word	ftrace_graph_entry_stub
	.word	FTRACE_STOP_FUNC_RET
	.word	ftrace_graph_entry
	.word	__ftrace_graph_entry
	.word	graph_ops
	.word	ftrace_suspend_notifier
	.word	ftrace_graph_probe_sched_switch
	.size	unregister_ftrace_graph, .-unregister_ftrace_graph
	.comm	graph_ops,4,4
	.comm	ftrace_suspend_notifier,4,4
	.comm	ftrace_stub,4,4
	.comm	ftrace_lock,4,4
	.comm	ftrace_graph_return,4,4
	.comm	ftrace_graph_probe_sched_switch,4,4
	.comm	ftrace_graph_entry_stub,4,4
	.comm	ftrace_graph_entry,4,4
	.comm	ftrace_graph_active,4,4
	.comm	__ftrace_graph_entry,4,4
	.comm	FTRACE_STOP_FUNC_RET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
