	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_base64_decode               ## -- Begin function av_base64_decode
	.p2align	4, 0x90
_av_base64_decode:                      ## @av_base64_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	%rdi, %r12
	movslq	%edx, %r15
	leaq	(%rdi,%r15), %r14
                                        ## implicit-def: $ebx
	cmpl	$4, %r15d
	jl	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	callq	_BASE64_DEC_STEP
	movl	$1, %edi
	callq	_BASE64_DEC_STEP
	movl	$2, %edi
	callq	_BASE64_DEC_STEP
	movl	$3, %edi
	callq	_BASE64_DEC_STEP
	shll	$8, %ebx
	movl	%ebx, %edi
	callq	_av_be2ne32
	movl	%eax, %ebx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_AV_WN32
	addq	$3, %r12
	addq	$-3, %r15
	cmpq	$3, %r15
	jg	LBB0_1
LBB0_2:
	cmpq	%r12, %r14
	je	LBB0_6
## %bb.3:
	xorl	%edi, %edi
	callq	_BASE64_DEC_STEP
	movl	$1, %edi
	callq	_BASE64_DEC_STEP
	movl	$2, %edi
	callq	_BASE64_DEC_STEP
	movl	$3, %edi
	callq	_BASE64_DEC_STEP
	movl	%ebx, %eax
	shrl	$16, %eax
	leaq	1(%r12), %rcx
	movb	%al, (%r12)
	cmpq	%rcx, %r14
	je	LBB0_6
## %bb.4:
	movq	%r12, %rdx
	movb	%bh, 1(%rdx)
	addq	$2, %rdx
	cmpq	%rdx, %r14
	je	LBB0_6
## %bb.5:
	movb	%bl, (%rdx)
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	callq	_BASE64_DEC_STEP
	xorl	%edi, %edi
	callq	_BASE64_DEC_STEP
	xorl	%edi, %edi
	callq	_BASE64_DEC_STEP
	xorl	%edi, %edi
	callq	_BASE64_DEC_STEP
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_base64_decode               ; -- Begin function av_base64_decode
	.p2align	2
_av_base64_decode:                      ; @av_base64_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	x19, x0
	sxtw	x22, w2
	add	x21, x0, x22
                                        ; implicit-def: $w20
	cmp	w2, #4
	b.lt	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #0
	bl	_BASE64_DEC_STEP
	mov	w0, #1
	bl	_BASE64_DEC_STEP
	mov	w0, #2
	bl	_BASE64_DEC_STEP
	mov	w0, #3
	bl	_BASE64_DEC_STEP
	lsl	w0, w20, #8
	bl	_av_be2ne32
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_AV_WN32
	add	x19, x19, #3
	sub	x22, x22, #3
	cmp	x22, #3
	b.gt	LBB0_1
LBB0_2:
	cmp	x21, x19
	b.eq	LBB0_6
; %bb.3:
	mov	w0, #0
	bl	_BASE64_DEC_STEP
	mov	w0, #1
	bl	_BASE64_DEC_STEP
	mov	w0, #2
	bl	_BASE64_DEC_STEP
	mov	w0, #3
	bl	_BASE64_DEC_STEP
	lsr	w8, w20, #16
	mov	x9, x19
	strb	w8, [x9], #1
	cmp	x21, x9
	b.eq	LBB0_6
; %bb.4:
	lsr	w9, w20, #8
	add	x8, x19, #2
	strb	w9, [x19, #1]
	cmp	x21, x8
	b.eq	LBB0_6
; %bb.5:
	strb	w20, [x8]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #0
	bl	_BASE64_DEC_STEP
	mov	w0, #0
	bl	_BASE64_DEC_STEP
	mov	w0, #0
	bl	_BASE64_DEC_STEP
	mov	w0, #0
	bl	_BASE64_DEC_STEP
	b	LBB0_6
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
.subsections_via_symbols
