	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radius_server_request
_radius_server_request:                 ## @radius_server_request
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, %r15
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	24(%rbp), %r12
	movl	16(%rbp), %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%r12, %r12
	je	LBB0_11
LBB0_1:
	movq	(%r12), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_RADIUS_DEBUG
LBB0_2:
	cmpl	%ebx, 8(%r12)
	jne	LBB0_5
## %bb.3:
	movq	16(%r12), %rbx
	movq	%r14, %rdi
	callq	_radius_msg_get_hdr
	cmpq	(%rax), %rbx
	jne	LBB0_5
## %bb.4:
	movq	32(%r12), %rbx
	movq	%r14, %rdi
	callq	_radius_msg_get_hdr
	movq	16(%rax), %rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_49
LBB0_5:
	movq	%r14, %rdi
	callq	_radius_msg_get_eap
	testq	%rax, %rax
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	je	LBB0_13
## %bb.6:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_wpabuf_head
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_wpabuf_len
	leaq	L_.str.7(%rip), %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_RADIUS_DUMP
	movq	48(%r12), %rax
	movq	40(%rax), %rdi
	callq	_wpabuf_free
	movq	48(%r12), %rax
	movq	%rbx, 40(%rax)
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rax)
	movl	72(%r12), %edi
	callq	_eap_server_sm_step
	movq	48(%r12), %rax
	cmpq	$0, 24(%rax)
	movl	16(%rbp), %ebx
	jne	LBB0_9
## %bb.7:
	cmpq	$0, (%rax)
	jne	LBB0_9
## %bb.8:
	cmpq	$0, 8(%rax)
	je	LBB0_40
