	.file	"extr_breakpoint.c_create_overlay_event_breakpoint.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	create_overlay_event_breakpoint, @function
create_overlay_event_breakpoint:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	lookup_minimal_symbol_text@PLT
	test	rax, rax
	je	.L1
	mov	r12d, DWORD PTR bp_overlay_event[rip]
	mov	rdi, rax
	call	SYMBOL_VALUE_ADDRESS@PLT
	mov	edi, eax
	mov	esi, r12d
	call	create_internal_breakpoint@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	xstrdup@PLT
	mov	DWORD PTR 4[rbx], eax
	mov	rax, QWORD PTR ovly_auto[rip]
	cmp	QWORD PTR overlay_debugging[rip], rax
	je	.L9
	mov	eax, DWORD PTR bp_disabled[rip]
	mov	DWORD PTR [rbx], eax
	mov	DWORD PTR overlay_events_enabled[rip], 0
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	eax, DWORD PTR bp_enabled[rip]
	mov	DWORD PTR [rbx], eax
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	DWORD PTR overlay_events_enabled[rip], 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	create_overlay_event_breakpoint, .-create_overlay_event_breakpoint
	.comm	ovly_auto,8,8
	.comm	overlay_events_enabled,4,4
	.comm	overlay_debugging,8,8
	.comm	bp_overlay_event,4,4
	.comm	bp_enabled,4,4
	.comm	bp_disabled,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_breakpoint.c_create_overlay_event_breakpoint.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_overlay_event_breakpoint, %function
create_overlay_event_breakpoint:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r1, #0
	mov	r4, r0
	bl	lookup_minimal_symbol_text
	cmp	r0, #0
	popeq	{r4, pc}
	bl	SYMBOL_VALUE_ADDRESS
	ldr	r3, .L9
	ldr	r1, [r3]
	bl	create_internal_breakpoint
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	bl	xstrdup
	ldr	r2, .L9+4
	ldr	r3, .L9+8
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r0, [r4, #4]
	cmp	r2, r3
	moveq	r2, #1
	movne	r2, #0
	ldreq	r1, .L9+12
	ldrne	r1, .L9+16
	ldr	r3, .L9+20
	ldr	r1, [r1]
	str	r1, [r4]
	str	r2, [r3]
	pop	{r4, pc}
.L10:
	.align	2
.L9:
	.word	bp_overlay_event
	.word	overlay_debugging
	.word	ovly_auto
	.word	bp_enabled
	.word	bp_disabled
	.word	overlay_events_enabled
	.size	create_overlay_event_breakpoint, .-create_overlay_event_breakpoint
	.comm	ovly_auto,4,4
	.comm	overlay_events_enabled,4,4
	.comm	overlay_debugging,4,4
	.comm	bp_overlay_event,4,4
	.comm	bp_enabled,4,4
	.comm	bp_disabled,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
