	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_symlink_stored
_read_symlink_stored:                   ## @read_symlink_stored
	.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, %r12
	movq	%rdi, %rbx
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	8(%rdi), %rax
	movq	(%rax), %r13
	movq	(%r13), %rsi
	xorl	%edx, %edx
	callq	_rar_read_ahead
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%r13), %rdx
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%r15, %rcx
	callq	_archive_entry_copy_symlink_l
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_archive_set_error
LBB0_1:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_7
LBB0_5:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movslq	(%rax), %r14
	movq	%r15, %rdi
	callq	_archive_string_conversion_charset_name
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_archive_set_error
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_6:
	movq	(%r13), %rsi
	movq	%rbx, %rdi
	callq	___archive_read_consume
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't allocate memory for link"

	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ## @ARCHIVE_ERRNO_FILE_FORMAT
L_.str.1:                               ## @.str.1
	.asciz	"link cannot be converted from %s to current locale."

	.comm	_ARCHIVE_WARN,4,2               ## @ARCHIVE_WARN
	.no_dead_strip	_read_symlink_stored
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_symlink_stored
_read_symlink_stored:                   ; @read_symlink_stored
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	x8, [x0, #8]
	ldr	x23, [x8]
	ldr	x1, [x23]
	mov	x2, #0
	bl	_rar_read_ahead
	cbz	x0, LBB0_4
; %bb.1:
	mov	x1, x0
	ldr	x2, [x23]
	mov	x0, x22
	mov	x3, x21
	bl	_archive_entry_copy_symlink_l
	cbz	x0, LBB0_6
; %bb.2:
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_5
; %bb.3:
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_archive_set_error
LBB0_4:
Lloh11:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh13:
	ldr	w20, [x8]
	b	LBB0_7
LBB0_5:
Lloh14:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh16:
	ldrsw	x20, [x8]
	mov	x0, x21
	bl	_archive_string_conversion_charset_name
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_archive_set_error
Lloh19:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
Lloh21:
	ldr	w20, [x8]
LBB0_6:
	ldr	x1, [x23]
	mov	x0, x19
	bl	___archive_read_consume
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't allocate memory for link"

	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ; @ARCHIVE_ERRNO_FILE_FORMAT
l_.str.1:                               ; @.str.1
	.asciz	"link cannot be converted from %s to current locale."

	.comm	_ARCHIVE_WARN,4,2               ; @ARCHIVE_WARN
	.no_dead_strip	_read_symlink_stored
.subsections_via_symbols
