	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_breakpoint_test
_run_breakpoint_test:                   ## @run_breakpoint_test
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	movq	_test_complete@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	xorl	%eax, %eax
	callq	_init_simple_test
	testl	%r15d, %r15d
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	_hw_breakpoint_test@GOTPCREL(%rip), %rax
	cmoveq	_sw_breakpoint_test@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ts@GOTPCREL(%rip), %rbx
	movl	%eax, 8(%rbx)
	movq	%rcx, (%rbx)
	xorl	%eax, %eax
	callq	_kgdb_breakpoint
	xorl	%eax, %eax
	callq	_kgdbts_break_test
	xorl	%eax, %eax
	callq	_kgdb_breakpoint
	cmpq	$0, (%r14)
	jne	LBB0_3
## %bb.1:
	movq	(%rbx), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_eprintk
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.2:
	movq	_hwbreaks_ok@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_test_complete,8,3              ## @test_complete
	.comm	_hw_breakpoint_test,4,2         ## @hw_breakpoint_test
	.comm	_ts,16,3                        ## @ts
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hw_breakpoint_test"

	.comm	_sw_breakpoint_test,4,2         ## @sw_breakpoint_test
L_.str.1:                               ## @.str.1
	.asciz	"sw_breakpoint_test"

L_.str.2:                               ## @.str.2
	.asciz	"kgdbts: ERROR %s test failed\n"

	.comm	_hwbreaks_ok,8,3                ## @hwbreaks_ok
	.no_dead_strip	_run_breakpoint_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_breakpoint_test
_run_breakpoint_test:                   ; @run_breakpoint_test
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x21, _test_complete@GOTPAGE
Lloh1:
	ldr	x21, [x21, _test_complete@GOTPAGEOFF]
	str	xzr, [x21]
	bl	_init_simple_test
Lloh2:
	adrp	x8, l_.str@PAGE
Lloh3:
	add	x8, x8, l_.str@PAGEOFF
Lloh4:
	adrp	x9, l_.str.1@PAGE
Lloh5:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w19, #0
Lloh6:
	adrp	x10, _sw_breakpoint_test@GOTPAGE
Lloh7:
	ldr	x10, [x10, _sw_breakpoint_test@GOTPAGEOFF]
Lloh8:
	adrp	x11, _hw_breakpoint_test@GOTPAGE
Lloh9:
	ldr	x11, [x11, _hw_breakpoint_test@GOTPAGEOFF]
	csel	x10, x10, x11, eq
	ldr	w10, [x10]
Lloh10:
	adrp	x20, _ts@GOTPAGE
Lloh11:
	ldr	x20, [x20, _ts@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	str	w10, [x20, #8]
	str	x8, [x20]
	bl	_kgdb_breakpoint
	bl	_kgdbts_break_test
	bl	_kgdb_breakpoint
	ldr	x8, [x21]
	cbnz	x8, LBB0_3
; %bb.1:
	ldr	x1, [x20]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_eprintk
	cbz	w19, LBB0_3
; %bb.2:
Lloh14:
	adrp	x8, _hwbreaks_ok@GOTPAGE
Lloh15:
	ldr	x8, [x8, _hwbreaks_ok@GOTPAGEOFF]
Lloh16:
	str	xzr, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_test_complete,8,3              ; @test_complete
	.comm	_hw_breakpoint_test,4,2         ; @hw_breakpoint_test
	.comm	_ts,16,3                        ; @ts
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hw_breakpoint_test"

	.comm	_sw_breakpoint_test,4,2         ; @sw_breakpoint_test
l_.str.1:                               ; @.str.1
	.asciz	"sw_breakpoint_test"

l_.str.2:                               ; @.str.2
	.asciz	"kgdbts: ERROR %s test failed\n"

	.comm	_hwbreaks_ok,8,3                ; @hwbreaks_ok
	.no_dead_strip	_run_breakpoint_test
.subsections_via_symbols
