	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_valid_response
_is_valid_response:                     ## @is_valid_response
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MD5_DIGEST_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r8
	movq	24(%r12), %r15
	movslq	%r13d, %r13
	movq	(%rbx), %rcx
	shlq	$5, %r13
	xorl	%eax, %eax
	cmpq	8(%r15,%r13), %rcx
	jne	LBB0_6
## %bb.1:
	movq	16(%rbx), %rcx
	cmpq	24(%r15,%r13), %rcx
	jne	LBB0_6
## %bb.2:
	movq	8(%rbx), %rcx
	cmpq	16(%r15,%r13), %rcx
	jne	LBB0_6
## %bb.3:
	movq	(%r12), %rcx
	movq	_POS_ATTRS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jb	LBB0_6
## %bb.4:
	movq	8(%r12), %rdx
	movq	_POS_LENGTH@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rdx,%rsi,4), %ebx
	shll	$8, %ebx
	orl	4(%rdx,%rsi,4), %ebx
	movslq	%ebx, %rdx
	cmpq	%rdx, %rcx
	jb	LBB0_6
## %bb.5:
	leaq	-52(%rbp), %rdi
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	callq	_MD5Init
	movq	_POS_CODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(,%rax,4), %rsi
	addq	8(%r12), %rsi
	movq	_POS_AUTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	subl	%eax, %edx
	leaq	-52(%rbp), %rdi
	callq	_MD5Update
	movq	_POS_AUTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	16(%r12), %rsi
	movq	_LEN_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-52(%rbp), %rdi
	callq	_MD5Update
	movq	_POS_ATTRS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(,%rax,4), %rsi
	addq	8(%r12), %rsi
	subl	%eax, %ebx
	leaq	-52(%rbp), %rdi
	movl	%ebx, %edx
	callq	_MD5Update
	movq	(%r15,%r13), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	-52(%rbp), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_MD5Update
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_MD5Final
	movq	_POS_AUTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	8(%r12), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_memcmp
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%al
LBB0_6:
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MD5_DIGEST_LENGTH,4,2          ## @MD5_DIGEST_LENGTH
	.comm	_POS_ATTRS,8,3                  ## @POS_ATTRS
	.comm	_POS_LENGTH,8,3                 ## @POS_LENGTH
	.comm	_POS_CODE,8,3                   ## @POS_CODE
	.comm	_POS_AUTH,8,3                   ## @POS_AUTH
	.comm	_LEN_AUTH,8,3                   ## @LEN_AUTH
	.comm	_EVP_MAX_MD_SIZE,4,2            ## @EVP_MAX_MD_SIZE
	.comm	_MSGSIZE,4,2                    ## @MSGSIZE
	.comm	_RAD_ACCOUNTING_RESPONSE,4,2    ## @RAD_ACCOUNTING_RESPONSE
	.comm	_RAD_MESSAGE_AUTHENTIC,8,3      ## @RAD_MESSAGE_AUTHENTIC
	.no_dead_strip	_is_valid_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_valid_response
_is_valid_response:                     ; @is_valid_response
	.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, #16
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x20, x0
	mov	x23, sp
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	x8, _MD5_DIGEST_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MD5_DIGEST_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	mov	x9, x19
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	ldr	x22, [x0, #24]
	sxtw	x24, w1
	ldr	x9, [x2]
	add	x8, x22, x24, lsl #5
	ldr	x10, [x8, #8]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.1:
	ldr	x9, [x2, #16]
	ldr	x8, [x8, #24]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x2, #8]
	add	x9, x22, x24, lsl #5
	ldr	x9, [x9, #16]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x20]
Lloh8:
	adrp	x25, _POS_ATTRS@GOTPAGE
Lloh9:
	ldr	x25, [x25, _POS_ATTRS@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.lo	LBB0_5
; %bb.4:
	ldr	x9, [x20, #8]
Lloh10:
	adrp	x10, _POS_LENGTH@GOTPAGE
Lloh11:
	ldr	x10, [x10, _POS_LENGTH@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	add	x9, x9, x10, lsl #2
	ldp	w10, w9, [x9]
	orr	w26, w9, w10, lsl #8
	cmp	x8, w26, sxtw
	b.hs	LBB0_8
LBB0_5:
	mov	w0, #0
LBB0_6:
	mov	sp, x23
	ldur	x8, [x29, #-88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.7:
	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_8:
	sub	x0, x29, #92
	bl	_MD5Init
	ldr	x8, [x20, #8]
Lloh16:
	adrp	x9, _POS_CODE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _POS_CODE@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
Lloh19:
	adrp	x27, _POS_AUTH@GOTPAGE
Lloh20:
	ldr	x27, [x27, _POS_AUTH@GOTPAGEOFF]
	ldr	w8, [x27]
	sub	w2, w8, w9
	sub	x0, x29, #92
	bl	_MD5Update
	ldr	x8, [x20, #16]
	ldr	x9, [x27]
	add	x1, x8, x9, lsl #2
Lloh21:
	adrp	x8, _LEN_AUTH@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LEN_AUTH@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	sub	x0, x29, #92
	bl	_MD5Update
	ldr	x8, [x20, #8]
	ldr	x9, [x25]
	add	x1, x8, x9, lsl #2
	sub	w2, w26, w9
	sub	x0, x29, #92
	bl	_MD5Update
	lsl	x8, x24, #5
	ldr	x22, [x22, x8]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	sub	x0, x29, #92
	mov	x1, x22
	bl	_MD5Update
	sub	x1, x29, #92
	mov	x0, x21
	bl	_MD5Final
	ldr	x8, [x20, #8]
	ldr	x9, [x27]
	add	x0, x8, x9, lsl #2
	mov	x1, x21
	mov	x2, x19
	bl	_memcmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_6
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MD5_DIGEST_LENGTH,4,2          ; @MD5_DIGEST_LENGTH
	.comm	_POS_ATTRS,8,3                  ; @POS_ATTRS
	.comm	_POS_LENGTH,8,3                 ; @POS_LENGTH
	.comm	_POS_CODE,8,3                   ; @POS_CODE
	.comm	_POS_AUTH,8,3                   ; @POS_AUTH
	.comm	_LEN_AUTH,8,3                   ; @LEN_AUTH
	.comm	_EVP_MAX_MD_SIZE,4,2            ; @EVP_MAX_MD_SIZE
	.comm	_MSGSIZE,4,2                    ; @MSGSIZE
	.comm	_RAD_ACCOUNTING_RESPONSE,4,2    ; @RAD_ACCOUNTING_RESPONSE
	.comm	_RAD_MESSAGE_AUTHENTIC,8,3      ; @RAD_MESSAGE_AUTHENTIC
	.no_dead_strip	_is_valid_response
.subsections_via_symbols
