	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function advance_command
_advance_command:                       ## @advance_command
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	%rdi, -24(%rbp)
	movq	_target_has_execution@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	testq	%rbx, %rbx
	je	LBB0_3
LBB0_8:
	leaq	-24(%rbp), %rdi
	callq	_strip_bg_char
	testl	%eax, %eax
	setne	%cl
	movq	_event_loop_p@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_4
## %bb.9:
	testl	%eax, %eax
	je	LBB0_4
## %bb.10:
	xorl	%eax, %eax
	callq	_target_can_async_p
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.2(%rip), %rdi
	callq	_error
	jmp	LBB0_12
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_error
	testq	%rbx, %rbx
	jne	LBB0_8
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	callq	_error_no_arg
	xorl	%ecx, %ecx
LBB0_4:
	movq	_event_loop_p@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.5:
	testb	%cl, %cl
	jne	LBB0_12
## %bb.6:
	xorl	%eax, %eax
	callq	_target_can_async_p
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	xorl	%eax, %eax
	callq	_async_disable_stdin
LBB0_12:
	movq	-24(%rbp), %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	callq	_until_break_command
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_target_has_execution,4,2       ## @target_has_execution
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"The program is not running."

L_.str.1:                               ## @.str.1
	.asciz	"a location"

	.comm	_event_loop_p,8,3               ## @event_loop_p
L_.str.2:                               ## @.str.2
	.asciz	"Asynchronous execution not supported on this target."

	.no_dead_strip	_advance_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function advance_command
_advance_command:                       ; @advance_command
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
	str	x0, [sp, #8]
Lloh0:
	adrp	x8, _target_has_execution@GOTPAGE
Lloh1:
	ldr	x8, [x8, _target_has_execution@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_2:
Lloh5:
	adrp	x21, _event_loop_p@GOTPAGE
Lloh6:
	ldr	x21, [x21, _event_loop_p@GOTPAGEOFF]
	cbz	x20, LBB0_6
; %bb.3:
	add	x0, sp, #8
	bl	_strip_bg_char
	cmp	w0, #0
	cset	w8, ne
	ldr	x9, [x21]
	cmp	x9, #0
	ccmp	w0, #0, #4, ne
	b.eq	LBB0_7
; %bb.4:
	bl	_target_can_async_p
	cbnz	x0, LBB0_11
; %bb.5:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
	b	LBB0_11
LBB0_6:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error_no_arg
	mov	w8, #0
LBB0_7:
	ldr	x9, [x21]
	cbz	x9, LBB0_11
; %bb.8:
	tbnz	w8, #0, LBB0_11
; %bb.9:
	bl	_target_can_async_p
	cbz	x0, LBB0_11
; %bb.10:
	bl	_async_disable_stdin
LBB0_11:
	ldr	x0, [sp, #8]
	mov	x1, x19
	mov	w2, #1
	bl	_until_break_command
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_target_has_execution,4,2       ; @target_has_execution
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"The program is not running."

l_.str.1:                               ; @.str.1
	.asciz	"a location"

	.comm	_event_loop_p,8,3               ; @event_loop_p
l_.str.2:                               ; @.str.2
	.asciz	"Asynchronous execution not supported on this target."

	.no_dead_strip	_advance_command
.subsections_via_symbols
