	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mi_cmd_interpreter_exec        ## -- Begin function mi_cmd_interpreter_exec
	.p2align	4, 0x90
_mi_cmd_interpreter_exec:               ## @mi_cmd_interpreter_exec
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$1, %edx
	jg	LBB0_2
## %bb.1:
	movq	_mi_error_message@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_xasprintf
	jmp	LBB0_16
LBB0_2:
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	_MI_CMD_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	(%rsi), %rdi
	callq	_interp_lookup
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_interp_exec_p
	testl	%eax, %eax
	je	LBB0_14
## %bb.4:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	callq	_mi_insert_notify_hooks
	movl	%ebx, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %r14d
	movq	_sync_execution@GOTPCREL(%rip), %rbx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_target_can_async_p
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r13d, %r13d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15,%r14,8), %rdi
	callq	_strlen
	movl	%eax, %r12d
	leal	2(%r12), %edi
	callq	_xmalloc
	movq	%rax, %r13
	movq	(%r15,%r14,8), %rsi
	movq	%rax, %rdi
	movl	%r12d, %edx
	callq	_memcpy
	movslq	%r12d, %rax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movw	$38, (%r13,%rax)
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, (%rbx)
	movq	(%r15,%r14,8), %rsi
	movq	%r12, %rdi
	callq	_interp_exec
	testq	%rax, %rax
	js	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_xfree
	movq	_ALL_CLEANUPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_do_exec_error_cleanups
	movl	$0, (%rbx)
	incq	%r14
	cmpq	%r14, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_5
