	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmd_lookup
_cmd_lookup:                            ## @cmd_lookup
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_cmd_hash_func
	movq	_cmd_hash@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	leaq	(%rax,%rax,2), %r12
	cmpq	%rbx, 8(%rcx,%r12,8)
	jne	LBB0_4
## %bb.2:
	movl	16(%rcx,%r12,8), %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_6
LBB0_4:
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	(%r15), %rax
	movq	(%rax,%r12,8), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_cmd_hash,8,3                   ## @cmd_hash
	.no_dead_strip	_cmd_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmd_lookup
_cmd_lookup:                            ; @cmd_lookup
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	bl	_strlen
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_cmd_hash_func
Lloh0:
	adrp	x22, _cmd_hash@GOTPAGE
Lloh1:
	ldr	x22, [x22, _cmd_hash@GOTPAGEOFF]
	ldr	x8, [x22]
	mov	w9, #24
	madd	x9, x0, x9, x8
	ldr	x9, [x9, #8]
	cmp	x9, x20
	b.ne	LBB0_3
; %bb.2:
	mov	x21, x0
	mov	w9, #24
	madd	x8, x0, x9, x8
	ldr	w0, [x8, #16]
	mov	x1, x19
	mov	x2, x20
	bl	_memcmp
	cbz	x0, LBB0_4
LBB0_3:
	mov	x0, #0
	b	LBB0_5
LBB0_4:
	ldr	x8, [x22]
	mov	w9, #24
	mul	x9, x21, x9
	ldr	x0, [x8, x9]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_cmd_hash,8,3                   ; @cmd_hash
	.no_dead_strip	_cmd_lookup
.subsections_via_symbols
