	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compareString
_compareString:                         ## @compareString
	.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
	xorl	%r13d, %r13d
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_28
## %bb.2:
	movl	%edx, %r12d
	testl	%edx, %edx
	js	LBB0_28
## %bb.3:
	movl	%ecx, %r14d
	movq	%rdi, %rbx
	movq	_SDB_LIKE_START@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_SDB_LIKE_END@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_SDB_LIKE_BASE64@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.4:
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_sdb_decode
	testq	%rax, %rax
	je	LBB0_28
## %bb.5:
	movq	%rax, %rbx
	movl	-56(%rbp), %eax
	movq	%rbx, %r8
	jmp	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, -56(%rbp)
	xorl	%r8d, %r8d
LBB0_7:
	xorl	%r13d, %r13d
	movl	%eax, %ecx
	subl	%r12d, %ecx
	jl	LBB0_27
## %bb.8:
	movq	_SDB_LIKE_ICASE@GOTPCREL(%rip), %rsi
	testl	%r14d, -48(%rbp)                ## 4-byte Folded Reload
	setne	%dil
	testl	%r14d, -52(%rbp)                ## 4-byte Folded Reload
	setne	%dl
	andb	%dil, %dl
	testl	%r14d, (%rsi)
	je	LBB0_18
## %bb.9:
	testb	%dl, %dl
	je	LBB0_12
## %bb.10:
	cmpl	%r12d, %eax
	je	LBB0_11
	jmp	LBB0_27
LBB0_18:
	testb	%dl, %dl
	je	LBB0_22
## %bb.19:
	cmpl	%r12d, %eax
	je	LBB0_20
	jmp	LBB0_27
LBB0_12:
	testl	%r14d, -48(%rbp)                ## 4-byte Folded Reload
	je	LBB0_13
LBB0_11:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	movq	%r8, %rbx
	callq	_mycmp
	jmp	LBB0_21
LBB0_22:
	testl	%r14d, -48(%rbp)                ## 4-byte Folded Reload
	je	LBB0_23
LBB0_20:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	movq	%r8, %rbx
	callq	_strncmp
LBB0_21:
	movq	%rbx, %r8
	xorl	%r13d, %r13d
	testl	%eax, %eax
	sete	%r13b
	jmp	LBB0_27
LBB0_13:
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	testl	%r14d, -52(%rbp)                ## 4-byte Folded Reload
	je	LBB0_15
## %bb.14:
	movslq	%ecx, %rax
	addq	%rax, %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_16
LBB0_23:
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	testl	%r14d, -52(%rbp)                ## 4-byte Folded Reload
	je	LBB0_25
## %bb.24:
	movslq	%ecx, %rax
	addq	%rax, %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_strncmp
	jmp	LBB0_17
LBB0_15:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	movl	$1, %ecx
LBB0_16:
	callq	_mycmp
LBB0_17:
	xorl	%r13d, %r13d
	testl	%eax, %eax
	sete	%r13b
LBB0_26:
	movq	-48(%rbp), %r8                  ## 8-byte Reload
LBB0_27:
	movq	%r8, %rdi
	callq	_free
LBB0_28:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_strstr2
	movl	%eax, %r13d
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_SDB_LIKE_START,4,2             ## @SDB_LIKE_START
	.comm	_SDB_LIKE_END,4,2               ## @SDB_LIKE_END
	.comm	_SDB_LIKE_BASE64,4,2            ## @SDB_LIKE_BASE64
	.comm	_SDB_LIKE_ICASE,4,2             ## @SDB_LIKE_ICASE
	.no_dead_strip	_compareString
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compareString
_compareString:                         ; @compareString
	.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	w24, #0
	cbz	x0, LBB0_23
; %bb.1:
	mov	x21, x1
	cbz	x1, LBB0_23
; %bb.2:
	mov	x20, x2
	tbnz	w2, #31, LBB0_23
; %bb.3:
	mov	x23, x3
	mov	x22, x0
Lloh0:
	adrp	x8, _SDB_LIKE_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDB_LIKE_START@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SDB_LIKE_END@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SDB_LIKE_END@GOTPAGEOFF]
Lloh4:
	ldr	w25, [x8]
Lloh5:
	ldr	w24, [x9]
Lloh6:
	adrp	x8, _SDB_LIKE_BASE64@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SDB_LIKE_BASE64@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_6
; %bb.4:
	add	x1, sp, #12
	mov	x0, x22
	bl	_sdb_decode
	cbz	x0, LBB0_10
; %bb.5:
	mov	x22, x0
	ldr	w0, [sp, #12]
	mov	x19, x22
	cmp	w0, w20
	b.ge	LBB0_7
	b	LBB0_13
LBB0_6:
	mov	x0, x22
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	mov	x19, #0
	str	w0, [sp, #12]
	cmp	w0, w20
	b.lt	LBB0_13
LBB0_7:
	and	w9, w25, w23
Lloh9:
	adrp	x10, _SDB_LIKE_ICASE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SDB_LIKE_ICASE@GOTPAGEOFF]
	and	w8, w24, w23
Lloh11:
	ldr	w11, [x10]
	cmp	w9, #0
	ccmp	w8, #0, #4, ne
	cset	w10, ne
	and	w11, w11, w23
	cbz	w11, LBB0_11
; %bb.8:
	cbz	w10, LBB0_14
; %bb.9:
	cmp	w0, w20
	b.ne	LBB0_13
	b	LBB0_15
LBB0_10:
	mov	w24, #0
	b	LBB0_23
LBB0_11:
	cbz	w10, LBB0_18
; %bb.12:
	cmp	w0, w20
	b.eq	LBB0_19
LBB0_13:
	mov	w24, #0
	b	LBB0_22
LBB0_14:
	cbz	w9, LBB0_24
LBB0_15:
	mov	x0, x22
LBB0_16:
	mov	x1, x21
	mov	x2, x20
	mov	w3, #0
LBB0_17:
	bl	_mycmp
	b	LBB0_21
LBB0_18:
	cbz	w9, LBB0_26
LBB0_19:
	mov	x0, x22
LBB0_20:
	mov	x1, x21
	mov	x2, x20
	bl	_strncmp
LBB0_21:
	cmp	w0, #0
	cset	w24, eq
LBB0_22:
	mov	x0, x19
	bl	_free
LBB0_23:
	mov	x0, x24
	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_24:
	cbz	w8, LBB0_28
; %bb.25:
	sxtw	x8, w0
	sub	x8, x8, w20, sxtw
	add	x0, x22, x8
	b	LBB0_16
LBB0_26:
	cbz	w8, LBB0_29
; %bb.27:
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	sxtw	x8, w0
	sub	x8, x8, w20, sxtw
	add	x0, x22, x8
	b	LBB0_20
LBB0_28:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	w3, #1
	b	LBB0_17
LBB0_29:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_strstr2
	mov	x24, x0
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SDB_LIKE_START,4,2             ; @SDB_LIKE_START
	.comm	_SDB_LIKE_END,4,2               ; @SDB_LIKE_END
	.comm	_SDB_LIKE_BASE64,4,2            ; @SDB_LIKE_BASE64
	.comm	_SDB_LIKE_ICASE,4,2             ; @SDB_LIKE_ICASE
	.no_dead_strip	_compareString
.subsections_via_symbols
