	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpu_read_ivar
_cpu_read_ivar:                         ## @cpu_read_ivar
	.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	%rcx, %rbx
	cmpl	$129, %edx
	je	LBB0_3
## %bb.1:
	cmpl	$128, %edx
	jne	LBB0_7
## %bb.2:
	movl	%esi, %edi
	callq	_device_get_ivars
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_3:
	movq	_tsc_is_invariant@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.4:
	movq	_tsc_freq@GOTPCREL(%rip), %rdi
	callq	_atomic_load_acq_64
	cltq
	imulq	$1125899907, %rax, %rax         ## imm = 0x431BDE83
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$50, %rax
	addl	%ecx, %eax
LBB0_5:
	cltq
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_7:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tsc_is_invariant,4,2           ## @tsc_is_invariant
	.comm	_tsc_freq,4,2                   ## @tsc_freq
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_cpu_read_ivar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpu_read_ivar
_cpu_read_ivar:                         ; @cpu_read_ivar
	.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, x3
	cmp	w2, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w2, #128
	b.ne	LBB0_6
; %bb.2:
	mov	x0, x1
	bl	_device_get_ivars
	ldr	w8, [x0]
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _tsc_is_invariant@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tsc_is_invariant@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_6
; %bb.4:
Lloh3:
	adrp	x0, _tsc_freq@GOTPAGE
Lloh4:
	ldr	x0, [x0, _tsc_freq@GOTPAGEOFF]
	bl	_atomic_load_acq_64
	mov	w8, #56963
	movk	w8, #17179, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #50
	add	w8, w8, w9
LBB0_5:
	mov	w0, #0
	sxtw	x8, w8
	str	x8, [x19]
	b	LBB0_7
LBB0_6:
Lloh5:
	adrp	x8, _ENOENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_tsc_is_invariant,4,2           ; @tsc_is_invariant
	.comm	_tsc_freq,4,2                   ; @tsc_freq
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_cpu_read_ivar
.subsections_via_symbols
