	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function archive_filter_lz4_open
_archive_filter_lz4_open:               ## @archive_filter_lz4_open
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	callq	_archive_string_init
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_archive_strcpy
	cmpq	$0, (%rbx)
	jle	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	callq	_archive_strcat
	movq	(%rbx), %rsi
	addq	$48, %rsi
	movq	%r15, %rdi
	callq	_archive_strappend_char
LBB0_2:
	leaq	L_.str.2(%rip), %rsi
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	callq	_archive_strcat
	movq	8(%rbx), %rsi
	addq	$48, %rsi
	movq	%r15, %rdi
	callq	_archive_strappend_char
	cmpq	$0, 40(%rbx)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	leaq	-32(%rbp), %rdi
	callq	_archive_strcat
LBB0_4:
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.6:
	cmpq	$0, 24(%rbx)
	je	LBB0_7
LBB0_8:
	movq	_archive_filter_lz4_write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	32(%rbx), %esi
	movl	-32(%rbp), %edx
	movq	%r14, %rdi
	callq	___archive_write_program_open
	movl	%eax, %ebx
	leaq	-32(%rbp), %rdi
	callq	_archive_string_free
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.4(%rip), %rsi
	leaq	-32(%rbp), %rdi
	callq	_archive_strcat
	cmpq	$0, 24(%rbx)
	jne	LBB0_8
LBB0_7:
	leaq	L_.str.5(%rip), %rsi
	leaq	-32(%rbp), %rdi
	callq	_archive_strcat
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lz4 -z -q -q"

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

L_.str.2:                               ## @.str.2
	.asciz	" -B"

L_.str.3:                               ## @.str.3
	.asciz	" -BX"

L_.str.4:                               ## @.str.4
	.asciz	" --no-frame-crc"

L_.str.5:                               ## @.str.5
	.asciz	" -BD"

	.comm	_archive_filter_lz4_write,4,2   ## @archive_filter_lz4_write
	.no_dead_strip	_archive_filter_lz4_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function archive_filter_lz4_open
_archive_filter_lz4_open:               ; @archive_filter_lz4_open
	.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
	ldr	x20, [x0, #8]
	add	x0, sp, #8
	bl	_archive_string_init
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_archive_strcpy
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_archive_strcat
	ldr	x8, [x20]
	add	x1, x8, #48
	add	x0, sp, #8
	bl	_archive_strappend_char
LBB0_2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #8
	bl	_archive_strcat
	ldr	x8, [x20, #8]
	add	x1, x8, #48
	add	x0, sp, #8
	bl	_archive_strappend_char
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_4
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #8
	bl	_archive_strcat
LBB0_4:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_8
LBB0_6:
Lloh8:
	adrp	x8, _archive_filter_lz4_write@GOTPAGE
Lloh9:
	ldr	x8, [x8, _archive_filter_lz4_write@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	w1, [x20, #32]
	ldr	w2, [sp, #8]
	mov	x0, x19
	bl	___archive_write_program_open
	mov	x19, x0
	add	x0, sp, #8
	bl	_archive_string_free
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #8
	bl	_archive_strcat
	ldr	x8, [x20, #24]
	cbnz	x8, LBB0_6
LBB0_8:
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #8
	bl	_archive_strcat
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lz4 -z -q -q"

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

l_.str.2:                               ; @.str.2
	.asciz	" -B"

l_.str.3:                               ; @.str.3
	.asciz	" -BX"

l_.str.4:                               ; @.str.4
	.asciz	" --no-frame-crc"

l_.str.5:                               ; @.str.5
	.asciz	" -BD"

	.comm	_archive_filter_lz4_write,4,2   ; @archive_filter_lz4_write
	.no_dead_strip	_archive_filter_lz4_open
.subsections_via_symbols