LBB0_9:
	movq	16(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.10:
	callq	_wpabuf_head
	movl	%eax, %ebx
	movq	48(%r12), %rax
	movq	16(%rax), %rdi
	callq	_wpabuf_len
	leaq	L_.str.8(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_RADIUS_DUMP
	jmp	LBB0_21
LBB0_11:
	movq	_RADIUS_ATTR_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	movl	$16, %ecx
	callq	_radius_msg_get_attr
	cmpl	$16, %eax
	jne	LBB0_16
## %bb.12:
	leaq	-64(%rbp), %rdi
	callq	_WPA_GET_BE32
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_radius_server_get_session
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_1
	jmp	LBB0_17
LBB0_13:
	cmpq	$0, 80(%r12)
	je	LBB0_39
## %bb.14:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_radius_server_macacl
	testq	%rax, %rax
	je	LBB0_58
## %bb.15:
	movq	%rax, %r14
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_31
LBB0_16:
	testl	%eax, %eax
	js	LBB0_52
LBB0_17:
	leaq	L_.str.1(%rip), %rdi
LBB0_18:
	xorl	%eax, %eax
	callq	_RADIUS_DEBUG
	movl	%ebx, (%rsp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	-68(%rbp), %r8d                 ## 4-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	callq	_radius_server_reject
	jmp	LBB0_58
LBB0_19:
	cmpq	$0, 8(%rax)
	je	LBB0_40
## %bb.20:
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_RADIUS_DEBUG
LBB0_21:
	movq	48(%r12), %rax
	cmpq	$0, (%rax)
	movq	8(%rax), %rax
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_24
## %bb.22:
	testq	%rax, %rax
	jne	LBB0_25
## %bb.23:
	leaq	L_.str.13(%rip), %rsi
	movq	%r12, %rdi
	callq	_srv_log
	jmp	LBB0_26
LBB0_24:
	testq	%rax, %rax
	je	LBB0_55
LBB0_25:
	leaq	L_.str.11(%rip), %rsi
	movq	%r12, %rdi
	callq	_srv_log
	leaq	L_.str.12(%rip), %rsi
	movq	%r12, %rdi
	callq	_db_update_last_msk
LBB0_26:
	movl	$1, -84(%rbp)                   ## 4-byte Folded Spill
LBB0_27:
	movq	48(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_29
## %bb.28:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_radius_server_hs20_t_c_check
LBB0_29:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_radius_server_encapsulate_eap
	testq	%rax, %rax
	je	LBB0_37
## %bb.30:
	movq	%rax, %r14
LBB0_31:
	leaq	L_.str.14(%rip), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	16(%rbp), %edx
	xorl	%eax, %eax
	callq	_RADIUS_DEBUG
	movq	_wpa_debug_level@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_33
## %bb.32:
	movq	%r14, %rdi
	callq	_radius_msg_dump
LBB0_33:
	movq	%r14, %rdi
	callq	_radius_msg_get_hdr
	movl	8(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_42
## %bb.34:
	cmpl	$129, %eax
	je	LBB0_43
## %bb.35:
	cmpl	$130, %eax
	jne	LBB0_45
## %bb.36:
	leaq	L_.str.15(%rip), %rsi
	movq	%r12, %rdi
	callq	_srv_log
	incl	12(%r13)
	addq	$12, %r15
	jmp	LBB0_44
LBB0_37:
	incl	(%r13)
	incl	(%r15)
	cmpl	$0, -84(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_48
LBB0_38:
	xorl	%r14d, %r14d
	jmp	LBB0_59
LBB0_39:
	leaq	L_.str.6(%rip), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_RADIUS_DEBUG
	jmp	LBB0_57
LBB0_40:
	movl	72(%r12), %edi
	callq	_eap_sm_method_pending
	testq	%rax, %rax
	je	LBB0_56
## %bb.41:
	movq	64(%r12), %rdi
	callq	_radius_msg_free
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 64(%r12)
	movl	%ebx, 8(%r12)
	movl	60(%r12), %edi
	callq	_os_free
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_os_strdup
	movl	%eax, 60(%r12)
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, 24(%r12)
	addq	$56, %r12
	movq	%r12, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_os_memcpy
	movl	$-2, %r14d
	jmp	LBB0_59
LBB0_42:
	leaq	L_.str.16(%rip), %rsi
	movq	%r12, %rdi
	callq	_srv_log
	incl	8(%r13)
	addq	$8, %r15
	jmp	LBB0_44
LBB0_43:
	incl	4(%r13)
	addq	$4, %r15
LBB0_44:
	incl	(%r15)
LBB0_45:
	movq	%r14, %rdi
	callq	_radius_msg_get_buf
	movq	%rax, %rbx
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movl	20(%r13), %r15d
	movq	%rax, %rdi
	callq	_wpabuf_head
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_wpabuf_len
	movl	%r15d, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	callq	_sendto
	testl	%eax, %eax
	jns	LBB0_47
## %bb.46:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_wpa_printf
LBB0_47:
	movq	40(%r12), %rdi
	callq	_radius_msg_free
	movq	%r14, 40(%r12)
	movl	16(%rbp), %eax
	movl	%eax, 8(%r12)
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_radius_msg_get_hdr
	movq	(%rax), %rcx
	movq	%rcx, 16(%r12)
	movq	32(%r12), %rdi
	movq	16(%rax), %rsi
	movl	$16, %edx
	callq	_os_memcpy
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	cmpl	$0, -84(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_38
LBB0_48:
	movq	(%r12), %rsi
	leaq	L_.str.17(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_RADIUS_DEBUG
	movq	_radius_server_session_remove_timeout@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_eloop_cancel_timeout
	movq	_RADIUS_SESSION_MAINTAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	xorl	%esi, %esi
	movq	%r13, %rcx
	movq	%r12, %r8
	callq	_eloop_register_timeout
	jmp	LBB0_59
LBB0_49:
	leaq	L_.str.3(%rip), %rdi
	xorl	%r14d, %r14d
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_RADIUS_DEBUG
	incl	16(%r13)
	incl	16(%r15)
	movq	40(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_61
## %bb.50:
	callq	_radius_msg_get_buf
	movq	%rax, %rbx
	movl	20(%r13), %r15d
	movq	%rax, %rdi
	callq	_wpabuf_head
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_wpabuf_len
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	callq	_sendto
	testl	%eax, %eax
	jns	LBB0_59
## %bb.51:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_wpa_printf
	jmp	LBB0_59
LBB0_52:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	callq	_radius_server_get_new_session
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_2
## %bb.53:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_18
LBB0_55:
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_27
LBB0_56:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_RADIUS_DEBUG
LBB0_57:
	incl	(%r13)
	incl	(%r15)
LBB0_58:
	movl	$-1, %r14d
LBB0_59:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_62
## %bb.60:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_61:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_RADIUS_DEBUG
	jmp	LBB0_58
LBB0_62:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIUS_ATTR_STATE,4,2          ## @RADIUS_ATTR_STATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Request for session 0x%x"

L_.str.1:                               ## @.str.1
	.asciz	"State attribute included but no session found"

L_.str.2:                               ## @.str.2
	.asciz	"Could not create a new session"

L_.str.3:                               ## @.str.3
	.asciz	"Duplicate message from %s"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.4:                               ## @.str.4
	.asciz	"sendto[RADIUS SRV]: %s"

	.comm	_errno,4,2                      ## @errno
L_.str.5:                               ## @.str.5
	.asciz	"No previous reply available for duplicate message"

L_.str.6:                               ## @.str.6
	.asciz	"No EAP-Message in RADIUS packet from %s"

L_.str.7:                               ## @.str.7
	.asciz	"Received EAP data"

	.comm	_TRUE,4,2                       ## @TRUE
L_.str.8:                               ## @.str.8
	.asciz	"EAP data from the state machine"

L_.str.9:                               ## @.str.9
	.asciz	"No EAP data from the state machine, but eapFail set"

L_.str.10:                              ## @.str.10
	.asciz	"No EAP data from the state machine - ignore this Access-Request silently (assuming it was a duplicate)"

L_.str.11:                              ## @.str.11
	.asciz	"EAP authentication failed"

L_.str.12:                              ## @.str.12
	.asciz	"FAIL"

L_.str.13:                              ## @.str.13
	.asciz	"EAP authentication succeeded"

L_.str.14:                              ## @.str.14
	.asciz	"Reply to %s:%d"

	.comm	_wpa_debug_level,8,3            ## @wpa_debug_level
	.comm	_MSG_MSGDUMP,8,3                ## @MSG_MSGDUMP
L_.str.15:                              ## @.str.15
	.asciz	"Sending Access-Accept"

L_.str.16:                              ## @.str.16
	.asciz	"Sending Access-Reject"

L_.str.17:                              ## @.str.17
	.asciz	"Removing completed session 0x%x after timeout"

	.comm	_radius_server_session_remove_timeout,4,2 ## @radius_server_session_remove_timeout
	.comm	_RADIUS_SESSION_MAINTAIN,4,2    ## @RADIUS_SESSION_MAINTAIN
	.no_dead_strip	_radius_server_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radius_server_request
_radius_server_request:                 ; @radius_server_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x7
	mov	x23, x6
	mov	x26, x5
	mov	x25, x4
	mov	x20, x3
	mov	x28, x2
	mov	x24, x1
	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, #40]
	cbz	x7, LBB0_11
LBB0_1:
	ldr	x8, [x21]
	str	x8, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_RADIUS_DEBUG
LBB0_2:
	ldr	w8, [x21, #8]
	cmp	w8, w23
	b.ne	LBB0_5
; %bb.3:
	ldr	x22, [x21, #16]
	mov	x0, x24
	bl	_radius_msg_get_hdr
	ldr	x8, [x0]
	cmp	x22, x8
	b.ne	LBB0_5
; %bb.4:
	ldr	x27, [x21, #32]
	mov	x0, x24
	bl	_radius_msg_get_hdr
	ldr	x1, [x0, #16]
	mov	x0, x27
	mov	w2, #16
	bl	_os_memcmp
	cbz	x0, LBB0_49
LBB0_5:
	mov	x0, x24
	bl	_radius_msg_get_eap
	cbz	x0, LBB0_13
; %bb.6:
	mov	x27, x0
	bl	_wpabuf_head
	mov	x22, x20
	mov	x20, x28
	mov	x28, x0
	mov	x0, x27
	bl	_wpabuf_len
	mov	x2, x0
Lloh5:
	adrp	x0, l_.str.7@PAGE
Lloh6:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x28
	mov	x28, x20
	mov	x20, x22
	bl	_RADIUS_DUMP
	ldr	x8, [x21, #48]
	ldr	x0, [x8, #40]
	bl	_wpabuf_free
	ldr	x8, [x21, #48]
	str	x27, [x8, #40]
Lloh7:
	adrp	x9, _TRUE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	str	w9, [x8, #32]
	ldr	w0, [x21, #72]
	bl	_eap_server_sm_step
	ldr	x8, [x21, #48]
	ldr	x9, [x8, #24]
	cbnz	x9, LBB0_9
; %bb.7:
	ldr	x9, [x8]
	cbnz	x9, LBB0_9
; %bb.8:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_39
LBB0_9:
	ldr	x0, [x8, #16]
	cbz	x0, LBB0_19
; %bb.10:
	bl	_wpabuf_head
	mov	x27, x0
	ldr	x8, [x21, #48]
	ldr	x0, [x8, #16]
	bl	_wpabuf_len
	mov	x2, x0
Lloh10:
	adrp	x0, l_.str.8@PAGE
Lloh11:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x1, x27
	bl	_RADIUS_DUMP
	b	LBB0_21
LBB0_11:
Lloh12:
	adrp	x8, _RADIUS_ATTR_STATE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RADIUS_ATTR_STATE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x24
	mov	w3, #16
	bl	_radius_msg_get_attr
	cmp	w0, #16
	b.ne	LBB0_16
; %bb.12:
	add	x0, sp, #24
	bl	_WPA_GET_BE32
	mov	x1, x0
	mov	x0, x25
	bl	_radius_server_get_session
	mov	x21, x0
	cbnz	x0, LBB0_1
	b	LBB0_17
LBB0_13:
	ldr	x8, [x21, #80]
	cbz	x8, LBB0_38
; %bb.14:
	mov	x0, x19
	mov	x1, x25
	mov	x2, x21
	mov	x3, x24
	bl	_radius_server_macacl
	cbz	x0, LBB0_57
; %bb.15:
	mov	x27, x0
	mov	w22, #0
	b	LBB0_31
LBB0_16:
	tbnz	w0, #31, LBB0_52
LBB0_17:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_18:
	bl	_RADIUS_DEBUG
	mov	x0, x19
	mov	x1, x25
	mov	x2, x24
	mov	x3, x28
	mov	x4, x20
	mov	x5, x26
	mov	x6, x23
	bl	_radius_server_reject
	b	LBB0_57
LBB0_19:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_39
; %bb.20:
Lloh17:
	adrp	x0, l_.str.9@PAGE
Lloh18:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_RADIUS_DEBUG
LBB0_21:
	ldr	x8, [x21, #48]
	ldp	x9, x8, [x8]
	cbz	x9, LBB0_24
; %bb.22:
	cbnz	x8, LBB0_25
; %bb.23:
Lloh19:
	adrp	x1, l_.str.13@PAGE
Lloh20:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x21
	bl	_srv_log
	b	LBB0_26
LBB0_24:
	cbz	x8, LBB0_54
LBB0_25:
Lloh21:
	adrp	x1, l_.str.11@PAGE
Lloh22:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x21
	bl	_srv_log
Lloh23:
	adrp	x1, l_.str.12@PAGE
Lloh24:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x21
	bl	_db_update_last_msk
LBB0_26:
	mov	w22, #1
LBB0_27:
	ldr	x8, [x21, #48]
	ldr	x8, [x8]
	cbz	x8, LBB0_29
; %bb.28:
	mov	x0, x21
	mov	x1, x24
	bl	_radius_server_hs20_t_c_check
LBB0_29:
	mov	x0, x19
	mov	x1, x25
	mov	x2, x21
	mov	x3, x24
	bl	_radius_server_encapsulate_eap
	cbz	x0, LBB0_37
; %bb.30:
	mov	x27, x0
LBB0_31:
	str	w22, [sp, #20]                  ; 4-byte Folded Spill
	stp	x26, x23, [sp]
Lloh25:
	adrp	x0, l_.str.14@PAGE
Lloh26:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_RADIUS_DEBUG
Lloh27:
	adrp	x8, _wpa_debug_level@GOTPAGE
Lloh28:
	ldr	x8, [x8, _wpa_debug_level@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
Lloh30:
	adrp	x9, _MSG_MSGDUMP@GOTPAGE
Lloh31:
	ldr	x9, [x9, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_33
; %bb.32:
	mov	x0, x27
	bl	_radius_msg_dump
LBB0_33:
	mov	x22, x20
	mov	x0, x27
	bl	_radius_msg_get_hdr
	ldr	w8, [x0, #8]
	mov	x20, x28
	cmp	w8, #128
	b.eq	LBB0_41
; %bb.34:
	cmp	w8, #129
	b.eq	LBB0_42
; %bb.35:
	cmp	w8, #130
	b.ne	LBB0_44
; %bb.36:
Lloh33:
	adrp	x1, l_.str.15@PAGE
Lloh34:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x21
	bl	_srv_log
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	add	x8, x25, #12
	b	LBB0_43
LBB0_37:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldr	w8, [x25]
	add	w8, w8, #1
	str	w8, [x25]
	cbnz	w22, LBB0_47
	b	LBB0_48
LBB0_38:
	str	x26, [sp]
Lloh35:
	adrp	x0, l_.str.6@PAGE
Lloh36:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_56
LBB0_39:
	ldr	w0, [x21, #72]
	bl	_eap_sm_method_pending
	cbz	x0, LBB0_55
; %bb.40:
	ldr	x0, [x21, #64]
	bl	_radius_msg_free
	str	x24, [x21, #64]
	str	w23, [x21, #8]
	ldr	w0, [x21, #60]
	bl	_os_free
	mov	x0, x26
	bl	_os_strdup
	str	w0, [x21, #60]
	str	w20, [x21, #24]
	add	x0, x21, #56
	mov	x1, x28
	mov	x2, x20
	bl	_os_memcpy
	mov	w0, #-2
	b	LBB0_58
LBB0_41:
Lloh37:
	adrp	x1, l_.str.16@PAGE
Lloh38:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x21
	bl	_srv_log
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	add	x8, x25, #8
	b	LBB0_43
LBB0_42:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	add	x8, x25, #4
LBB0_43:
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_44:
	mov	x0, x27
	bl	_radius_msg_get_buf
	mov	x25, x0
	ldr	w26, [x19, #20]
	bl	_wpabuf_head
	mov	x28, x0
	mov	x0, x25
	bl	_wpabuf_len
	mov	x2, x0
	mov	x0, x26
	mov	x1, x28
	mov	w3, #0
	mov	x4, x20
	mov	x5, x22
	bl	_sendto
	tbz	w0, #31, LBB0_46
; %bb.45:
Lloh39:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh41:
	ldr	w20, [x8]
Lloh42:
	adrp	x8, _errno@GOTPAGE
Lloh43:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh45:
	adrp	x1, l_.str.4@PAGE
Lloh46:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_wpa_printf
LBB0_46:
	ldr	x0, [x21, #40]
	bl	_radius_msg_free
	str	x27, [x21, #40]
	str	w23, [x21, #8]
	mov	x0, x24
	bl	_radius_msg_get_hdr
	ldr	x8, [x0]
	str	x8, [x21, #16]
	ldr	x8, [x21, #32]
	ldr	x1, [x0, #16]
	mov	x0, x8
	mov	w2, #16
	bl	_os_memcpy
	ldr	w22, [sp, #20]                  ; 4-byte Folded Reload
	cbz	w22, LBB0_48
LBB0_47:
	ldr	x8, [x21]
	str	x8, [sp]
Lloh47:
	adrp	x0, l_.str.17@PAGE
Lloh48:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_RADIUS_DEBUG
Lloh49:
	adrp	x20, _radius_server_session_remove_timeout@GOTPAGE
Lloh50:
	ldr	x20, [x20, _radius_server_session_remove_timeout@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x19
	mov	x2, x21
	bl	_eloop_cancel_timeout
Lloh51:
	adrp	x8, _RADIUS_SESSION_MAINTAIN@GOTPAGE
Lloh52:
	ldr	x8, [x8, _RADIUS_SESSION_MAINTAIN@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
	ldr	w2, [x20]
	mov	w1, #0
	mov	x3, x19
	mov	x4, x21
	bl	_eloop_register_timeout
LBB0_48:
	mov	w0, #0
	b	LBB0_58
LBB0_49:
	str	x26, [sp]
Lloh54:
	adrp	x0, l_.str.3@PAGE
Lloh55:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_RADIUS_DEBUG
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	ldr	w8, [x25, #16]
	add	w8, w8, #1
	str	w8, [x25, #16]
	ldr	x0, [x21, #40]
	cbz	x0, LBB0_60
; %bb.50:
	bl	_radius_msg_get_buf
	mov	x21, x0
	ldr	w19, [x19, #20]
	bl	_wpabuf_head
	mov	x23, x0
	mov	x0, x21
	bl	_wpabuf_len
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	mov	w3, #0
	mov	x4, x28
	mov	x5, x20
	bl	_sendto
	mov	x8, x0
	mov	w0, #0
	tbz	w8, #31, LBB0_58
; %bb.51:
Lloh56:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh57:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh58:
	ldr	w19, [x8]
Lloh59:
	adrp	x8, _errno@GOTPAGE
Lloh60:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh62:
	adrp	x1, l_.str.4@PAGE
Lloh63:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_wpa_printf
	b	LBB0_48
LBB0_52:
	mov	x0, x19
	mov	x1, x25
	mov	x2, x24
	mov	x3, x26
	bl	_radius_server_get_new_session
	mov	x21, x0
	cbnz	x0, LBB0_2
; %bb.53:
Lloh64:
	adrp	x0, l_.str.2@PAGE
Lloh65:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_18
LBB0_54:
	mov	w22, #0
	b	LBB0_27
LBB0_55:
Lloh66:
	adrp	x0, l_.str.10@PAGE
Lloh67:
	add	x0, x0, l_.str.10@PAGEOFF
LBB0_56:
	bl	_RADIUS_DEBUG
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldr	w8, [x25]
	add	w8, w8, #1
	str	w8, [x25]
LBB0_57:
	mov	w0, #-1
LBB0_58:
	ldr	x8, [sp, #40]
Lloh68:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh69:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh70:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_61
; %bb.59:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_60:
Lloh71:
	adrp	x0, l_.str.5@PAGE
Lloh72:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_RADIUS_DEBUG
	b	LBB0_57
LBB0_61:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIUS_ATTR_STATE,4,2          ; @RADIUS_ATTR_STATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Request for session 0x%x"

l_.str.1:                               ; @.str.1
	.asciz	"State attribute included but no session found"

l_.str.2:                               ; @.str.2
	.asciz	"Could not create a new session"

l_.str.3:                               ; @.str.3
	.asciz	"Duplicate message from %s"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.4:                               ; @.str.4
	.asciz	"sendto[RADIUS SRV]: %s"

	.comm	_errno,4,2                      ; @errno
l_.str.5:                               ; @.str.5
	.asciz	"No previous reply available for duplicate message"

l_.str.6:                               ; @.str.6
	.asciz	"No EAP-Message in RADIUS packet from %s"

l_.str.7:                               ; @.str.7
	.asciz	"Received EAP data"

	.comm	_TRUE,4,2                       ; @TRUE
l_.str.8:                               ; @.str.8
	.asciz	"EAP data from the state machine"

l_.str.9:                               ; @.str.9
	.asciz	"No EAP data from the state machine, but eapFail set"

l_.str.10:                              ; @.str.10
	.asciz	"No EAP data from the state machine - ignore this Access-Request silently (assuming it was a duplicate)"

l_.str.11:                              ; @.str.11
	.asciz	"EAP authentication failed"

l_.str.12:                              ; @.str.12
	.asciz	"FAIL"

l_.str.13:                              ; @.str.13
	.asciz	"EAP authentication succeeded"

l_.str.14:                              ; @.str.14
	.asciz	"Reply to %s:%d"

	.comm	_wpa_debug_level,8,3            ; @wpa_debug_level
	.comm	_MSG_MSGDUMP,8,3                ; @MSG_MSGDUMP
l_.str.15:                              ; @.str.15
	.asciz	"Sending Access-Accept"

l_.str.16:                              ; @.str.16
	.asciz	"Sending Access-Reject"

l_.str.17:                              ; @.str.17
	.asciz	"Removing completed session 0x%x after timeout"

	.comm	_radius_server_session_remove_timeout,4,2 ; @radius_server_session_remove_timeout
	.comm	_RADIUS_SESSION_MAINTAIN,4,2    ; @RADIUS_SESSION_MAINTAIN
	.no_dead_strip	_radius_server_request
.subsections_via_symbols
