	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_strnicmp               ## -- Begin function sqlite3_strnicmp
	.p2align	4, 0x90
_sqlite3_strnicmp:                      ## @sqlite3_strnicmp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.2:
	testl	%edx, %edx
	jle	LBB0_7
## %bb.3:
	movq	_UpperToLower@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	incl	%edx
	xorl	%r9d, %r9d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%r9), %eax
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r8,%rax,8), %rax
	movzbl	(%rsi,%r9), %ecx
	cmpq	(%r8,%rcx,8), %rax
	jne	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	decl	%edx
	incq	%r9
	cmpl	$1, %edx
	ja	LBB0_4
LBB0_7:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	negq	%rsi
	sbbl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_9:
	movl	$1, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_11:
	movq	(%r8), %rax
LBB0_12:
	movzbl	(%rsi,%r9), %ecx
	subl	(%r8,%rcx,8), %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UpperToLower,8,3               ## @UpperToLower
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_strnicmp               ; -- Begin function sqlite3_strnicmp
	.p2align	2
_sqlite3_strnicmp:                      ; @sqlite3_strnicmp
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_8
; %bb.1:
	cbz	x1, LBB0_9
; %bb.2:
	cmp	w2, #1
	b.lt	LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _UpperToLower@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UpperToLower@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	w9, w2, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x0]
	cbz	x10, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x8, x10, lsl #3]
	ldrb	w11, [x1]
	ldr	x11, [x8, x11, lsl #3]
	cmp	x10, x11
	b.ne	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x0, #1
	add	x1, x1, #1
	sub	w9, w9, #1
	cmp	w9, #1
	b.hi	LBB0_4
LBB0_7:
	mov	w0, #0
	ret
LBB0_8:
	cmp	x1, #0
	csetm	w0, ne
	ret
LBB0_9:
	mov	w0, #1
	ret
LBB0_10:
	ldr	x10, [x8]
LBB0_11:
	ldrb	w9, [x1]
	ldr	x8, [x8, x9, lsl #3]
	sub	w0, w10, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UpperToLower,8,3               ; @UpperToLower
.subsections_via_symbols
