	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xc_get_version
_xc_get_version:                        ## @xc_get_version
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	_XREG_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdx
	callq	_xc4000_readreg
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-36(%rbp), %ecx
	movl	%ecx, %edx
	shrl	$12, %edx
	andl	$15, %edx
	movl	%edx, (%rbx)
	movl	%ecx, %edx
	shrl	$8, %edx
	andl	$15, %edx
	movl	%edx, (%r12)
	movl	%ecx, %edx
	shrl	$4, %edx
	andl	$15, %edx
	movl	%edx, (%r15)
	andl	$15, %ecx
	movl	%ecx, (%r14)
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XREG_VERSION,4,2               ## @XREG_VERSION
	.no_dead_strip	_xc_get_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xc_get_version
_xc_get_version:                        ; @xc_get_version
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
Lloh0:
	adrp	x8, _XREG_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XREG_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_xc4000_readreg
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w8, [sp, #12]
	ubfx	w9, w8, #12, #4
	str	w9, [x22]
	ubfx	w9, w8, #8, #4
	str	w9, [x21]
	ubfx	w9, w8, #4, #4
	str	w9, [x20]
	and	w8, w8, #0xf
	str	w8, [x19]
LBB0_2:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XREG_VERSION,4,2               ; @XREG_VERSION
	.no_dead_strip	_xc_get_version
.subsections_via_symbols
