	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radius_msg_finish_acct         ## -- Begin function radius_msg_finish_acct
	.p2align	4, 0x90
_radius_msg_finish_acct:                ## @radius_msg_finish_acct
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	(%rdi), %edi
	callq	_wpabuf_len
	movl	%eax, %edi
	callq	_host_to_be16
	movq	8(%rbx), %rcx
	movl	%eax, 4(%rcx)
	movl	(%rcx), %edi
	movq	_MD5_MAC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_os_memset
	movl	(%rbx), %edi
	callq	_wpabuf_head
	movq	%rax, -48(%rbp)
	movl	(%rbx), %edi
	callq	_wpabuf_len
	cltq
	movq	%rax, -64(%rbp)
	movq	%r15, -40(%rbp)
	movq	%r14, -56(%rbp)
	movq	8(%rbx), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	movl	$2, %edi
	callq	_md5_vector
	movl	(%rbx), %edi
	callq	_wpabuf_len
	cmpl	$65536, %eax                    ## imm = 0x10000
	jl	LBB0_2
## %bb.1:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%rbx), %edi
	callq	_wpabuf_len
	movslq	%eax, %rdx
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	callq	_wpa_printf
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MD5_MAC_LEN,4,2                ## @MD5_MAC_LEN
	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RADIUS: Too long messages (%lu)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radius_msg_finish_acct         ; -- Begin function radius_msg_finish_acct
	.p2align	2
_radius_msg_finish_acct:                ; @radius_msg_finish_acct
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x2
	mov	x21, 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]
	ldr	w0, [x0]
	bl	_wpabuf_len
	bl	_host_to_be16
	ldr	x8, [x19, #8]
	str	w0, [x8, #4]
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _MD5_MAC_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MD5_MAC_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_os_memset
	ldr	w0, [x19]
	bl	_wpabuf_head
	str	x0, [sp, #24]
	ldr	w0, [x19]
	bl	_wpabuf_len
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x21, [sp, #32]
	stp	x8, x20, [sp, #8]
	ldr	x8, [x19, #8]
	ldr	w3, [x8]
	add	x1, sp, #24
	add	x2, sp, #8
	mov	w0, #2
	bl	_md5_vector
	ldr	w0, [x19]
	bl	_wpabuf_len
	cmp	w0, #16, lsl #12                ; =65536
	b.lt	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	ldr	w0, [x19]
	bl	_wpabuf_len
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_wpa_printf
LBB0_2:
	ldr	x8, [sp, #40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	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
	add	sp, sp, #96
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MD5_MAC_LEN,4,2                ; @MD5_MAC_LEN
	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RADIUS: Too long messages (%lu)"

.subsections_via_symbols
