	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_write_add_filter_b64encode ## -- Begin function archive_write_add_filter_b64encode
	.p2align	4, 0x90
_archive_write_add_filter_b64encode:    ## @archive_write_add_filter_b64encode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	___archive_write_allocate_filter
	movq	%rax, %r14
	movq	_ARCHIVE_WRITE_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ARCHIVE_STATE_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	callq	_archive_check_magic
	movl	$1, %edi
	movl	$8, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$4, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_archive_strcpy
	movl	$420, (%rbx)                    ## imm = 0x1A4
	movq	%rbx, 32(%r14)
	leaq	L_.str.3(%rip), %rax
	movq	%rax, (%r14)
	movq	_ARCHIVE_FILTER_UU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
	movq	_archive_filter_b64encode_open@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	_archive_filter_b64encode_options@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
	movq	_archive_filter_b64encode_write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	_archive_filter_b64encode_close@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movq	_archive_filter_b64encode_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movl	40(%r14), %edi
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_archive_set_error
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_WRITE_MAGIC,4,2        ## @ARCHIVE_WRITE_MAGIC
	.comm	_ARCHIVE_STATE_NEW,4,2          ## @ARCHIVE_STATE_NEW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"archive_write_add_filter_uu"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Can't allocate data for b64encode filter"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
L_.str.2:                               ## @.str.2
	.asciz	"-"

L_.str.3:                               ## @.str.3
	.asciz	"b64encode"

	.comm	_ARCHIVE_FILTER_UU,4,2          ## @ARCHIVE_FILTER_UU
	.comm	_archive_filter_b64encode_open,4,2 ## @archive_filter_b64encode_open
	.comm	_archive_filter_b64encode_options,4,2 ## @archive_filter_b64encode_options
	.comm	_archive_filter_b64encode_write,4,2 ## @archive_filter_b64encode_write
	.comm	_archive_filter_b64encode_close,4,2 ## @archive_filter_b64encode_close
	.comm	_archive_filter_b64encode_free,4,2 ## @archive_filter_b64encode_free
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_write_add_filter_b64encode ; -- Begin function archive_write_add_filter_b64encode
	.p2align	2
_archive_write_add_filter_b64encode:    ; @archive_write_add_filter_b64encode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	___archive_write_allocate_filter
	mov	x19, x0
Lloh0:
	adrp	x8, _ARCHIVE_WRITE_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_WRITE_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
	mov	x0, x20
	bl	_archive_check_magic
	mov	w0, #1
	mov	w1, #8
	bl	_calloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	add	x0, x0, #4
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_archive_strcpy
	mov	w8, #420
	str	w8, [x20]
	str	x20, [x19, #32]
Lloh10:
	adrp	x8, l_.str.3@PAGE
Lloh11:
	add	x8, x8, l_.str.3@PAGEOFF
	str	x8, [x19]
Lloh12:
	adrp	x8, _ARCHIVE_FILTER_UU@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ARCHIVE_FILTER_UU@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _archive_filter_b64encode_open@GOTPAGE
Lloh16:
	ldr	x9, [x9, _archive_filter_b64encode_open@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
Lloh18:
	adrp	x8, _archive_filter_b64encode_options@GOTPAGE
Lloh19:
	ldr	x8, [x8, _archive_filter_b64encode_options@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _archive_filter_b64encode_write@GOTPAGE
Lloh22:
	ldr	x9, [x9, _archive_filter_b64encode_write@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
Lloh24:
	adrp	x8, _archive_filter_b64encode_close@GOTPAGE
Lloh25:
	ldr	x8, [x8, _archive_filter_b64encode_close@GOTPAGEOFF]
Lloh26:
	adrp	x9, _archive_filter_b64encode_free@GOTPAGE
Lloh27:
	ldr	x9, [x9, _archive_filter_b64encode_free@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
Lloh30:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19, #40]
Lloh32:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
Lloh35:
	adrp	x2, l_.str.1@PAGE
Lloh36:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_archive_set_error
Lloh37:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_WRITE_MAGIC,4,2        ; @ARCHIVE_WRITE_MAGIC
	.comm	_ARCHIVE_STATE_NEW,4,2          ; @ARCHIVE_STATE_NEW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"archive_write_add_filter_uu"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Can't allocate data for b64encode filter"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
l_.str.2:                               ; @.str.2
	.asciz	"-"

l_.str.3:                               ; @.str.3
	.asciz	"b64encode"

	.comm	_ARCHIVE_FILTER_UU,4,2          ; @ARCHIVE_FILTER_UU
	.comm	_archive_filter_b64encode_open,4,2 ; @archive_filter_b64encode_open
	.comm	_archive_filter_b64encode_options,4,2 ; @archive_filter_b64encode_options
	.comm	_archive_filter_b64encode_write,4,2 ; @archive_filter_b64encode_write
	.comm	_archive_filter_b64encode_close,4,2 ; @archive_filter_b64encode_close
	.comm	_archive_filter_b64encode_free,4,2 ; @archive_filter_b64encode_free
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
.subsections_via_symbols
