	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radius_client_list_add
_radius_client_list_add:                ## @radius_client_list_add
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, %rbx
	movq	%rcx, %r12
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r13
	xorl	%eax, %eax
	callq	_eloop_terminated
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%r15, %rdi
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_radius_msg_free                ## TAILCALL
LBB0_3:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	$88, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	movq	%r15, %rsi
	movl	80(%rbx), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_os_memcpy
LBB0_7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 72(%rbx)
	movl	%r14d, 64(%rbx)
	movq	%r12, 56(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	addq	$48, %rdi
	callq	_os_get_reltime
	movq	48(%rbx), %rax
	movq	%rax, 32(%rbx)
	movq	_RADIUS_CLIENT_FIRST_WAIT@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	%rcx, %rax
	movq	%rax, 40(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 8(%rbx)
	leal	(%rcx,%rcx), %eax
	movq	_RADIUS_CLIENT_MAX_WAIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	cmovll	%eax, %ecx
	movl	%ecx, 16(%rbx)
	movq	8(%r13), %rax
	movq	%rax, 24(%rbx)
	movq	%rbx, 8(%r13)
	movq	%r13, %rdi
	callq	_radius_client_update_timeout
	movq	(%r13), %rax
	movq	_RADIUS_CLIENT_MAX_ENTRIES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_8
## %bb.12:
	incq	%rax
	movq	%rax, (%r13)
	jmp	LBB0_13
LBB0_4:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_2
LBB0_8:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %rax
	movq	%rbx, %rdi
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_9
## %bb.10:
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	$0, 24(%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_radius_client_msg_free         ## TAILCALL
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RADIUS: Failed to add packet into retransmit list"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_RADIUS_CLIENT_FIRST_WAIT,4,2   ## @RADIUS_CLIENT_FIRST_WAIT
	.comm	_RADIUS_CLIENT_MAX_WAIT,4,2     ## @RADIUS_CLIENT_MAX_WAIT
	.comm	_RADIUS_CLIENT_MAX_ENTRIES,8,3  ## @RADIUS_CLIENT_MAX_ENTRIES
L_.str.1:                               ## @.str.1
	.asciz	"RADIUS: Removing the oldest un-ACKed packet due to retransmit list limits"

	.no_dead_strip	_radius_client_list_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radius_client_list_add
_radius_client_list_add:                ; @radius_client_list_add
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x25, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x21, x1
	mov	x20, x0
	bl	_eloop_terminated
	cbz	x0, LBB0_2
LBB0_1:
	mov	x0, x21
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_radius_msg_free
LBB0_2:
	mov	w0, #88
	bl	_os_zalloc
	cbz	x0, LBB0_7
; %bb.3:
	mov	x19, x0
	cbz	x25, LBB0_5
; %bb.4:
	ldr	w0, [x19, #80]
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x25
	bl	_os_memcpy
LBB0_5:
	str	x21, [x19, #72]
	str	w24, [x19, #64]
	str	x23, [x19, #56]
	add	x0, x19, #48
	str	x22, [x19]
	bl	_os_get_reltime
	ldr	x8, [x19, #48]
Lloh3:
	adrp	x9, _RADIUS_CLIENT_FIRST_WAIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RADIUS_CLIENT_FIRST_WAIT@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x9]
	add	x10, x8, x9
	str	x10, [x19, #40]
	lsl	w9, w9, #1
Lloh6:
	adrp	x10, _RADIUS_CLIENT_MAX_WAIT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _RADIUS_CLIENT_MAX_WAIT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w9, w10
	csel	w9, w9, w10, lt
	movi.2s	v0, #1
	str	d0, [x19, #8]
	str	w9, [x19, #16]
	ldr	x9, [x20, #8]
	stp	x9, x8, [x19, #24]
	str	x19, [x20, #8]
	mov	x0, x20
	bl	_radius_client_update_timeout
	ldr	x8, [x20]
Lloh9:
	adrp	x9, _RADIUS_CLIENT_MAX_ENTRIES@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RADIUS_CLIENT_MAX_ENTRIES@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_8
; %bb.6:
	add	x8, x8, #1
	str	x8, [x20]
	b	LBB0_12
LBB0_7:
Lloh12:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	b	LBB0_1
LBB0_8:
Lloh17:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	x0, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x0
	mov	x0, x19
	ldr	x19, [x19, #24]
	cbnz	x19, LBB0_9
; %bb.10:
	cbz	x8, LBB0_12
; %bb.11:
	str	xzr, [x8, #24]
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_radius_client_msg_free
LBB0_12:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RADIUS: Failed to add packet into retransmit list"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_RADIUS_CLIENT_FIRST_WAIT,4,2   ; @RADIUS_CLIENT_FIRST_WAIT
	.comm	_RADIUS_CLIENT_MAX_WAIT,4,2     ; @RADIUS_CLIENT_MAX_WAIT
	.comm	_RADIUS_CLIENT_MAX_ENTRIES,8,3  ; @RADIUS_CLIENT_MAX_ENTRIES
l_.str.1:                               ; @.str.1
	.asciz	"RADIUS: Removing the oldest un-ACKed packet due to retransmit list limits"

	.no_dead_strip	_radius_client_list_add
.subsections_via_symbols
