	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b64_ctrl
_b64_ctrl:                              ## @b64_ctrl
	.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	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %r13
	callq	_BIO_get_data
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_BIO_next
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.1:
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_19
## %bb.2:
	leal	-128(%r15), %eax
	cmpl	$9, %eax
	ja	LBB0_29
## %bb.3:
	movl	$1, %r14d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_28:
	movq	%r13, %rdi
	callq	_BIO_clear_retry_flags
	movq	%r12, %rdi
	movl	$128, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_BIO_ctrl
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_BIO_copy_next_retry
	movq	%rbx, %rax
	jmp	LBB0_20
LBB0_8:
	movq	8(%rbx), %rax
	xorl	%edi, %edi
	cmpq	16(%rbx), %rax
	setge	%dil
	callq	_OPENSSL_assert
	movq	8(%rbx), %rax
	subq	16(%rbx), %rax
	je	LBB0_9
## %bb.11:
	movq	%rax, %r14
	testq	%rax, %rax
	jg	LBB0_19
	jmp	LBB0_12
LBB0_29:
	movq	%r12, %rdi
	movl	%r15d, %esi
	jmp	LBB0_7
LBB0_4:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	movq	_B64_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	%r12, %rdi
	movl	$131, %esi
	jmp	LBB0_7
LBB0_13:
	movq	8(%rbx), %rax
	xorl	%edi, %edi
	cmpq	16(%rbx), %rax
	setge	%dil
	callq	_OPENSSL_assert
	movq	8(%rbx), %r14
	subq	16(%rbx), %r14
	jg	LBB0_19
## %bb.14:
	movq	%r12, %rdi
	movl	$132, %esi
	jmp	LBB0_7
