	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_bus_time
_update_bus_time:                       ## @update_bus_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_get_cycle_time
	movl	%eax, %r14d
	sarl	$25, %r14d
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_OHCI1394_IntMaskSet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OHCI1394_cycle64Seconds@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_reg_write
	xorl	%eax, %eax
	callq	_get_seconds
	movl	%eax, %edi
	callq	_lower_32_bits
	movl	%eax, %ecx
	andl	$-128, %ecx
	movl	%r14d, %eax
	andl	$64, %eax
	orl	%ecx, %eax
	movl	%eax, 4(%rbx)
	movl	$1, (%rbx)
	jmp	LBB0_3
LBB0_1:
	movl	4(%rbx), %eax
LBB0_3:
	movl	%eax, %ecx
	xorl	%r14d, %ecx
	testb	$64, %cl
	je	LBB0_5
## %bb.4:
	addl	$64, %eax
	movl	%eax, 4(%rbx)
LBB0_5:
	orl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OHCI1394_IntMaskSet,4,2        ## @OHCI1394_IntMaskSet
	.comm	_OHCI1394_cycle64Seconds,4,2    ## @OHCI1394_cycle64Seconds
	.no_dead_strip	_update_bus_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_bus_time
_update_bus_time:                       ; @update_bus_time
	.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
	bl	_get_cycle_time
	asr	w20, w0, #25
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _OHCI1394_IntMaskSet@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OHCI1394_IntMaskSet@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _OHCI1394_cycle64Seconds@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OHCI1394_cycle64Seconds@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_reg_write
	bl	_get_seconds
	bl	_lower_32_bits
	and	w8, w0, #0xffffff80
	and	w9, w20, #0x40
	orr	w8, w8, w9
	mov	w9, #1
	stp	w9, w8, [x19]
	eor	w9, w8, w20
	tbz	w9, #6, LBB0_3
LBB0_2:
	add	w8, w8, #64
	str	w8, [x19, #4]
LBB0_3:
	orr	w0, w8, w20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w8, [x19, #4]
	eor	w9, w8, w20
	tbnz	w9, #6, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OHCI1394_IntMaskSet,4,2        ; @OHCI1394_IntMaskSet
	.comm	_OHCI1394_cycle64Seconds,4,2    ; @OHCI1394_cycle64Seconds
	.no_dead_strip	_update_bus_time
.subsections_via_symbols
