	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mi_cmd_execute
_mi_cmd_execute:                        ## @mi_cmd_execute
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	cmpq	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	cmpq	$0, 8(%rax)
	je	LBB0_9
LBB0_2:
	movq	_target_executing@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.3:
	movq	_previous_async_command@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	jne	LBB0_5
## %bb.4:
	movq	_last_async_command@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_xstrdup
	movq	%rax, (%r14)
LBB0_5:
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	(%rbx), %rdi
	movq	_raw_stdout@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_fputs_unfiltered
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_fputs_unfiltered
	movl	(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_fputs_unfiltered
	movl	8(%rbx), %edi
	movl	(%r14), %edx
	movl	$34, %esi
	callq	_fputstr_unfiltered
	movl	(%r14), %esi
	leaq	L_.str.3(%rip), %rdi
LBB0_12:
	callq	_fputs_unfiltered
	movl	(%r14), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_fputs_unfiltered
	movq	_MI_CMD_ERROR@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	(%rbx), %rdi
	callq	_xstrdup
	movq	_last_async_command@GOTPCREL(%rip), %rsi
	movq	%rax, (%rsi)
	movq	_free_current_contents@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_make_exec_cleanup
	movq	16(%rbx), %rcx
	movq	8(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.14:
	movl	12(%rbx), %edi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_8:
	movq	(%rcx), %rax
	movl	28(%rbx), %esi
	movl	8(%rbx), %edi
	movl	24(%rbx), %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_9:
	movq	16(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	movl	24(%rax), %esi
	movl	12(%rbx), %edx
	callq	_mi_execute_cli_command
	movq	_MI_CMD_DONE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movq	(%rbx), %rdi
	movq	_raw_stdout@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_fputs_unfiltered
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_fputs_unfiltered
	movl	(%r14), %esi
	leaq	L_.str.5(%rip), %rdi
	callq	_fputs_unfiltered
	movl	8(%rbx), %edi
	movl	(%r14), %edx
	movl	$34, %esi
	callq	_fputstr_unfiltered
	movl	(%r14), %esi
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_target_executing,8,3           ## @target_executing
	.comm	_previous_async_command,8,3     ## @previous_async_command
	.comm	_last_async_command,8,3         ## @last_async_command
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"exec-interrupt"

	.comm	_raw_stdout,4,2                 ## @raw_stdout
L_.str.1:                               ## @.str.1
	.asciz	"^error,msg=\""

L_.str.2:                               ## @.str.2
	.asciz	"Cannot execute command "

L_.str.3:                               ## @.str.3
	.asciz	" while target running"

L_.str.4:                               ## @.str.4
	.asciz	"\"\n"

	.comm	_MI_CMD_ERROR,4,2               ## @MI_CMD_ERROR
	.comm	_free_current_contents,4,2      ## @free_current_contents
	.comm	_MI_CMD_DONE,4,2                ## @MI_CMD_DONE
L_.str.5:                               ## @.str.5
	.asciz	"Undefined mi command: "

L_.str.6:                               ## @.str.6
	.asciz	" (missing implementation)"

	.no_dead_strip	_mi_cmd_execute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mi_cmd_execute
_mi_cmd_execute:                        ; @mi_cmd_execute
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x9, [x8]
	cbnz	x9, LBB0_2
; %bb.1:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_12
LBB0_2:
Lloh0:
	adrp	x8, _target_executing@GOTPAGE
Lloh1:
	ldr	x8, [x8, _target_executing@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.3:
Lloh3:
	adrp	x20, _previous_async_command@GOTPAGE
Lloh4:
	ldr	x20, [x20, _previous_async_command@GOTPAGEOFF]
	ldr	x8, [x20]
	cbnz	x8, LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _last_async_command@GOTPAGE
Lloh6:
	ldr	x8, [x8, _last_async_command@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	bl	_xstrdup
	str	x0, [x20]
LBB0_5:
	ldr	w0, [x19, #8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.6:
	ldr	x0, [x19]
Lloh10:
	adrp	x20, _raw_stdout@GOTPAGE
Lloh11:
	ldr	x20, [x20, _raw_stdout@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_fputs_unfiltered
	ldr	w1, [x20]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fputs_unfiltered
	ldr	w1, [x20]
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_fputs_unfiltered
	ldr	w0, [x19, #8]
	ldr	w2, [x20]
	mov	w1, #34
	bl	_fputstr_unfiltered
	ldr	w1, [x20]
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_7:
	bl	_fputs_unfiltered
	ldr	w1, [x20]
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_fputs_unfiltered
Lloh20:
	adrp	x8, _MI_CMD_ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MI_CMD_ERROR@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	x0, [x19]
	bl	_xstrdup
Lloh22:
	adrp	x1, _last_async_command@GOTPAGE
Lloh23:
	ldr	x1, [x1, _last_async_command@GOTPAGEOFF]
	str	x0, [x1]
Lloh24:
	adrp	x8, _free_current_contents@GOTPAGE
Lloh25:
	ldr	x8, [x8, _free_current_contents@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_make_exec_cleanup
	ldr	x8, [x19, #16]
	ldr	x2, [x8, #8]
	cbz	x2, LBB0_11
; %bb.10:
	ldr	w0, [x19, #12]
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
LBB0_11:
	ldr	x3, [x8]
	ldr	w0, [x19, #8]
	ldp	w2, w1, [x19, #24]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x3
LBB0_12:
	ldr	x0, [x8, #16]
	cbz	x0, LBB0_14
; %bb.13:
	ldr	w1, [x8, #24]
	ldr	w2, [x19, #12]
	bl	_mi_execute_cli_command
Lloh27:
	adrp	x8, _MI_CMD_DONE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MI_CMD_DONE@GOTPAGEOFF]
	b	LBB0_8
LBB0_14:
	ldr	x0, [x19]
Lloh29:
	adrp	x20, _raw_stdout@GOTPAGE
Lloh30:
	ldr	x20, [x20, _raw_stdout@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_fputs_unfiltered
	ldr	w1, [x20]
Lloh31:
	adrp	x0, l_.str.1@PAGE
Lloh32:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fputs_unfiltered
	ldr	w1, [x20]
Lloh33:
	adrp	x0, l_.str.5@PAGE
Lloh34:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_fputs_unfiltered
	ldr	w0, [x19, #8]
	ldr	w2, [x20]
	mov	w1, #34
	bl	_fputstr_unfiltered
	ldr	w1, [x20]
Lloh35:
	adrp	x0, l_.str.6@PAGE
Lloh36:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_target_executing,8,3           ; @target_executing
	.comm	_previous_async_command,8,3     ; @previous_async_command
	.comm	_last_async_command,8,3         ; @last_async_command
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"exec-interrupt"

	.comm	_raw_stdout,4,2                 ; @raw_stdout
l_.str.1:                               ; @.str.1
	.asciz	"^error,msg=\""

l_.str.2:                               ; @.str.2
	.asciz	"Cannot execute command "

l_.str.3:                               ; @.str.3
	.asciz	" while target running"

l_.str.4:                               ; @.str.4
	.asciz	"\"\n"

	.comm	_MI_CMD_ERROR,4,2               ; @MI_CMD_ERROR
	.comm	_free_current_contents,4,2      ; @free_current_contents
	.comm	_MI_CMD_DONE,4,2                ; @MI_CMD_DONE
l_.str.5:                               ; @.str.5
	.asciz	"Undefined mi command: "

l_.str.6:                               ; @.str.6
	.asciz	" (missing implementation)"

	.no_dead_strip	_mi_cmd_execute
.subsections_via_symbols
