	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rar_read_ahead
_rar_read_ahead:                        ## @rar_read_ahead
	.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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MHD_VOLUME@GOTPCREL(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, 16(%r13)
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %rax
	movq	(%rax), %r13
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	___archive_read_ahead
	testq	%r15, %r15
	je	LBB0_15
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 16(%rbx)
	movq	(%r15), %rcx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rdx
	cmpq	%rdx, %rcx
	jle	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rdx, (%r15)
	movq	%rdx, %rcx
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rdx
	cmpq	%rdx, %rcx
	jle	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rdx, (%r15)
	movq	%rdx, %rcx
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	testq	%rcx, %rcx
	js	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	jne	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %ecx
	testl	%ecx, 8(%r13)
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_FHD_SPLIT_AFTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 12(%r13)
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, 16(%r13)
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_archive_read_format_rar_read_header
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, 20(%r13)
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_archive_read_format_rar_read_header
	jmp	LBB0_13
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MHD_VOLUME,4,2                 ## @MHD_VOLUME
	.comm	_FHD_SPLIT_AFTER,4,2            ## @FHD_SPLIT_AFTER
	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_rar_read_ahead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rar_read_ahead
_rar_read_ahead:                        ; @rar_read_ahead
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _MHD_VOLUME@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MHD_VOLUME@GOTPAGEOFF]
Lloh2:
	adrp	x23, _FHD_SPLIT_AFTER@GOTPAGE
Lloh3:
	ldr	x23, [x23, _FHD_SPLIT_AFTER@GOTPAGEOFF]
	mov	w24, #1
Lloh4:
	adrp	x25, _ARCHIVE_EOF@GOTPAGE
Lloh5:
	ldr	x25, [x25, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh6:
	adrp	x26, _ARCHIVE_OK@GOTPAGE
Lloh7:
	ldr	x26, [x26, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	wzr, [x27, #16]
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_14
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #24]
	ldr	x27, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	___archive_read_ahead
	cbz	x19, LBB0_15
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x21, #16]
	ldr	x8, [x19]
	cbz	x9, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.le	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x9, [x19]
	mov	x8, x9
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x27]
	cmp	x8, x9
	b.le	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x9, [x19]
	mov	x8, x9
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	tbnz	x8, #63, LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	x8, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x27, #8]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x27, #12]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	str	w24, [x27, #16]
	ldr	w1, [x21]
	mov	x0, x21
	bl	_archive_read_format_rar_read_header
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_1
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	str	w24, [x27, #20]
	ldr	w1, [x21]
	mov	x0, x21
	bl	_archive_read_format_rar_read_header
	b	LBB0_1
LBB0_14:
	mov	x0, #0
LBB0_15:
	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
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MHD_VOLUME,4,2                 ; @MHD_VOLUME
	.comm	_FHD_SPLIT_AFTER,4,2            ; @FHD_SPLIT_AFTER
	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_rar_read_ahead
.subsections_via_symbols
