	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_pattern_from_file
_add_pattern_from_file:                 ## @add_pattern_from_file
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movq	%rcx, %r14
	movl	%edx, %r15d
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	xorl	%eax, %eax
	callq	_archive_read_new
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_archive_read_support_format_raw
	movq	%r12, %rdi
	callq	_archive_read_support_format_empty
	movl	%eax, %r13d
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_3
## %bb.4:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$10240, %edx                    ## imm = 0x2800
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.5:
	callq	_archive_read_open_filename
	jmp	LBB0_7
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	callq	_archive_set_error
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_36
LBB0_6:
	callq	_archive_read_open_filename_w
LBB0_7:
	movl	%eax, %r13d
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	jne	LBB0_3
## %bb.8:
	leaq	-96(%rbp), %rsi
	movq	%r12, %rdi
	callq	_archive_read_next_header
	cmpl	(%r14), %eax
	jne	LBB0_9
## %bb.11:
	leaq	-48(%rbp), %rdi
	callq	_archive_string_init
	leaq	-88(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-68(%rbp), %rcx
	movq	%r12, %rdi
	callq	_archive_read_data_block
	movl	%eax, %r13d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_archive_strncat
LBB0_27:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	leaq	-88(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-68(%rbp), %rcx
	callq	_archive_read_data_block
	movl	%eax, %r13d
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r14
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##       Child Loop BB0_16 Depth 3
	movl	(%r14), %eax
	cmpl	%eax, %r13d
	jne	LBB0_28
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	-64(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_27
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	-88(%rbp), %r14
LBB0_15:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_16 Depth 3
	xorl	%r15d, %r15d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_16 Depth=3
	testb	%al, %al
	je	LBB0_18
LBB0_23:                                ##   in Loop: Header=BB0_16 Depth=3
	incq	%r15
	cmpq	%r15, %rdx
	je	LBB0_24
LBB0_16:                                ##   Parent Loop BB0_12 Depth=1
                                        ##     Parent Loop BB0_15 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movzbl	(%r14,%r15), %eax
	testl	%ebx, %ebx
	jne	LBB0_17
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=3
	cmpb	$10, %al
	je	LBB0_18
## %bb.22:                              ##   in Loop: Header=BB0_16 Depth=3
	cmpb	$13, %al
	jne	LBB0_23
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	%r15, %rax
	notq	%rax
	addq	%rdx, %rax
	movq	%rax, -64(%rbp)
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_archive_strncat
	movq	%r13, %rdi
	callq	_archive_strlen
	testq	%rax, %rax
	jle	LBB0_26
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	-48(%rbp), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_add_pattern_mbs
	movl	%eax, %r13d
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_20
## %bb.25:                              ##   in Loop: Header=BB0_15 Depth=2
	leaq	-48(%rbp), %rdi
	callq	_archive_string_empty
LBB0_26:                                ##   in Loop: Header=BB0_15 Depth=2
	addq	%r15, %r14
	incq	%r14
	movq	-64(%rbp), %rdx
	testq	%rdx, %rdx
	jne	LBB0_15
	jmp	LBB0_27
LBB0_3:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_archive_copy_error
	movq	%r12, %rdi
	callq	_archive_read_free
LBB0_36:
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_archive_read_free
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_35
## %bb.10:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_archive_copy_error
	jmp	LBB0_36
LBB0_28:
	cmpl	%eax, %r13d
	jge	LBB0_30
## %bb.29:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_archive_copy_error
LBB0_20:
	movq	%r12, %rdi
	callq	_archive_read_free
	leaq	-48(%rbp), %rdi
	callq	_archive_string_free
	jmp	LBB0_36
LBB0_30:
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_34
## %bb.31:
	leaq	-48(%rbp), %rdi
	callq	_archive_strlen
	testq	%rax, %rax
	jle	LBB0_34
## %bb.32:
	movl	-48(%rbp), %edx
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_add_pattern_mbs
	cmpl	(%r14), %eax
	jne	LBB0_33
LBB0_34:
	movq	%r12, %rdi
	callq	_archive_read_free
	leaq	-48(%rbp), %rdi
	callq	_archive_string_free
LBB0_35:
	movl	(%r14), %r13d
	jmp	LBB0_36
LBB0_33:
	movl	%eax, %r13d
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No memory"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
	.no_dead_strip	_add_pattern_from_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_pattern_from_file
_add_pattern_from_file:                 ; @add_pattern_from_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x4
	mov	x24, x3
	mov	x25, x2
	mov	x21, x1
	mov	x20, x0
	bl	_archive_read_new
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_archive_read_support_format_raw
	mov	x0, x19
	bl	_archive_read_support_format_empty
Lloh0:
	adrp	x26, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x19
	mov	x1, x24
	mov	w2, #10240
	cbz	w25, LBB0_6
; %bb.3:
	bl	_archive_read_open_filename
	b	LBB0_7
LBB0_4:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_archive_set_error
Lloh7:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh9:
	ldr	w23, [x8]
	b	LBB0_24
LBB0_5:
	mov	x23, x0
	b	LBB0_23
LBB0_6:
	bl	_archive_read_open_filename_w
LBB0_7:
	mov	x23, x0
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_23
; %bb.8:
	add	x1, sp, #40
	mov	x0, x19
	bl	_archive_read_next_header
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_25
; %bb.9:
	add	x0, sp, #32
	bl	_archive_string_init
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x0, sp, #32
	mov	x1, x24
	bl	_archive_strncat
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
                                        ;       Child Loop BB0_17 Depth 3
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	mov	x0, x19
	bl	_archive_read_data_block
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_27
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x2, [sp, #16]
	cbz	x2, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x24, [sp, #24]
LBB0_14:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_17 Depth 3
	mov	x25, #0
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=3
	cbz	w8, LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=3
	add	x25, x25, #1
	cmp	x2, x25
	b.eq	LBB0_10
LBB0_17:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_14 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrb	w8, [x24, x25]
	cbnz	w22, LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=3
	cmp	w8, #10
	ccmp	w8, #13, #4, ne
	b.ne	LBB0_16
LBB0_19:                                ;   in Loop: Header=BB0_14 Depth=2
	mvn	x8, x25
	add	x8, x8, x2
	str	x8, [sp, #16]
	add	x0, sp, #32
	mov	x1, x24
	mov	x2, x25
	bl	_archive_strncat
	add	x0, sp, #32
	bl	_archive_strlen
	cmp	x0, #1
	b.lt	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	w2, [sp, #32]
	mov	x0, x20
	mov	x1, x21
	bl	_add_pattern_mbs
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_34
; %bb.21:                               ;   in Loop: Header=BB0_14 Depth=2
	add	x0, sp, #32
	bl	_archive_string_empty
LBB0_22:                                ;   in Loop: Header=BB0_14 Depth=2
	add	x8, x24, x25
	add	x24, x8, #1
	ldr	x2, [sp, #16]
	cbnz	x2, LBB0_14
	b	LBB0_11
LBB0_23:
	mov	x0, x20
	mov	x1, x19
	bl	_archive_copy_error
	mov	x0, x19
	bl	_archive_read_free
LBB0_24:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_25:
	mov	x23, x0
	mov	x0, x19
	bl	_archive_read_free
Lloh10:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w23, w8
	b.eq	LBB0_33
; %bb.26:
	mov	x0, x20
	mov	x1, x19
	bl	_archive_copy_error
	b	LBB0_24
LBB0_27:
	mov	x23, x0
	cmp	w0, w8
	b.ge	LBB0_29
; %bb.28:
	mov	x0, x20
	mov	x1, x19
	bl	_archive_copy_error
	b	LBB0_35
LBB0_29:
Lloh13:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_32
; %bb.30:
	add	x0, sp, #32
	bl	_archive_strlen
	cmp	x0, #1
	b.lt	LBB0_32
; %bb.31:
	ldr	w2, [sp, #32]
	mov	x0, x20
	mov	x1, x21
	bl	_add_pattern_mbs
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_34
LBB0_32:
	mov	x0, x19
	bl	_archive_read_free
	add	x0, sp, #32
	bl	_archive_string_free
LBB0_33:
	ldr	w23, [x26]
	b	LBB0_24
LBB0_34:
	mov	x23, x0
LBB0_35:
	mov	x0, x19
	bl	_archive_read_free
	add	x0, sp, #32
	bl	_archive_string_free
	b	LBB0_24
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No memory"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
	.no_dead_strip	_add_pattern_from_file
.subsections_via_symbols
