	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radius_server_macacl
_radius_server_macacl:                  ## @radius_server_macacl
	.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	$616, %rsp                      ## imm = 0x268
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rcx, %rdi
	callq	_radius_msg_get_hdr
	movq	%rax, %rbx
	movq	_RADIUS_CODE_ACCESS_ACCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -572(%rbp)                ## 4-byte Spill
	movq	_RADIUS_ATTR_USER_PASSWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-640(%rbp), %rdx
	leaq	-632(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	callq	_radius_msg_get_attr_ptr
	testq	%rax, %rax
	movq	%rbx, -568(%rbp)                ## 8-byte Spill
	movq	%r15, -624(%rbp)                ## 8-byte Spill
	js	LBB0_9
## %bb.1:
	movq	%r14, -584(%rbp)                ## 8-byte Spill
	movq	%r13, -592(%rbp)                ## 8-byte Spill
	leaq	-616(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_os_memset
	movq	(%r12), %r13
	movl	8(%r12), %ebx
	movq	8(%r15), %r12
	movq	%r12, %rdi
	callq	_os_strlen
	movl	%ebx, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	*%r13
	testl	%eax, %eax
	jne	LBB0_10
## %bb.2:
	cmpl	$0, -600(%rbp)
	je	LBB0_10
## %bb.3:
	movq	-608(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.4:
	movl	-616(%rbp), %edx
	movq	-592(%rbp), %r13                ## 8-byte Reload
	movq	8(%r13), %rcx
	movl	(%r13), %r8d
	movl	$512, (%rsp)                    ## imm = 0x200
	leaq	-560(%rbp), %r9
	movq	-584(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	callq	_radius_user_password_hide
	movl	%eax, %ebx
	movq	-608(%rbp), %rdi
	movl	-616(%rbp), %esi
	callq	_bin_clear_free
	testl	%ebx, %ebx
	movl	-572(%rbp), %r12d               ## 4-byte Reload
	js	LBB0_7
## %bb.5:
	movl	%ebx, %eax
	cmpq	%rax, -632(%rbp)
	jne	LBB0_7
## %bb.6:
	movq	-640(%rbp), %rdi
	leaq	-560(%rbp), %rsi
	movl	%ebx, %edx
	callq	_os_memcmp_const
	testq	%rax, %rax
	je	LBB0_8
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	callq	_RADIUS_DEBUG
	movq	_RADIUS_CODE_ACCESS_REJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_8:
	movq	-568(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_11
LBB0_9:
	leaq	L_.str(%rip), %rdi
	callq	_RADIUS_DEBUG
	movq	_RADIUS_CODE_ACCESS_REJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
	callq	_RADIUS_DEBUG
	movq	-608(%rbp), %rdi
	movl	-616(%rbp), %esi
	callq	_bin_clear_free
	movq	_RADIUS_CODE_ACCESS_REJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	-592(%rbp), %r13                ## 8-byte Reload
	movq	-568(%rbp), %rbx                ## 8-byte Reload
	movq	-584(%rbp), %r14                ## 8-byte Reload
LBB0_11:
	movl	4(%rbx), %esi
	movl	%r12d, %edi
	callq	_radius_msg_new
	testq	%rax, %rax
	je	LBB0_19
## %bb.12:
	movq	%rax, %r15
	movq	_RADIUS_ATTR_PROXY_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_radius_msg_copy_attr
	testq	%rax, %rax
	js	LBB0_20
## %bb.13:
	movq	_RADIUS_CODE_ACCESS_ACCEPT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_17
## %bb.14:
	movq	-624(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_17
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movl	4(%rbx), %r14d
	callq	_wpabuf_head
	movl	%eax, %r12d
	movl	(%rbx), %edi
	callq	_wpabuf_len
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_radius_msg_add_attr
	testl	%eax, %eax
	je	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_15
LBB0_17:
	movq	8(%r13), %rsi
	movl	(%r13), %edx
	movq	-568(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_radius_msg_finish_srv
	testq	%rax, %rax
	jns	LBB0_24
## %bb.18:
	leaq	L_.str.6(%rip), %rdi
	callq	_RADIUS_DEBUG
	jmp	LBB0_24
LBB0_19:
	leaq	L_.str.3(%rip), %rdi
	callq	_RADIUS_DEBUG
	jmp	LBB0_23
LBB0_20:
	leaq	L_.str.4(%rip), %rdi
	callq	_RADIUS_DEBUG
	jmp	LBB0_22
LBB0_21:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_wpa_printf
LBB0_22:
	movq	%r15, %rdi
	callq	_radius_msg_free
LBB0_23:
	xorl	%r15d, %r15d
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	movq	%r15, %rax
	addq	$616, %rsp                      ## imm = 0x268
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIUS_CODE_ACCESS_ACCEPT,4,2  ## @RADIUS_CODE_ACCESS_ACCEPT
	.comm	_RADIUS_ATTR_USER_PASSWORD,4,2  ## @RADIUS_ATTR_USER_PASSWORD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not get User-Password"

	.comm	_RADIUS_CODE_ACCESS_REJECT,4,2  ## @RADIUS_CODE_ACCESS_REJECT
L_.str.1:                               ## @.str.1
	.asciz	"No MAC ACL user entry"

L_.str.2:                               ## @.str.2
	.asciz	"Incorrect User-Password"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to allocate reply message"

	.comm	_RADIUS_ATTR_PROXY_STATE,4,2    ## @RADIUS_ATTR_PROXY_STATE
L_.str.4:                               ## @.str.4
	.asciz	"Failed to copy Proxy-State attribute(s)"

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.5:                               ## @.str.5
	.asciz	"Could not add RADIUS attribute"

L_.str.6:                               ## @.str.6
	.asciz	"Failed to add Message-Authenticator attribute"

	.no_dead_strip	_radius_server_macacl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radius_server_macacl
_radius_server_macacl:                  ; @radius_server_macacl
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #560
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	mov	x0, x3
	bl	_radius_msg_get_hdr
	mov	x20, x0
Lloh3:
	adrp	x26, _RADIUS_CODE_ACCESS_ACCEPT@GOTPAGE
Lloh4:
	ldr	x26, [x26, _RADIUS_CODE_ACCESS_ACCEPT@GOTPAGEOFF]
	ldr	w23, [x26]
Lloh5:
	adrp	x8, _RADIUS_ATTR_USER_PASSWORD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RADIUS_ATTR_USER_PASSWORD@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #32
	add	x3, sp, #24
	mov	x0, x22
	mov	x4, #0
	bl	_radius_msg_get_attr_ptr
	tbnz	x0, #63, LBB0_3
; %bb.1:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #24
	bl	_os_memset
	ldr	x27, [x24]
	ldr	w24, [x24, #8]
	ldr	x25, [x21, #8]
	mov	x0, x25
	bl	_os_strlen
	mov	x2, x0
	mov	x4, sp
	mov	x0, x24
	mov	x1, x25
	mov	w3, #0
	blr	x27
	ldr	w8, [sp, #16]
	ldr	x1, [sp, #8]
	cmp	w0, #0
	ccmp	w8, #0, #4, eq
	ccmp	x1, #0, #4, ne
	b.ne	LBB0_4
; %bb.2:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_RADIUS_DEBUG
	ldr	x0, [sp, #8]
	ldr	w1, [sp]
	bl	_bin_clear_free
	b	LBB0_9
LBB0_3:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_8
LBB0_4:
	ldr	w2, [sp]
	ldr	x3, [x19, #8]
	ldr	w4, [x19]
	add	x5, sp, #40
	mov	x0, x22
	mov	w6, #512
	bl	_radius_user_password_hide
	mov	x24, x0
	ldr	x0, [sp, #8]
	ldr	w1, [sp]
	bl	_bin_clear_free
	tbnz	w24, #31, LBB0_7
; %bb.5:
	ldr	x8, [sp, #24]
	mov	w9, w24
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldr	x0, [sp, #32]
	add	x1, sp, #40
	mov	x2, x24
	bl	_os_memcmp_const
	cbz	x0, LBB0_10
LBB0_7:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_8:
	bl	_RADIUS_DEBUG
LBB0_9:
Lloh14:
	adrp	x8, _RADIUS_CODE_ACCESS_REJECT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RADIUS_CODE_ACCESS_REJECT@GOTPAGEOFF]
Lloh16:
	ldr	w23, [x8]
LBB0_10:
	ldr	w1, [x20, #4]
	mov	x0, x23
	bl	_radius_msg_new
	mov	x24, x0
	cbz	x0, LBB0_18
; %bb.11:
Lloh17:
	adrp	x8, _RADIUS_ATTR_PROXY_STATE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RADIUS_ATTR_PROXY_STATE@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x24
	mov	x1, x22
	bl	_radius_msg_copy_attr
	tbnz	x0, #63, LBB0_20
; %bb.12:
	ldr	w8, [x26]
	cmp	w23, w8
	b.ne	LBB0_16
; %bb.13:
	ldr	x23, [x21]
	cbz	x23, LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldp	w0, w21, [x23]
	bl	_wpabuf_head
	mov	x22, x0
	ldr	w0, [x23]
	bl	_wpabuf_len
	mov	x3, x0
	mov	x0, x24
	mov	x1, x21
	mov	x2, x22
	bl	_radius_msg_add_attr
	cbz	w0, LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x23, [x23, #8]
	cbnz	x23, LBB0_14
LBB0_16:
	ldr	x1, [x19, #8]
	ldr	w2, [x19]
	ldr	w3, [x20]
	mov	x0, x24
	bl	_radius_msg_finish_srv
	tbz	x0, #63, LBB0_23
; %bb.17:
Lloh20:
	adrp	x0, l_.str.6@PAGE
Lloh21:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_19
LBB0_18:
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_19:
	bl	_RADIUS_DEBUG
	b	LBB0_23
LBB0_20:
Lloh24:
	adrp	x0, l_.str.4@PAGE
Lloh25:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_RADIUS_DEBUG
	b	LBB0_22
LBB0_21:
Lloh26:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x1, l_.str.5@PAGE
Lloh30:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_printf
LBB0_22:
	mov	x0, x24
	bl	_radius_msg_free
	mov	x24, #0
LBB0_23:
	ldur	x8, [x29, #-88]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_25
; %bb.24:
	mov	x0, x24
	add	sp, sp, #560
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_25:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIUS_CODE_ACCESS_ACCEPT,4,2  ; @RADIUS_CODE_ACCESS_ACCEPT
	.comm	_RADIUS_ATTR_USER_PASSWORD,4,2  ; @RADIUS_ATTR_USER_PASSWORD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not get User-Password"

	.comm	_RADIUS_CODE_ACCESS_REJECT,4,2  ; @RADIUS_CODE_ACCESS_REJECT
l_.str.1:                               ; @.str.1
	.asciz	"No MAC ACL user entry"

l_.str.2:                               ; @.str.2
	.asciz	"Incorrect User-Password"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to allocate reply message"

	.comm	_RADIUS_ATTR_PROXY_STATE,4,2    ; @RADIUS_ATTR_PROXY_STATE
l_.str.4:                               ; @.str.4
	.asciz	"Failed to copy Proxy-State attribute(s)"

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.5:                               ; @.str.5
	.asciz	"Could not add RADIUS attribute"

l_.str.6:                               ; @.str.6
	.asciz	"Failed to add Message-Authenticator attribute"

	.no_dead_strip	_radius_server_macacl
.subsections_via_symbols
