	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function t_tob64
_t_tob64:                               ## @t_tob64
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_EVP_ENCODE_CTX_new
	movl	$0, -44(%rbp)
	movl	$0, -48(%rbp)
	movw	$0, -50(%rbp)
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r12
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_EVP_EncodeInit
	movq	_EVP_ENCODE_CTX_NO_NEWLINES@GOTPCREL(%rip), %rax
	movq	_EVP_ENCODE_CTX_USE_SRP_ALPHABET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r12, %rdi
	callq	_evp_encode_ctx_set_flags
	movl	%r14d, %r8d
	movslq	%r14d, %r14
	imulq	$1431655766, %r14, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
	leal	(%rax,%rax,2), %eax
	subl	%eax, %r14d
	movl	$3, %r13d
	subl	%r14d, %r13d
	xorl	%r15d, %r15d
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.3:
	movl	%r8d, %ebx
	leaq	-44(%rbp), %rdx
	leaq	-50(%rbp), %rcx
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %r8d
	callq	_EVP_EncodeUpdate
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movl	%ebx, %r8d
	movslq	-44(%rbp), %rsi
	jmp	LBB0_5
LBB0_2:
	xorl	%esi, %esi
LBB0_5:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	addq	%rbx, %rsi
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	_EVP_EncodeUpdate
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movslq	-48(%rbp), %rax
	movslq	-44(%rbp), %rsi
	addq	%rax, %rsi
	movl	%esi, -44(%rbp)
	addq	%rbx, %rsi
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	callq	_EVP_EncodeFinal
	movl	-44(%rbp), %edx
	addl	-48(%rbp), %edx
	movl	%edx, -44(%rbp)
	movl	$1, %r15d
	testl	%r14d, %r14d
	je	LBB0_8
## %bb.7:
	leaq	(%rbx,%r13), %rsi
	subl	%r13d, %edx
	movq	%rbx, %rdi
	callq	_memmove
	movslq	-44(%rbp), %rax
	subq	%r13, %rax
	movb	$0, (%rbx,%rax)
LBB0_8:
	movq	%r12, %rdi
	callq	_EVP_ENCODE_CTX_free
LBB0_9:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_ENCODE_CTX_NO_NEWLINES,4,2 ## @EVP_ENCODE_CTX_NO_NEWLINES
	.comm	_EVP_ENCODE_CTX_USE_SRP_ALPHABET,4,2 ## @EVP_ENCODE_CTX_USE_SRP_ALPHABET
	.no_dead_strip	_t_tob64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function t_tob64
_t_tob64:                               ; @t_tob64
	.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	x21, x2
	mov	x23, x1
	mov	x20, x0
	bl	_EVP_ENCODE_CTX_new
	str	xzr, [sp, #8]
	strh	wzr, [sp, #6]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_EVP_EncodeInit
Lloh0:
	adrp	x8, _EVP_ENCODE_CTX_NO_NEWLINES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVP_ENCODE_CTX_NO_NEWLINES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _EVP_ENCODE_CTX_USE_SRP_ALPHABET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EVP_ENCODE_CTX_USE_SRP_ALPHABET@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_evp_encode_ctx_set_flags
	mov	w8, #21846
	movk	w8, #21845, lsl #16
	smull	x8, w21, w8
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	add	w8, w8, w8, lsl #1
	mov	w9, #3
	sub	w24, w21, w8
	sub	w22, w9, w24
	cbz	w24, LBB0_5
; %bb.2:
	add	x2, sp, #12
	add	x3, sp, #6
	mov	x0, x19
	mov	x1, x20
	mov	x4, x22
	bl	_EVP_EncodeUpdate
	cbz	w0, LBB0_10
; %bb.3:
	ldrsw	x8, [sp, #12]
	b	LBB0_6
LBB0_4:
	mov	w20, #0
	b	LBB0_12
LBB0_5:
	mov	x8, #0
LBB0_6:
	add	x1, x20, x8
	add	x2, sp, #8
	mov	x0, x19
	mov	x3, x23
	mov	x4, x21
	bl	_EVP_EncodeUpdate
	cbz	w0, LBB0_10
; %bb.7:
	ldpsw	x8, x9, [sp, #8]
	add	x8, x9, x8
	add	x1, x20, x8
	str	w8, [sp, #12]
	add	x2, sp, #8
	mov	x0, x19
	bl	_EVP_EncodeFinal
	ldp	w8, w9, [sp, #8]
	add	w8, w9, w8
	str	w8, [sp, #12]
	cbz	w24, LBB0_9
; %bb.8:
	add	x1, x20, x22
	sub	w2, w8, w22
	mov	x0, x20
	bl	_memmove
	ldrsw	x8, [sp, #12]
	sub	x8, x8, x22
	strb	wzr, [x20, x8]
LBB0_9:
	mov	w20, #1
	b	LBB0_11
LBB0_10:
	mov	w20, #0
LBB0_11:
	mov	x0, x19
	bl	_EVP_ENCODE_CTX_free
LBB0_12:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_ENCODE_CTX_NO_NEWLINES,4,2 ; @EVP_ENCODE_CTX_NO_NEWLINES
	.comm	_EVP_ENCODE_CTX_USE_SRP_ALPHABET,4,2 ; @EVP_ENCODE_CTX_USE_SRP_ALPHABET
	.no_dead_strip	_t_tob64
.subsections_via_symbols
