	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function put_timestamp
_put_timestamp:                         ## @put_timestamp
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$-1, %edx
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r14
	movslq	(%rsi), %r12
	movslq	%edx, %r15
	imulq	%r15, %r12
	addq	40(%rsi), %r12
	movq	_OHCI1394_IsochronousCycleTimer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_reg_read
	movl	%eax, %ebx
	andl	$4095, %eax                     ## imm = 0xFFF
	addl	4(%r14), %eax
	cltq
	imulq	$715827883, %rax, %rcx          ## imm = 0x2AAAAAAB
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$41, %rcx
	addl	%edx, %ecx
	movl	%ecx, %edx
	shll	$10, %edx
	leal	(%rdx,%rdx,2), %edx
	subl	%edx, %eax
	shll	$12, %ecx
	andl	$61440, %ebx                    ## imm = 0xF000
	addl	%eax, %ebx
	addl	%ecx, %ebx
	movl	%ebx, %eax
	rolw	$8, %ax
	movw	%ax, 6(%r12)
	movq	32(%r14), %rax
	movq	(%rax,%r15,8), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edi
	callq	_le32_to_cpu
	andl	$-65536, %eax                   ## imm = 0xFFFF0000
	cmpl	$524288, %eax                   ## imm = 0x80000
	jne	LBB0_3
## %bb.2:
	movl	%ebx, %eax
	shrl	$8, %eax
	movslq	24(%r14), %rcx
	movb	%al, 6(%r12,%rcx)
	movb	%bl, 7(%r12,%rcx)
LBB0_3:
	movq	8(%r14), %rax
	movslq	(%rax,%r15,4), %rax
	cmpq	$-1, %rax
	je	LBB0_6
## %bb.4:
	movzwl	%bx, %ecx
	movq	16(%r14), %rdx
	movq	40(%r14), %r15
	movslq	(%r14), %r12
	imulq	%rax, %r12
	movl	(%rdx,%rax,4), %edx
	shll	$12, %edx
	movzwl	%dx, %ebx
	addl	%ecx, %ebx
	movl	%ebx, %ecx
	rolw	$8, %cx
	movw	%cx, 6(%r15,%r12)
	movq	32(%r14), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edi
	callq	_le32_to_cpu
	andl	$-65536, %eax                   ## imm = 0xFFFF0000
	cmpl	$524288, %eax                   ## imm = 0x80000
	jne	LBB0_6
## %bb.5:
	addq	%r12, %r15
	movl	%ebx, %eax
	shrl	$8, %eax
	movslq	24(%r14), %rcx
	movb	%al, 6(%r15,%rcx)
	movb	%bl, 7(%r15,%rcx)
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OHCI1394_IsochronousCycleTimer,4,2 ## @OHCI1394_IsochronousCycleTimer
	.comm	_curr,4,2                       ## @curr
	.no_dead_strip	_put_timestamp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function put_timestamp
_put_timestamp:                         ; @put_timestamp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cmn	w2, #1
	b.eq	LBB0_6
; %bb.1:
	mov	x20, x2
	mov	x19, x1
	ldr	x8, [x1, #40]
	ldrsw	x9, [x1]
	sxtw	x10, w20
	madd	x21, x9, x10, x8
Lloh0:
	adrp	x8, _OHCI1394_IsochronousCycleTimer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OHCI1394_IsochronousCycleTimer@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_reg_read
	and	w8, w0, #0xfff
	ldr	w9, [x19, #4]
	add	w8, w8, w9
	mov	w9, #43691
	movk	w9, #10922, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #9
	mov	w10, #3072
	msub	w8, w9, w10, w8
	and	w10, w0, #0xf000
	add	w8, w8, w10
	add	w22, w8, w9, lsl #12
	rev	w8, w22
	lsr	w23, w8, #16
	strh	w23, [x21, #6]
	ldr	x8, [x19, #32]
	mov	x9, x20
	sxtw	x24, w9
	ldr	x8, [x8, w20, sxtw #3]
	ldr	x8, [x8]
	ldr	w0, [x8, #4]
	bl	_le32_to_cpu
	and	w8, w0, #0xffff0000
	cmp	w8, #128, lsl #12               ; =524288
	b.ne	LBB0_3
; %bb.2:
	ldrsw	x8, [x19, #24]
	add	x8, x21, x8
	strh	w23, [x8, #6]
LBB0_3:
	ldr	x8, [x19, #8]
	ldrsw	x8, [x8, x24, lsl #2]
	cmn	w8, #1
	b.eq	LBB0_6
; %bb.4:
	and	w9, w22, #0xffff
	ldr	x10, [x19, #40]
	ldrsw	x11, [x19]
	madd	x20, x11, x8, x10
	ldr	x10, [x19, #16]
	ldr	w10, [x10, x8, lsl #2]
	ubfiz	w10, w10, #12, #4
	add	w9, w10, w9
	rev	w9, w9
	lsr	w21, w9, #16
	strh	w21, [x20, #6]
	ldr	x9, [x19, #32]
	ldr	x8, [x9, x8, lsl #3]
	ldr	x8, [x8]
	ldr	w0, [x8, #4]
	bl	_le32_to_cpu
	and	w8, w0, #0xffff0000
	cmp	w8, #128, lsl #12               ; =524288
	b.ne	LBB0_6
; %bb.5:
	ldrsw	x8, [x19, #24]
	add	x8, x20, x8
	strh	w21, [x8, #6]
LBB0_6:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OHCI1394_IsochronousCycleTimer,4,2 ; @OHCI1394_IsochronousCycleTimer
	.comm	_curr,4,2                       ; @curr
	.no_dead_strip	_put_timestamp
.subsections_via_symbols
