	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function BF_decode
_BF_decode:                             ## @BF_decode
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movslq	%edx, %r12
	leaq	(%rdi,%r12), %r15
	incq	%rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14), %esi
	callq	_BF_safe_atoi64
	movzbl	1(%r14), %esi
	callq	_BF_safe_atoi64
	movb	$0, -1(%rbx)
	cmpq	%r15, %rbx
	jae	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	2(%r14), %esi
	callq	_BF_safe_atoi64
	leaq	1(%rbx), %rdi
	movb	$0, (%rbx)
	cmpq	%r15, %rdi
	jae	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	3(%r14), %esi
	callq	_BF_safe_atoi64
	leaq	3(%rbx), %rdi
	addq	$2, %rbx
	addq	$4, %r14
	cmpq	%r15, %rbx
	movq	%rdi, %rbx
	jb	LBB0_1
## %bb.5:
	decq	%rdi
	jmp	LBB0_6
LBB0_2:
	movq	%rbx, %rdi
LBB0_6:
	movq	%r15, %rsi
	subq	%rdi, %rsi
	movl	$-1, %ebx
	cmpq	%r12, %rsi
	je	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	cmpq	%r15, %rdi
	jae	LBB0_9
## %bb.8:
	callq	___bzero
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_BF_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function BF_decode
_BF_decode:                             ; @BF_decode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x20, x1
	sxtw	x22, w2
	add	x21, x0, x22
	add	x19, x0, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w1, [x20]
	bl	_BF_safe_atoi64
	ldrb	w1, [x20, #1]
	bl	_BF_safe_atoi64
	sturb	wzr, [x19, #-1]
	cmp	x19, x21
	b.hs	LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w1, [x20, #2]
	bl	_BF_safe_atoi64
	mov	x8, x19
	strb	wzr, [x8], #1
	cmp	x8, x21
	b.hs	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w1, [x20, #3]
	bl	_BF_safe_atoi64
	add	x8, x19, #3
	add	x9, x19, #2
	add	x20, x20, #4
	mov	x19, x8
	cmp	x9, x21
	b.lo	LBB0_1
; %bb.4:
	sub	x19, x8, #1
	b	LBB0_6
LBB0_5:
	add	x19, x19, #1
LBB0_6:
	sub	x1, x21, x19
	cmp	x1, x22
	b.ne	LBB0_8
; %bb.7:
	mov	w0, #-1
	b	LBB0_11
LBB0_8:
	cmp	x19, x21
	b.hs	LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_bzero
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_BF_decode
.subsections_via_symbols
