	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radius_msg_verify_msg_auth     ## -- Begin function radius_msg_verify_msg_auth
	.p2align	4, 0x90
_radius_msg_verify_msg_auth:            ## @radius_msg_verify_msg_auth
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -184(%rbp)                ## 8-byte Spill
	movq	%rdx, -208(%rbp)                ## 8-byte Spill
	movq	%rsi, -200(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MD5_MAC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	shlq	$3, %r14
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -192(%rbp)                ## 8-byte Spill
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	cmpq	$0, (%rbx)
	je	LBB0_8
## %bb.1:
	xorl	%r14d, %r14d
	movq	_RADIUS_ATTR_MESSAGE_AUTHENTICATOR@GOTPCREL(%rip), %r15
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	cmpq	(%rbx), %r14
	jae	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_radius_get_attr_hdr
	movq	(%rax), %rcx
	cmpq	(%r15), %rcx
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r13, %r13
	movq	%rax, %r13
	je	LBB0_6
## %bb.4:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_7:
	testq	%r13, %r13
	movq	_MD5_MAC_LEN@GOTPCREL(%rip), %r15
	je	LBB0_8
## %bb.9:
	addq	$8, %r13
	movl	(%r15), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_os_memcpy
	movl	(%r15), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_os_memset
	movq	-184(%rbp), %r14                ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_11
## %bb.10:
	movq	8(%rbx), %rax
	movq	(%rax), %rsi
	leaq	-176(%rbp), %rdi
	movl	$128, %edx
	callq	_os_memcpy
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_os_memcpy
LBB0_11:
	movl	16(%rbx), %edi
	callq	_wpabuf_head
	movl	%eax, %r14d
	movl	16(%rbx), %edi
	callq	_wpabuf_len
	movq	-200(%rbp), %rdi                ## 8-byte Reload
	movq	-208(%rbp), %rsi                ## 8-byte Reload
	movl	%r14d, %edx
	movl	%eax, %ecx
	movq	-192(%rbp), %r8                 ## 8-byte Reload
	callq	_hmac_md5
	movl	$1, %r14d
	testq	%rax, %rax
	js	LBB0_17
## %bb.12:
	movl	(%r15), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_os_memcpy
	cmpq	$0, -184(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_14
## %bb.13:
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	leaq	-176(%rbp), %rsi
	movl	$128, %edx
	callq	_os_memcpy
LBB0_14:
	movl	(%r15), %edx
	movq	%r12, %rdi
	movq	-192(%rbp), %rsi                ## 8-byte Reload
	callq	_os_memcmp_const
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
	jmp	LBB0_17
LBB0_8:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	callq	_wpa_printf
	movl	$1, %r14d
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	xorl	%r14d, %r14d
	jmp	LBB0_17
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MD5_MAC_LEN,4,2                ## @MD5_MAC_LEN
	.comm	_RADIUS_ATTR_MESSAGE_AUTHENTICATOR,8,3 ## @RADIUS_ATTR_MESSAGE_AUTHENTICATOR
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Multiple Message-Authenticator attributes in RADIUS message"

L_.str.1:                               ## @.str.1
	.asciz	"No Message-Authenticator attribute found"

L_.str.2:                               ## @.str.2
	.asciz	"Invalid Message-Authenticator!"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radius_msg_verify_msg_auth     ; -- Begin function radius_msg_verify_msg_auth
	.p2align	2
_radius_msg_verify_msg_auth:            ; @radius_msg_verify_msg_auth
	.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, #144
	mov	x21, x3
	mov	x23, x2
	mov	x24, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x27, _MD5_MAC_LEN@GOTPAGE
Lloh4:
	ldr	x27, [x27, _MD5_MAC_LEN@GOTPAGEOFF]
	ldr	w8, [x27]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0xffffffff0
	sub	x19, x9, x12
	mov	sp, x19
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x22, x8, x12
	mov	sp, x22
	ldr	x8, [x0]
	cbz	x8, LBB0_15
; %bb.1:
	mov	x25, #0
	mov	x28, #0
Lloh9:
	adrp	x26, _RADIUS_ATTR_MESSAGE_AUTHENTICATOR@GOTPAGE
Lloh10:
	ldr	x26, [x26, _RADIUS_ATTR_MESSAGE_AUTHENTICATOR@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x28
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	ldr	x8, [x20]
	mov	x28, x0
	cmp	x25, x8
	b.hs	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x25
	bl	_radius_get_attr_hdr
	ldr	x8, [x0]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x28, LBB0_3
; %bb.6:
Lloh11:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_16
LBB0_7:
	cbz	x0, LBB0_15
; %bb.8:
	add	x25, x0, #8
	ldr	w2, [x27]
	mov	x0, x22
	mov	x1, x25
	bl	_os_memcpy
	ldr	w2, [x27]
	mov	x0, x25
	mov	w1, #0
	bl	_os_memset
	cbz	x21, LBB0_10
; %bb.9:
	ldr	x8, [x20, #8]
	ldr	x1, [x8]
	sub	x0, x29, #216
	mov	w2, #128
	bl	_os_memcpy
	ldr	x8, [x20, #8]
	ldr	x0, [x8]
	mov	x1, x21
	mov	w2, #8
	bl	_os_memcpy
LBB0_10:
	ldr	w0, [x20, #16]
	bl	_wpabuf_head
	mov	x26, x0
	ldr	w0, [x20, #16]
	bl	_wpabuf_len
	mov	x3, x0
	mov	x0, x24
	mov	x1, x23
	mov	x2, x26
	mov	x4, x19
	bl	_hmac_md5
	tbnz	x0, #63, LBB0_17
; %bb.11:
	ldr	w2, [x27]
	mov	x0, x25
	mov	x1, x22
	bl	_os_memcpy
	cbz	x21, LBB0_13
; %bb.12:
	ldr	x8, [x20, #8]
	ldr	x0, [x8]
	sub	x1, x29, #216
	mov	w2, #128
	bl	_os_memcpy
LBB0_13:
	ldr	w2, [x27]
	mov	x0, x22
	mov	x1, x19
	bl	_os_memcmp_const
	cbz	x0, LBB0_18
; %bb.14:
Lloh16:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_15:
Lloh21:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_16:
	bl	_wpa_printf
LBB0_17:
	mov	w0, #1
LBB0_18:
	ldur	x8, [x29, #-88]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	sub	sp, x29, #80
	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_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_MD5_MAC_LEN,4,2                ; @MD5_MAC_LEN
	.comm	_RADIUS_ATTR_MESSAGE_AUTHENTICATOR,8,3 ; @RADIUS_ATTR_MESSAGE_AUTHENTICATOR
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Multiple Message-Authenticator attributes in RADIUS message"

l_.str.1:                               ; @.str.1
	.asciz	"No Message-Authenticator attribute found"

l_.str.2:                               ; @.str.2
	.asciz	"Invalid Message-Authenticator!"

.subsections_via_symbols
