	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function litexec
_litexec:                               ## @litexec
	.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	$56, %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	%rdi, %r14
	movq	_cflags@GOTPCREL(%rip), %rax
	movq	_REG_ICASE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_strstr@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_strcasestr@GOTPCREL(%rip), %rax
LBB0_3:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%r15), %r12
	movq	8(%r15), %rbx
	cmpq	%rbx, %r12
	jae	LBB0_20
## %bb.4:
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	movq	%rbx, %rsi
	callq	_strndup
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_23
## %bb.5:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	(%r14), %r13
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	addq	$16, %r15
	movl	$1, %ebx
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12), %r14
	movq	%r14, %rdi
	callq	_strlen
	cmpq	%rax, %r13
	ja	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %r13
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	*-72(%rbp)                      ## 8-byte Folded Reload
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	subq	%r14, %rax
	addq	%r12, %rax
	movq	%rax, -16(%r15)
	movq	(%rbx), %rsi
	addq	%rsi, %rax
	movq	%rax, -8(%r15)
	cmpq	%r13, %rcx
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rsi, %rdx
	movq	%r13, %rbx
	movq	(%r15), %r12
	incq	%r12
	addq	$16, %r15
	incq	%rbx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	incq	%r14
	movq	%r14, %rax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	cmpq	-88(%rbp), %r12                 ## 8-byte Folded Reload
	movq	%rsi, %r13
	jb	LBB0_6
	jmp	LBB0_15
LBB0_23:
	movq	_REG_ESPACE@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_14:
	decq	%rbx
	movq	%rbx, %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r14
	jmp	LBB0_15
LBB0_8:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_13:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %r14
	jmp	LBB0_15
LBB0_11:
	movq	%rcx, %rax
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r14
LBB0_15:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_19
## %bb.16:
	testq	%r14, %r14
	je	LBB0_19
## %bb.17:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	cmpq	%rdx, %r14
	jae	LBB0_19
## %bb.18:
	subq	%r14, %rdx
	shlq	$4, %r14
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	addq	%r14, %rdi
	shlq	$4, %rdx
	movl	$255, %esi
	callq	_memset
	xorl	%eax, %eax
	jmp	LBB0_22
LBB0_19:
	xorl	%eax, %eax
	testq	%r14, %r14
	jne	LBB0_22
LBB0_20:
	movq	_REG_NOMATCH@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %eax
LBB0_22:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cflags,4,2                     ## @cflags
	.comm	_REG_ICASE,4,2                  ## @REG_ICASE
	.comm	_REG_NOMATCH,4,2                ## @REG_NOMATCH
	.comm	_REG_ESPACE,4,2                 ## @REG_ESPACE
	.no_dead_strip	_litexec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function litexec
_litexec:                               ; @litexec
	.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
Lloh0:
	adrp	x8, _cflags@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cflags@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _REG_ICASE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REG_ICASE@GOTPAGEOFF]
Lloh5:
	adrp	x10, _strcasestr@GOTPAGE
Lloh6:
	ldr	x10, [x10, _strcasestr@GOTPAGEOFF]
Lloh7:
	adrp	x11, _strstr@GOTPAGE
Lloh8:
	ldr	x11, [x11, _strstr@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	csel	x8, x11, x10, eq
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldp	x27, x23, [x3]
	cmp	x27, x23
	b.hs	LBB0_8
; %bb.1:
	mov	x20, x3
	mov	x19, x2
	mov	x22, x0
	mov	x0, x1
	mov	x1, x23
	bl	_strndup
	cbz	x0, LBB0_9
; %bb.2:
	mov	x21, x0
	mov	x25, #0
	ldr	x26, [x22]
	str	x20, [sp]                       ; 8-byte Folded Spill
	add	x20, x20, #16
	mov	w28, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x24, x21, x27
	mov	x0, x24
	bl	_strlen
	cmp	x26, x0
	b.hi	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x22, #8]
	mov	x0, x24
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	blr	x8
	cbz	x0, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x19, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x8, x0, x24
	add	x8, x8, x27
	ldr	x26, [x22]
	add	x9, x26, x8
	stp	x8, x9, [x20, #-16]
	cmp	x19, x28
	b.eq	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20], #16
	add	x27, x8, #1
	add	x28, x28, #1
	add	x25, x25, #1
	mov	x24, x25
	cmp	x27, x23
	b.lo	LBB0_3
	b	LBB0_14
LBB0_8:
Lloh10:
	adrp	x8, _REG_NOMATCH@GOTPAGE
Lloh11:
	ldr	x8, [x8, _REG_NOMATCH@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	b	LBB0_20
LBB0_9:
Lloh13:
	adrp	x8, _REG_ESPACE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _REG_ESPACE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	b	LBB0_20
LBB0_10:
	sub	x25, x28, #1
LBB0_11:
	mov	x24, x25
	b	LBB0_14
LBB0_12:
	mov	x25, #0
	mov	x24, x28
	b	LBB0_14
LBB0_13:
	mov	x25, x19
	mov	x24, x19
LBB0_14:
	mov	x0, x21
	bl	_free
	cbz	x19, LBB0_19
; %bb.15:
	cbz	x24, LBB0_19
; %bb.16:
	cmp	x25, x19
	b.hs	LBB0_18
; %bb.17:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	add	x0, x8, x25, lsl #4
	sub	x8, x19, x25
	lsl	x2, x8, #4
	mov	w1, #255
	bl	_memset
	mov	w0, #0
	b	LBB0_20
LBB0_18:
	mov	x24, x25
LBB0_19:
Lloh16:
	adrp	x8, _REG_NOMATCH@GOTPAGE
Lloh17:
	ldr	x8, [x8, _REG_NOMATCH@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	x24, #0
	csel	w0, w8, wzr, eq
LBB0_20:
	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
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_cflags,4,2                     ; @cflags
	.comm	_REG_ICASE,4,2                  ; @REG_ICASE
	.comm	_REG_NOMATCH,4,2                ; @REG_NOMATCH
	.comm	_REG_ESPACE,4,2                 ; @REG_ESPACE
	.no_dead_strip	_litexec
.subsections_via_symbols
