	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ParseIf
_ParseIf:                               ## @ParseIf
	.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
	movl	$48, %edi
	callq	_cmd_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	_C_IF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_CurrentTokenType@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_CurrentToken@GOTPCREL(%rip), %r12
	movq	(%r12), %r15
	leaq	L_.str.1(%rip), %rdi
	callq	__T
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	__tcsicmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	_IFFLAG_IGNORECASE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 32(%rbx)
	movq	_STANDARD_SEPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_ParseToken
	movl	%eax, %r14d
LBB0_5:
	movq	(%r12), %r15
	leaq	L_.str.2(%rip), %rdi
	callq	__T
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	__tcsicmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_IFFLAG_NEGATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 32(%rbx)
	movq	_STANDARD_SEPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_ParseToken
	movl	%eax, %r14d
LBB0_7:
	movq	_TOK_NORMAL@GOTPCREL(%rip), %r15
	cmpl	(%r15), %r14d
	jne	LBB0_26
## %bb.8:
	movq	8(%rbx), %rax
	movq	_IF_MAX_UNARY@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	ja	LBB0_19
## %bb.9:
	movq	_IfOperatorString@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	movq	(%r13), %rcx
	movl	(%rcx,%rax,4), %esi
	callq	__tcsicmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.18:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%rbx), %rax
	incq	%rax
	movq	%rax, 8(%rbx)
	cmpq	(%r14), %rax
	jbe	LBB0_10
LBB0_19:
	movq	(%r12), %rdi
	callq	_cmd_dup
	movq	%rax, 24(%rbx)
	leaq	L_.str.3(%rip), %rdi
	callq	__T
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_ParseToken
	movq	(%r12), %r14
	leaq	L_.str.4(%rip), %rdi
	callq	__T
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$2, %edx
	callq	__tcsnicmp
	testq	%rax, %rax
	je	LBB0_20
LBB0_22:
	movq	8(%rbx), %rax
	movq	_IF_MAX_COMPARISON@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	ja	LBB0_26
## %bb.23:
	movq	_IfOperatorString@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	movq	(%r13), %rcx
	movl	(%rcx,%rax,4), %esi
	callq	__tcsicmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	8(%rbx), %rax
	incq	%rax
	movq	%rax, 8(%rbx)
	cmpq	(%r14), %rax
	jbe	LBB0_24
	jmp	LBB0_26
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_WARN
	jmp	LBB0_2
LBB0_11:
	movq	_STANDARD_SEPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_ParseToken
	cmpl	(%r15), %eax
	jne	LBB0_26
## %bb.12:
	movq	(%r12), %rdi
	jmp	LBB0_13
LBB0_26:
	movq	%rbx, %rdi
	callq	_FreeCommand
LBB0_2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ParseError
LBB0_17:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	(%r12), %rdi
	cmpq	$0, 16(%rdi)
	je	LBB0_22
## %bb.21:
	addq	$16, %rdi
LBB0_13:
	callq	_cmd_dup
	movq	%rax, 16(%rbx)
	movq	_C_OP_LOWEST@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_ParseCommandOp
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	movq	(%r12), %r14
	leaq	L_.str.5(%rip), %rdi
	callq	__T
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	__tcsicmp
	testq	%rax, %rax
	jne	LBB0_17
## %bb.15:
	movl	(%r15), %edi
	callq	_ParseCommandOp
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_17
LBB0_16:
	movq	%rbx, %rdi
	callq	_FreeCommand
	xorl	%ebx, %ebx
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot allocate memory for Cmd!\n"

	.comm	_C_IF,4,2                       ## @C_IF
	.comm	_CurrentTokenType,4,2           ## @CurrentTokenType
	.comm	_CurrentToken,8,3               ## @CurrentToken
L_.str.1:                               ## @.str.1
	.asciz	"/I"

	.comm	_IFFLAG_IGNORECASE,4,2          ## @IFFLAG_IGNORECASE
	.comm	_STANDARD_SEPS,4,2              ## @STANDARD_SEPS
