	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_accounting_sta_start           ## -- Begin function accounting_sta_start
	.p2align	4, 0x90
_accounting_sta_start:                  ## @accounting_sta_start
	.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
	cmpl	$0, (%rsi)
	jne	LBB0_8
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	8(%rsi), %esi
	movq	_HOSTAPD_MODULE_RADIUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	56(%rbx), %r9
	leaq	L_.str(%rip), %r8
	callq	_hostapd_logger
	leaq	48(%rbx), %rdi
	callq	_os_get_reltime
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movups	%xmm0, 32(%rbx)
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_hostapd_drv_sta_clear_stats
	movq	8(%r14), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_8
## %bb.2:
	movl	4(%rbx), %edi
	testl	%edi, %edi
	jne	LBB0_4
## %bb.3:
	movq	_ACCT_DEFAULT_UPDATE_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_4:
	movq	_accounting_interim_update@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	movq	%r14, %rcx
	movq	%rbx, %r8
	callq	_eloop_register_timeout
	movq	_RADIUS_ACCT_STATUS_TYPE_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_accounting_msg
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%rax, %r15
	movl	(%r14), %edi
	movq	_RADIUS_ACCT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%rbx), %ecx
	movq	%r15, %rsi
	callq	_radius_client_send
	testq	%rax, %rax
	jns	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_radius_msg_free
LBB0_7:
	movl	$1, (%rbx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOSTAPD_MODULE_RADIUS,4,2      ## @HOSTAPD_MODULE_RADIUS
	.comm	_HOSTAPD_LEVEL_INFO,4,2         ## @HOSTAPD_LEVEL_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"starting accounting session %016llX"

	.comm	_ACCT_DEFAULT_UPDATE_INTERVAL,4,2 ## @ACCT_DEFAULT_UPDATE_INTERVAL
	.comm	_accounting_interim_update,4,2  ## @accounting_interim_update
	.comm	_RADIUS_ACCT_STATUS_TYPE_START,4,2 ## @RADIUS_ACCT_STATUS_TYPE_START
	.comm	_RADIUS_ACCT,4,2                ## @RADIUS_ACCT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_accounting_sta_start           ; -- Begin function accounting_sta_start
	.p2align	2
_accounting_sta_start:                  ; @accounting_sta_start
	.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
	ldr	w8, [x1]
	cbnz	w8, LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _HOSTAPD_MODULE_RADIUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HOSTAPD_MODULE_RADIUS@GOTPAGEOFF]
	ldr	w1, [x1, #8]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _HOSTAPD_LEVEL_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HOSTAPD_LEVEL_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	ldr	x5, [x19, #56]
Lloh6:
	adrp	x4, l_.str@PAGE
Lloh7:
	add	x4, x4, l_.str@PAGEOFF
	bl	_hostapd_logger
	add	x0, x19, #48
	bl	_os_get_reltime
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #16]
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_hostapd_drv_sta_clear_stats
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_6
; %bb.2:
	ldr	w8, [x19, #4]
Lloh8:
	adrp	x9, _ACCT_DEFAULT_UPDATE_INTERVAL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ACCT_DEFAULT_UPDATE_INTERVAL@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w0, w9, w8, eq
Lloh11:
	adrp	x8, _accounting_interim_update@GOTPAGE
Lloh12:
	ldr	x8, [x8, _accounting_interim_update@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	w1, #0
	mov	x3, x20
	mov	x4, x19
	bl	_eloop_register_timeout
Lloh14:
	adrp	x8, _RADIUS_ACCT_STATUS_TYPE_START@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RADIUS_ACCT_STATUS_TYPE_START@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_accounting_msg
	cbz	x0, LBB0_5
; %bb.3:
	mov	x21, x0
	ldr	w0, [x20]
Lloh17:
	adrp	x8, _RADIUS_ACCT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RADIUS_ACCT@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	ldr	w3, [x19, #8]
	mov	x1, x21
	bl	_radius_client_send
	tbz	x0, #63, LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_radius_msg_free
LBB0_5:
	mov	w8, #1
	str	w8, [x19]
LBB0_6:
	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
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_HOSTAPD_MODULE_RADIUS,4,2      ; @HOSTAPD_MODULE_RADIUS
	.comm	_HOSTAPD_LEVEL_INFO,4,2         ; @HOSTAPD_LEVEL_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"starting accounting session %016llX"

	.comm	_ACCT_DEFAULT_UPDATE_INTERVAL,4,2 ; @ACCT_DEFAULT_UPDATE_INTERVAL
	.comm	_accounting_interim_update,4,2  ; @accounting_interim_update
	.comm	_RADIUS_ACCT_STATUS_TYPE_START,4,2 ; @RADIUS_ACCT_STATUS_TYPE_START
	.comm	_RADIUS_ACCT,4,2                ; @RADIUS_ACCT
.subsections_via_symbols
