	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_filter
_run_filter:                            ## @run_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	%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	%rsi, %r15
	movq	%rdi, %r14
	callq	_get_context
	movq	%rax, %r12
	movl	4(%rax), %edi
	callq	_free
	movl	4(%r15), %edi
	callq	_malloc
	movl	%eax, 4(%r12)
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	movl	(%r15), %ecx
	leal	-128(%rcx), %eax
	cmpl	$2, %eax
	jb	LBB0_10
## %bb.5:
	cmpl	$131, %ecx
	je	LBB0_8
## %bb.6:
	cmpl	$130, %ecx
	jne	LBB0_9
## %bb.7:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_run_delta_filter
	jmp	LBB0_11
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_2
LBB0_10:
	xorl	%edx, %edx
	cmpl	$128, %ecx
	sete	%dl
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_run_e8e9_filter
	jmp	LBB0_11
LBB0_8:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_run_arm_filter
LBB0_11:
	movl	%eax, %ebx
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	jne	LBB0_15
## %bb.12:
	movl	(%r12), %r8d
	movl	4(%r12), %edx
	movl	4(%r15), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_push_data_ready
	cmpl	%eax, %ebx
	jne	LBB0_13
## %bb.14:
	movl	4(%r15), %eax
	addl	%eax, (%r12)
	movl	(%r13), %ebx
	jmp	LBB0_15
LBB0_9:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_archive_set_error
	jmp	LBB0_3
LBB0_13:
	movq	_ARCHIVE_ERRNO_PROGRAMMER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
LBB0_2:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_archive_set_error
LBB0_3:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't allocate memory for filter data."

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ## @ARCHIVE_ERRNO_FILE_FORMAT
L_.str.1:                               ## @.str.1
	.asciz	"Unsupported filter type: 0x%x"

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_ERRNO_PROGRAMMER,4,2   ## @ARCHIVE_ERRNO_PROGRAMMER
L_.str.2:                               ## @.str.2
	.asciz	"Stack overflow when submitting unpacked data"

	.no_dead_strip	_run_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_filter
_run_filter:                            ; @run_filter
	.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	x20, x1
	mov	x19, x0
	bl	_get_context
	mov	x21, x0
	ldr	w0, [x0, #4]
	bl	_free
	ldr	w0, [x20, #4]
	bl	_malloc
	str	w0, [x21, #4]
	cbz	w0, LBB0_5
; %bb.1:
	ldr	w8, [x20]
	sub	w9, w8, #128
	cmp	w9, #2
	b.lo	LBB0_6
; %bb.2:
	cmp	w8, #131
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #130
	b.ne	LBB0_11
; %bb.4:
	mov	x0, x21
	mov	x1, x20
	bl	_run_delta_filter
	b	LBB0_8
LBB0_5:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_13
LBB0_6:
	cmp	w8, #128
	cset	w2, eq
	mov	x0, x21
	mov	x1, x20
	bl	_run_e8e9_filter
	b	LBB0_8
LBB0_7:
	mov	x0, x21
	mov	x1, x20
	bl	_run_arm_filter
LBB0_8:
	mov	x22, x0
Lloh5:
	adrp	x23, _ARCHIVE_OK@GOTPAGE
Lloh6:
	ldr	x23, [x23, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_14
; %bb.9:
	ldr	w3, [x20, #4]
	ldp	w4, w2, [x21]
	mov	x0, x19
	mov	x1, x21
	bl	_push_data_ready
	cmp	w22, w0
	b.ne	LBB0_12
; %bb.10:
	ldr	w8, [x20, #4]
	ldr	w9, [x21]
	add	w8, w9, w8
	str	w8, [x21]
	ldr	w22, [x23]
	b	LBB0_14
LBB0_11:
Lloh7:
	adrp	x9, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh12:
	adrp	x8, _ARCHIVE_ERRNO_PROGRAMMER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ARCHIVE_ERRNO_PROGRAMMER@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str.2@PAGE
Lloh16:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_13:
	mov	x0, x19
	bl	_archive_set_error
Lloh17:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh19:
	ldr	w22, [x8]
LBB0_14:
	mov	x0, x22
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't allocate memory for filter data."

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ; @ARCHIVE_ERRNO_FILE_FORMAT
l_.str.1:                               ; @.str.1
	.asciz	"Unsupported filter type: 0x%x"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_ERRNO_PROGRAMMER,4,2   ; @ARCHIVE_ERRNO_PROGRAMMER
l_.str.2:                               ; @.str.2
	.asciz	"Stack overflow when submitting unpacked data"

	.no_dead_strip	_run_filter
.subsections_via_symbols
