	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_cycle_time
_get_cycle_time:                        ## @get_cycle_time
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_OHCI1394_IsochronousCycleTimer@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_reg_read
	movl	%eax, %r15d
	movq	_QUIRK_CYCLE_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_10
## %bb.1:
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_reg_read
	movl	%eax, %r12d
	xorl	%r14d, %r14d
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$19, %r14d
	ja	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %ebx
	movl	%r12d, %r15d
	movq	_OHCI1394_IsochronousCycleTimer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_reg_read
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	_cycle_timer_ticks
	movl	%eax, %r13d
	movl	%r15d, %edi
	callq	_cycle_timer_ticks
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_cycle_timer_ticks
	movl	%ebx, %ecx
	subl	%r13d, %ecx
	jle	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %esi
	subl	%ebx, %esi
	testl	%esi, %esi
	jle	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%esi
	cmpl	$1, %eax
	ja	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%ecx
	cmpl	$2, %eax
	jb	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$20, %r14d
	jb	LBB0_7
LBB0_9:
	movl	%r12d, %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OHCI1394_IsochronousCycleTimer,4,2 ## @OHCI1394_IsochronousCycleTimer
	.comm	_QUIRK_CYCLE_TIMER,4,2          ## @QUIRK_CYCLE_TIMER
	.no_dead_strip	_get_cycle_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_cycle_time
_get_cycle_time:                        ; @get_cycle_time
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x24, _OHCI1394_IsochronousCycleTimer@GOTPAGE
Lloh1:
	ldr	x24, [x24, _OHCI1394_IsochronousCycleTimer@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_reg_read
	mov	x20, x0
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _QUIRK_CYCLE_TIMER@GOTPAGE
Lloh3:
	ldr	x9, [x9, _QUIRK_CYCLE_TIMER@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.1:
	ldr	w1, [x24]
	mov	x0, x19
	bl	_reg_read
	mov	x21, x0
	mov	w25, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w25, #19
	b.hi	LBB0_7
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w25, w25, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x20
	mov	x20, x21
	ldr	w1, [x24]
	mov	x0, x19
	bl	_reg_read
	mov	x21, x0
	mov	x0, x22
	bl	_cycle_timer_ticks
	mov	x23, x0
	mov	x0, x20
	bl	_cycle_timer_ticks
	mov	x22, x0
	mov	x0, x21
	bl	_cycle_timer_ticks
	sub	w8, w22, w23
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w9, w0, w22
	cmp	w9, #1
	udiv	w10, w8, w9
	ccmp	w10, #1, #2, ge
	b.hi	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	udiv	w8, w9, w8
	cmp	w8, #2
	ccmp	w25, #20, #2, hs
	b.lo	LBB0_3
LBB0_7:
	mov	x20, x21
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_OHCI1394_IsochronousCycleTimer,4,2 ; @OHCI1394_IsochronousCycleTimer
	.comm	_QUIRK_CYCLE_TIMER,4,2          ; @QUIRK_CYCLE_TIMER
	.no_dead_strip	_get_cycle_time
.subsections_via_symbols
