	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function rar5_init
LCPI0_0:
	.long	161                             ## 0xa1
	.long	161                             ## 0xa1
	.long	161                             ## 0xa1
	.long	161                             ## 0xa1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_rar5_init:                             ## @rar5_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_rar5_signature@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$243, (%rax)
	jne	LBB0_13
## %bb.1:
	movq	_rar5_signature_size@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.2:
	movl	$82, (%rax)
	cmpq	$1, %rcx
	je	LBB0_13
## %bb.3:
	leaq	-1(%rcx), %r8
	movl	$1, %edx
	cmpq	$8, %r8
	jb	LBB0_12
## %bb.4:
	movq	%r8, %rdx
	andq	$-8, %rdx
	leaq	-8(%rdx), %rsi
	movq	%rsi, %r9
	shrq	$3, %r9
	incq	%r9
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.6:
	movq	%r9, %rsi
	andq	$-2, %rsi
	movl	$1, %edi
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [161,161,161,161]
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rax,%rdi,4), %xmm1
	movups	16(%rax,%rdi,4), %xmm2
	movups	32(%rax,%rdi,4), %xmm3
	movups	48(%rax,%rdi,4), %xmm4
	xorps	%xmm0, %xmm1
	xorps	%xmm0, %xmm2
	movups	%xmm1, (%rax,%rdi,4)
	movups	%xmm2, 16(%rax,%rdi,4)
	xorps	%xmm0, %xmm3
	xorps	%xmm0, %xmm4
	movups	%xmm3, 32(%rax,%rdi,4)
	movups	%xmm4, 48(%rax,%rdi,4)
	addq	$16, %rdi
	addq	$-2, %rsi
	jne	LBB0_7
## %bb.8:
	testb	$1, %r9b
	je	LBB0_10
LBB0_9:
	movups	(%rax,%rdi,4), %xmm0
	movups	16(%rax,%rdi,4), %xmm1
	movaps	LCPI0_0(%rip), %xmm2            ## xmm2 = [161,161,161,161]
	xorps	%xmm2, %xmm0
	xorps	%xmm2, %xmm1
	movups	%xmm0, (%rax,%rdi,4)
	movups	%xmm1, 16(%rax,%rdi,4)
LBB0_10:
	cmpq	%rdx, %r8
	je	LBB0_13
## %bb.11:
	orq	$1, %rdx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	xorb	$-95, (%rax,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_12
LBB0_13:
	movq	_CDE_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r14, %rdi
	movl	$8192, %esi                     ## imm = 0x2000
	callq	_cdeque_init
	cmpq	%rax, %rbx
	jne	LBB0_14
## %bb.15:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_14:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movl	$1, %edi
	testb	$1, %r9b
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_rar5_signature,8,3             ## @rar5_signature
	.comm	_rar5_signature_size,8,3        ## @rar5_signature_size
	.comm	_CDE_OK,8,3                     ## @CDE_OK
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_rar5_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rar5_init
_rar5_init:                             ; @rar5_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh0:
	adrp	x8, _rar5_signature@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rar5_signature@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x8]
	cmp	w9, #243
	b.ne	LBB0_10
; %bb.1:
Lloh3:
	adrp	x9, _rar5_signature_size@GOTPAGE
Lloh4:
	ldr	x9, [x9, _rar5_signature_size@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cbz	x9, LBB0_10
; %bb.2:
	mov	w10, #82
	str	w10, [x8]
	subs	x11, x9, #1
	b.eq	LBB0_10
; %bb.3:
	cmp	x11, #16
	b.hs	LBB0_5
; %bb.4:
	mov	w10, #1
	b	LBB0_8
LBB0_5:
	and	x12, x11, #0xfffffffffffffff0
	orr	x10, x12, #0x1
	add	x13, x8, #36
	movi.4s	v0, #161
	mov	x14, x12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x13, #-32]
	ldp	q3, q4, [x13]
	eor.16b	v1, v1, v0
	eor.16b	v2, v2, v0
	eor.16b	v3, v3, v0
	eor.16b	v4, v4, v0
	stp	q1, q2, [x13, #-32]
	stp	q3, q4, [x13], #64
	subs	x14, x14, #16
	b.ne	LBB0_6
; %bb.7:
	cmp	x11, x12
	b.eq	LBB0_10
LBB0_8:
	add	x8, x8, x10, lsl #2
	sub	x9, x9, x10
	mov	w10, #161
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	eor	w11, w11, w10
	str	w11, [x8], #4
	subs	x9, x9, #1
	b.ne	LBB0_9
LBB0_10:
Lloh6:
	adrp	x8, _CDE_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CDE_OK@GOTPAGEOFF]
Lloh8:
	ldr	x20, [x8]
	mov	x0, x19
	mov	w1, #8192
	bl	_cdeque_init
Lloh9:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh11:
	adrp	x9, _ARCHIVE_FATAL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ARCHIVE_FATAL@GOTPAGEOFF]
	cmp	x20, x0
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_rar5_signature,8,3             ; @rar5_signature
	.comm	_rar5_signature_size,8,3        ; @rar5_signature_size
	.comm	_CDE_OK,8,3                     ; @CDE_OK
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_rar5_init
.subsections_via_symbols
