	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_append_filter     ## -- Begin function archive_read_append_filter
	.p2align	4, 0x90
_archive_read_append_filter:            ## @archive_read_append_filter
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	addl	$-128, %esi
	cmpl	$12, %esi
	ja	LBB0_15
## %bb.1:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	movl	%r12d, %eax
	jmpq	*%rcx
LBB0_12:
	leaq	L_.str.9(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strcpy
	movq	%r14, %rdi
	callq	_archive_read_support_filter_zstd
	jmp	LBB0_17
LBB0_15:
	addq	$16, %r14
	movq	_ARCHIVE_ERRNO_PROGRAMMER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.12(%rip), %rdx
	jmp	LBB0_5
LBB0_8:
	leaq	L_.str.5(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strcpy
	movq	%r14, %rdi
	callq	_archive_read_support_filter_xz
	jmp	LBB0_17
LBB0_9:
	leaq	L_.str.6(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strcpy
	movq	%r14, %rdi
	callq	_archive_read_support_filter_uu
	jmp	LBB0_17
LBB0_10:
	leaq	L_.str.7(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strcpy
	movq	%r14, %rdi
	callq	_archive_read_support_filter_rpm
	jmp	LBB0_17
LBB0_4:
	addq	$16, %r14
	movq	_ARCHIVE_ERRNO_PROGRAMMER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_5
LBB0_7:
	leaq	L_.str.4(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strcpy
	movq	%r14, %rdi
	callq	_archive_read_support_filter_lzma
	jmp	LBB0_17
LBB0_13:
	leaq	L_.str.10(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strcpy
	movq	%r14, %rdi
	callq	_archive_read_support_filter_lzip
	jmp	LBB0_17
LBB0_11:
	leaq	L_.str.8(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strcpy
	movq	%r14, %rdi
	callq	_archive_read_support_filter_lz4
	jmp	LBB0_17
LBB0_14:
	leaq	L_.str.11(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strcpy
	movq	%r14, %rdi
	callq	_archive_read_support_filter_lrzip
	jmp	LBB0_17
LBB0_16:
	leaq	L_.str(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strcpy
	movq	%r14, %rdi
	callq	_archive_read_support_filter_gzip
	jmp	LBB0_17
LBB0_3:
	leaq	L_.str.2(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strcpy
	movq	%r14, %rdi
	callq	_archive_read_support_filter_compress
	jmp	LBB0_17
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strcpy
	movq	%r14, %rdi
	callq	_archive_read_support_filter_bzip2
LBB0_17:
	movl	%eax, %r12d
	movq	24(%r14), %rbx
	movl	8(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_19
## %bb.18:
	leaq	-64(%rbp), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_20
LBB0_19:
	addq	$16, %r14
	movq	_ARCHIVE_ERRNO_PROGRAMMER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.13(%rip), %rdx
LBB0_5:
	movq	%r14, %rdi
	callq	_archive_set_error
LBB0_6:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_27
## %bb.26:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movl	$1, %edi
	movl	$24, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_21
## %bb.22:
	movq	%rbx, 16(%rax)
	movq	%r14, 8(%rax)
	movq	8(%r14), %rcx
	movq	%rcx, (%rax)
	movq	%rax, 8(%r14)
	movq	%rax, %rdi
	callq	*(%rbx)
	cmpl	(%r15), %eax
	jne	LBB0_23
LBB0_24:
	movl	$1, (%r14)
	cmpl	%eax, %r12d
	cmovll	%r12d, %eax
	jmp	LBB0_25
LBB0_21:
	addq	$16, %r14
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.14(%rip), %rdx
	jmp	LBB0_5
LBB0_23:
	movq	%r14, %rdi
	callq	___archive_read_free_filters
	jmp	LBB0_6
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_24
	.long	L0_0_set_7
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_3
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gzip"

L_.str.1:                               ## @.str.1
	.asciz	"bzip2"

L_.str.2:                               ## @.str.2
	.asciz	"compress (.Z)"

	.comm	_ARCHIVE_ERRNO_PROGRAMMER,4,2   ## @ARCHIVE_ERRNO_PROGRAMMER
L_.str.3:                               ## @.str.3
	.asciz	"Cannot append program filter using archive_read_append_filter"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
L_.str.4:                               ## @.str.4
	.asciz	"lzma"

L_.str.5:                               ## @.str.5
	.asciz	"xz"

L_.str.6:                               ## @.str.6
	.asciz	"uu"

L_.str.7:                               ## @.str.7
	.asciz	"rpm"

L_.str.8:                               ## @.str.8
	.asciz	"lz4"

L_.str.9:                               ## @.str.9
	.asciz	"zstd"

L_.str.10:                              ## @.str.10
	.asciz	"lzip"

L_.str.11:                              ## @.str.11
	.asciz	"lrzip"

L_.str.12:                              ## @.str.12
	.asciz	"Invalid filter code specified"

L_.str.13:                              ## @.str.13
	.asciz	"Internal error: Unable to append filter"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.14:                              ## @.str.14
	.asciz	"Out of memory"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_append_filter     ; -- Begin function archive_read_append_filter
	.p2align	2
_archive_read_append_filter:            ; @archive_read_append_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	sub	w8, w1, #128
	cmp	w8, #12
	b.hi	LBB0_3
; %bb.1:
Lloh3:
	adrp	x21, _ARCHIVE_OK@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w20, [x21]
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	mov	x0, x20
	br	x10
LBB0_2:
Lloh7:
	adrp	x1, l_.str.9@PAGE
Lloh8:
	add	x1, x1, l_.str.9@PAGEOFF
	add	x0, sp, #4
	bl	_strcpy
	mov	x0, x19
	bl	_archive_read_support_filter_zstd
	b	LBB0_15
LBB0_3:
	add	x0, x19, #16
Lloh9:
	adrp	x8, _ARCHIVE_ERRNO_PROGRAMMER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ARCHIVE_ERRNO_PROGRAMMER@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str.12@PAGE
Lloh13:
	add	x2, x2, l_.str.12@PAGEOFF
	b	LBB0_18
LBB0_4:
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #4
	bl	_strcpy
	mov	x0, x19
	bl	_archive_read_support_filter_xz
	b	LBB0_15
LBB0_5:
Lloh16:
	adrp	x1, l_.str.6@PAGE
Lloh17:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #4
	bl	_strcpy
	mov	x0, x19
	bl	_archive_read_support_filter_uu
	b	LBB0_15
LBB0_6:
Lloh18:
	adrp	x1, l_.str.7@PAGE
Lloh19:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x0, sp, #4
	bl	_strcpy
	mov	x0, x19
	bl	_archive_read_support_filter_rpm
	b	LBB0_15
LBB0_7:
	add	x0, x19, #16
Lloh20:
	adrp	x8, _ARCHIVE_ERRNO_PROGRAMMER@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ARCHIVE_ERRNO_PROGRAMMER@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x2, l_.str.3@PAGE
Lloh24:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_18
LBB0_8:
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #4
	bl	_strcpy
	mov	x0, x19
	bl	_archive_read_support_filter_lzma
	b	LBB0_15
LBB0_9:
Lloh27:
	adrp	x1, l_.str.10@PAGE
Lloh28:
	add	x1, x1, l_.str.10@PAGEOFF
	add	x0, sp, #4
	bl	_strcpy
	mov	x0, x19
	bl	_archive_read_support_filter_lzip
	b	LBB0_15
LBB0_10:
Lloh29:
	adrp	x1, l_.str.8@PAGE
Lloh30:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x0, sp, #4
	bl	_strcpy
	mov	x0, x19
	bl	_archive_read_support_filter_lz4
	b	LBB0_15
LBB0_11:
Lloh31:
	adrp	x1, l_.str.11@PAGE
Lloh32:
	add	x1, x1, l_.str.11@PAGEOFF
	add	x0, sp, #4
	bl	_strcpy
	mov	x0, x19
	bl	_archive_read_support_filter_lrzip
	b	LBB0_15
LBB0_12:
Lloh33:
	adrp	x1, l_.str@PAGE
Lloh34:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #4
	bl	_strcpy
	mov	x0, x19
	bl	_archive_read_support_filter_gzip
	b	LBB0_15
LBB0_13:
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #4
	bl	_strcpy
	mov	x0, x19
	bl	_archive_read_support_filter_compress
	b	LBB0_15
LBB0_14:
Lloh37:
	adrp	x1, l_.str.1@PAGE
Lloh38:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #4
	bl	_strcpy
	mov	x0, x19
	bl	_archive_read_support_filter_bzip2
LBB0_15:
	mov	x20, x0
	ldr	x22, [x19, #24]
	ldr	w0, [x22, #8]
	cbz	w0, LBB0_17
; %bb.16:
	add	x1, sp, #4
	bl	_strcmp
	cbz	x0, LBB0_22
LBB0_17:
	add	x0, x19, #16
Lloh39:
	adrp	x8, _ARCHIVE_ERRNO_PROGRAMMER@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ARCHIVE_ERRNO_PROGRAMMER@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
Lloh42:
	adrp	x2, l_.str.13@PAGE
Lloh43:
	add	x2, x2, l_.str.13@PAGEOFF
LBB0_18:
	bl	_archive_set_error
LBB0_19:
Lloh44:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
LBB0_20:
	ldr	x8, [sp, #24]
Lloh47:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh48:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.21:
	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
	add	sp, sp, #80
	ret
LBB0_22:
	mov	w0, #1
	mov	w1, #24
	bl	_calloc
	cbz	x0, LBB0_25
; %bb.23:
	stp	x19, x22, [x0, #8]
	ldr	x8, [x19, #8]
	str	x8, [x0]
	str	x0, [x19, #8]
	ldr	x8, [x22]
	blr	x8
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_26
LBB0_24:
	mov	w8, #1
	str	w8, [x19]
	cmp	w20, w0
	csel	w0, w20, w0, lt
	b	LBB0_20
LBB0_25:
	add	x0, x19, #16
Lloh50:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
Lloh53:
	adrp	x2, l_.str.14@PAGE
Lloh54:
	add	x2, x2, l_.str.14@PAGEOFF
	b	LBB0_18
LBB0_26:
	mov	x0, x19
	bl	___archive_read_free_filters
	b	LBB0_19
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_24-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gzip"

l_.str.1:                               ; @.str.1
	.asciz	"bzip2"

l_.str.2:                               ; @.str.2
	.asciz	"compress (.Z)"

	.comm	_ARCHIVE_ERRNO_PROGRAMMER,4,2   ; @ARCHIVE_ERRNO_PROGRAMMER
l_.str.3:                               ; @.str.3
	.asciz	"Cannot append program filter using archive_read_append_filter"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
l_.str.4:                               ; @.str.4
	.asciz	"lzma"

l_.str.5:                               ; @.str.5
	.asciz	"xz"

l_.str.6:                               ; @.str.6
	.asciz	"uu"

l_.str.7:                               ; @.str.7
	.asciz	"rpm"

l_.str.8:                               ; @.str.8
	.asciz	"lz4"

l_.str.9:                               ; @.str.9
	.asciz	"zstd"

l_.str.10:                              ; @.str.10
	.asciz	"lzip"

l_.str.11:                              ; @.str.11
	.asciz	"lrzip"

l_.str.12:                              ; @.str.12
	.asciz	"Invalid filter code specified"

l_.str.13:                              ; @.str.13
	.asciz	"Internal error: Unable to append filter"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.14:                              ; @.str.14
	.asciz	"Out of memory"

.subsections_via_symbols
