	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ISARVersion
_ISARVersion:                           ## @ISARVersion
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	20(%rdi), %edi
	movq	_ISAR_IRQBIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	*24(%rbx)
	movq	_ISAR_MSG_HWVER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, 4(%rcx)
	movq	_ISAR_HIS_VNR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$3, %ecx
	xorl	%r8d, %r8d
	callq	_send_mbox
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_poll_mbox
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	8(%rbx), %rcx
	movq	_ISAR_IIS_VNR@GOTPCREL(%rip), %rdx
	movl	$-4, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.5:
	movl	$-3, %eax
	cmpl	$1, 16(%rbx)
	jne	LBB0_7
## %bb.6:
	movq	(%rbx), %rax
	movl	(%rax), %eax
	andl	$15, %eax
	jmp	LBB0_7
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_7
LBB0_3:
	movl	$-2, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISAR_IRQBIT,4,2                ## @ISAR_IRQBIT
	.comm	_ISAR_MSG_HWVER,4,2             ## @ISAR_MSG_HWVER
	.comm	_ISAR_HIS_VNR,4,2               ## @ISAR_HIS_VNR
	.comm	_ISAR_IIS_VNR,8,3               ## @ISAR_IIS_VNR
	.no_dead_strip	_ISARVersion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ISARVersion
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ISARVersion:                           ; @ISARVersion
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldr	w0, [x0, #20]
Lloh0:
	adrp	x9, _ISAR_IRQBIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISAR_IRQBIT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	w2, #0
	blr	x8
Lloh3:
	adrp	x8, _ISAR_MSG_HWVER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISAR_MSG_HWVER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [x19]
	str	w8, [x9]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x9, #4]
Lloh8:
	adrp	x8, _ISAR_HIS_VNR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ISAR_HIS_VNR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #3
	mov	x4, #0
	bl	_send_mbox
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x19
	mov	w1, #1000
	bl	_poll_mbox
	cbz	w0, LBB0_6
; %bb.2:
	ldr	x8, [x19, #8]
Lloh11:
	adrp	x9, _ISAR_IIS_VNR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ISAR_IIS_VNR@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.ne	LBB0_8
; %bb.4:
	ldr	x8, [x19]
	ldr	w8, [x8]
	and	w0, w8, #0xf
	b	LBB0_9
LBB0_5:
	mov	w0, #-1
	b	LBB0_9
LBB0_6:
	mov	w0, #-2
	b	LBB0_9
LBB0_7:
	mov	w0, #-4
	b	LBB0_9
LBB0_8:
	mov	w0, #-3
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ISAR_IRQBIT,4,2                ; @ISAR_IRQBIT
	.comm	_ISAR_MSG_HWVER,4,2             ; @ISAR_MSG_HWVER
	.comm	_ISAR_HIS_VNR,4,2               ; @ISAR_HIS_VNR
	.comm	_ISAR_IIS_VNR,8,3               ; @ISAR_IIS_VNR
	.no_dead_strip	_ISARVersion
.subsections_via_symbols