## %bb.12:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_19
LBB0_13:
	movq	(%r15), %rdx
	movq	_mi_error_message@GOTPCREL(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_15
LBB0_14:
	movq	(%r15), %rdx
	movq	_mi_error_message@GOTPCREL(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
LBB0_15:
	xorl	%eax, %eax
	callq	_xasprintf
LBB0_16:
	movq	_MI_CMD_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	xorl	%eax, %eax
	callq	_mi_error_last_message
	movq	_MI_CMD_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_19:
	xorl	%eax, %eax
	callq	_mi_remove_notify_hooks
	xorl	%eax, %eax
	callq	_target_can_async_p
	testq	%rax, %rax
	je	LBB0_17
## %bb.20:
	movq	_target_executing@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_17
## %bb.21:
	movq	_raw_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_fputs_unfiltered
	movq	_mi_interpreter_exec_continuation@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_add_continuation
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_MI_CMD_DONE,4,2                ## @MI_CMD_DONE
	.comm	_mi_error_message,4,2           ## @mi_error_message
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mi_cmd_interpreter_exec: Usage: -interpreter-exec interp command"

	.comm	_MI_CMD_ERROR,4,2               ## @MI_CMD_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"mi_cmd_interpreter_exec: could not find interpreter \"%s\""

L_.str.2:                               ## @.str.2
	.asciz	"mi_cmd_interpreter_exec: interpreter \"%s\" does not support command execution"

L_.str.3:                               ## @.str.3
	.asciz	"console"

	.comm	_sync_execution,4,2             ## @sync_execution
	.comm	_ALL_CLEANUPS,4,2               ## @ALL_CLEANUPS
	.comm	_target_executing,8,3           ## @target_executing
L_.str.4:                               ## @.str.4
	.asciz	"^running\n"

	.comm	_raw_stdout,4,2                 ## @raw_stdout
	.comm	_mi_interpreter_exec_continuation,4,2 ## @mi_interpreter_exec_continuation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mi_cmd_interpreter_exec        ; -- Begin function mi_cmd_interpreter_exec
	.p2align	2
_mi_cmd_interpreter_exec:               ; @mi_cmd_interpreter_exec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cmp	w2, #1
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, _mi_error_message@GOTPAGE
Lloh1:
	ldr	x0, [x0, _mi_error_message@GOTPAGEOFF]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_14
LBB0_2:
	mov	x22, x2
	mov	x20, x1
Lloh4:
	adrp	x8, _MI_CMD_DONE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MI_CMD_DONE@GOTPAGEOFF]
Lloh6:
	ldr	w19, [x8]
	ldr	x0, [x1]
	bl	_interp_lookup
	cbz	x0, LBB0_12
; %bb.3:
	mov	x21, x0
	bl	_interp_exec_p
	cbz	w0, LBB0_13
; %bb.4:
	str	w19, [sp, #12]                  ; 4-byte Folded Spill
	bl	_mi_insert_notify_hooks
	mov	w8, w22
	lsl	x25, x8, #3
	mov	w26, #8
Lloh7:
	adrp	x27, _sync_execution@GOTPAGE
Lloh8:
	ldr	x27, [x27, _sync_execution@GOTPAGEOFF]
	mov	w28, #1
Lloh9:
	adrp	x22, _ALL_CLEANUPS@GOTPAGE
Lloh10:
	ldr	x22, [x22, _ALL_CLEANUPS@GOTPAGEOFF]
Lloh11:
	adrp	x19, l_.str.3@PAGE
Lloh12:
	add	x19, x19, l_.str.3@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	bl	_target_can_async_p
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x20]
	mov	x1, x19
	bl	_strcmp
	cbz	x0, LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, #0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x20, x26]
	bl	_strlen
	mov	x24, x0
	add	w0, w0, #2
	bl	_xmalloc
	mov	x23, x0
	ldr	x1, [x20, x26]
	mov	x2, x24
	bl	_memcpy
	mov	w8, #38
	strh	w8, [x23, w24, sxtw]
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	w28, [x27]
	ldr	x1, [x20, x26]
	mov	x0, x21
	bl	_interp_exec
	tbnz	x0, #63, LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_xfree
	ldr	w0, [x22]
	bl	_do_exec_error_cleanups
	str	wzr, [x27]
	add	x26, x26, #8
	cmp	x25, x26
	b.ne	LBB0_5
; %bb.11:
	ldr	w19, [sp, #12]                  ; 4-byte Folded Reload
	b	LBB0_17
LBB0_12:
	ldr	x8, [x20]
	str	x8, [sp]
Lloh13:
	adrp	x0, _mi_error_message@GOTPAGE
Lloh14:
	ldr	x0, [x0, _mi_error_message@GOTPAGEOFF]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_13:
	ldr	x8, [x20]
	str	x8, [sp]
Lloh17:
	adrp	x0, _mi_error_message@GOTPAGE
Lloh18:
	ldr	x0, [x0, _mi_error_message@GOTPAGEOFF]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_14:
	bl	_xasprintf
Lloh21:
	adrp	x8, _MI_CMD_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MI_CMD_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w19, [x8]
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_16:
	bl	_mi_error_last_message
Lloh24:
	adrp	x8, _MI_CMD_ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MI_CMD_ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w19, [x8]
LBB0_17:
	bl	_mi_remove_notify_hooks
	bl	_target_can_async_p
	cbz	x0, LBB0_15
; %bb.18:
Lloh27:
	adrp	x8, _target_executing@GOTPAGE
Lloh28:
	ldr	x8, [x8, _target_executing@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cbz	x8, LBB0_15
; %bb.19:
Lloh30:
	adrp	x8, _raw_stdout@GOTPAGE
Lloh31:
	ldr	x8, [x8, _raw_stdout@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x0, l_.str.4@PAGE
Lloh34:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_fputs_unfiltered
Lloh35:
	adrp	x8, _mi_interpreter_exec_continuation@GOTPAGE
Lloh36:
	ldr	x8, [x8, _mi_interpreter_exec_continuation@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_add_continuation
	b	LBB0_15
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_MI_CMD_DONE,4,2                ; @MI_CMD_DONE
	.comm	_mi_error_message,4,2           ; @mi_error_message
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mi_cmd_interpreter_exec: Usage: -interpreter-exec interp command"

	.comm	_MI_CMD_ERROR,4,2               ; @MI_CMD_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"mi_cmd_interpreter_exec: could not find interpreter \"%s\""

l_.str.2:                               ; @.str.2
	.asciz	"mi_cmd_interpreter_exec: interpreter \"%s\" does not support command execution"

l_.str.3:                               ; @.str.3
	.asciz	"console"

	.comm	_sync_execution,4,2             ; @sync_execution
	.comm	_ALL_CLEANUPS,4,2               ; @ALL_CLEANUPS
	.comm	_target_executing,8,3           ; @target_executing
l_.str.4:                               ; @.str.4
	.asciz	"^running\n"

	.comm	_raw_stdout,4,2                 ; @raw_stdout
	.comm	_mi_interpreter_exec_continuation,4,2 ; @mi_interpreter_exec_continuation
.subsections_via_symbols
