	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_filter
_parse_filter:                          ## @parse_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_get_context
	movq	%rax, %r12
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r13
	movq	(%r13), %rbx
	leaq	-52(%rbp), %rdx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_parse_filter_data
	cmpq	%rax, %rbx
	jne	LBB0_11
## %bb.1:
	movq	(%r13), %rbx
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_parse_filter_data
	cmpq	%rax, %rbx
	jne	LBB0_11
## %bb.2:
	movq	(%r13), %rbx
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_read_bits_16
	cmpq	%rax, %rbx
	jne	LBB0_11
## %bb.3:
	sarl	$13, -44(%rbp)
	movq	%r12, %rdi
	movl	$3, %esi
	callq	_skip_bits
	movl	$-4194305, %eax                 ## imm = 0xFFBFFFFF
	addl	-48(%rbp), %eax
	cmpl	$-4194301, %eax                 ## imm = 0xFFC00003
	jb	LBB0_14
## %bb.4:
	movl	-44(%rbp), %eax
	movq	_FILTER_ARM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_14
## %bb.5:
	movl	-52(%rbp), %esi
	movq	%r12, %rdi
	callq	_is_valid_filter_block_start
	testl	%eax, %eax
	je	LBB0_14
## %bb.6:
	movq	%r12, %rdi
	callq	_add_new_filter
	testq	%rax, %rax
	je	LBB0_16
## %bb.7:
	movq	%rax, %rbx
	movl	-44(%rbp), %eax
	movl	%eax, (%rbx)
	movl	-52(%rbp), %eax
	addl	(%r12), %eax
	movl	%eax, 4(%rbx)
	movl	-48(%rbp), %ecx
	movl	%ecx, 8(%rbx)
	movl	%eax, 4(%r12)
	movl	%ecx, 8(%r12)
	movl	-44(%rbp), %eax
	movq	_FILTER_DELTA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.8:
	movq	(%r13), %r15
	leaq	-56(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$5, %edx
	callq	_read_consume_bits
	cmpq	%rax, %r15
	jne	LBB0_11
## %bb.9:
	movl	-56(%rbp), %eax
	incl	%eax
	movl	%eax, 12(%rbx)
LBB0_10:
	movl	(%r13), %eax
	jmp	LBB0_13
LBB0_11:
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_15:
	movq	%r15, %rdi
	callq	_archive_set_error
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_16:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,8,3                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
	.comm	_FILTER_ARM,4,2                 ## @FILTER_ARM
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ## @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid filter encountered"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Can't allocate memory for a filter descriptor."

	.comm	_FILTER_DELTA,4,2               ## @FILTER_DELTA
	.no_dead_strip	_parse_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_filter
_parse_filter:                          ; @parse_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	x19, x1
	mov	x21, x0
	bl	_get_context
	mov	x20, x0
Lloh0:
	adrp	x23, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	x22, [x23]
	add	x2, sp, #12
	mov	x1, x19
	bl	_parse_filter_data
	cmp	x22, x0
	b.ne	LBB0_11
; %bb.1:
	ldr	x22, [x23]
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_parse_filter_data
	cmp	x22, x0
	b.ne	LBB0_11
; %bb.2:
	ldr	x22, [x23]
	add	x2, sp, #4
	mov	x0, x20
	mov	x1, x19
	bl	_read_bits_16
	cmp	x22, x0
	b.ne	LBB0_11
; %bb.3:
	ldr	w8, [sp, #4]
	asr	w8, w8, #13
	str	w8, [sp, #4]
	mov	x0, x20
	mov	w1, #3
	bl	_skip_bits
	ldr	w8, [sp, #8]
	sub	w8, w8, #1024, lsl #12          ; =4194304
	sub	w8, w8, #1
	mov	w9, #-4194301
	cmp	w8, w9
	b.lo	LBB0_14
; %bb.4:
	ldr	w8, [sp, #4]
Lloh2:
	adrp	x9, _FILTER_ARM@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FILTER_ARM@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_14
; %bb.5:
	ldr	w1, [sp, #12]
	mov	x0, x20
	bl	_is_valid_filter_block_start
	cbz	w0, LBB0_14
; %bb.6:
	mov	x0, x20
	bl	_add_new_filter
	cbz	x0, LBB0_16
; %bb.7:
	mov	x22, x0
	ldr	w8, [sp, #4]
	str	w8, [x0]
	ldr	w8, [x20]
	ldr	w9, [sp, #12]
	add	w8, w9, w8
	ldr	w9, [sp, #8]
	stp	w8, w9, [x0, #4]
	stp	w8, w9, [x20, #4]
	ldr	w8, [sp, #4]
Lloh5:
	adrp	x9, _FILTER_DELTA@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FILTER_DELTA@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.8:
	ldr	x21, [x23]
	mov	x3, sp
	mov	x0, x20
	mov	x1, x19
	mov	w2, #5
	bl	_read_consume_bits
	cmp	x21, x0
	b.ne	LBB0_11
; %bb.9:
	ldr	w8, [sp]
	add	w8, w8, #1
	str	w8, [x22, #12]
LBB0_10:
	ldr	w0, [x23]
	b	LBB0_13
LBB0_11:
Lloh8:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
LBB0_13:
	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
LBB0_14:
Lloh10:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
LBB0_15:
	mov	x0, x21
	bl	_archive_set_error
Lloh15:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
	b	LBB0_12
LBB0_16:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x2, l_.str.1@PAGE
Lloh21:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_15
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,8,3                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
	.comm	_FILTER_ARM,4,2                 ; @FILTER_ARM
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ; @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid filter encountered"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Can't allocate memory for a filter descriptor."

	.comm	_FILTER_DELTA,4,2               ; @FILTER_DELTA
	.no_dead_strip	_parse_filter
.subsections_via_symbols
