	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radius_msg_verify              ## -- Begin function radius_msg_verify
	.p2align	4, 0x90
_radius_msg_verify:                     ## @radius_msg_verify
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	%rsp, -128(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MD5_MAC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -120(%rbp)                ## 8-byte Spill
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_radius_msg_verify_msg_auth
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_9
LBB0_4:
	movq	(%r13), %rax
	movq	%rax, -80(%rbp)
	movq	$4, -112(%rbp)
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	movq	_MD5_MAC_LEN@GOTPCREL(%rip), %r14
	movslq	(%r14), %rax
	movq	%rax, -104(%rbp)
	movl	8(%r13), %edi
	callq	_wpabuf_head_u8
	addq	$16, %rax
	movq	%rax, -64(%rbp)
	movl	8(%r13), %edi
	callq	_wpabuf_len
	cltq
	addq	$-4, %rax
	movq	%rax, -96(%rbp)
	movq	%r12, -56(%rbp)
	movq	%r15, -88(%rbp)
	leaq	-80(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	movl	$4, %edi
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_md5_vector
	testq	%rax, %rax
	js	LBB0_7
## %bb.5:
	movq	(%r13), %rax
	movq	(%rax), %rsi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_os_memcmp_const
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_8
LBB0_1:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
LBB0_8:
	callq	_wpa_printf
	movl	$1, %eax
LBB0_9:
	movq	-128(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_11
## %bb.10:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MD5_MAC_LEN,4,2                ## @MD5_MAC_LEN
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No matching Access-Request message found"

L_.str.1:                               ## @.str.1
	.asciz	"Response Authenticator invalid!"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radius_msg_verify              ; -- Begin function radius_msg_verify
	.p2align	2
_radius_msg_verify:                     ; @radius_msg_verify
	.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
	sub	sp, sp, #80
	mov	x23, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x25, _MD5_MAC_LEN@GOTPAGE
Lloh4:
	ldr	x25, [x25, _MD5_MAC_LEN@GOTPAGEOFF]
	ldr	w8, [x25]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	cbz	x3, LBB0_6
; %bb.1:
	cbz	w4, LBB0_3
; %bb.2:
	ldr	x8, [x23]
	ldr	x3, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_radius_msg_verify_msg_auth
	cbnz	x0, LBB0_8
LBB0_3:
	ldr	x8, [x19]
	stur	x8, [x29, #-104]
	mov	w8, #4
	stur	x8, [x29, #-136]
	ldr	x8, [x23]
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldrsw	x8, [x25]
	stur	x8, [x29, #-128]
	ldr	w0, [x19, #8]
	bl	_wpabuf_head_u8
	add	x8, x0, #16
	stur	x8, [x29, #-88]
	ldr	w0, [x19, #8]
	bl	_wpabuf_len
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	stur	x22, [x29, #-80]
	sub	x8, x8, #4
	stp	x8, x21, [x29, #-120]
	sub	x1, x29, #104
	sub	x2, x29, #136
	mov	w0, #4
	mov	x3, x20
	bl	_md5_vector
	tbnz	x0, #63, LBB0_5
; %bb.4:
	ldr	x8, [x19]
	ldr	x1, [x8]
	ldr	w2, [x25]
	mov	x0, x20
	bl	_os_memcmp_const
	cbz	x0, LBB0_9
LBB0_5:
Lloh7:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:
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
LBB0_7:
	bl	_wpa_printf
LBB0_8:
	mov	w0, #1
LBB0_9:
	mov	sp, x24
	ldur	x8, [x29, #-72]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #64
	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
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MD5_MAC_LEN,4,2                ; @MD5_MAC_LEN
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No matching Access-Request message found"

l_.str.1:                               ; @.str.1
	.asciz	"Response Authenticator invalid!"

.subsections_via_symbols
