	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_enable_mib_counters      ## -- Begin function ath9k_enable_mib_counters
	.p2align	4, 0x90
_ath9k_enable_mib_counters:             ## @ath9k_enable_mib_counters
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_ath9k_hw_common
	movq	_ANI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	callq	_ath_dbg
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_ath9k_hw_update_mibstats
	movq	%rbx, %rdi
	callq	_ENABLE_REGWRITE_BUFFER
	movq	_AR_FILT_OFDM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_REG_WRITE
	movq	_AR_FILT_CCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_REG_WRITE
	movq	_AR_MIBC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR_MIBC_COW@GOTPCREL(%rip), %rax
	movq	_AR_MIBC_FMC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_AR_MIBC_CMC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_AR_MIBC_MCS@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	notl	%edx
	andl	$15, %edx
	movq	%rbx, %rdi
	callq	_REG_WRITE
	movq	_AR_PHY_ERR_MASK_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR_PHY_ERR_OFDM_TIMING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_REG_WRITE
	movq	_AR_PHY_ERR_MASK_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR_PHY_ERR_CCK_TIMING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_REG_WRITE
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_REGWRITE_BUFFER_FLUSH          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ANI,4,2                        ## @ANI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enable MIB counters\n"

	.comm	_AR_FILT_OFDM,4,2               ## @AR_FILT_OFDM
	.comm	_AR_FILT_CCK,4,2                ## @AR_FILT_CCK
	.comm	_AR_MIBC,4,2                    ## @AR_MIBC
	.comm	_AR_MIBC_COW,4,2                ## @AR_MIBC_COW
	.comm	_AR_MIBC_FMC,4,2                ## @AR_MIBC_FMC
	.comm	_AR_MIBC_CMC,4,2                ## @AR_MIBC_CMC
	.comm	_AR_MIBC_MCS,4,2                ## @AR_MIBC_MCS
	.comm	_AR_PHY_ERR_MASK_1,4,2          ## @AR_PHY_ERR_MASK_1
	.comm	_AR_PHY_ERR_OFDM_TIMING,4,2     ## @AR_PHY_ERR_OFDM_TIMING
	.comm	_AR_PHY_ERR_MASK_2,4,2          ## @AR_PHY_ERR_MASK_2
	.comm	_AR_PHY_ERR_CCK_TIMING,4,2      ## @AR_PHY_ERR_CCK_TIMING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_enable_mib_counters      ; -- Begin function ath9k_enable_mib_counters
	.p2align	2
_ath9k_enable_mib_counters:             ; @ath9k_enable_mib_counters
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_ath9k_hw_common
Lloh0:
	adrp	x8, _ANI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ANI@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_ath_dbg
	mov	x0, x19
	mov	x1, x19
	bl	_ath9k_hw_update_mibstats
	mov	x0, x19
	bl	_ENABLE_REGWRITE_BUFFER
Lloh5:
	adrp	x8, _AR_FILT_OFDM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AR_FILT_OFDM@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WRITE
Lloh8:
	adrp	x8, _AR_FILT_CCK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AR_FILT_CCK@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WRITE
Lloh11:
	adrp	x8, _AR_MIBC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AR_MIBC@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _AR_MIBC_COW@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AR_MIBC_COW@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _AR_MIBC_FMC@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AR_MIBC_FMC@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh20:
	adrp	x9, _AR_MIBC_CMC@GOTPAGE
Lloh21:
	ldr	x9, [x9, _AR_MIBC_CMC@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh23:
	adrp	x9, _AR_MIBC_MCS@GOTPAGE
Lloh24:
	ldr	x9, [x9, _AR_MIBC_MCS@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w8, w9
	mvn	w8, w8
	and	w2, w8, #0xf
	mov	x0, x19
	bl	_REG_WRITE
Lloh26:
	adrp	x8, _AR_PHY_ERR_MASK_1@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AR_PHY_ERR_MASK_1@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x8, _AR_PHY_ERR_OFDM_TIMING@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AR_PHY_ERR_OFDM_TIMING@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_REG_WRITE
Lloh32:
	adrp	x8, _AR_PHY_ERR_MASK_2@GOTPAGE
Lloh33:
	ldr	x8, [x8, _AR_PHY_ERR_MASK_2@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
Lloh35:
	adrp	x8, _AR_PHY_ERR_CCK_TIMING@GOTPAGE
Lloh36:
	ldr	x8, [x8, _AR_PHY_ERR_CCK_TIMING@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_REG_WRITE
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REGWRITE_BUFFER_FLUSH
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ANI,4,2                        ; @ANI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enable MIB counters\n"

	.comm	_AR_FILT_OFDM,4,2               ; @AR_FILT_OFDM
	.comm	_AR_FILT_CCK,4,2                ; @AR_FILT_CCK
	.comm	_AR_MIBC,4,2                    ; @AR_MIBC
	.comm	_AR_MIBC_COW,4,2                ; @AR_MIBC_COW
	.comm	_AR_MIBC_FMC,4,2                ; @AR_MIBC_FMC
	.comm	_AR_MIBC_CMC,4,2                ; @AR_MIBC_CMC
	.comm	_AR_MIBC_MCS,4,2                ; @AR_MIBC_MCS
	.comm	_AR_PHY_ERR_MASK_1,4,2          ; @AR_PHY_ERR_MASK_1
	.comm	_AR_PHY_ERR_OFDM_TIMING,4,2     ; @AR_PHY_ERR_OFDM_TIMING
	.comm	_AR_PHY_ERR_MASK_2,4,2          ; @AR_PHY_ERR_MASK_2
	.comm	_AR_PHY_ERR_CCK_TIMING,4,2      ; @AR_PHY_ERR_CCK_TIMING
.subsections_via_symbols