L_.str.2:                               ## @.str.2
	.asciz	"not"

	.comm	_IFFLAG_NEGATE,4,2              ## @IFFLAG_NEGATE
	.comm	_TOK_NORMAL,4,2                 ## @TOK_NORMAL
	.comm	_IF_MAX_UNARY,8,3               ## @IF_MAX_UNARY
	.comm	_IfOperatorString,8,3           ## @IfOperatorString
L_.str.3:                               ## @.str.3
	.asciz	",;"

L_.str.4:                               ## @.str.4
	.asciz	"=="

	.comm	_IF_MAX_COMPARISON,8,3          ## @IF_MAX_COMPARISON
	.comm	_C_OP_LOWEST,4,2                ## @C_OP_LOWEST
L_.str.5:                               ## @.str.5
	.asciz	"else"

	.no_dead_strip	_ParseIf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ParseIf
_ParseIf:                               ; @ParseIf
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	w0, #48
	bl	_cmd_alloc
	mov	x19, x0
	cbz	x0, LBB0_15
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #48
	bl	_memset
Lloh0:
	adrp	x8, _C_IF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _C_IF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #40]
Lloh3:
	adrp	x8, _CurrentTokenType@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CurrentTokenType@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
Lloh6:
	adrp	x22, _CurrentToken@GOTPAGE
Lloh7:
	ldr	x22, [x22, _CurrentToken@GOTPAGEOFF]
	ldr	x21, [x22]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__T
	mov	x1, x0
	mov	x0, x21
	bl	__tcsicmp
	cbnz	x0, LBB0_3
