	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chapol_decrypt
_chapol_decrypt:                        ## @chapol_decrypt
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %rbx
	movq	(%r8), %r12
	leaq	-16(%r12), %r15
	movl	$0, (%rsp)
	leaq	-48(%rbp), %r9
	movq	%r15, %r8
	callq	_gen_chapol_process
	movdqu	-16(%rbx,%r12), %xmm0
	pxor	-48(%rbp), %xmm0
	ptest	%xmm0, %xmm0
	je	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_2:
	movq	%r15, (%r14)
LBB0_3:
	movq	%rbx, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_chapol_decrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chapol_decrypt
_chapol_decrypt:                        ; @chapol_decrypt
	.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	x20, x4
	mov	x19, x3
	ldr	x8, [x4]
	sub	x21, x8, #16
	mov	x5, sp
	mov	x4, x21
	mov	w6, #0
	bl	_gen_chapol_process
	ldr	q0, [sp]
	ldr	q1, [x19, x21]
	eor.16b	v0, v1, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	umov.b	w8, v0[1]
	umov.b	w9, v0[0]
	umov.b	w10, v0[2]
	orr	w8, w9, w8
	orr	w8, w8, w10
	umov.b	w9, v0[3]
	umov.b	w10, v0[4]
	orr	w8, w8, w9
	orr	w8, w8, w10
	umov.b	w9, v0[5]
	umov.b	w10, v0[6]
	orr	w8, w8, w9
	orr	w8, w8, w10
	umov.b	w9, v0[7]
	orr	w8, w8, w9
	tst	w8, #0xff
	b.eq	LBB0_2
; %bb.1:
	mov	x19, #0
	b	LBB0_3
LBB0_2:
	str	x21, [x20]
LBB0_3:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_chapol_decrypt
.subsections_via_symbols
