	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function findBuiltin
_findBuiltin:                           ## @findBuiltin
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_strlen
	movl	%eax, %r13d
	movq	_builtin_script@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_lengthof
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_builtin_script@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	(%rax,%r14), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_strncmp
	movq	(%r13), %rdi
	leaq	(%rdi,%r14), %rcx
	xorl	%edx, %edx
	testq	%rax, %rax
	sete	%dl
	cmoveq	%rcx, %rbx
	addl	%edx, %r12d
	incq	%r15
	callq	_lengthof
	cltq
	addq	$4, %r14
	cmpq	%rax, %r15
	jl	LBB0_2
## %bb.3:
	cmpl	$1, %r12d
	jne	LBB0_4
## %bb.8:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	testl	%r12d, %r12d
	jne	LBB0_6
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_7
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
LBB0_7:
	xorl	%eax, %eax
	callq	_listAvailableScripts
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_builtin_script,8,3             ## @builtin_script
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no builtin script found for name \"%s\"\n"

L_.str.1:                               ## @.str.1
	.asciz	"ambiguous builtin name: %d builtin scripts found for prefix \"%s\"\n"

	.no_dead_strip	_findBuiltin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function findBuiltin
_findBuiltin:                           ; @findBuiltin
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x0
	bl	_strlen
	mov	x20, x0
Lloh0:
	adrp	x22, _builtin_script@GOTPAGE
Lloh1:
	ldr	x22, [x22, _builtin_script@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_lengthof
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x24, #0
	mov	x25, #0
	mov	x21, #0
	mov	w23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w0, [x8, x24]
	mov	x1, x19
	mov	x2, x20
	bl	_strncmp
	ldr	x8, [x22]
	add	x9, x8, x24
	cmp	x0, #0
	csel	x21, x9, x21, eq
	cinc	w23, w23, eq
	add	x25, x25, #1
	mov	x0, x8
	bl	_lengthof
	add	x24, x24, #4
	cmp	x25, w0, sxtw
	b.lt	LBB0_2
; %bb.3:
	cmp	w23, #1
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x21
	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
	add	sp, sp, #96
	ret
LBB0_5:
	cbnz	w23, LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	str	x19, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh7:
	adrp	x8, _stderr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	stp	x23, x19, [sp]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	bl	_fprintf
	bl	_listAvailableScripts
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_builtin_script,8,3             ; @builtin_script
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no builtin script found for name \"%s\"\n"

l_.str.1:                               ; @.str.1
	.asciz	"ambiguous builtin name: %d builtin scripts found for prefix \"%s\"\n"

	.no_dead_strip	_findBuiltin
.subsections_via_symbols
