	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath_start_ani                  ## -- Begin function ath_start_ani
	.p2align	4, 0x90
_ath_start_ani:                         ## @ath_start_ani
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_ath9k_hw_common
	movq	%rax, %r15
	movq	_jiffies@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_jiffies_to_msecs
	cmpq	$0, 40(%r15)
	je	LBB0_1
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rax, %r12
	movq	_ATH_OP_ANI_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%r15), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.4:
	movq	%r12, (%r15)
	movq	%r12, 8(%r15)
	movq	%r12, 16(%r15)
	movq	_ANI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	callq	_ath_dbg
	addq	$24, %r15
	movq	(%r13), %rbx
	movl	(%r14), %edi
	callq	_msecs_to_jiffies
	addq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_ATH_OP_ANI_RUN,4,2             ## @ATH_OP_ANI_RUN
	.comm	_ANI,4,2                        ## @ANI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Starting ANI\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath_start_ani                  ; -- Begin function ath_start_ani
	.p2align	2
_ath_start_ani:                         ; @ath_start_ani
	.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
	mov	x21, x0
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_ath9k_hw_common
	mov	x20, x0
Lloh0:
	adrp	x23, _jiffies@GOTPAGE
Lloh1:
	ldr	x23, [x23, _jiffies@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_jiffies_to_msecs
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_2
LBB0_1:
	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
LBB0_2:
	mov	x22, x0
Lloh2:
	adrp	x8, _ATH_OP_ANI_RUN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATH_OP_ANI_RUN@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, x20, #32
	bl	_test_bit
	cbz	w0, LBB0_1
; %bb.3:
	ldr	x8, [x21]
	ldr	x8, [x8]
	cbnz	x8, LBB0_1
; %bb.4:
	stp	x22, x22, [x20]
	str	x22, [x20, #16]
Lloh5:
	adrp	x8, _ANI@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ANI@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_ath_dbg
	add	x20, x20, #24
	ldr	x21, [x23]
	ldr	w0, [x19]
	bl	_msecs_to_jiffies
	add	x1, x0, x21
	mov	x0, x20
	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
	b	_mod_timer
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_ATH_OP_ANI_RUN,4,2             ; @ATH_OP_ANI_RUN
	.comm	_ANI,4,2                        ; @ANI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Starting ANI\n"

.subsections_via_symbols
