	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lookup_cmd_1                   ## -- Begin function lookup_cmd_1
	.p2align	4, 0x90
_lookup_cmd_1:                          ## @lookup_cmd_1
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r12
	movq	(%rdi), %r13
	movq	%r13, -104(%rbp)
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%r13
	movq	%r13, (%r12)
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r13), %eax
	cmpb	$9, %al
	je	LBB0_47
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$32, %al
	je	LBB0_47
## %bb.3:
	testb	%al, %al
	je	LBB0_45
## %bb.4:
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	_xdb_commands@GOTPCREL(%rip), %rbx
	movabsq	$-9223231290776485888, %r14     ## imm = 0x8000800200000000
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movzbl	1(%r13), %eax
	incq	%r13
	testb	%al, %al
	je	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_isalnum
	testq	%rax, %rax
	jne	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movzbl	(%r13), %eax
	cmpb	$45, %al
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$95, %al
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$63, %al
	ja	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movzbl	%al, %eax
	btq	%rax, %r14
	jb	LBB0_11
LBB0_12:
	movq	%r13, %r14
	subq	(%r12), %r14
	je	LBB0_45
## %bb.13:
	leal	1(%r14), %edi
	callq	_alloca
	testl	%r14d, %r14d
	jle	LBB0_20
## %bb.14:
	movl	%r14d, %edx
	leaq	-1(%rdx), %rcx
	movl	%r14d, %edi
	andl	$3, %edi
	cmpq	$3, %rcx
	jae	LBB0_16
## %bb.15:
	xorl	%ecx, %ecx
	jmp	LBB0_18
LBB0_16:
	subq	%rdi, %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	movzbl	(%rsi,%rcx), %ebx
	movb	%bl, (%rax,%rcx)
	movq	(%r12), %rsi
	movzbl	1(%rsi,%rcx), %ebx
	movb	%bl, 1(%rax,%rcx)
	movq	(%r12), %rsi
	movzbl	2(%rsi,%rcx), %ebx
	movb	%bl, 2(%rax,%rcx)
	movq	(%r12), %rsi
	movzbl	3(%rsi,%rcx), %ebx
	movb	%bl, 3(%rax,%rcx)
	addq	$4, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_17
LBB0_18:
	testq	%rdi, %rdi
	je	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdx
	movzbl	(%rdx,%rcx), %edx
	movb	%dl, (%rax,%rcx)
	incq	%rcx
	decq	%rdi
	jne	LBB0_19
LBB0_20:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movslq	%r14d, %rcx
	movb	$0, (%rax,%rcx)
	movl	$0, -44(%rbp)
	leaq	-44(%rbp), %r8
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movl	%r14d, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %ecx
	callq	_find_cmd
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movq	%rax, %r15
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jne	LBB0_28
LBB0_22:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	jle	LBB0_27
## %bb.23:
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movb	%bl, (%rdi,%r14)
	incq	%r14
	cmpq	%r14, -96(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_27
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%r14), %ebx
	movsbl	%bl, %r15d
	movl	%r15d, %edi
	callq	_isupper
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	movl	%r15d, %edi
	callq	_tolower
	movl	%eax, %ebx
	jmp	LBB0_26
LBB0_27:
	leaq	-44(%rbp), %r8
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %ecx
	callq	_find_cmd
	movq	%rax, %r15
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_45
LBB0_28:
	cmpl	$2, %eax
	jl	LBB0_32
## %bb.29:
	movq	$-1, %r14
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_30
## %bb.31:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_44
LBB0_45:
	xorl	%eax, %eax
LBB0_46:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	movq	%r13, (%r12)
	movq	16(%r15), %r14
	testq	%r14, %r14
	je	LBB0_33
## %bb.34:
	movq	_DEPRECATED_WARN_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_36
## %bb.35:
	leaq	-104(%rbp), %rdi
	callq	_deprecated_cmd_warning
	movq	16(%r15), %r14
	jmp	LBB0_36
LBB0_30:
	movq	$-1, %rax
	jmp	LBB0_46
LBB0_33:
	movq	%r15, %r14
LBB0_36:
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_42
## %bb.37:
	movq	(%rax), %rsi
	movq	%r12, %rdi
	movl	%ebx, %ecx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_lookup_cmd_1
	cmpq	$-1, %rax
	je	LBB0_40
## %bb.38:
	testq	%rax, %rax
	jne	LBB0_46
## %bb.39:
	movq	%r14, %rax
	jmp	LBB0_43
LBB0_42:
	movq	%r14, %rax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
LBB0_43:
	testq	%rbx, %rbx
	je	LBB0_46
LBB0_44:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rbx)
	movq	%r14, %rax
	jmp	LBB0_46
LBB0_40:
	movq	$-1, %rax
	testq	%rbx, %rbx
	je	LBB0_46
