	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_valid_request
_is_valid_request:                      ## @is_valid_request
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	%rsp, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MD5_DIGEST_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rsi
	movq	8(%r13), %rax
	movq	_POS_ATTRS@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jb	LBB0_5
## %bb.1:
	movq	16(%r13), %rcx
	movq	_POS_LENGTH@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %ebx
	shll	$8, %ebx
	orl	4(%rcx,%rdx,4), %ebx
	movslq	%ebx, %rdx
	cmpq	%rdx, %rax
	jb	LBB0_5
## %bb.2:
	movq	_POS_CODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rcx,%rax,4), %eax
	movq	_RAD_ACCESS_REQUEST@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_4
## %bb.3:
	movq	24(%r13), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-68(%rbp), %rdi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	callq	_MD5Init
	movq	_POS_CODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(,%rax,4), %rsi
	addq	16(%r13), %rsi
	movq	_POS_AUTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	subl	%eax, %edx
	leaq	-68(%rbp), %rdi
	callq	_MD5Update
	movq	_LEN_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rsi
	leaq	-68(%rbp), %rdi
	callq	_MD5Update
	movq	_POS_ATTRS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(,%rax,4), %rsi
	addq	16(%r13), %rsi
	subl	%eax, %ebx
	leaq	-68(%rbp), %rdi
	movl	%ebx, %edx
	callq	_MD5Update
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	-68(%rbp), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_MD5Update
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	leaq	-68(%rbp), %rsi
	callq	_MD5Final
	movq	_POS_AUTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	16(%r13), %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_5
LBB0_4:
	movl	$1, %r14d
LBB0_5:
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	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	_RAD_ACCESS_REQUEST,4,2         ## @RAD_ACCESS_REQUEST
	.comm	_POS_AUTH,8,3                   ## @POS_AUTH
	.comm	_LEN_AUTH,4,2                   ## @LEN_AUTH
	.comm	_EVP_MAX_MD_SIZE,4,2            ## @EVP_MAX_MD_SIZE
	.comm	_MSGSIZE,4,2                    ## @MSGSIZE
	.comm	_RAD_MESSAGE_AUTHENTIC,8,3      ## @RAD_MESSAGE_AUTHENTIC
	.no_dead_strip	_is_valid_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_valid_request
_is_valid_request:                      ; @is_valid_request
	.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, #32
	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	x8, [x0, #8]
Lloh8:
	adrp	x22, _POS_ATTRS@GOTPAGE
Lloh9:
	ldr	x22, [x22, _POS_ATTRS@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.lo	LBB0_4
; %bb.1:
	ldr	x9, [x20, #16]
Lloh10:
	adrp	x10, _POS_LENGTH@GOTPAGE
Lloh11:
	ldr	x10, [x10, _POS_LENGTH@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	add	x10, x9, x10, lsl #2
	ldp	w11, w10, [x10]
	orr	w24, w10, w11, lsl #8
	cmp	x8, w24, sxtw
	b.lo	LBB0_4
; %bb.2:
Lloh13:
	adrp	x25, _POS_CODE@GOTPAGE
Lloh14:
	ldr	x25, [x25, _POS_CODE@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	w8, [x9, x8, lsl #2]
Lloh15:
	adrp	x9, _RAD_ACCESS_REQUEST@GOTPAGE
Lloh16:
	ldr	x9, [x9, _RAD_ACCESS_REQUEST@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_7
; %bb.3:
	ldr	x26, [x20, #24]
	ldr	x27, [x20]
	stp	xzr, xzr, [x29, #-104]
	sub	x0, x29, #108
	bl	_MD5Init
	ldr	x8, [x20, #16]
	ldr	x9, [x25]
	add	x1, x8, x9, lsl #2
Lloh18:
	adrp	x25, _POS_AUTH@GOTPAGE
Lloh19:
	ldr	x25, [x25, _POS_AUTH@GOTPAGEOFF]
	ldr	w8, [x25]
	sub	w2, w8, w9
	sub	x0, x29, #108
	bl	_MD5Update
Lloh20:
	adrp	x8, _LEN_AUTH@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LEN_AUTH@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	sub	x0, x29, #108
	sub	x1, x29, #104
	bl	_MD5Update
	ldr	x8, [x20, #16]
	ldr	x9, [x22]
	add	x1, x8, x9, lsl #2
	sub	w2, w24, w9
	sub	x0, x29, #108
	bl	_MD5Update
	ldr	x22, [x26, x27, lsl #3]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	sub	x0, x29, #108
	mov	x1, x22
	bl	_MD5Update
	sub	x1, x29, #108
	mov	x0, x21
	bl	_MD5Final
	ldr	x8, [x20, #16]
	ldr	x9, [x25]
	add	x0, x8, x9, lsl #2
	mov	x1, x21
	mov	x2, x19
	bl	_memcmp
	cbz	x0, LBB0_7
LBB0_4:
	mov	w0, #0
LBB0_5:
	mov	sp, x23
	ldur	x8, [x29, #-88]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.6:
	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_7:
	mov	w0, #1
	b	LBB0_5
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.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	_RAD_ACCESS_REQUEST,4,2         ; @RAD_ACCESS_REQUEST
	.comm	_POS_AUTH,8,3                   ; @POS_AUTH
	.comm	_LEN_AUTH,4,2                   ; @LEN_AUTH
	.comm	_EVP_MAX_MD_SIZE,4,2            ; @EVP_MAX_MD_SIZE
	.comm	_MSGSIZE,4,2                    ; @MSGSIZE
	.comm	_RAD_MESSAGE_AUTHENTIC,8,3      ; @RAD_MESSAGE_AUTHENTIC
	.no_dead_strip	_is_valid_request
.subsections_via_symbols
