	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee802_11_set_radius_info
_ieee802_11_set_radius_info:            ## @ieee802_11_set_radius_info
	.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, %r15
	movq	%r8, %r13
	movq	%rcx, %r12
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpq	$0, 16(%r9)
	je	LBB0_3
## %bb.1:
	movq	(%r14), %rax
	movl	16(%rax), %edi
	movq	%r15, %rsi
	callq	_hostapd_vlan_valid
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_ap_sta_set_vlan
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	40(%rbx), %r9
	testq	%r9, %r9
	je	LBB0_7
## %bb.6:
	movl	48(%rbx), %esi
	movq	_HOSTAPD_MODULE_RADIUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.3(%rip), %r8
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_hostapd_logger
LBB0_7:
	movq	24(%rbp), %r15
	leaq	32(%rbx), %r12
	movq	32(%rbx), %rdi
	callq	_hostapd_free_psk_list
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_PSK_RADIUS_IGNORED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.8:
	movq	16(%rbp), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%r12)
	movq	%rax, %r12
LBB0_9:
	movq	$0, (%r12)
	movq	(%rbx), %rdi
	callq	_os_free
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	movq	$0, (%r15)
	movq	8(%rbx), %rdi
	callq	_os_free
	movq	32(%rbp), %rcx
	movq	(%rcx), %rax
	movq	%rax, 8(%rbx)
	movq	$0, (%rcx)
	testq	%r13, %r13
	je	LBB0_12
## %bb.10:
	movq	(%r14), %rax
	cmpq	$0, 8(%rax)
	jne	LBB0_12
## %bb.11:
	movq	%r13, 24(%rbx)
LBB0_12:
	movq	_HOSTAPD_ACL_ACCEPT_TIMEOUT@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%rax)
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_14
## %bb.13:
	movl	$1, 16(%rbx)
	leaq	20(%rbx), %rdi
	callq	_os_get_reltime
	addl	%r15d, 20(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_ap_sta_session_timeout
	jmp	LBB0_15
LBB0_4:
	movl	$-1, %eax
	jmp	LBB0_16
LBB0_2:
	movl	48(%rbx), %esi
	movq	_HOSTAPD_MODULE_RADIUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movslq	8(%r15), %r9
	movq	(%r15), %rax
	cmpq	$0, (%rax)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdi
	cmoveq	%rax, %rdi
	movq	%rdi, (%rsp)
	leaq	L_.str(%rip), %r8
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_hostapd_logger
	movl	$-1, %eax
	jmp	LBB0_16
LBB0_14:
	movl	$0, 16(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ap_sta_no_session_timeout
LBB0_15:
	xorl	%eax, %eax
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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	"Invalid VLAN %d%s received from RADIUS server"

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

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"VLAN ID %d"

	.comm	_PSK_RADIUS_IGNORED,8,3         ## @PSK_RADIUS_IGNORED
	.comm	_HOSTAPD_ACL_ACCEPT_TIMEOUT,4,2 ## @HOSTAPD_ACL_ACCEPT_TIMEOUT
	.no_dead_strip	_ieee802_11_set_radius_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee802_11_set_radius_info
_ieee802_11_set_radius_info:            ; @ieee802_11_set_radius_info
	.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	x24, x7
	mov	x25, x6
	mov	x26, x5
	mov	x23, x4
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x5, #16]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w0, [x8, #16]
	mov	x1, x26
	bl	_hostapd_vlan_valid
	cbz	w0, LBB0_8
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x26
	bl	_ap_sta_set_vlan
	tbnz	x0, #63, LBB0_7
; %bb.3:
	ldr	x26, [x29, #16]
	ldr	x5, [x20, #40]
	cbz	x5, LBB0_5
; %bb.4:
	ldr	w1, [x20, #48]
Lloh0:
	adrp	x8, _HOSTAPD_MODULE_RADIUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HOSTAPD_MODULE_RADIUS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _HOSTAPD_LEVEL_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HOSTAPD_LEVEL_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x4, l_.str.3@PAGE
Lloh7:
	add	x4, x4, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_hostapd_logger
LBB0_5:
	mov	x27, x20
	ldr	x0, [x27, #32]!
	bl	_hostapd_free_psk_list
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _PSK_RADIUS_IGNORED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PSK_RADIUS_IGNORED@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.6:
	mov	x25, x27
	b	LBB0_10
LBB0_7:
	mov	w0, #-1
	b	LBB0_17
LBB0_8:
	ldr	w1, [x20, #48]
Lloh11:
	adrp	x8, _HOSTAPD_MODULE_RADIUS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HOSTAPD_MODULE_RADIUS@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x8, _HOSTAPD_LEVEL_INFO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HOSTAPD_LEVEL_INFO@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	ldrsw	x5, [x26, #8]
	ldr	x8, [x26]
	ldr	x8, [x8]
Lloh17:
	adrp	x9, l_.str.1@PAGE
Lloh18:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh19:
	adrp	x10, l_.str.2@PAGE
Lloh20:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x8, x10, x9, eq
	str	x8, [sp]
Lloh21:
	adrp	x4, l_.str@PAGE
Lloh22:
	add	x4, x4, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hostapd_logger
	mov	w0, #-1
	b	LBB0_17
LBB0_9:
	ldr	x8, [x25]
	str	x8, [x27]
LBB0_10:
	str	xzr, [x25]
	ldr	x0, [x20]
	bl	_os_free
	ldr	x8, [x24]
	str	x8, [x20]
	str	xzr, [x24]
	ldr	x0, [x20, #8]
	bl	_os_free
	ldr	x8, [x26]
	str	x8, [x20, #8]
	str	xzr, [x26]
	cbz	x23, LBB0_13
; %bb.11:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_13
; %bb.12:
	str	x23, [x20, #24]
LBB0_13:
Lloh23:
	adrp	x8, _HOSTAPD_ACL_ACCEPT_TIMEOUT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _HOSTAPD_ACL_ACCEPT_TIMEOUT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_15
; %bb.14:
	mov	w8, #1
	str	w8, [x20, #16]
	add	x0, x20, #20
	bl	_os_get_reltime
	ldr	w8, [x20, #20]
	add	w8, w8, w21
	str	w8, [x20, #20]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_ap_sta_session_timeout
	b	LBB0_16
LBB0_15:
	str	wzr, [x20, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_ap_sta_no_session_timeout
LBB0_16:
	mov	w0, #0
LBB0_17:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.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	"Invalid VLAN %d%s received from RADIUS server"

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

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"VLAN ID %d"

	.comm	_PSK_RADIUS_IGNORED,8,3         ; @PSK_RADIUS_IGNORED
	.comm	_HOSTAPD_ACL_ACCEPT_TIMEOUT,4,2 ; @HOSTAPD_ACL_ACCEPT_TIMEOUT
	.no_dead_strip	_ieee802_11_set_radius_info
.subsections_via_symbols
