	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radius_client_send             ## -- Begin function radius_client_send
	.p2align	4, 0x90
_radius_client_send:                    ## @radius_client_send
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	24(%rdi), %r13
	movq	_RADIUS_ACCT@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movq	_RADIUS_ACCT_INTERIM@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_2
## %bb.10:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	leaq	8(%r12), %r14
	cmpq	$0, 8(%r12)
	js	LBB0_12
LBB0_14:
	movq	16(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.16:
	movq	(%rax), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	callq	_radius_msg_finish
	movq	8(%r13), %rax
	addq	$8, %rax
	leaq	L_.str.3(%rip), %r9
	jmp	LBB0_17
LBB0_2:
	movq	16(%r13), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	cmpq	$0, (%r12)
	js	LBB0_4
LBB0_6:
	movq	16(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.9:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rdx
	movq	%rbx, %rdi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	callq	_radius_msg_finish_acct
	movq	16(%r13), %rax
	addq	$8, %rax
	leaq	L_.str.1(%rip), %r9
	movq	%r12, %r14
LBB0_17:
	movl	(%r14), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	incl	(%rax)
	movl	16(%r12), %edi
	movq	_HOSTAPD_MODULE_RADIUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.4(%rip), %r8
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_hostapd_logger
	cmpq	$0, (%r13)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_19
## %bb.18:
	movq	%r14, %rdi
	callq	_radius_msg_dump
LBB0_19:
	movq	%r14, %rdi
	callq	_radius_msg_get_buf
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_wpabuf_head
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_wpabuf_len
	xorl	%r14d, %r14d
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_send
	testl	%eax, %eax
	jns	LBB0_21
## %bb.20:
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_radius_client_handle_send_error
LBB0_21:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	callq	_radius_client_list_add
	jmp	LBB0_22
LBB0_12:
	movq	%r12, %rdi
	callq	_radius_client_init_auth
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	cmpq	$0, (%r14)
	jns	LBB0_14
LBB0_15:
	movl	16(%r12), %edi
	movq	_HOSTAPD_MODULE_RADIUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %r8
	jmp	LBB0_8
LBB0_4:
	movq	%r12, %rdi
	callq	_radius_client_init_acct
	movq	16(%r13), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	cmpq	$0, (%r12)
	jns	LBB0_6
LBB0_7:
	movl	16(%r12), %edi
	movq	_HOSTAPD_MODULE_RADIUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %r8
LBB0_8:
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_hostapd_logger
	movl	$-1, %r14d
LBB0_22:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIUS_ACCT,4,2                ## @RADIUS_ACCT
	.comm	_RADIUS_ACCT_INTERIM,4,2        ## @RADIUS_ACCT_INTERIM
	.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	"No accounting server configured"

L_.str.1:                               ## @.str.1
	.asciz	"accounting"

L_.str.2:                               ## @.str.2
	.asciz	"No authentication server configured"

L_.str.3:                               ## @.str.3
	.asciz	"authentication"

	.comm	_HOSTAPD_LEVEL_DEBUG,4,2        ## @HOSTAPD_LEVEL_DEBUG
L_.str.4:                               ## @.str.4
	.asciz	"Sending RADIUS message to %s server"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radius_client_send             ; -- Begin function radius_client_send
	.p2align	2
_radius_client_send:                    ; @radius_client_send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	ldr	x26, [x0, #24]
Lloh0:
	adrp	x8, _RADIUS_ACCT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RADIUS_ACCT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _RADIUS_ACCT_INTERIM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RADIUS_ACCT_INTERIM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w2
	ccmp	w9, w2, #4, ne
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x26, #16]
	cbz	x8, LBB0_16
; %bb.2:
	ldr	x9, [x21]
	tbnz	x9, #63, LBB0_14
LBB0_3:
	ldr	x23, [x8, #16]
	cbz	x23, LBB0_16
; %bb.4:
	ldr	x24, [x8]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_radius_msg_finish_acct
	ldr	x8, [x26, #16]
	add	x9, x8, #8
Lloh6:
	adrp	x8, l_.str.1@PAGE
Lloh7:
	add	x8, x8, l_.str.1@PAGEOFF
	mov	x25, x21
	b	LBB0_9
LBB0_5:
	ldr	x8, [x26, #8]
	cbz	x8, LBB0_19
; %bb.6:
	mov	x25, x21
	ldr	x9, [x25, #8]!
	tbnz	x9, #63, LBB0_17
LBB0_7:
	ldr	x23, [x8, #16]
	cbz	x23, LBB0_19
; %bb.8:
	ldr	x24, [x8]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_radius_msg_finish
	ldr	x8, [x26, #8]
	add	x9, x8, #8
Lloh8:
	adrp	x8, l_.str.3@PAGE
Lloh9:
	add	x8, x8, l_.str.3@PAGEOFF
LBB0_9:
	ldr	w25, [x25]
	ldr	w10, [x9]
	add	w10, w10, #1
	str	w10, [x9]
	ldr	w0, [x21, #16]
Lloh10:
	adrp	x9, _HOSTAPD_MODULE_RADIUS@GOTPAGE
Lloh11:
	ldr	x9, [x9, _HOSTAPD_MODULE_RADIUS@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x9]
Lloh13:
	adrp	x9, _HOSTAPD_LEVEL_DEBUG@GOTPAGE
Lloh14:
	ldr	x9, [x9, _HOSTAPD_LEVEL_DEBUG@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x9]
Lloh16:
	adrp	x4, l_.str.4@PAGE
Lloh17:
	add	x4, x4, l_.str.4@PAGEOFF
	str	x8, [sp]
	mov	x1, #0
	bl	_hostapd_logger
	ldr	x8, [x26]
	cbz	x8, LBB0_11
; %bb.10:
	mov	x0, x22
	bl	_radius_msg_dump
LBB0_11:
	mov	x0, x22
	bl	_radius_msg_get_buf
	mov	x26, x0
	bl	_wpabuf_head
	mov	x27, x0
	mov	x0, x26
	bl	_wpabuf_len
	mov	x2, x0
	mov	x0, x25
	mov	x1, x27
	mov	w3, #0
	bl	_send
	tbz	w0, #31, LBB0_13
; %bb.12:
	mov	x0, x21
	mov	x1, x25
	mov	x2, x20
	bl	_radius_client_handle_send_error
LBB0_13:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	x3, x23
	mov	x4, x24
	mov	x5, x19
	bl	_radius_client_list_add
	mov	w0, #0
	b	LBB0_21
LBB0_14:
	mov	x0, x21
	bl	_radius_client_init_acct
	ldr	x8, [x26, #16]
	cbz	x8, LBB0_16
; %bb.15:
	ldr	x9, [x21]
	tbz	x9, #63, LBB0_3
LBB0_16:
	ldr	w0, [x21, #16]
Lloh18:
	adrp	x8, _HOSTAPD_MODULE_RADIUS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HOSTAPD_MODULE_RADIUS@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
Lloh21:
	adrp	x8, _HOSTAPD_LEVEL_INFO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HOSTAPD_LEVEL_INFO@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
Lloh24:
	adrp	x4, l_.str@PAGE
Lloh25:
	add	x4, x4, l_.str@PAGEOFF
	b	LBB0_20
LBB0_17:
	mov	x0, x21
	bl	_radius_client_init_auth
	ldr	x8, [x26, #8]
	cbz	x8, LBB0_19
; %bb.18:
	ldr	x9, [x25]
	tbz	x9, #63, LBB0_7
LBB0_19:
	ldr	w0, [x21, #16]
Lloh26:
	adrp	x8, _HOSTAPD_MODULE_RADIUS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _HOSTAPD_MODULE_RADIUS@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x8, _HOSTAPD_LEVEL_INFO@GOTPAGE
Lloh30:
	ldr	x8, [x8, _HOSTAPD_LEVEL_INFO@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x8]
Lloh32:
	adrp	x4, l_.str.2@PAGE
Lloh33:
	add	x4, x4, l_.str.2@PAGEOFF
LBB0_20:
	mov	x1, #0
	bl	_hostapd_logger
	mov	w0, #-1
LBB0_21:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIUS_ACCT,4,2                ; @RADIUS_ACCT
	.comm	_RADIUS_ACCT_INTERIM,4,2        ; @RADIUS_ACCT_INTERIM
	.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	"No accounting server configured"

l_.str.1:                               ; @.str.1
	.asciz	"accounting"

l_.str.2:                               ; @.str.2
	.asciz	"No authentication server configured"

l_.str.3:                               ; @.str.3
	.asciz	"authentication"

	.comm	_HOSTAPD_LEVEL_DEBUG,4,2        ; @HOSTAPD_LEVEL_DEBUG
l_.str.4:                               ; @.str.4
	.asciz	"Sending RADIUS message to %s server"

.subsections_via_symbols
