	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function redspark_probe
_redspark_probe:                        ## @redspark_probe
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	(%rdi), %rdi
	callq	_AV_RB32
	movl	%eax, %ebx
	xorl	$1382376531, %ebx               ## imm = 0x52656453
	leaq	-40(%rbp), %r14
	movq	%r14, %rdi
	movl	$1382376531, %esi               ## imm = 0x52656453
	callq	_AV_WB32
	movl	%ebx, %edi
	movl	$11, %esi
	callq	_rol
	movl	%eax, %ebx
	movl	%eax, %edi
	movl	$3, %esi
	callq	_rol
	addl	%eax, %ebx
	movq	(%r15), %rdi
	addq	$4, %rdi
	callq	_AV_RB32
	xorl	%eax, %ebx
	leaq	-36(%rbp), %rdi
	movl	%ebx, %esi
	callq	_AV_WB32
	movq	%r14, %rdi
	callq	_AV_RB64
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_AV_RB64
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %rbx
	jne	LBB0_2
## %bb.1:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_4
## %bb.3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RedSpark"

	.comm	_AVPROBE_SCORE_MAX,4,2          ## @AVPROBE_SCORE_MAX
	.no_dead_strip	_redspark_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function redspark_probe
_redspark_probe:                        ; @redspark_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	x0, [x0]
	bl	_AV_RB32
	mov	w8, #25683
	movk	w8, #21093, lsl #16
	eor	w20, w0, w8
	mov	x21, sp
	mov	x0, sp
	mov	w1, #25683
	movk	w1, #21093, lsl #16
	bl	_AV_WB32
	mov	x0, x20
	mov	w1, #11
	bl	_rol
	mov	x20, x0
	mov	w1, #3
	bl	_rol
	add	w20, w0, w20
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_AV_RB32
	eor	w1, w0, w20
	add	x0, x21, #4
	bl	_AV_WB32
	mov	x0, sp
	bl	_AV_RB64
	mov	x19, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_AV_RB64
Lloh5:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	x19, x0
	csel	w0, w8, wzr, eq
	ldr	x8, [sp, #8]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RedSpark"

	.comm	_AVPROBE_SCORE_MAX,4,2          ; @AVPROBE_SCORE_MAX
	.no_dead_strip	_redspark_probe
.subsections_via_symbols