## %bb.41:
	cmpq	$0, (%rbx)
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	$-1, %r14
	jne	LBB0_46
	jmp	LBB0_44
	.cfi_endproc
                                        ## -- End function
	.comm	_xdb_commands,8,3               ## @xdb_commands
	.comm	_DEPRECATED_WARN_USER,4,2       ## @DEPRECATED_WARN_USER
	.comm	_tui_active,8,3                 ## @tui_active
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lookup_cmd_1                   ; -- Begin function lookup_cmd_1
	.p2align	2
_lookup_cmd_1:                          ; @lookup_cmd_1
	.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
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x26, [x0]
	str	x26, [sp]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x26, x26, #1
	str	x26, [x22]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x26]
	cmp	w8, #9
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, #32
	b.eq	LBB0_1
; %bb.4:
	cbz	w8, LBB0_35
; %bb.5:
Lloh0:
	adrp	x23, _xdb_commands@GOTPAGE
Lloh1:
	ldr	x23, [x23, _xdb_commands@GOTPAGEOFF]
	mov	w24, #1
	mov	x25, #140746078289920
	movk	x25, #32768, lsl #48
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x26, #1]!
	cbz	w8, LBB0_13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_isalnum
	cbnz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x26]
	cmp	w8, #45
	b.eq	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, #95
	b.eq	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x23]
	cbz	x9, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, #63
	b.hi	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	lsl	x8, x24, x8
	tst	x8, x25
	b.ne	LBB0_6
LBB0_13:
	ldr	x8, [x22]
	subs	x24, x26, x8
	b.eq	LBB0_35
; %bb.14:
	add	w0, w24, #1
	bl	_alloca
	mov	x25, x0
	cmp	w24, #1
	b.lt	LBB0_17
; %bb.15:
	mov	x8, #0
	and	x9, x24, #0xffffffff
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x22]
	ldrb	w10, [x10, x8]
	strb	w10, [x25, x8]
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_16
LBB0_17:
	strb	wzr, [x25, w24, sxtw]
	str	wzr, [sp, #12]
	add	x4, sp, #12
	mov	x0, x25
	mov	x1, x24
	mov	x2, x20
	mov	x3, x21
	bl	_find_cmd
	cbz	x0, LBB0_22
; %bb.18:
	mov	x23, x0
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_22
; %bb.19:
	cmp	w8, #2
	b.lt	LBB0_29
LBB0_20:
	mov	x23, #-1
	cbz	x19, LBB0_42
; %bb.21:
	mov	x20, #0
	b	LBB0_39
LBB0_22:
	cmp	w24, #1
	b.lt	LBB0_27
; %bb.23:
	and	x27, x24, #0xffffffff
	mov	x28, x25
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	strb	w23, [x28], #1
	subs	x27, x27, #1
	b.eq	LBB0_27
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x28]
	and	w23, w0, #0xff
	bl	_isupper
	cbz	x0, LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	sxtb	w0, w23
	bl	_tolower
	mov	x23, x0
	b	LBB0_24
LBB0_27:
	add	x4, sp, #12
	mov	x0, x25
	mov	x1, x24
	mov	x2, x20
	mov	x3, x21
	bl	_find_cmd
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_35
; %bb.28:
	mov	x23, x0
	cmp	w8, #2
	b.ge	LBB0_20
LBB0_29:
	str	x26, [x22]
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_32
; %bb.30:
	ldr	w9, [x23]
Lloh2:
	adrp	x10, _DEPRECATED_WARN_USER@GOTPAGE
Lloh3:
	ldr	x10, [x10, _DEPRECATED_WARN_USER@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_37
; %bb.31:
	mov	x0, sp
	bl	_deprecated_cmd_warning
	ldr	x23, [x23, #16]
LBB0_32:
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_38
LBB0_33:
	ldr	x1, [x8]
	mov	x0, x22
	mov	x2, x19
	mov	x3, x21
	bl	_lookup_cmd_1
	cmn	x0, #1
	b.eq	LBB0_40
; %bb.34:
	cbz	x0, LBB0_38
	b	LBB0_36
LBB0_35:
	mov	x0, #0
LBB0_36:
	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_37:
	mov	x23, x8
	ldr	x8, [x23, #8]
	cbnz	x8, LBB0_33
LBB0_38:
	mov	x0, x23
	cbz	x19, LBB0_36
LBB0_39:
	str	x20, [x19]
	mov	x0, x23
	b	LBB0_36
LBB0_40:
	cbz	x19, LBB0_42
; %bb.41:
	ldr	x8, [x19]
	mov	x0, #-1
	mov	x20, x23
	mov	x23, #-1
	cbnz	x8, LBB0_36
	b	LBB0_39
LBB0_42:
	mov	x0, #-1
	b	LBB0_36
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_xdb_commands,8,3               ; @xdb_commands
	.comm	_DEPRECATED_WARN_USER,4,2       ; @DEPRECATED_WARN_USER
	.comm	_tui_active,8,3                 ; @tui_active
.subsections_via_symbols
