	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mISDN_clock_get                ## -- Begin function mISDN_clock_get
	.p2align	4, 0x90
_mISDN_clock_get:                       ## @mISDN_clock_get
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_iclock_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_read_lock_irqsave
	leaq	-24(%rbp), %rdi
	callq	_do_gettimeofday
	movl	-24(%rbp), %eax
	movq	_iclock_tv@GOTPCREL(%rip), %rdx
	subl	(%rdx), %eax
	movslq	-20(%rbp), %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rsi
	shrq	$63, %rsi
	sarq	$35, %rcx
	addl	%esi, %ecx
	movslq	4(%rdx), %rdx
	imulq	$-274877907, %rdx, %rdx         ## imm = 0xEF9DB22D
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$35, %rdx
	addl	%esi, %edx
	leal	(%rdx,%rcx), %esi
	movl	%esi, %edi
	sarl	$31, %edi
	addl	%eax, %edi
	testl	%esi, %esi
	leal	8000(%rdx,%rcx), %eax
	cmovnsl	%esi, %eax
	movq	_iclock_count@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %ecx
	addl	%eax, %ecx
	imull	$8000, %edi, %ebx               ## imm = 0x1F40
	addl	%ecx, %ebx
	movq	%r14, %rdi
	callq	_read_unlock_irqrestore
	movzwl	%bx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_iclock_lock,4,2                ## @iclock_lock
	.comm	_iclock_tv,8,2                  ## @iclock_tv
	.comm	_iclock_count,2,1               ## @iclock_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mISDN_clock_get                ; -- Begin function mISDN_clock_get
	.p2align	2
_mISDN_clock_get:                       ; @mISDN_clock_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _iclock_lock@GOTPAGE
Lloh1:
	ldr	x19, [x19, _iclock_lock@GOTPAGEOFF]
	mov	x0, x19
	bl	_read_lock_irqsave
	add	x0, sp, #8
	bl	_do_gettimeofday
Lloh2:
	adrp	x8, _iclock_tv@GOTPAGE
Lloh3:
	ldr	x8, [x8, _iclock_tv@GOTPAGEOFF]
	ldp	w9, w10, [sp, #8]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
	ldp	w11, w8, [x8]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	sub	w9, w9, w11
	mov	w11, #19923
	movk	w11, #4194, lsl #16
	mul	x10, x10, x11
	lsr	x11, x10, #63
	asr	x10, x10, #35
	add	w10, w10, w11
	mov	x11, #-19923
	movk	x11, #61341, lsl #16
	mul	x8, x8, x11
	lsr	x11, x8, #63
	asr	x8, x8, #35
	add	w8, w8, w11
	add	w8, w8, w10
	mov	w10, #8000
	add	w11, w8, w10
	add	w9, w9, w8, asr #31
	cmp	w8, #0
	csel	w8, w11, w8, lt
Lloh4:
	adrp	x11, _iclock_count@GOTPAGE
Lloh5:
	ldr	x11, [x11, _iclock_count@GOTPAGEOFF]
	ldrh	w11, [x11]
	add	w8, w8, w11
	madd	w20, w9, w10, w8
	mov	x0, x19
	bl	_read_unlock_irqrestore
	and	w0, w20, #0xffff
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_iclock_lock,4,2                ; @iclock_lock
	.comm	_iclock_tv,8,2                  ; @iclock_tv
	.comm	_iclock_count,2,1               ; @iclock_count
.subsections_via_symbols
