	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function findcmd
_findcmd:                               ## @findcmd
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %rbx
	callq	_strlen
	movq	%r14, %rcx
	movq	%rax, %r14
	movq	%r13, %r12
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	testq	%r13, %r13
	jne	LBB0_3
## %bb.1:
	movq	%rcx, %r12
	testq	%rcx, %rcx
	je	LBB0_2
LBB0_3:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %r15
	jmp	LBB0_6
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	incl	%r13d
	movq	%r15, %rax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	8(%r15), %rsi
	addq	$8, %r15
	testq	%rsi, %rsi
	je	LBB0_12
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %eax
	cmpb	(%rsi), %al
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r15), %rax
	cmpb	$0, (%rax,%r14)
	jne	LBB0_10
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	-72(%rbp), %r12                 ## 8-byte Folded Reload
	movq	%rcx, %r12
	je	LBB0_4
LBB0_14:
	cmpl	$1, %r13d
	jne	LBB0_17
## %bb.15:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	jmp	LBB0_16
LBB0_9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
LBB0_16:
	movl	$1, %r13d
LBB0_17:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%r13d, %r13d
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_findcmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function findcmd
_findcmd:                               ; @findcmd
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_strlen
	mov	x24, x0
	mov	x25, x21
	cbnz	x21, LBB0_2
; %bb.1:
	mov	x25, x20
	cbz	x20, LBB0_16
LBB0_2:
	mov	w23, #0
	mov	x26, #0
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x1, [x25]
	cbz	x1, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, x25
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	w23, w23, #1
	mov	x26, x27
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	x1, [x27, #8]!
	cbz	x1, LBB0_10
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x22]
	ldrb	w9, [x1]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x22
	mov	x2, x24
	bl	_strncmp
	cbnz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x27]
	ldrb	w8, [x8, x24]
	cbnz	w8, LBB0_5
	b	LBB0_14
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x20, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	x25, x21
	mov	x25, x20
	b.eq	LBB0_3
LBB0_12:
	cmp	w23, #1
	b.ne	LBB0_15
; %bb.13:
	str	x26, [x19]
	b	LBB0_15
LBB0_14:
	str	x27, [x19]
	mov	w23, #1
LBB0_15:
	mov	x0, x23
	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
LBB0_16:
	mov	w23, #0
	b	LBB0_15
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_findcmd
.subsections_via_symbols
