	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_set_tsf
_ath9k_set_tsf:                         ## @ath9k_set_tsf
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	(%rdi), %rbx
	movq	(%rsi), %r15
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	callq	_ath9k_ps_wakeup
	movl	8(%r15), %edi
	callq	_le64_to_cpu
	subl	%eax, %r14d
	movq	(%r15), %rdi
	addq	$4, %rdi
	callq	_ktime_get_raw_ts64
	movq	(%r15), %rax
	cmpq	%rax, 8(%rbx)
	jne	LBB0_2
## %bb.1:
	movl	4(%rbx), %edi
	movl	%r14d, %esi
	callq	_ath9k_hw_settsf64
	movq	(%r15), %rax
LBB0_2:
	movl	%r14d, (%rax)
	movq	%rbx, %rdi
	callq	_ath9k_ps_restore
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ath9k_set_tsf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_set_tsf
_ath9k_set_tsf:                         ; @ath9k_set_tsf
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	ldr	x19, [x0]
	ldr	x21, [x1]
	mov	x0, x19
	bl	_mutex_lock
	mov	x0, x19
	bl	_ath9k_ps_wakeup
	ldr	w0, [x21, #8]
	bl	_le64_to_cpu
	sub	w20, w20, w0
	ldr	x8, [x21]
	add	x0, x8, #4
	bl	_ktime_get_raw_ts64
	ldr	x9, [x19, #8]
	ldr	x8, [x21]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_ath9k_hw_settsf64
	ldr	x8, [x21]
LBB0_2:
	str	w20, [x8]
	mov	x0, x19
	bl	_ath9k_ps_restore
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mutex_unlock
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ath9k_set_tsf
.subsections_via_symbols
