	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function archive_read_format_rar_read_data
_archive_read_format_rar_read_data:     ## @archive_read_format_rar_read_data
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rax
	movq	_ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	$0, (%rbx)
LBB0_2:
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	jle	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	callq	___archive_read_consume
	movq	$0, 8(%rbx)
LBB0_4:
	movq	$0, (%r12)
	cmpq	$0, 56(%rbx)
	jne	LBB0_6
## %bb.5:
	movq	16(%rbx), %rax
	cmpq	24(%rbx), %rax
	jge	LBB0_6
## %bb.7:
	movl	40(%rbx), %eax
	leal	-129(%rax), %ecx
	cmpl	$5, %ecx
	jae	LBB0_8
## %bb.10:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_read_data_compressed
	movl	%eax, %r14d
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_15
## %bb.11:
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_15
## %bb.12:
	movq	___archive_ppmd7_functions@GOTPCREL(%rip), %rax
	leaq	52(%rbx), %rdi
	callq	*(%rax)
	movq	$1, 44(%rbx)
	jmp	LBB0_15
LBB0_6:
	movq	$0, (%r14)
	movq	32(%rbx), %rax
	movq	%rax, (%r15)
	movq	24(%rbx), %rcx
	cmpq	%rcx, %rax
	cmovgq	%rax, %rcx
	movq	%rcx, (%r15)
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %r14d
LBB0_15:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	cmpl	$128, %eax
	jne	LBB0_13
## %bb.9:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_read_data_stored               ## TAILCALL
LBB0_13:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	callq	_archive_set_error
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW,8,3 ## @ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW
	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_WARN,4,2               ## @ARCHIVE_WARN
	.comm	___archive_ppmd7_functions,8,3  ## @__archive_ppmd7_functions
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ## @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported compression method for RAR file."

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.no_dead_strip	_archive_read_format_rar_read_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function archive_read_format_rar_read_data
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_archive_read_format_rar_read_data:     ; @archive_read_format_rar_read_data
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	x23, [x8]
	ldr	x8, [x23]
Lloh0:
	adrp	x9, _ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	str	xzr, [x23]
LBB0_2:
	ldr	x1, [x23, #8]
	cmp	x1, #1
	b.lt	LBB0_4
; %bb.3:
	mov	x0, x21
	bl	___archive_read_consume
	str	xzr, [x23, #8]
LBB0_4:
	str	xzr, [x22]
	ldr	x8, [x23, #56]
	cbnz	x8, LBB0_9
; %bb.5:
	ldp	x8, x9, [x23, #16]
	cmp	x8, x9
	b.ge	LBB0_9
; %bb.6:
	ldr	w8, [x23, #40]
	sub	w9, w8, #129
	cmp	w9, #5
	b.hs	LBB0_12
; %bb.7:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	x3, x19
	bl	_read_data_compressed
	mov	x19, x0
Lloh3:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ARCHIVE_WARN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ARCHIVE_WARN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.eq	LBB0_11
; %bb.8:
Lloh9:
	adrp	x8, ___archive_ppmd7_functions@GOTPAGE
Lloh10:
	ldr	x8, [x8, ___archive_ppmd7_functions@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	add	x0, x23, #52
	blr	x8
Lloh12:
	adrp	x8, lCPI0_0@PAGE
Lloh13:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x23, #44]
	b	LBB0_11
LBB0_9:
	str	xzr, [x20]
	ldr	x8, [x23, #32]
	str	x8, [x19]
	ldr	x9, [x23, #24]
	cmp	x8, x9
	csel	x8, x8, x9, gt
	str	x8, [x19]
Lloh14:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
LBB0_10:
	ldr	w19, [x8]
LBB0_11:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	cmp	w8, #128
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	x3, 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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_read_data_stored
LBB0_14:
Lloh16:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x2, l_.str@PAGE
Lloh20:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_archive_set_error
Lloh21:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW,8,3 ; @ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW
	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_WARN,4,2               ; @ARCHIVE_WARN
	.comm	___archive_ppmd7_functions,8,3  ; @__archive_ppmd7_functions
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ; @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported compression method for RAR file."

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.no_dead_strip	_archive_read_format_rar_read_data
.subsections_via_symbols
