	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msi_strequal
_msi_strequal:                          ## @msi_strequal
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movl	%edi, %r14d
	movq	_CP_ACP@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	xorl	%esi, %esi
	movl	%r15d, %edx
	movl	$-1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_MultiByteToWideChar
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_lstrlenW
	leal	-1(%rbx), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_1
## %bb.3:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%ebx, %edx
	shll	$2, %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, %r12
	movl	(%r13), %edi
	xorl	%esi, %esi
	movl	%r15d, %edx
	movl	$-1, %ecx
	movq	%rax, %r8
	movl	%ebx, %r9d
	callq	_MultiByteToWideChar
	xorl	%eax, %eax
	callq	_GetThreadLocale
	movq	_NORM_IGNORECASE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	movq	%r12, %r8
	movl	%ebx, %r9d
	callq	_CompareStringW
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_HeapFree
	movq	_CSTR_EQUAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	(%rcx), %ebx
	sete	%al
	jmp	LBB0_4
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CP_ACP,4,2                     ## @CP_ACP
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_NORM_IGNORECASE,4,2            ## @NORM_IGNORECASE
	.comm	_CSTR_EQUAL,4,2                 ## @CSTR_EQUAL
	.no_dead_strip	_msi_strequal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msi_strequal
_msi_strequal:                          ; @msi_strequal
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _CP_ACP@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CP_ACP@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	w1, #0
	mov	x2, x21
	mov	w3, #-1
	mov	x4, #0
	mov	w5, #0
	bl	_MultiByteToWideChar
	cbz	w0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_lstrlenW
	sub	w8, w20, #1
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
	bl	_GetProcessHeap
	lsl	w2, w20, #2
	mov	w1, #0
	bl	_HeapAlloc
	mov	x22, x0
	ldr	w0, [x23]
	mov	w1, #0
	mov	x2, x21
	mov	w3, #-1
	mov	x4, x22
	mov	x5, x20
	bl	_MultiByteToWideChar
	bl	_GetThreadLocale
Lloh2:
	adrp	x8, _NORM_IGNORECASE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NORM_IGNORECASE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x2, x19
	mov	x3, x20
	mov	x4, x22
	mov	x5, x20
	bl	_CompareStringW
	mov	x19, x0
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x22
	bl	_HeapFree
Lloh5:
	adrp	x8, _CSTR_EQUAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CSTR_EQUAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w19, w8
	cset	w0, eq
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _FALSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CP_ACP,4,2                     ; @CP_ACP
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_NORM_IGNORECASE,4,2            ; @NORM_IGNORECASE
	.comm	_CSTR_EQUAL,4,2                 ; @CSTR_EQUAL
	.no_dead_strip	_msi_strequal
.subsections_via_symbols
