	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CompareName
_CompareName:                           ## @CompareName
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_s_dwFlags@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_RSF_WHOLESTRING@GOTPCREL(%rip), %rdx
	movq	_RSF_MATCHCASE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, (%rdx)
	je	LBB0_5
## %bb.1:
	testl	%eax, %ecx
	je	LBB0_4
## %bb.2:
	callq	_wcscmp
	jmp	LBB0_3
LBB0_5:
	testl	%eax, %ecx
	je	LBB0_7
## %bb.6:
	callq	_wcsstr
	jmp	LBB0_8
LBB0_4:
	callq	__wcsicmp
LBB0_3:
	testq	%rax, %rax
	sete	%al
	jmp	LBB0_9
LBB0_7:
	callq	_lstrstri
LBB0_8:
	testq	%rax, %rax
	setne	%al
LBB0_9:
	movzbl	%al, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_s_dwFlags,4,2                  ## @s_dwFlags
	.comm	_RSF_WHOLESTRING,4,2            ## @RSF_WHOLESTRING
	.comm	_RSF_MATCHCASE,4,2              ## @RSF_MATCHCASE
	.no_dead_strip	_CompareName
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CompareName
_CompareName:                           ; @CompareName
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _s_dwFlags@GOTPAGE
Lloh1:
	ldr	x8, [x8, _s_dwFlags@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _RSF_WHOLESTRING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RSF_WHOLESTRING@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x8]
Lloh6:
	adrp	x8, _RSF_MATCHCASE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RSF_MATCHCASE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w9
	tst	w10, w9
	b.eq	LBB0_3
; %bb.1:
	cbz	w8, LBB0_5
; %bb.2:
	bl	_wcscmp
	b	LBB0_6
LBB0_3:
	cbz	w8, LBB0_7
; %bb.4:
	bl	_wcsstr
	b	LBB0_8
LBB0_5:
	bl	__wcsicmp
LBB0_6:
	cmp	x0, #0
	cset	w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	_lstrstri
LBB0_8:
	cmp	x0, #0
	cset	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_s_dwFlags,4,2                  ; @s_dwFlags
	.comm	_RSF_WHOLESTRING,4,2            ; @RSF_WHOLESTRING
	.comm	_RSF_MATCHCASE,4,2              ; @RSF_MATCHCASE
	.no_dead_strip	_CompareName
.subsections_via_symbols
