	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_get_tsf_offset        ## -- Begin function ath9k_hw_get_tsf_offset
	.p2align	4, 0x90
_ath9k_hw_get_tsf_offset:               ## @ath9k_hw_get_tsf_offset
	.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	%rsi, %rbx
	movq	%rdi, %r14
	testq	%rsi, %rsi
	jne	LBB0_2
## %bb.1:
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ktime_get_raw_ts64
LBB0_2:
	movl	(%rbx), %eax
	movslq	8(%rbx), %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	movslq	8(%r14), %rdx
	imulq	$274877907, %rdx, %rdx          ## imm = 0x10624DD3
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$38, %rdx
	addl	%esi, %edx
	subl	%edx, %ecx
	subl	(%r14), %eax
	imull	$1000000, %eax, %eax            ## imm = 0xF4240
	addl	%ecx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_get_tsf_offset        ; -- Begin function ath9k_hw_get_tsf_offset
	.p2align	2
_ath9k_hw_get_tsf_offset:               ; @ath9k_hw_get_tsf_offset
	.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
	mov	x20, x1
	mov	x19, x0
	cbnz	x1, LBB0_2
; %bb.1:
	mov	x20, sp
	mov	x0, sp
	bl	_ktime_get_raw_ts64
LBB0_2:
	ldr	w8, [x20]
	ldrsw	x9, [x20, #8]
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	mul	x9, x9, x10
	lsr	x11, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w11
	ldr	w11, [x19]
	ldrsw	x12, [x19, #8]
	mul	x10, x12, x10
	lsr	x12, x10, #63
	asr	x10, x10, #38
	sub	w8, w8, w11
	mov	w11, #16960
	movk	w11, #15, lsl #16
	add	w10, w10, w12
	sub	w9, w9, w10
	madd	w0, w8, w11, w9
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
