	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_open1             ## -- Begin function archive_read_open1
	.p2align	4, 0x90
_archive_read_open1:                    ## @archive_read_open1
	.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	%rdi, %r12
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ARCHIVE_READ_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ARCHIVE_STATE_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	callq	_archive_check_magic
	leaq	8(%r12), %r15
	movq	%r15, %rdi
	callq	_archive_clear_error
	cmpq	$0, 72(%r12)
	je	LBB0_1
## %bb.2:
	movq	40(%r12), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	56(%r12), %rcx
	movl	8(%rcx), %esi
	movq	%r15, %rdi
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_4
## %bb.7:
	movl	%eax, %r14d
	movq	64(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_23
## %bb.8:
	cmpl	$0, 48(%r12)
	je	LBB0_23
## %bb.9:
	movq	56(%r12), %rax
	movl	8(%rax), %esi
	movq	%r15, %rdi
	callq	*%rcx
	cmpl	$2, 48(%r12)
	jb	LBB0_23
## %bb.10:
	movl	$1, %r13d
	movl	$24, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	56(%r12), %rax
	movl	(%rax,%rbx), %esi
	movq	%r15, %rdi
	callq	*64(%r12)
	incq	%r13
	movl	48(%r12), %eax
	addq	$16, %rbx
	cmpq	%rax, %r13
	jb	LBB0_11
	jmp	LBB0_23
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	callq	_archive_set_error
LBB0_15:
	movq	_ARCHIVE_STATE_FATAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	jmp	LBB0_6
LBB0_4:
	xorl	%r14d, %r14d
LBB0_5:
	movl	$1, %edi
	movl	$72, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.12:
	movq	$0, 64(%rax)
	movq	$0, 8(%rax)
	movq	%r12, 56(%rax)
	movq	56(%r12), %rcx
	movl	8(%rcx), %edx
	movl	%edx, 52(%rax)
	movq	_client_open_proxy@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 48(%rax)
	movq	_client_read_proxy@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 44(%rax)
	movq	_client_skip_proxy@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 40(%rax)
	movq	_client_seek_proxy@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 36(%rax)
	movq	_client_close_proxy@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 32(%rax)
	movq	_client_switch_proxy@GOTPCREL(%rip), %rdx
	movq	%rdx, 24(%rax)
	leaq	L_.str.2(%rip), %rdx
	movq	%rdx, (%rax)
	movq	_ARCHIVE_FILTER_NONE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 16(%rax)
	movq	$0, (%rcx)
	movq	(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.13:
	cmpl	$0, 32(%r12)
	je	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rdx
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_16
## %bb.17:
	movq	%rax, 8(%rdx)
	jmp	LBB0_18
LBB0_14:
	movq	%rax, (%r12)
	movq	%r12, %rdi
	callq	_choose_filters
	movl	%eax, %r14d
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jl	LBB0_15
LBB0_18:
	cmpq	$0, 24(%r12)
	jne	LBB0_22
## %bb.19:
	movq	%r12, %rdi
	callq	_choose_format
	testl	%eax, %eax
	js	LBB0_20
## %bb.21:
	movl	%eax, %eax
	shlq	$2, %rax
	addq	16(%r12), %rax
	movq	%rax, 24(%r12)
LBB0_22:
	movq	_ARCHIVE_STATE_HEADER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	movq	(%r12), %rdi
	xorl	%esi, %esi
	callq	_client_switch_proxy
	jmp	LBB0_23
LBB0_20:
	movq	%r12, %rdi
	callq	_close_filters
	movq	_ARCHIVE_STATE_FATAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
LBB0_6:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_23:
	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_READ_MAGIC,4,2         ## @ARCHIVE_READ_MAGIC
	.comm	_ARCHIVE_STATE_NEW,4,2          ## @ARCHIVE_STATE_NEW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"archive_read_open"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"No reader function provided to archive_read_open"

	.comm	_ARCHIVE_STATE_FATAL,8,3        ## @ARCHIVE_STATE_FATAL
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_client_open_proxy,4,2          ## @client_open_proxy
	.comm	_client_read_proxy,4,2          ## @client_read_proxy
	.comm	_client_skip_proxy,4,2          ## @client_skip_proxy
	.comm	_client_seek_proxy,4,2          ## @client_seek_proxy
	.comm	_client_close_proxy,4,2         ## @client_close_proxy
L_.str.2:                               ## @.str.2
	.asciz	"none"

	.comm	_ARCHIVE_FILTER_NONE,4,2        ## @ARCHIVE_FILTER_NONE
	.comm	_ARCHIVE_WARN,4,2               ## @ARCHIVE_WARN
	.comm	_ARCHIVE_STATE_HEADER,8,3       ## @ARCHIVE_STATE_HEADER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_open1             ; -- Begin function archive_read_open1
	.p2align	2
_archive_read_open1:                    ; @archive_read_open1
	.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	x20, x0
Lloh0:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _ARCHIVE_READ_MAGIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARCHIVE_READ_MAGIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _ARCHIVE_STATE_NEW@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ARCHIVE_STATE_NEW@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	bl	_archive_check_magic
	add	x21, x20, #8
	mov	x0, x21
	bl	_archive_clear_error
	ldr	x8, [x20, #72]
	cbz	x8, LBB0_13
; %bb.1:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_8
; %bb.2:
	ldr	x9, [x20, #56]
	ldr	w1, [x9, #8]
	mov	x0, x21
	blr	x8
	mov	x19, x0
	cbz	w0, LBB0_8
; %bb.3:
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_16
; %bb.4:
	ldr	w9, [x20, #48]
	cbz	w9, LBB0_16
; %bb.5:
	ldr	x9, [x20, #56]
	ldr	w1, [x9, #8]
	mov	x0, x21
	blr	x8
	ldr	w8, [x20, #48]
	cmp	w8, #2
	b.lo	LBB0_16
; %bb.6:
	mov	w22, #1
	mov	w23, #24
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x20, #56]
	ldr	w1, [x9, x23]
	mov	x0, x21
	blr	x8
	add	x22, x22, #1
	ldr	w8, [x20, #48]
	add	x23, x23, #16
	cmp	x22, x8
	b.lo	LBB0_7
	b	LBB0_16
LBB0_8:
	mov	w0, #1
	mov	w1, #72
	bl	_calloc
	cbz	x0, LBB0_15
; %bb.9:
	ldr	x8, [x20, #56]
	ldr	w9, [x8, #8]
Lloh11:
	adrp	x10, _client_open_proxy@GOTPAGE
Lloh12:
	ldr	x10, [x10, _client_open_proxy@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
Lloh14:
	adrp	x11, _client_read_proxy@GOTPAGE
Lloh15:
	ldr	x11, [x11, _client_read_proxy@GOTPAGEOFF]
	stp	w10, w9, [x0, #48]
Lloh16:
	ldr	w9, [x11]
Lloh17:
	adrp	x10, _client_skip_proxy@GOTPAGE
Lloh18:
	ldr	x10, [x10, _client_skip_proxy@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	stp	w10, w9, [x0, #40]
Lloh20:
	adrp	x9, _client_seek_proxy@GOTPAGE
Lloh21:
	ldr	x9, [x9, _client_seek_proxy@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x10, _client_close_proxy@GOTPAGE
Lloh24:
	ldr	x10, [x10, _client_close_proxy@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	stp	w10, w9, [x0, #32]
Lloh26:
	adrp	x9, _client_switch_proxy@GOTPAGE
Lloh27:
	ldr	x9, [x9, _client_switch_proxy@GOTPAGEOFF]
	stp	x20, xzr, [x0, #56]
	str	x9, [x0, #24]
Lloh28:
	adrp	x9, l_.str.2@PAGE
Lloh29:
	add	x9, x9, l_.str.2@PAGEOFF
	stp	x9, xzr, [x0]
Lloh30:
	adrp	x9, _ARCHIVE_FILTER_NONE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ARCHIVE_FILTER_NONE@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	str	w9, [x0, #16]
	str	xzr, [x8]
	ldr	x8, [x20]
	cbz	x8, LBB0_17
; %bb.10:
	ldr	w9, [x20, #32]
	cbz	w9, LBB0_17
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_11
; %bb.12:
	str	x0, [x9, #8]
	b	LBB0_18
LBB0_13:
Lloh33:
	adrp	x8, _EINVAL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x2, l_.str.1@PAGE
Lloh37:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_archive_set_error
LBB0_14:
Lloh38:
	adrp	x8, _ARCHIVE_STATE_FATAL@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ARCHIVE_STATE_FATAL@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	str	x8, [x21]
LBB0_15:
Lloh41:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh43:
	ldr	w19, [x8]
LBB0_16:
	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_17:
	str	x0, [x20]
	mov	x0, x20
	bl	_choose_filters
	mov	x19, x0
Lloh44:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	cmp	w0, w8
	b.lt	LBB0_14
LBB0_18:
	ldr	x8, [x20, #24]
	cbnz	x8, LBB0_21
; %bb.19:
	mov	x0, x20
	bl	_choose_format
	tbnz	w0, #31, LBB0_22
; %bb.20:
	ldr	x8, [x20, #16]
	add	x8, x8, w0, uxtw #2
	str	x8, [x20, #24]
LBB0_21:
Lloh47:
	adrp	x8, _ARCHIVE_STATE_HEADER@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ARCHIVE_STATE_HEADER@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	str	x8, [x20, #8]
	ldr	x0, [x20]
	mov	w1, #0
	bl	_client_switch_proxy
	b	LBB0_16
LBB0_22:
	mov	x0, x20
	bl	_close_filters
Lloh50:
	adrp	x8, _ARCHIVE_STATE_FATAL@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ARCHIVE_STATE_FATAL@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	str	x8, [x20, #8]
	b	LBB0_15
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_READ_MAGIC,4,2         ; @ARCHIVE_READ_MAGIC
	.comm	_ARCHIVE_STATE_NEW,4,2          ; @ARCHIVE_STATE_NEW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"archive_read_open"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"No reader function provided to archive_read_open"

	.comm	_ARCHIVE_STATE_FATAL,8,3        ; @ARCHIVE_STATE_FATAL
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_client_open_proxy,4,2          ; @client_open_proxy
	.comm	_client_read_proxy,4,2          ; @client_read_proxy
	.comm	_client_skip_proxy,4,2          ; @client_skip_proxy
	.comm	_client_seek_proxy,4,2          ; @client_seek_proxy
	.comm	_client_close_proxy,4,2         ; @client_close_proxy
l_.str.2:                               ; @.str.2
	.asciz	"none"

	.comm	_ARCHIVE_FILTER_NONE,4,2        ; @ARCHIVE_FILTER_NONE
	.comm	_ARCHIVE_WARN,4,2               ; @ARCHIVE_WARN
	.comm	_ARCHIVE_STATE_HEADER,8,3       ; @ARCHIVE_STATE_HEADER
.subsections_via_symbols
