	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ffmpeg_audio_resolve_format
_ffmpeg_audio_resolve_format:           ## @ffmpeg_audio_resolve_format
	.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
	movq	_AV_SAMPLE_FMT_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rdi), %rcx
	movq	%rax, (%rcx)
	movq	_AV_SAMPLE_FMT_FLTP@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movl	(%rsi), %esi
	callq	_ffmpeg_codec_has_sample_format
	movl	$1, %r12d
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	$1, %eax
	jmp	LBB0_8
LBB0_2:
	movq	_AV_SAMPLE_FMT_FLT@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movl	(%r14), %esi
	callq	_ffmpeg_codec_has_sample_format
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r12d, %r12d
	movl	$1, %eax
	jmp	LBB0_8
LBB0_4:
	movq	_AV_SAMPLE_FMT_S16P@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movl	(%r14), %esi
	callq	_ffmpeg_codec_has_sample_format
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_6:
	movq	_AV_SAMPLE_FMT_S16@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movl	(%r14), %esi
	callq	_ffmpeg_codec_has_sample_format
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	xorl	%r12d, %r12d
LBB0_8:
	movq	(%r15), %rcx
	movq	16(%rbx), %rdx
	movq	%rcx, (%rdx)
	movl	%eax, (%rbx)
	movl	%r12d, 4(%rbx)
	callq	_RARCH_LOG
LBB0_9:
	movl	$4, 8(%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_SAMPLE_FMT_NONE,8,3         ## @AV_SAMPLE_FMT_NONE
	.comm	_AV_SAMPLE_FMT_FLTP,8,3         ## @AV_SAMPLE_FMT_FLTP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[FFmpeg]: Using sample format FLTP.\n"

	.comm	_AV_SAMPLE_FMT_FLT,8,3          ## @AV_SAMPLE_FMT_FLT
L_.str.1:                               ## @.str.1
	.asciz	"[FFmpeg]: Using sample format FLT.\n"

	.comm	_AV_SAMPLE_FMT_S16P,8,3         ## @AV_SAMPLE_FMT_S16P
L_.str.2:                               ## @.str.2
	.asciz	"[FFmpeg]: Using sample format S16P.\n"

	.comm	_AV_SAMPLE_FMT_S16,8,3          ## @AV_SAMPLE_FMT_S16
L_.str.3:                               ## @.str.3
	.asciz	"[FFmpeg]: Using sample format S16.\n"

	.no_dead_strip	_ffmpeg_audio_resolve_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ffmpeg_audio_resolve_format
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
lCPI0_1:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ffmpeg_audio_resolve_format:           ; @ffmpeg_audio_resolve_format
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _AV_SAMPLE_FMT_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_SAMPLE_FMT_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x0, #16]
	str	x8, [x9]
Lloh3:
	adrp	x21, _AV_SAMPLE_FMT_FLTP@GOTPAGE
Lloh4:
	ldr	x21, [x21, _AV_SAMPLE_FMT_FLTP@GOTPAGEOFF]
	ldr	x0, [x21]
	ldr	w1, [x1]
	bl	_ffmpeg_codec_has_sample_format
	cbz	x0, LBB0_2
; %bb.1:
	movi.2s	v0, #1
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_8
LBB0_2:
Lloh7:
	adrp	x21, _AV_SAMPLE_FMT_FLT@GOTPAGE
Lloh8:
	ldr	x21, [x21, _AV_SAMPLE_FMT_FLT@GOTPAGEOFF]
	ldr	x0, [x21]
	ldr	w1, [x20]
	bl	_ffmpeg_codec_has_sample_format
	cbz	x0, LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, lCPI0_0@PAGE
Lloh10:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_4:
Lloh13:
	adrp	x21, _AV_SAMPLE_FMT_S16P@GOTPAGE
Lloh14:
	ldr	x21, [x21, _AV_SAMPLE_FMT_S16P@GOTPAGEOFF]
	ldr	x0, [x21]
	ldr	w1, [x20]
	bl	_ffmpeg_codec_has_sample_format
	cbz	x0, LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, lCPI0_1@PAGE
Lloh16:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_6:
Lloh19:
	adrp	x21, _AV_SAMPLE_FMT_S16@GOTPAGE
Lloh20:
	ldr	x21, [x21, _AV_SAMPLE_FMT_S16@GOTPAGEOFF]
	ldr	x0, [x21]
	ldr	w1, [x20]
	bl	_ffmpeg_codec_has_sample_format
	cbz	x0, LBB0_9
; %bb.7:
	movi.2d	v0, #0000000000000000
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_8:
	ldr	x8, [x21]
	ldr	x9, [x19, #16]
	str	x8, [x9]
	str	d0, [x19]
	bl	_RARCH_LOG
LBB0_9:
	mov	w8, #4
	str	w8, [x19, #8]
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_SAMPLE_FMT_NONE,8,3         ; @AV_SAMPLE_FMT_NONE
	.comm	_AV_SAMPLE_FMT_FLTP,8,3         ; @AV_SAMPLE_FMT_FLTP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[FFmpeg]: Using sample format FLTP.\n"

	.comm	_AV_SAMPLE_FMT_FLT,8,3          ; @AV_SAMPLE_FMT_FLT
l_.str.1:                               ; @.str.1
	.asciz	"[FFmpeg]: Using sample format FLT.\n"

	.comm	_AV_SAMPLE_FMT_S16P,8,3         ; @AV_SAMPLE_FMT_S16P
l_.str.2:                               ; @.str.2
	.asciz	"[FFmpeg]: Using sample format S16P.\n"

	.comm	_AV_SAMPLE_FMT_S16,8,3          ; @AV_SAMPLE_FMT_S16
l_.str.3:                               ; @.str.3
	.asciz	"[FFmpeg]: Using sample format S16.\n"

	.no_dead_strip	_ffmpeg_audio_resolve_format
.subsections_via_symbols
