	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pgp_armor_encode               ## -- Begin function pgp_armor_encode
	.p2align	4, 0x90
_pgp_armor_encode:                      ## @pgp_armor_encode
	.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	%r9, %rbx
	movq	%r8, %r12
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	callq	_crc24
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_armor_header@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_appendStringInfoString
	testl	%r15d, %r15d
	jle	LBB0_3
## %bb.1:
	movl	%r15d, %r15d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r13,8), %rdx
	movq	(%rbx,%r13,8), %rcx
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_appendStringInfo
	incq	%r13
	cmpq	%r13, %r15
	jne	LBB0_2
LBB0_3:
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_appendStringInfoChar
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_pg_base64_enc_len
	movl	%eax, %r12d
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_enlargeStringInfo
	movslq	8(%r14), %rdx
	shlq	$2, %rdx
	addq	(%r14), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_pg_base64_encode
	movl	%eax, %r15d
	cmpl	%r12d, %eax
	movq	%r14, %r12
	jbe	LBB0_5
## %bb.4:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
LBB0_5:
	movslq	8(%r12), %rax
	movslq	%r15d, %rcx
	addq	%rax, %rcx
	movl	%ecx, 8(%r12)
	movq	(%r12), %rax
	cmpb	$10, -1(%rax,%rcx)
	je	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	movl	$10, %esi
	callq	_appendStringInfoChar
LBB0_7:
	movq	%r12, %rdi
	movl	$61, %esi
	callq	_appendStringInfoChar
	movq	__base64@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %ecx
	shrl	$18, %ecx
	andl	$63, %ecx
	movsbl	(%rax,%rcx), %esi
	movq	%r12, %rdi
	callq	_appendStringInfoChar
	movq	(%r14), %rax
	movl	%ebx, %ecx
	shrl	$12, %ecx
	andl	$63, %ecx
	movsbl	(%rax,%rcx), %esi
	movq	%r12, %rdi
	callq	_appendStringInfoChar
	movq	(%r14), %rax
	movl	%ebx, %ecx
	shrl	$6, %ecx
	andl	$63, %ecx
	movsbl	(%rax,%rcx), %esi
	movq	%r12, %rdi
	callq	_appendStringInfoChar
	movq	(%r14), %rax
	andl	$63, %ebx
	movsbl	(%rax,%rbx), %esi
	movq	%r12, %rdi
	callq	_appendStringInfoChar
	movq	_armor_footer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_appendStringInfoString         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_armor_header,4,2               ## @armor_header
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: %s\n"

	.comm	_FATAL,4,2                      ## @FATAL
L_.str.1:                               ## @.str.1
	.asciz	"overflow - encode estimate too small"

	.comm	__base64,8,3                    ## @_base64
	.comm	_armor_footer,4,2               ## @armor_footer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pgp_armor_encode               ; -- Begin function pgp_armor_encode
	.p2align	2
_pgp_armor_encode:                      ; @pgp_armor_encode
	.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
	mov	x23, x5
	mov	x24, x4
	mov	x25, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	bl	_crc24
	mov	x20, x0
Lloh0:
	adrp	x8, _armor_header@GOTPAGE
Lloh1:
	ldr	x8, [x8, _armor_header@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_appendStringInfoString
	cmp	w25, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w26, w25
Lloh3:
	adrp	x25, l_.str@PAGE
Lloh4:
	add	x25, x25, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x2, [x24], #8
	ldr	x3, [x23], #8
	mov	x0, x19
	mov	x1, x25
	bl	_appendStringInfo
	subs	x26, x26, #1
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x19
	mov	w1, #10
	bl	_appendStringInfoChar
	mov	x0, x21
	bl	_pg_base64_enc_len
	mov	x23, x0
	mov	x0, x19
	mov	x1, x23
	bl	_enlargeStringInfo
	ldr	x8, [x19]
	ldrsw	x9, [x19, #8]
	add	x2, x8, x9, lsl #2
	mov	x0, x22
	mov	x1, x21
	bl	_pg_base64_encode
	mov	x21, x0
	cmp	w0, w23
	b.ls	LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _FATAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_5:
	ldrsw	x8, [x19, #8]
	add	x8, x8, w21, sxtw
	str	w8, [x19, #8]
	ldr	x9, [x19]
	add	x8, x9, x8
	ldurb	w8, [x8, #-1]
	cmp	w8, #10
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	mov	w1, #10
	bl	_appendStringInfoChar
LBB0_7:
	mov	x0, x19
	mov	w1, #61
	bl	_appendStringInfoChar
Lloh10:
	adrp	x21, __base64@GOTPAGE
Lloh11:
	ldr	x21, [x21, __base64@GOTPAGEOFF]
	ldr	x8, [x21]
	ubfx	x9, x20, #18, #6
	ldrsb	w1, [x8, x9]
	mov	x0, x19
	bl	_appendStringInfoChar
	ldr	x8, [x21]
	ubfx	x9, x20, #12, #6
	ldrsb	w1, [x8, x9]
	mov	x0, x19
	bl	_appendStringInfoChar
	ldr	x8, [x21]
	ubfx	x9, x20, #6, #6
	ldrsb	w1, [x8, x9]
	mov	x0, x19
	bl	_appendStringInfoChar
	ldr	x8, [x21]
	and	x9, x20, #0x3f
	ldrsb	w1, [x8, x9]
	mov	x0, x19
	bl	_appendStringInfoChar
Lloh12:
	adrp	x8, _armor_footer@GOTPAGE
Lloh13:
	ldr	x8, [x8, _armor_footer@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	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
	b	_appendStringInfoString
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_armor_header,4,2               ; @armor_header
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: %s\n"

	.comm	_FATAL,4,2                      ; @FATAL
l_.str.1:                               ; @.str.1
	.asciz	"overflow - encode estimate too small"

	.comm	__base64,8,3                    ; @_base64
	.comm	_armor_footer,4,2               ; @armor_footer
.subsections_via_symbols
