	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_native_ie
_check_native_ie:                       ## @check_native_ie
	.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	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_TRUE@GOTPCREL(%rip), %r14
	movl	(%r14), %r15d
	leaq	_check_native_ie.browseui_dllW(%rip), %rdi
	leaq	-100(%rbp), %rsi
	callq	_GetFileVersionInfoSizeW
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_HeapAlloc
	movq	%rax, %r14
	leaq	_check_native_ie.browseui_dllW(%rip), %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	movq	%rax, %rcx
	callq	_GetFileVersionInfoW
	leaq	_check_native_ie.translationW(%rip), %rsi
	leaq	-96(%rbp), %rdx
	leaq	-84(%rbp), %rcx
	movq	%r14, %rdi
	callq	_VerQueryValueW
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	-96(%rbp), %rax
	movl	(%rax), %edx
	movl	4(%rax), %ecx
	leaq	_check_native_ie.file_desc_fmtW(%rip), %rsi
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_wsprintfW
	leaq	-88(%rbp), %rdx
	leaq	-84(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_VerQueryValueW
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	-88(%rbp), %edi
	leaq	_check_native_ie.wineW(%rip), %rsi
	callq	_strstrW
	xorl	%r15d, %r15d
	testl	%eax, %eax
	sete	%r15b
	jmp	LBB0_6
LBB0_1:
	movl	(%r14), %r15d
	jmp	LBB0_7
LBB0_4:
	movl	$1, %r15d
LBB0_6:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movl	%r15d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.section	__TEXT,__const
_check_native_ie.browseui_dllW:         ## @check_native_ie.browseui_dllW
	.asciz	"browseui.dll"

_check_native_ie.wineW:                 ## @check_native_ie.wineW
	.asciz	"Wine"

	.p2align	4                               ## @check_native_ie.translationW
_check_native_ie.translationW:
	.asciz	"\\VarFileInfo\\Translation"

	.p2align	4                               ## @check_native_ie.file_desc_fmtW
_check_native_ie.file_desc_fmtW:
	.asciz	"\\StringFileInfo\\%04x%04x\\FileDescription"

	.no_dead_strip	_check_native_ie
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_native_ie
_check_native_ie:                       ; @check_native_ie
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x20, _TRUE@GOTPAGE
Lloh4:
	ldr	x20, [x20, _TRUE@GOTPAGEOFF]
	ldr	w19, [x20]
Lloh5:
	adrp	x0, _check_native_ie.browseui_dllW@PAGE
Lloh6:
	add	x0, x0, _check_native_ie.browseui_dllW@PAGEOFF
	add	x1, sp, #20
	bl	_GetFileVersionInfoSizeW
	cbz	w0, LBB0_4
; %bb.1:
	mov	x21, x0
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x21
	bl	_HeapAlloc
	mov	x20, x0
Lloh7:
	adrp	x0, _check_native_ie.browseui_dllW@PAGE
Lloh8:
	add	x0, x0, _check_native_ie.browseui_dllW@PAGEOFF
	mov	w1, #0
	mov	x2, x21
	mov	x3, x20
	bl	_GetFileVersionInfoW
Lloh9:
	adrp	x1, _check_native_ie.translationW@PAGE
Lloh10:
	add	x1, x1, _check_native_ie.translationW@PAGEOFF
	mov	x2, sp
	add	x3, sp, #12
	mov	x0, x20
	bl	_VerQueryValueW
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x8, [sp]
	ldp	w2, w3, [x8]
Lloh11:
	adrp	x1, _check_native_ie.file_desc_fmtW@PAGE
Lloh12:
	add	x1, x1, _check_native_ie.file_desc_fmtW@PAGEOFF
	add	x0, sp, #24
	bl	_wsprintfW
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	mov	x0, x20
	bl	_VerQueryValueW
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w0, [sp, #16]
Lloh13:
	adrp	x1, _check_native_ie.wineW@PAGE
Lloh14:
	add	x1, x1, _check_native_ie.wineW@PAGEOFF
	bl	_strstrW
	cmp	w0, #0
	cset	w19, eq
	b	LBB0_6
LBB0_4:
	ldr	w19, [x20]
	b	LBB0_7
LBB0_5:
	mov	w19, #1
LBB0_6:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x20
	bl	_HeapFree
LBB0_7:
	ldur	x8, [x29, #-40]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.section	__TEXT,__const
_check_native_ie.browseui_dllW:         ; @check_native_ie.browseui_dllW
	.asciz	"browseui.dll"

_check_native_ie.wineW:                 ; @check_native_ie.wineW
	.asciz	"Wine"

_check_native_ie.translationW:          ; @check_native_ie.translationW
	.asciz	"\\VarFileInfo\\Translation"

_check_native_ie.file_desc_fmtW:        ; @check_native_ie.file_desc_fmtW
	.asciz	"\\StringFileInfo\\%04x%04x\\FileDescription"

	.no_dead_strip	_check_native_ie
.subsections_via_symbols
