	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vie_canonical_check            ## -- Begin function vie_canonical_check
	.p2align	4, 0x90
_vie_canonical_check:                   ## @vie_canonical_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CPU_MODE_64BIT@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_1
## %bb.2:
	btq	$47, %rsi
	jb	LBB0_3
## %bb.4:
	shrq	$48, %rsi
	setne	%al
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	shrq	$48, %rsi
	cmpl	$65535, %esi                    ## imm = 0xFFFF
	setb	%al
LBB0_5:
	movzbl	%al, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPU_MODE_64BIT,4,2             ## @CPU_MODE_64BIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vie_canonical_check            ; -- Begin function vie_canonical_check
	.p2align	2
_vie_canonical_check:                   ; @vie_canonical_check
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _CPU_MODE_64BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPU_MODE_64BIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
	tst	x1, #0xffff000000000000
	cset	w8, ne
	mov	x9, #-281474976710656
	cmp	x1, x9
	cset	w9, lo
	tst	x1, #0x800000000000
	csel	w0, w8, w9, eq
	ret
LBB0_2:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CPU_MODE_64BIT,4,2             ; @CPU_MODE_64BIT
.subsections_via_symbols
