	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mi_execute_cli_command         ## -- Begin function mi_execute_cli_command
	.p2align	4, 0x90
_mi_execute_cli_command:                ## @mi_execute_cli_command
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	testl	%esi, %esi
	je	LBB0_3
## %bb.2:
	movq	%rdx, %rcx
	leaq	L_.str(%rip), %rsi
	leaq	-16(%rbp), %rdi
	movq	%rbx, %rdx
	callq	_xasprintf
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	callq	_xstrdup
	movq	%rax, -16(%rbp)
LBB0_4:
	movq	_mi_debug_p@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_gdb_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-16(%rbp), %rcx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	callq	_fprintf_unfiltered
LBB0_6:
	movq	_xfree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-16(%rbp), %rsi
	callq	_make_cleanup
	movq	%rax, %rbx
	movq	-16(%rbp), %rdi
	xorl	%esi, %esi
	callq	_execute_command
	movq	%rbx, %rdi
	callq	_do_cleanups
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
LBB0_7:
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s %s"

	.comm	_mi_debug_p,8,3                 ## @mi_debug_p
	.comm	_gdb_stdout,4,2                 ## @gdb_stdout
L_.str.1:                               ## @.str.1
	.asciz	"cli=%s run=%s\n"

	.comm	_xfree,4,2                      ## @xfree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mi_execute_cli_command         ; -- Begin function mi_execute_cli_command
	.p2align	2
_mi_execute_cli_command:                ; @mi_execute_cli_command
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_7
; %bb.1:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	cbz	w1, LBB0_3
; %bb.2:
	mov	x3, x2
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	x2, x19
	bl	_xasprintf
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_xstrdup
	str	x0, [sp, #8]
LBB0_4:
Lloh2:
	adrp	x8, _mi_debug_p@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mi_debug_p@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh5:
	adrp	x8, _gdb_stdout@GOTPAGE
Lloh6:
	ldr	x8, [x8, _gdb_stdout@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x3, [sp, #8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_fprintf_unfiltered
LBB0_6:
Lloh10:
	adrp	x8, _xfree@GOTPAGE
Lloh11:
	ldr	x8, [x8, _xfree@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	x1, [sp, #8]
	bl	_make_cleanup
	mov	x19, x0
	ldr	x0, [sp, #8]
	mov	w1, #0
	bl	_execute_command
	mov	x0, x19
	bl	_do_cleanups
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
LBB0_7:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %s"

	.comm	_mi_debug_p,8,3                 ; @mi_debug_p
	.comm	_gdb_stdout,4,2                 ; @gdb_stdout
l_.str.1:                               ; @.str.1
	.asciz	"cli=%s run=%s\n"

	.comm	_xfree,4,2                      ; @xfree
.subsections_via_symbols
