	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_support_filter_zstd ## -- Begin function archive_read_support_filter_zstd
	.p2align	4, 0x90
_archive_read_support_filter_zstd:      ## @archive_read_support_filter_zstd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	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	-16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	___archive_read_get_bidder
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	-16(%rbp), %rax
	movq	$0, 32(%rax)
	leaq	L_.str.1(%rip), %rcx
	movq	%rcx, (%rax)
	movq	_zstd_bidder_bid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-16(%rbp), %rcx
	movl	%eax, 28(%rcx)
	movq	_zstd_bidder_init@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rcx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rcx)
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	callq	_archive_set_error
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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_support_filter_zstd"

	.comm	_ARCHIVE_OK,8,3                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
L_.str.1:                               ## @.str.1
	.asciz	"zstd"

	.comm	_zstd_bidder_bid,4,2            ## @zstd_bidder_bid
	.comm	_zstd_bidder_init,4,2           ## @zstd_bidder_init
	.comm	_ARCHIVE_ERRNO_MISC,4,2         ## @ARCHIVE_ERRNO_MISC
L_.str.2:                               ## @.str.2
	.asciz	"Using external zstd program for zstd decompression"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_support_filter_zstd ; -- Begin function archive_read_support_filter_zstd
	.p2align	2
_archive_read_support_filter_zstd:      ; @archive_read_support_filter_zstd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _ARCHIVE_READ_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_READ_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ARCHIVE_STATE_NEW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARCHIVE_STATE_NEW@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	bl	_archive_check_magic
	add	x1, sp, #8
	mov	x0, x19
	bl	___archive_read_get_bidder
Lloh8:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [sp, #8]
	str	xzr, [x8, #32]
Lloh11:
	adrp	x9, l_.str.1@PAGE
Lloh12:
	add	x9, x9, l_.str.1@PAGEOFF
	str	x9, [x8]
Lloh13:
	adrp	x8, _zstd_bidder_bid@GOTPAGE
Lloh14:
	ldr	x8, [x8, _zstd_bidder_bid@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
Lloh16:
	adrp	x10, _zstd_bidder_init@GOTPAGE
Lloh17:
	ldr	x10, [x10, _zstd_bidder_init@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #24]
	stp	xzr, xzr, [x9, #8]
Lloh19:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x2, l_.str.2@PAGE
Lloh23:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_archive_set_error
Lloh24:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh26:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.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_support_filter_zstd"

	.comm	_ARCHIVE_OK,8,3                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
l_.str.1:                               ; @.str.1
	.asciz	"zstd"

	.comm	_zstd_bidder_bid,4,2            ; @zstd_bidder_bid
	.comm	_zstd_bidder_init,4,2           ; @zstd_bidder_init
	.comm	_ARCHIVE_ERRNO_MISC,4,2         ; @ARCHIVE_ERRNO_MISC
l_.str.2:                               ; @.str.2
	.asciz	"Using external zstd program for zstd decompression"

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