	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_next_command
_read_next_command:                     ## @read_next_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, _read_next_command.stdin_eof(%rip)
	je	LBB0_1
## %bb.15:
	movq	_unread_command_buf@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_16:
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_17
LBB0_1:
	movq	_unread_command_buf@GOTPCREL(%rip), %r12
	movq	_command_buf@GOTPCREL(%rip), %r13
	movq	_rc_free@GOTPCREL(%rip), %rbx
	movq	_cmd_hist@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, (%r12)
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rax
	cmpb	$35, (%rax)
	jne	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r12)
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_strbuf_getline_lf
	movl	%eax, _read_next_command.stdin_eof(%rip)
	testl	%eax, %eax
	jne	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_seen_data_command@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_starts_with
	testl	%eax, %eax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_starts_with
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_parse_argv
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %r14
	movq	(%r14), %rax
	movq	%rax, (%r15)
	movq	%r15, 8(%rax)
	movl	16(%r14), %edi
	callq	_free
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdi
	callq	_xstrdup
	movl	%eax, 16(%r14)
	movq	_cmd_tail@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rax
	movq	%rax, 8(%r14)
	movq	8(%r15), %rcx
	movq	%rcx, (%r14)
	movq	%r14, (%rax)
	movq	%r14, (%rdx)
	movq	_rc_free@GOTPCREL(%rip), %rbx
	jmp	LBB0_4
LBB0_5:
	xorl	%eax, %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_read_next_command.stdin_eof,4,2 ## @read_next_command.stdin_eof
	.comm	_unread_command_buf,8,3         ## @unread_command_buf
	.comm	_EOF,4,2                        ## @EOF
	.comm	_command_buf,8,3                ## @command_buf
	.comm	_stdin,4,2                      ## @stdin
	.comm	_seen_data_command,4,2          ## @seen_data_command
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"feature "

L_.str.1:                               ## @.str.1
	.asciz	"option "

	.comm	_rc_free,8,3                    ## @rc_free
	.comm	_cmd_hist,24,3                  ## @cmd_hist
	.comm	_cmd_tail,8,3                   ## @cmd_tail
	.no_dead_strip	_read_next_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_next_command
_read_next_command:                     ; @read_next_command
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	adrp	x22, _read_next_command.stdin_eof@PAGE
	ldr	w8, [x22, _read_next_command.stdin_eof@PAGEOFF]
	cbz	w8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _unread_command_buf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _unread_command_buf@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
LBB0_2:
Lloh3:
	adrp	x8, _EOF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_3:
Lloh6:
	adrp	x23, _unread_command_buf@GOTPAGE
Lloh7:
	ldr	x23, [x23, _unread_command_buf@GOTPAGEOFF]
Lloh8:
	adrp	x24, _stdin@GOTPAGE
Lloh9:
	ldr	x24, [x24, _stdin@GOTPAGEOFF]
Lloh10:
	adrp	x19, _command_buf@GOTPAGE
Lloh11:
	ldr	x19, [x19, _command_buf@GOTPAGEOFF]
Lloh12:
	adrp	x25, _seen_data_command@GOTPAGE
Lloh13:
	ldr	x25, [x25, _seen_data_command@GOTPAGEOFF]
Lloh14:
	adrp	x20, l_.str@PAGE
Lloh15:
	add	x20, x20, l_.str@PAGEOFF
Lloh16:
	adrp	x26, _rc_free@GOTPAGE
Lloh17:
	ldr	x26, [x26, _rc_free@GOTPAGEOFF]
Lloh18:
	adrp	x27, _cmd_hist@GOTPAGE
Lloh19:
	ldr	x27, [x27, _cmd_hist@GOTPAGEOFF]
Lloh20:
	adrp	x28, _cmd_tail@GOTPAGE
Lloh21:
	ldr	x28, [x28, _cmd_tail@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [x23]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	ldrb	w8, [x8]
	cmp	w8, #35
	b.ne	LBB0_16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	cbnz	x8, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x24]
	mov	x0, x19
	bl	_strbuf_getline_lf
	str	w0, [x22, _read_next_command.stdin_eof@PAGEOFF]
	cbnz	w0, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x25]
	cbnz	w8, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19]
	mov	x1, x20
	bl	_starts_with
	cbnz	w0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_starts_with
	cbz	w0, LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x21, [x26]
	cbz	x21, LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21]
	str	x8, [x26]
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_parse_argv
	ldr	x21, [x26]
	cbnz	x21, LBB0_12
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x21, [x27]
	ldr	x8, [x21]
	str	x8, [x27]
	str	x27, [x8, #8]
	ldr	w0, [x21, #16]
	bl	_free
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19]
	bl	_xstrdup
	str	w0, [x21, #16]
	ldr	x8, [x28]
	str	x8, [x21, #8]
	ldr	x9, [x27, #8]
	str	x9, [x21]
	str	x21, [x8]
	str	x21, [x28]
	b	LBB0_5
LBB0_16:
	mov	w0, #0
LBB0_17:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_read_next_command.stdin_eof,4,2 ; @read_next_command.stdin_eof
	.comm	_unread_command_buf,8,3         ; @unread_command_buf
	.comm	_EOF,4,2                        ; @EOF
	.comm	_command_buf,8,3                ; @command_buf
	.comm	_stdin,4,2                      ; @stdin
	.comm	_seen_data_command,4,2          ; @seen_data_command
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"feature "

l_.str.1:                               ; @.str.1
	.asciz	"option "

	.comm	_rc_free,8,3                    ; @rc_free
	.comm	_cmd_hist,24,3                  ; @cmd_hist
	.comm	_cmd_tail,8,3                   ; @cmd_tail
	.no_dead_strip	_read_next_command
.subsections_via_symbols
