	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function lsModeFunc
LCPI0_0:
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	8                               ## 0x8
LCPI0_1:
	.long	16                              ## 0x10
	.long	32                              ## 0x20
	.long	64                              ## 0x40
	.long	128                             ## 0x80
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_lsModeFunc:                            ## @lsModeFunc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	(%rdx), %rdi
	callq	_sqlite3_value_int
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_S_ISLNK
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movb	$108, -48(%rbp)
	jmp	LBB0_7
LBB0_2:
	movl	%ebx, %edi
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movb	$45, -48(%rbp)
	jmp	LBB0_7
LBB0_4:
	movl	%ebx, %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movb	$100, -48(%rbp)
	jmp	LBB0_7
LBB0_6:
	movb	$63, -48(%rbp)
LBB0_7:
	testl	$256, %ebx                      ## imm = 0x100
	movl	$45, %eax
	movl	$114, %edx
	cmovel	%eax, %edx
	movl	$114, %ecx
	movb	%dl, -47(%rbp)
	movd	%ebx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [1,2,4,8]
	pand	%xmm0, %xmm1
	pand	LCPI0_1(%rip), %xmm0
	pxor	%xmm2, %xmm2
	pcmpeqd	%xmm2, %xmm0
	pcmpeqd	%xmm2, %xmm1
	packssdw	%xmm0, %xmm1
	packsswb	%xmm1, %xmm1
	pmovmskb	%xmm1, %edx
	testb	$-128, %dl
	movl	$119, %esi
	movl	$119, %edi
	cmovnel	%eax, %edi
	movb	%dil, -46(%rbp)
	testb	$64, %dl
	movl	$120, %ebx
	cmovnel	%eax, %ebx
	movl	$120, %edi
	movb	%bl, -45(%rbp)
	testb	$32, %dl
	movl	$114, %ebx
	cmovnel	%eax, %ebx
	movb	%bl, -44(%rbp)
	testb	$16, %dl
	movl	$119, %ebx
	cmovnel	%eax, %ebx
	movb	%bl, -43(%rbp)
	testb	$8, %dl
	movl	$120, %ebx
	cmovnel	%eax, %ebx
	movb	%bl, -42(%rbp)
	testb	$4, %dl
	cmovnel	%eax, %ecx
	movb	%cl, -41(%rbp)
	testb	$2, %dl
	cmovnel	%eax, %esi
	movb	%sil, -40(%rbp)
	testb	$1, %dl
	cmovnel	%eax, %edi
	movb	%dil, -39(%rbp)
	movb	$0, -38(%rbp)
	movq	_SQLITE_TRANSIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_sqlite3_result_text
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_TRANSIENT,4,2           ## @SQLITE_TRANSIENT
	.no_dead_strip	_lsModeFunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function lsModeFunc
lCPI0_0:
	.long	256                             ; 0x100
	.long	128                             ; 0x80
	.long	64                              ; 0x40
	.long	32                              ; 0x20
lCPI0_1:
	.long	16                              ; 0x10
	.long	8                               ; 0x8
	.long	4                               ; 0x4
	.long	2                               ; 0x2
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_2:
	.byte	114                             ; 0x72
	.byte	119                             ; 0x77
	.byte	120                             ; 0x78
	.byte	114                             ; 0x72
	.byte	119                             ; 0x77
	.byte	120                             ; 0x78
	.byte	114                             ; 0x72
	.byte	119                             ; 0x77
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_lsModeFunc:                            ; @lsModeFunc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x0, [x2]
	bl	_sqlite3_value_int
	mov	x20, x0
	bl	_S_ISLNK
	cbz	x0, LBB0_2
; %bb.1:
	mov	w8, #108
	b	LBB0_7
LBB0_2:
	mov	x0, x20
	bl	_S_ISREG
	cbz	x0, LBB0_4
; %bb.3:
	mov	w8, #45
	b	LBB0_7
LBB0_4:
	mov	x0, x20
	bl	_S_ISDIR
	cbz	x0, LBB0_6
; %bb.5:
	mov	w8, #100
	b	LBB0_7
LBB0_6:
	mov	w8, #63
LBB0_7:
	strb	w8, [sp, #8]
	dup.4s	v0, w20
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	q1, [x8, lCPI0_0@PAGEOFF]
	and.16b	v1, v0, v1
Lloh5:
	adrp	x8, lCPI0_1@PAGE
Lloh6:
	ldr	q2, [x8, lCPI0_1@PAGEOFF]
	and.16b	v0, v0, v2
	cmeq.4s	v0, v0, #0
	cmeq.4s	v1, v1, #0
	uzp1.8h	v0, v1, v0
	xtn.8b	v0, v0
Lloh7:
	adrp	x8, lCPI0_2@PAGE
Lloh8:
	ldr	d1, [x8, lCPI0_2@PAGEOFF]
	movi.8b	v2, #45
	bsl.8b	v0, v2, v1
	stur	d0, [sp, #9]
	tst	w20, #0x1
	mov	w8, #120
	mov	w9, #45
	csel	w8, w9, w8, eq
	strb	w8, [sp, #17]
	strb	wzr, [sp, #18]
Lloh9:
	adrp	x8, _SQLITE_TRANSIENT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SQLITE_TRANSIENT@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #-1
	bl	_sqlite3_result_text
	ldr	x8, [sp, #24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpAdrp	Lloh5, Lloh7
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_TRANSIENT,4,2           ; @SQLITE_TRANSIENT
	.no_dead_strip	_lsModeFunc
.subsections_via_symbols
