	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function accounting_report_state
_accounting_report_state:               ## @accounting_report_state
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_11
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	je	LBB0_11
## %bb.2:
	testl	%esi, %esi
	jne	LBB0_3
## %bb.4:
	movq	_RADIUS_ACCT_STATUS_TYPE_ACCOUNTING_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_RADIUS_ACCT_STATUS_TYPE_ACCOUNTING_ON@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_accounting_msg
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	%rax, %r14
	movq	8(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.7:
	leaq	L_.str(%rip), %rdx
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	movl	$20, %esi
	callq	_os_snprintf
	movq	_RADIUS_ATTR_ACCT_SESSION_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_os_strlen
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	movl	%eax, %ecx
	callq	_radius_msg_add_attr
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
LBB0_9:
	movq	(%rbx), %rdi
	movq	_RADIUS_ACCT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_radius_client_send
	testq	%rax, %rax
	jns	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	callq	_radius_msg_free
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIUS_ACCT_STATUS_TYPE_ACCOUNTING_ON,4,2 ## @RADIUS_ACCT_STATUS_TYPE_ACCOUNTING_ON
	.comm	_RADIUS_ACCT_STATUS_TYPE_ACCOUNTING_OFF,4,2 ## @RADIUS_ACCT_STATUS_TYPE_ACCOUNTING_OFF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%016llX"

	.comm	_RADIUS_ATTR_ACCT_SESSION_ID,4,2 ## @RADIUS_ATTR_ACCT_SESSION_ID
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"Could not add Acct-Session-Id"

	.comm	_RADIUS_ACCT,4,2                ## @RADIUS_ACCT
	.no_dead_strip	_accounting_report_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function accounting_report_state
_accounting_report_state:               ; @accounting_report_state
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_8
; %bb.2:
Lloh3:
	adrp	x8, _RADIUS_ACCT_STATUS_TYPE_ACCOUNTING_ON@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RADIUS_ACCT_STATUS_TYPE_ACCOUNTING_ON@GOTPAGEOFF]
Lloh5:
	adrp	x9, _RADIUS_ACCT_STATUS_TYPE_ACCOUNTING_OFF@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RADIUS_ACCT_STATUS_TYPE_ACCOUNTING_OFF@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x9, x8, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, #0
	bl	_accounting_msg
	cbz	x0, LBB0_8
; %bb.3:
	mov	x20, x0
	ldr	x3, [x19, #8]
	cbz	x3, LBB0_6
; %bb.4:
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #4
	mov	w1, #20
	bl	_os_snprintf
Lloh9:
	adrp	x8, _RADIUS_ATTR_ACCT_SESSION_ID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RADIUS_ATTR_ACCT_SESSION_ID@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
	add	x0, sp, #4
	bl	_os_strlen
	mov	x3, x0
	add	x2, sp, #4
	mov	x0, x20
	mov	x1, x21
	bl	_radius_msg_add_attr
	cbnz	w0, LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
LBB0_6:
	ldr	x0, [x19]
Lloh17:
	adrp	x8, _RADIUS_ACCT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RADIUS_ACCT@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x1, x20
	mov	x3, #0
	bl	_radius_client_send
	tbz	x0, #63, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_radius_msg_free
LBB0_8:
	ldr	x8, [sp, #24]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	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
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIUS_ACCT_STATUS_TYPE_ACCOUNTING_ON,4,2 ; @RADIUS_ACCT_STATUS_TYPE_ACCOUNTING_ON
	.comm	_RADIUS_ACCT_STATUS_TYPE_ACCOUNTING_OFF,4,2 ; @RADIUS_ACCT_STATUS_TYPE_ACCOUNTING_OFF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%016llX"

	.comm	_RADIUS_ATTR_ACCT_SESSION_ID,4,2 ; @RADIUS_ATTR_ACCT_SESSION_ID
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"Could not add Acct-Session-Id"

	.comm	_RADIUS_ACCT,4,2                ; @RADIUS_ACCT
	.no_dead_strip	_accounting_report_state
.subsections_via_symbols
