	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function BF_encode
_BF_encode:                             ## @BF_encode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%edx, %r9
	addq	%rsi, %r9
	incq	%rdi
	movq	_BF_itoa64@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi), %ecx
	movq	(%r8), %rdx
	movl	%ecx, %eax
	andl	$-4, %eax
	movzbl	(%rdx,%rax,2), %eax
	movb	%al, -1(%rdi)
	shll	$4, %ecx
	andl	$48, %ecx
	incq	%rsi
	cmpq	%r9, %rsi
	jae	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	(%rsi), %edx
	movq	%rdx, %rax
	shrq	$4, %rax
	orq	%rcx, %rax
	movq	(%r8), %rcx
	movzbl	(%rcx,%rax,8), %eax
	movb	%al, (%rdi)
	shll	$2, %edx
	andl	$60, %edx
	incq	%rsi
	cmpq	%r9, %rsi
	jae	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	(%rsi), %eax
	movq	%rax, %rcx
	shrq	$6, %rcx
	orq	%rdx, %rcx
	movq	(%r8), %rdx
	movzbl	(%rdx,%rcx,8), %ecx
	movb	%cl, 1(%rdi)
	movq	(%r8), %rcx
	andl	$63, %eax
	movzbl	(%rcx,%rax,8), %eax
	movb	%al, 2(%rdi)
	addq	$4, %rdi
	incq	%rsi
	cmpq	%r9, %rsi
	jb	LBB0_1
## %bb.6:
	popq	%rbp
	retq
LBB0_4:
	incq	%rdi
	movl	%edx, %ecx
LBB0_5:
	movq	(%r8), %rax
	movl	%ecx, %ecx
	movb	(%rax,%rcx,8), %al
	movb	%al, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BF_itoa64,8,3                  ## @BF_itoa64
	.no_dead_strip	_BF_encode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function BF_encode
_BF_encode:                             ; @BF_encode
	.cfi_startproc
; %bb.0:
	add	x10, x1, w2, sxtw
	add	x8, x0, #1
Lloh0:
	adrp	x9, _BF_itoa64@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BF_itoa64@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x1], #1
	ldr	x12, [x9]
	lsl	w13, w11, #1
	and	x13, x13, #0x1f8
	ldr	x12, [x12, x13]
	sturb	w12, [x8, #-1]
	lsl	w11, w11, #4
	and	x11, x11, #0x30
	cmp	x1, x10
	b.hs	LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w12, [x1], #1
	orr	x11, x11, x12, lsr #4
	ldr	x13, [x9]
	ldr	x11, [x13, x11, lsl #3]
	strb	w11, [x8]
	lsl	w11, w12, #2
	and	x11, x11, #0x3c
	cmp	x1, x10
	b.hs	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w12, [x1], #1
	orr	x11, x11, x12, lsr #6
	ldr	x13, [x9]
	ldr	x11, [x13, x11, lsl #3]
	strb	w11, [x8, #1]
	ldr	x11, [x9]
	and	x12, x12, #0x3f
	ldr	x11, [x11, x12, lsl #3]
	strb	w11, [x8, #2]
	add	x8, x8, #4
	cmp	x1, x10
	b.lo	LBB0_1
; %bb.4:
	ret
LBB0_5:
	add	x8, x8, #1
                                        ; kill: def $w11 killed $w11 killed $x11 def $x11
LBB0_6:
	ldr	x9, [x9]
	ldr	x9, [x9, w11, uxtw #3]
	strb	w9, [x8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BF_itoa64,8,3                  ; @BF_itoa64
	.no_dead_strip	_BF_encode
.subsections_via_symbols
