	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function accounting_sta_update_stats
_accounting_sta_update_stats:           ## @accounting_sta_update_stats
	.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	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	24(%rsi), %edx
	movq	%rbx, %rsi
	callq	_hostapd_drv_read_sta_data
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_9
## %bb.1:
	movl	16(%rbx), %r10d
	testl	%r10d, %r10d
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %r9
	movq	8(%rbx), %r11
	movq	(%r15), %r12
	movq	8(%r15), %r13
	jmp	LBB0_8
LBB0_3:
	movq	(%rbx), %r12
	cmpq	%r12, (%r15)
	jle	LBB0_5
## %bb.4:
	incl	20(%r15)
LBB0_5:
	movq	%r12, (%r15)
	movq	8(%rbx), %r13
	cmpq	%r13, 8(%r15)
	jle	LBB0_7
## %bb.6:
	incl	16(%r15)
LBB0_7:
	movq	%r13, 8(%r15)
	movq	%r13, %r11
	movq	%r12, %r9
LBB0_8:
	movl	24(%r15), %esi
	movq	_HOSTAPD_MODULE_RADIUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_HOSTAPD_LEVEL_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	16(%r15), %eax
	movl	20(%r15), %ebx
	leaq	L_.str(%rip), %r8
	movq	%r14, %rdi
	pushq	%r10
	pushq	%r13
	pushq	%rax
	pushq	%r11
	pushq	%r12
	pushq	%rbx
	callq	_hostapd_logger
	addq	$48, %rsp
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOSTAPD_MODULE_RADIUS,4,2      ## @HOSTAPD_MODULE_RADIUS
	.comm	_HOSTAPD_LEVEL_DEBUG,4,2        ## @HOSTAPD_LEVEL_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"updated TX/RX stats: rx_bytes=%llu [%u:%u] tx_bytes=%llu [%u:%u] bytes_64bit=%d"

	.no_dead_strip	_accounting_sta_update_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function accounting_sta_update_stats
_accounting_sta_update_stats:           ; @accounting_sta_update_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w2, [x1, #24]
	mov	x1, x21
	bl	_hostapd_drv_read_sta_data
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_10
LBB0_2:
	ldr	w8, [x21, #16]
	cbz	w8, LBB0_4
; %bb.3:
	ldp	x5, x10, [x21]
	ldp	x7, x9, [x20]
	b	LBB0_9
LBB0_4:
	ldr	x9, [x20]
	ldr	x7, [x21]
	cmp	x9, x7
	b.le	LBB0_6
; %bb.5:
	ldr	w9, [x20, #20]
	add	w9, w9, #1
	str	w9, [x20, #20]
LBB0_6:
	str	x7, [x20]
	ldr	x10, [x20, #8]
	ldr	x9, [x21, #8]
	cmp	x10, x9
	b.le	LBB0_8
; %bb.7:
	ldr	w10, [x20, #16]
	add	w10, w10, #1
	str	w10, [x20, #16]
LBB0_8:
	str	x9, [x20, #8]
	mov	x10, x9
	mov	x5, x7
LBB0_9:
	ldp	w6, w1, [x20, #20]
Lloh0:
	adrp	x11, _HOSTAPD_MODULE_RADIUS@GOTPAGE
Lloh1:
	ldr	x11, [x11, _HOSTAPD_MODULE_RADIUS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x11]
Lloh3:
	adrp	x11, _HOSTAPD_LEVEL_DEBUG@GOTPAGE
Lloh4:
	ldr	x11, [x11, _HOSTAPD_LEVEL_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x11]
	ldr	w11, [x20, #16]
	str	w8, [sp, #24]
	str	x9, [sp, #16]
	str	w11, [sp, #8]
	str	x10, [sp]
Lloh6:
	adrp	x4, l_.str@PAGE
Lloh7:
	add	x4, x4, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hostapd_logger
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HOSTAPD_MODULE_RADIUS,4,2      ; @HOSTAPD_MODULE_RADIUS
	.comm	_HOSTAPD_LEVEL_DEBUG,4,2        ; @HOSTAPD_LEVEL_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"updated TX/RX stats: rx_bytes=%llu [%u:%u] tx_bytes=%llu [%u:%u] bytes_64bit=%d"

	.no_dead_strip	_accounting_sta_update_stats
.subsections_via_symbols
