	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ocd_stop                       ## -- Begin function ocd_stop
	.p2align	4, 0x90
_ocd_stop:                              ## @ocd_stop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_OCD_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-4(%rbp), %rsi
	leaq	-8(%rbp), %rdx
	callq	_ocd_do_command
	movq	_OCD_FLAG_BDM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -4(%rbp)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_error
LBB0_2:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OCD_STOP,4,2                   ## @OCD_STOP
	.comm	_OCD_FLAG_BDM,4,2               ## @OCD_FLAG_BDM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't stop target via BDM"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ocd_stop                       ; -- Begin function ocd_stop
	.p2align	2
_ocd_stop:                              ; @ocd_stop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _OCD_STOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OCD_STOP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	sub	x1, x29, #4
	add	x2, sp, #8
	bl	_ocd_do_command
	ldur	w8, [x29, #-4]
Lloh3:
	adrp	x9, _OCD_FLAG_BDM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OCD_FLAG_BDM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_OCD_STOP,4,2                   ; @OCD_STOP
	.comm	_OCD_FLAG_BDM,4,2               ; @OCD_FLAG_BDM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't stop target via BDM"

.subsections_via_symbols
