	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function archive_write_shar_data_uuencode
_archive_write_shar_data_uuencode:      ## @archive_write_shar_data_uuencode
	.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	(%rdi), %r15
	cmpl	$0, 24(%r15)
	je	LBB0_1
## %bb.2:
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r12
	movslq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	movl	$45, %r14d
	subq	%rdi, %r14
	cmpq	%rbx, %r14
	cmovaeq	%rbx, %r14
	addq	8(%r15), %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_memcpy
	movslq	(%r15), %rax
	addq	%r14, %rax
	cmpq	$44, %rax
	ja	LBB0_6
## %bb.5:
	movl	%eax, (%r15)
	jmp	LBB0_17
LBB0_1:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_17
LBB0_3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	cmpq	$45, %rbx
	jae	LBB0_8
	jmp	LBB0_14
LBB0_6:
	movq	8(%r15), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$45, %ecx
	callq	_uuencode_line
	addq	%r14, %r13
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	subq	%r14, %rbx
	cmpq	$45, %rbx
	jb	LBB0_14
LBB0_8:
	leaq	16(%r15), %r14
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	addq	$45, %r13
	addq	$-45, %rbx
	cmpq	$44, %rbx
	jbe	LBB0_14
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movl	$45, %ecx
	callq	_uuencode_line
	movl	16(%r15), %edx
	cmpl	$65536, %edx                    ## imm = 0x10000
	jl	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	20(%r15), %esi
	movq	%r12, %rdi
	callq	___archive_write_output
	cltq
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r14, %rdi
	callq	_archive_string_empty
	jmp	LBB0_13
LBB0_14:
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.15:
	movq	8(%r15), %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	movl	%ebx, (%r15)
LBB0_16:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_17:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,8,3                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_FATAL,8,3              ## @ARCHIVE_FATAL
	.no_dead_strip	_archive_write_shar_data_uuencode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function archive_write_shar_data_uuencode
_archive_write_shar_data_uuencode:      ; @archive_write_shar_data_uuencode
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x20, [x0]
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	ldrsw	x8, [x20]
	cbz	w8, LBB0_6
; %bb.2:
	mov	w9, #45
	sub	x9, x9, x8
	cmp	x9, x19
	csel	x23, x9, x19, lo
	ldr	x9, [x20, #8]
	add	x0, x9, x8
	mov	x1, x21
	mov	x2, x23
	bl	_memcpy
	ldrsw	x8, [x20]
	add	x8, x23, x8
	cmp	x8, #44
	b.hi	LBB0_7
; %bb.3:
	str	w8, [x20]
	b	LBB0_15
LBB0_4:
Lloh0:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
LBB0_5:
	ldr	x19, [x8]
	b	LBB0_15
LBB0_6:
	mov	x23, x19
	cmp	x23, #45
	b.hs	LBB0_8
	b	LBB0_13
LBB0_7:
	ldr	x2, [x20, #8]
	mov	x0, x22
	mov	x1, x20
	mov	w3, #45
	bl	_uuencode_line
	add	x21, x21, x23
	sub	x23, x19, x23
	cmp	x23, #45
	b.lo	LBB0_13
LBB0_8:
	add	x24, x20, #16
Lloh2:
	adrp	x25, _ARCHIVE_OK@GOTPAGE
Lloh3:
	ldr	x25, [x25, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x21, x21, #45
	sub	x23, x23, #45
	cmp	x23, #44
	b.ls	LBB0_13
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	mov	w3, #45
	bl	_uuencode_line
	ldr	w2, [x20, #16]
	cmp	w2, #16, lsl #12                ; =65536
	b.lt	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w1, [x20, #20]
	mov	x0, x22
	bl	___archive_write_output
	ldr	x8, [x25]
	cmp	x8, w0, sxtw
	b.ne	LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x24
	bl	_archive_string_empty
	b	LBB0_9
LBB0_13:
	cbz	x23, LBB0_15
; %bb.14:
	ldr	x0, [x20, #8]
	mov	x1, x21
	mov	x2, x23
	bl	_memcpy
	str	w23, [x20]
LBB0_15:
	mov	x0, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_16:
Lloh4:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,8,3                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_FATAL,8,3              ; @ARCHIVE_FATAL
	.no_dead_strip	_archive_write_shar_data_uuencode
.subsections_via_symbols
