	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fdk_aac_decode_frame
_fdk_aac_decode_frame:                  ## @fdk_aac_decode_frame
	.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, %r13
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	16(%rdi), %rbx
	movl	(%rcx), %eax
	movl	%eax, -44(%rbp)
	movl	16(%rbx), %edi
	leaq	4(%rcx), %rsi
	leaq	-44(%rbp), %rcx
	movq	%r13, %rdx
	callq	_aacDecoder_Fill
	movq	_AAC_DEC_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	16(%rbx), %edi
	movq	8(%rbx), %rsi
	movl	(%rbx), %edx
	sarl	$2, %edx
	xorl	%ecx, %ecx
	callq	_aacDecoder_DecodeFrame
	movq	_AAC_DEC_NOT_ENOUGH_BITS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
LBB0_2:
	movl	(%r13), %eax
	subl	-44(%rbp), %eax
	jmp	LBB0_5
LBB0_3:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movq	%rax, %rcx
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_AAC_DEC_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.7:
	movq	%r15, %rdi
	callq	_get_stream_info
	testl	%eax, %eax
	js	LBB0_5
## %bb.8:
	movl	(%r15), %eax
	movl	%eax, (%r14)
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_5
## %bb.9:
	movq	8(%r14), %rax
	movl	(%rax), %r14d
	movq	8(%rbx), %rbx
	movl	(%r15), %r12d
	movl	8(%r15), %edi
	imull	4(%r15), %r12d
	callq	_av_get_bytes_per_sample
	imull	%eax, %r12d
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	jmp	LBB0_2
LBB0_10:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movq	%rax, %rcx
	callq	_av_log
	movq	_AVERROR_UNKNOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_AAC_DEC_OK,8,3                 ## @AAC_DEC_OK
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"aacDecoder_Fill() failed: %x\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AAC_DEC_NOT_ENOUGH_BITS,8,3    ## @AAC_DEC_NOT_ENOUGH_BITS
L_.str.1:                               ## @.str.1
	.asciz	"aacDecoder_DecodeFrame() failed: %x\n"

	.comm	_AVERROR_UNKNOWN,4,2            ## @AVERROR_UNKNOWN
	.no_dead_strip	_fdk_aac_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fdk_aac_decode_frame
_fdk_aac_decode_frame:                  ; @fdk_aac_decode_frame
	.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	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	ldr	x23, [x0, #16]
	mov	x1, x3
	ldr	w8, [x1], #4
	str	w8, [sp, #12]
	ldr	w0, [x23, #16]
	add	x3, sp, #12
	mov	x2, x19
	bl	_aacDecoder_Fill
Lloh0:
	adrp	x24, _AAC_DEC_OK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _AAC_DEC_OK@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x23, #16]
	ldr	x1, [x23, #8]
	ldr	w8, [x23]
	asr	w2, w8, #2
	mov	w3, #0
	bl	_aacDecoder_DecodeFrame
Lloh2:
	adrp	x8, _AAC_DEC_NOT_ENOUGH_BITS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AAC_DEC_NOT_ENOUGH_BITS@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
LBB0_2:
	ldr	w8, [x19]
	ldr	w9, [sp, #12]
	sub	w0, w8, w9
	b	LBB0_5
LBB0_3:
	mov	x3, x0
Lloh5:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_av_log
Lloh10:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
LBB0_5:
	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
LBB0_6:
	mov	x3, x0
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.7:
	mov	x0, x21
	bl	_get_stream_info
	tbnz	w0, #31, LBB0_5
; %bb.8:
	ldr	w8, [x21]
	str	w8, [x22]
	mov	x0, x21
	mov	x1, x22
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_5
; %bb.9:
	ldr	x8, [x22, #8]
	ldr	w22, [x8]
	ldr	x23, [x23, #8]
	ldp	w9, w8, [x21]
	mul	w24, w9, w8
	ldr	w0, [x21, #8]
	bl	_av_get_bytes_per_sample
	mul	w2, w24, w0
	mov	x0, x22
	mov	x1, x23
	bl	_memcpy
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_2
LBB0_10:
Lloh12:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_av_log
Lloh17:
	adrp	x8, _AVERROR_UNKNOWN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AVERROR_UNKNOWN@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_AAC_DEC_OK,8,3                 ; @AAC_DEC_OK
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"aacDecoder_Fill() failed: %x\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AAC_DEC_NOT_ENOUGH_BITS,8,3    ; @AAC_DEC_NOT_ENOUGH_BITS
l_.str.1:                               ; @.str.1
	.asciz	"aacDecoder_DecodeFrame() failed: %x\n"

	.comm	_AVERROR_UNKNOWN,4,2            ; @AVERROR_UNKNOWN
	.no_dead_strip	_fdk_aac_decode_frame
.subsections_via_symbols
