	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath5k_hw_update_mib_counters   ## -- Begin function ath5k_hw_update_mib_counters
	.p2align	4, 0x90
_ath5k_hw_update_mib_counters:          ## @ath5k_hw_update_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
	movq	_AR5K_ACK_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ath5k_hw_reg_read
	addl	%eax, 16(%rbx)
	movq	_AR5K_RTS_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ath5k_hw_reg_read
	addl	%eax, 12(%rbx)
	movq	_AR5K_RTS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ath5k_hw_reg_read
	addl	%eax, 8(%rbx)
	movq	_AR5K_FCS_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ath5k_hw_reg_read
	addl	%eax, 4(%rbx)
	movq	_AR5K_BEACON_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ath5k_hw_reg_read
	addl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR5K_ACK_FAIL,4,2              ## @AR5K_ACK_FAIL
	.comm	_AR5K_RTS_FAIL,4,2              ## @AR5K_RTS_FAIL
	.comm	_AR5K_RTS_OK,4,2                ## @AR5K_RTS_OK
	.comm	_AR5K_FCS_FAIL,4,2              ## @AR5K_FCS_FAIL
	.comm	_AR5K_BEACON_CNT,4,2            ## @AR5K_BEACON_CNT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath5k_hw_update_mib_counters   ; -- Begin function ath5k_hw_update_mib_counters
	.p2align	2
_ath5k_hw_update_mib_counters:          ; @ath5k_hw_update_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
Lloh0:
	adrp	x8, _AR5K_ACK_FAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR5K_ACK_FAIL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ath5k_hw_reg_read
	ldr	w8, [x19, #16]
	add	w8, w8, w0
	str	w8, [x19, #16]
Lloh3:
	adrp	x8, _AR5K_RTS_FAIL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR5K_RTS_FAIL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ath5k_hw_reg_read
	ldr	w8, [x19, #12]
	add	w8, w8, w0
	str	w8, [x19, #12]
Lloh6:
	adrp	x8, _AR5K_RTS_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AR5K_RTS_OK@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ath5k_hw_reg_read
	ldr	w8, [x19, #8]
	add	w8, w8, w0
	str	w8, [x19, #8]
Lloh9:
	adrp	x8, _AR5K_FCS_FAIL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AR5K_FCS_FAIL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ath5k_hw_reg_read
	ldr	w8, [x19, #4]
	add	w8, w8, w0
	str	w8, [x19, #4]
Lloh12:
	adrp	x8, _AR5K_BEACON_CNT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AR5K_BEACON_CNT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ath5k_hw_reg_read
	ldr	w8, [x19]
	add	w8, w8, w0
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AR5K_ACK_FAIL,4,2              ; @AR5K_ACK_FAIL
	.comm	_AR5K_RTS_FAIL,4,2              ; @AR5K_RTS_FAIL
	.comm	_AR5K_RTS_OK,4,2                ; @AR5K_RTS_OK
	.comm	_AR5K_FCS_FAIL,4,2              ; @AR5K_FCS_FAIL
	.comm	_AR5K_BEACON_CNT,4,2            ; @AR5K_BEACON_CNT
.subsections_via_symbols
