	.file	"extr_kgdbts.c_run_hw_break_test.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"hw_write_break_test"
.LC1:
	.string	"hw_access_break_test"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"kgdbts: ERROR %s broke on access\n"
	.section	.rodata.str1.1
.LC3:
	.string	"kgdbts: ERROR %s test failed\n"
	.text
	.p2align 4
	.type	run_hw_break_test, @function
run_hw_break_test:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	xor	eax, eax
	mov	ebx, edi
	mov	DWORD PTR test_complete[rip], 0
	call	init_simple_test@PLT
	test	ebx, ebx
	je	.L2
	mov	eax, DWORD PTR hw_write_break_test[rip]
	mov	DWORD PTR ts[rip+8], eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR ts[rip], rax
	xor	eax, eax
	call	kgdb_breakpoint@PLT
	xor	eax, eax
	call	hw_break_val_access@PLT
	cmp	DWORD PTR test_complete[rip], 2
	je	.L9
.L4:
	xor	eax, eax
	call	hw_break_val_write@PLT
.L5:
	xor	eax, eax
	call	kgdb_breakpoint@PLT
	cmp	DWORD PTR test_complete[rip], 1
	je	.L1
	mov	rsi, QWORD PTR ts[rip]
	lea	rdi, .LC3[rip]
	call	eprintk@PLT
	mov	QWORD PTR hwbreaks_ok[rip], 0
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR hw_access_break_test[rip]
	mov	DWORD PTR ts[rip+8], eax
	lea	rax, .LC1[rip]
	mov	QWORD PTR ts[rip], rax
	xor	eax, eax
	call	kgdb_breakpoint@PLT
	xor	eax, eax
	call	hw_break_val_access@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rsi, QWORD PTR ts[rip]
	lea	rdi, .LC2[rip]
	call	eprintk@PLT
	mov	QWORD PTR hwbreaks_ok[rip], 0
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	run_hw_break_test, .-run_hw_break_test
	.comm	ts,16,16
	.comm	test_complete,4,4
	.comm	hwbreaks_ok,8,8
	.comm	hw_write_break_test,4,4
	.comm	hw_access_break_test,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_kgdbts.c_run_hw_break_test.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"hw_write_break_test\000"
	.align	2
.LC1:
	.ascii	"hw_access_break_test\000"
	.align	2
.LC2:
	.ascii	"kgdbts: ERROR %s broke on access\012\000"
	.align	2
.LC3:
	.ascii	"kgdbts: ERROR %s test failed\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_hw_break_test, %function
run_hw_break_test:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, #0
	mov	r4, r0
	ldr	r5, .L13
	str	r6, [r5]
	bl	init_simple_test
	cmp	r4, r6
	beq	.L2
	ldr	r3, .L13+4
	ldr	r4, .L13+8
	ldr	r2, [r3]
	ldr	r3, .L13+12
	str	r2, [r4, #4]
	str	r3, [r4]
	bl	kgdb_breakpoint
	bl	hw_break_val_access
	ldr	r3, [r5]
	cmp	r3, #2
	beq	.L12
.L4:
	bl	hw_break_val_write
.L5:
	bl	kgdb_breakpoint
	ldr	r3, [r5]
	cmp	r3, #1
	popeq	{r4, r5, r6, pc}
	ldr	r1, [r4]
	ldr	r0, .L13+16
	bl	eprintk
	mov	r2, #0
	ldr	r3, .L13+20
	str	r2, [r3]
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L13+24
	ldr	r4, .L13+8
	ldr	r2, [r3]
	ldr	r3, .L13+28
	str	r2, [r4, #4]
	str	r3, [r4]
	bl	kgdb_breakpoint
	bl	hw_break_val_access
	b	.L5
.L12:
	ldr	r1, [r4]
	ldr	r0, .L13+32
	bl	eprintk
	ldr	r3, .L13+20
	str	r6, [r3]
	b	.L4
.L14:
	.align	2
.L13:
	.word	test_complete
	.word	hw_write_break_test
	.word	ts
	.word	.LC0
	.word	.LC3
	.word	hwbreaks_ok
	.word	hw_access_break_test
	.word	.LC1
	.word	.LC2
	.size	run_hw_break_test, .-run_hw_break_test
	.comm	ts,8,4
	.comm	test_complete,4,4
	.comm	hwbreaks_ok,4,4
	.comm	hw_write_break_test,4,4
	.comm	hw_access_break_test,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