; %bb.2:
Lloh10:
	adrp	x8, _IFFLAG_IGNORECASE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IFFLAG_IGNORECASE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x19, #32]
	orr	w8, w9, w8
	str	w8, [x19, #32]
Lloh13:
	adrp	x8, _STANDARD_SEPS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _STANDARD_SEPS@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_ParseToken
	mov	x20, x0
LBB0_3:
	ldr	x21, [x22]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__T
	mov	x1, x0
	mov	x0, x21
	bl	__tcsicmp
	cbnz	x0, LBB0_5
; %bb.4:
Lloh18:
	adrp	x8, _IFFLAG_NEGATE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IFFLAG_NEGATE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x19, #32]
	orr	w8, w9, w8
	str	w8, [x19, #32]
Lloh21:
	adrp	x8, _STANDARD_SEPS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _STANDARD_SEPS@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_ParseToken
	mov	x20, x0
LBB0_5:
Lloh24:
	adrp	x21, _TOK_NORMAL@GOTPAGE
Lloh25:
	ldr	x21, [x21, _TOK_NORMAL@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w20, w8
	b.ne	LBB0_18
; %bb.6:
	ldr	x8, [x19, #8]
Lloh26:
	adrp	x20, _IF_MAX_UNARY@GOTPAGE
Lloh27:
	ldr	x20, [x20, _IF_MAX_UNARY@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.hi	LBB0_10
; %bb.7:
Lloh28:
	adrp	x23, _IfOperatorString@GOTPAGE
Lloh29:
	ldr	x23, [x23, _IfOperatorString@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	ldr	x9, [x23]
	ldr	w1, [x9, x8, lsl #2]
	bl	__tcsicmp
	cbz	x0, LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ls	LBB0_8
LBB0_10:
	ldr	x0, [x22]
	bl	_cmd_dup
	str	x0, [x19, #24]
Lloh30:
	adrp	x0, l_.str.3@PAGE
Lloh31:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__T
	mov	x1, x0
	mov	w0, #0
	bl	_ParseToken
	ldr	x20, [x22]
Lloh32:
	adrp	x0, l_.str.4@PAGE
Lloh33:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__T
	mov	x1, x0
	mov	x0, x20
	mov	w2, #2
	bl	__tcsnicmp
	cbz	x0, LBB0_21
LBB0_11:
	ldr	x8, [x19, #8]
Lloh34:
	adrp	x20, _IF_MAX_COMPARISON@GOTPAGE
Lloh35:
	ldr	x20, [x20, _IF_MAX_COMPARISON@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.hi	LBB0_18
; %bb.12:
Lloh36:
	adrp	x23, _IfOperatorString@GOTPAGE
Lloh37:
	ldr	x23, [x23, _IfOperatorString@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	ldr	x9, [x23]
	ldr	w1, [x9, x8, lsl #2]
	bl	__tcsicmp
	cbz	x0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ls	LBB0_13
	b	LBB0_18
LBB0_15:
Lloh38:
	adrp	x0, l_.str@PAGE
Lloh39:
	add	x0, x0, l_.str@PAGEOFF
	bl	_WARN
	bl	_ParseError
	b	LBB0_20
LBB0_16:
Lloh40:
	adrp	x8, _STANDARD_SEPS@GOTPAGE
Lloh41:
	ldr	x8, [x8, _STANDARD_SEPS@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	bl	_ParseToken
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_18
; %bb.17:
	ldr	x0, [x22]
	b	LBB0_22
LBB0_18:
	mov	x0, x19
	bl	_FreeCommand
	bl	_ParseError
LBB0_19:
	mov	x19, #0
LBB0_20:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_21:
	ldr	x0, [x22]
	ldr	x8, [x0, #16]!
	cbz	x8, LBB0_11
LBB0_22:
	bl	_cmd_dup
	str	x0, [x19, #16]
Lloh43:
	adrp	x21, _C_OP_LOWEST@GOTPAGE
Lloh44:
	ldr	x21, [x21, _C_OP_LOWEST@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_ParseCommandOp
	str	x0, [x19]
	cbz	x0, LBB0_25
; %bb.23:
	ldr	x20, [x22]
Lloh45:
	adrp	x0, l_.str.5@PAGE
Lloh46:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__T
	mov	x1, x0
	mov	x0, x20
	bl	__tcsicmp
	cbnz	x0, LBB0_20
; %bb.24:
	ldr	w0, [x21]
	bl	_ParseCommandOp
	ldr	x8, [x19]
	str	x0, [x8]
	cbnz	x0, LBB0_20
LBB0_25:
	mov	x0, x19
	bl	_FreeCommand
	b	LBB0_19
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot allocate memory for Cmd!\n"

	.comm	_C_IF,4,2                       ; @C_IF
	.comm	_CurrentTokenType,4,2           ; @CurrentTokenType
	.comm	_CurrentToken,8,3               ; @CurrentToken
l_.str.1:                               ; @.str.1
	.asciz	"/I"

	.comm	_IFFLAG_IGNORECASE,4,2          ; @IFFLAG_IGNORECASE
	.comm	_STANDARD_SEPS,4,2              ; @STANDARD_SEPS
l_.str.2:                               ; @.str.2
	.asciz	"not"

	.comm	_IFFLAG_NEGATE,4,2              ; @IFFLAG_NEGATE
	.comm	_TOK_NORMAL,4,2                 ; @TOK_NORMAL
	.comm	_IF_MAX_UNARY,8,3               ; @IF_MAX_UNARY
	.comm	_IfOperatorString,8,3           ; @IfOperatorString
l_.str.3:                               ; @.str.3
	.asciz	",;"

l_.str.4:                               ; @.str.4
	.asciz	"=="

	.comm	_IF_MAX_COMPARISON,8,3          ; @IF_MAX_COMPARISON
	.comm	_C_OP_LOWEST,4,2                ; @C_OP_LOWEST
l_.str.5:                               ; @.str.5
	.asciz	"else"

	.no_dead_strip	_ParseIf
.subsections_via_symbols