LBB0_15:
	movq	%rbx, %r15
	addq	$8, %r15
	movq	_BIO_FLAGS_BASE64_NO_NL@GOTPCREL(%rip), %r14
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_b64_write
	testl	%eax, %eax
	js	LBB0_18
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	cmpq	16(%rbx), %rax
	jne	LBB0_17
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%r13, %rdi
	callq	_BIO_get_flags
	testl	%eax, (%r14)
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	40(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_27
## %bb.23:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	24(%rbx), %rdi
	movq	48(%rbx), %rsi
	callq	_EVP_EncodeBlock
	movq	%rax, 8(%rbx)
	movq	$0, 16(%rbx)
	movl	$0, 40(%rbx)
	jmp	LBB0_16
LBB0_24:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	36(%rbx), %eax
	movq	_B64_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	32(%rbx), %edi
	callq	_EVP_ENCODE_CTX_num
	testl	%eax, %eax
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	$0, 16(%rbx)
	movl	32(%rbx), %edi
	movq	24(%rbx), %rsi
	movq	%r15, %rdx
	callq	_EVP_EncodeFinal
	jmp	LBB0_16
LBB0_5:
	cmpl	$0, (%rbx)
	jle	LBB0_19
## %bb.6:
	movq	%r12, %rdi
	movl	$136, %esi
	jmp	LBB0_7
LBB0_27:
	movq	%r12, %rdi
	movl	$135, %esi
	jmp	LBB0_7
LBB0_18:
	movslq	%eax, %r14
	jmp	LBB0_19
LBB0_9:
	movl	36(%rbx), %eax
	movq	_B64_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_12
## %bb.10:
	movl	32(%rbx), %edi
	callq	_EVP_ENCODE_CTX_num
	testl	%eax, %eax
	je	LBB0_12
LBB0_19:
	movq	%r14, %rax
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%r12, %rdi
	movl	$129, %esi
LBB0_7:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BIO_ctrl                       ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_28
	.long	L0_0_set_8
	.long	L0_0_set_29
	.long	L0_0_set_4
	.long	L0_0_set_13
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_15
	.long	L0_0_set_5
	.long	L0_0_set_19
	.end_data_region
                                        ## -- End function
	.comm	_B64_NONE,4,2                   ## @B64_NONE
	.comm	_BIO_FLAGS_BASE64_NO_NL,4,2     ## @BIO_FLAGS_BASE64_NO_NL
	.no_dead_strip	_b64_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b64_ctrl
_b64_ctrl:                              ; @b64_ctrl
	.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	x19, x3
	mov	x20, x2
	mov	x24, x1
	mov	x23, x0
	bl	_BIO_get_data
	mov	x22, x0
	mov	x0, x23
	bl	_BIO_next
	mov	x21, x0
	mov	x0, #0
	cbz	x22, LBB0_27
; %bb.1:
	cbz	x21, LBB0_27
; %bb.2:
	sub	w8, w24, #128
	cmp	w8, #9
	b.hi	LBB0_7
; %bb.3:
	mov	w0, #1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	mov	x0, x23
	bl	_BIO_clear_retry_flags
	mov	x0, x21
	mov	w1, #128
	mov	x2, x20
	mov	x3, x19
	bl	_BIO_ctrl
	mov	x19, x0
	mov	x0, x23
	bl	_BIO_copy_next_retry
	mov	x0, x19
	b	LBB0_27
LBB0_5:
	ldp	x8, x9, [x22, #8]
	cmp	x8, x9
	cset	w0, ge
	bl	_OPENSSL_assert
	ldp	x8, x9, [x22, #8]
	subs	x0, x8, x9
	b.eq	LBB0_24
; %bb.6:
	cmp	x0, #0
	b.gt	LBB0_27
	b	LBB0_28
LBB0_7:
	mov	x0, x21
	mov	x1, x24
	b	LBB0_29
LBB0_8:
	movi.2s	v0, #1
	str	d0, [x22]
Lloh2:
	adrp	x8, _B64_NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _B64_NONE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x22, #36]
	mov	x0, x21
	mov	w1, #131
	b	LBB0_29
LBB0_9:
	ldp	x8, x9, [x22, #8]
	cmp	x8, x9
	cset	w0, ge
	bl	_OPENSSL_assert
	ldp	x8, x9, [x22, #8]
	sub	x0, x8, x9
	cmp	x0, #0
	b.gt	LBB0_27
; %bb.10:
	mov	x0, x21
	mov	w1, #132
	b	LBB0_29
LBB0_11:
	add	x24, x22, #8
Lloh5:
	adrp	x25, _BIO_FLAGS_BASE64_NO_NL@GOTPAGE
Lloh6:
	ldr	x25, [x25, _BIO_FLAGS_BASE64_NO_NL@GOTPAGEOFF]
Lloh7:
	adrp	x26, _B64_NONE@GOTPAGE
Lloh8:
	ldr	x26, [x26, _B64_NONE@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x1, #0
	mov	w2, #0
	bl	_b64_write
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_23
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x22, #8]
	mov	x0, x23
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	bl	_BIO_get_flags
	ldr	w8, [x25]
	tst	w8, w0
	b.eq	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w2, [x22, #40]
	cbz	w2, LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x0, [x22, #24]
	ldr	x1, [x22, #48]
	bl	_EVP_EncodeBlock
	stp	x0, xzr, [x22, #8]
	str	wzr, [x22, #40]
	b	LBB0_13
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x22, #36]
	ldr	w9, [x26]
	cmp	w8, w9
	b.eq	LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x22, #32]
	bl	_EVP_ENCODE_CTX_num
	cbz	w0, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_13 Depth=1
	str	xzr, [x22, #16]
	ldr	w0, [x22, #32]
	ldr	x1, [x22, #24]
	mov	x2, x24
	bl	_EVP_EncodeFinal
	b	LBB0_13
LBB0_20:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.21:
	mov	x0, x21
	mov	w1, #136
	b	LBB0_29
LBB0_22:
	mov	x0, x21
	mov	w1, #135
	b	LBB0_29
LBB0_23:
	sxtw	x0, w0
	b	LBB0_27
LBB0_24:
	ldr	w8, [x22, #36]
Lloh9:
	adrp	x9, _B64_NONE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _B64_NONE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_28
; %bb.25:
	ldr	w0, [x22, #32]
	bl	_EVP_ENCODE_CTX_num
	cbz	w0, LBB0_28
LBB0_26:
	mov	w0, #1
LBB0_27:
	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_28:
	mov	x0, x21
	mov	w1, #129
LBB0_29:
	mov	x2, x20
	mov	x3, 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	_BIO_ctrl
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_20-LBB0_4)>>2
	.byte	(LBB0_27-LBB0_4)>>2
                                        ; -- End function
	.comm	_B64_NONE,4,2                   ; @B64_NONE
	.comm	_BIO_FLAGS_BASE64_NO_NL,4,2     ; @BIO_FLAGS_BASE64_NO_NL
	.no_dead_strip	_b64_ctrl
.subsections_via_symbols
