	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radius_client_acct_failover
_radius_client_acct_failover:           ## @radius_client_acct_failover
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	24(%rdi), %r15
	movq	8(%r15), %rbx
	movl	16(%rdi), %eax
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	_HOSTAPD_MODULE_RADIUS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_HOSTAPD_LEVEL_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	8(%rbx), %rdi
	leaq	-112(%rbp), %rsi
	movl	$50, %edx
	callq	_hostapd_ip_txt
	movl	4(%rbx), %ecx
	movl	%ecx, (%rsp)
	leaq	L_.str(%rip), %r8
	movl	-116(%rbp), %edi                ## 4-byte Reload
	xorl	%esi, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r9d
	callq	_hostapd_logger
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_RADIUS_ACCT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_RADIUS_ACCT_INTERIM@GOTPCREL(%rip), %rdx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	(%rbx)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rsi
	cmpq	%rcx, %rsi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%rdx), %rsi
	jne	LBB0_5
	jmp	LBB0_4
LBB0_6:
	leaq	12(%rbx), %rsi
	movq	16(%r15), %rax
	movslq	(%r15), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rax,%rcx,4), %rcx
	addq	$-12, %rcx
	cmpq	%rcx, %rsi
	cmovaq	%rax, %rsi
	movq	%rsi, 8(%r15)
	movl	(%r14), %r8d
	movl	4(%r14), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	xorl	%r9d, %r9d
	callq	_radius_change_server
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HOSTAPD_MODULE_RADIUS,4,2      ## @HOSTAPD_MODULE_RADIUS
	.comm	_HOSTAPD_LEVEL_NOTICE,4,2       ## @HOSTAPD_LEVEL_NOTICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No response from Accounting server %s:%d - failover"

	.comm	_RADIUS_ACCT,8,3                ## @RADIUS_ACCT
	.comm	_RADIUS_ACCT_INTERIM,8,3        ## @RADIUS_ACCT_INTERIM
	.no_dead_strip	_radius_client_acct_failover
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radius_client_acct_failover
_radius_client_acct_failover:           ; @radius_client_acct_failover
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldr	x24, [x0, #24]
	ldr	x20, [x24, #8]
Lloh3:
	adrp	x8, _HOSTAPD_MODULE_RADIUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HOSTAPD_MODULE_RADIUS@GOTPAGEOFF]
	ldr	w21, [x0, #16]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _HOSTAPD_LEVEL_NOTICE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HOSTAPD_LEVEL_NOTICE@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
	add	x0, x20, #8
	add	x1, sp, #6
	mov	w2, #50
	bl	_hostapd_ip_txt
	mov	x5, x0
	ldr	w6, [x20, #4]
Lloh9:
	adrp	x4, l_.str@PAGE
Lloh10:
	add	x4, x4, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, #0
	mov	x2, x22
	mov	x3, x23
	bl	_hostapd_logger
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.1:
Lloh11:
	adrp	x9, _RADIUS_ACCT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _RADIUS_ACCT@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
Lloh14:
	adrp	x10, _RADIUS_ACCT_INTERIM@GOTPAGE
Lloh15:
	ldr	x10, [x10, _RADIUS_ACCT_INTERIM@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8]
	ldr	x12, [x10]
	cmp	x11, x9
	ccmp	x11, x12, #4, ne
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [x20]
	add	w11, w11, #1
	str	w11, [x20]
	b	LBB0_2
LBB0_5:
	add	x8, x20, #12
	ldr	x9, [x24, #16]
	ldrsw	x10, [x24]
	mov	w11, #12
	madd	x10, x10, x11, x9
	sub	x10, x10, #12
	cmp	x8, x10
	csel	x1, x9, x8, hi
	str	x1, [x24, #8]
	ldp	w4, w3, [x19]
	mov	x0, x19
	mov	x2, x20
	mov	w5, #0
	bl	_radius_change_server
	ldr	x8, [sp, #56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_HOSTAPD_MODULE_RADIUS,4,2      ; @HOSTAPD_MODULE_RADIUS
	.comm	_HOSTAPD_LEVEL_NOTICE,4,2       ; @HOSTAPD_LEVEL_NOTICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No response from Accounting server %s:%d - failover"

	.comm	_RADIUS_ACCT,8,3                ; @RADIUS_ACCT
	.comm	_RADIUS_ACCT_INTERIM,8,3        ; @RADIUS_ACCT_INTERIM
	.no_dead_strip	_radius_client_acct_failover
.subsections_via_symbols
