	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_wav_codec_get_id            ## -- Begin function ff_wav_codec_get_id
	.p2align	4, 0x90
_ff_wav_codec_get_id:                   ## @ff_wav_codec_get_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	movl	%edi, %esi
	movq	_ff_codec_wav_tags@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ff_codec_get_id
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_AV_CODEC_ID_PCM_S16LE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.3:
	movl	%ebx, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$-2, %ecx
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_4:
	movq	_AV_CODEC_ID_PCM_F32LE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.5:
	movl	%ebx, %edi
	movl	$1, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
LBB0_6:
	callq	_ff_get_pcm_codec_id
LBB0_7:
	movq	_AV_CODEC_ID_ADPCM_IMA_WAV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%eax, %ecx
	xorl	$8, %ebx
	orl	%ecx, %ebx
	jne	LBB0_9
## %bb.8:
	movq	_AV_CODEC_ID_PCM_ZORK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_codec_wav_tags,4,2          ## @ff_codec_wav_tags
	.comm	_AV_CODEC_ID_PCM_S16LE,4,2      ## @AV_CODEC_ID_PCM_S16LE
	.comm	_AV_CODEC_ID_PCM_F32LE,4,2      ## @AV_CODEC_ID_PCM_F32LE
	.comm	_AV_CODEC_ID_ADPCM_IMA_WAV,4,2  ## @AV_CODEC_ID_ADPCM_IMA_WAV
	.comm	_AV_CODEC_ID_PCM_ZORK,4,2       ## @AV_CODEC_ID_PCM_ZORK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_wav_codec_get_id            ; -- Begin function ff_wav_codec_get_id
	.p2align	2
_ff_wav_codec_get_id:                   ; @ff_wav_codec_get_id
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x1, x0
Lloh0:
	adrp	x8, _ff_codec_wav_tags@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_codec_wav_tags@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ff_codec_get_id
	cbz	w0, LBB0_7
; %bb.1:
Lloh3:
	adrp	x8, _AV_CODEC_ID_PCM_S16LE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_CODEC_ID_PCM_S16LE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #-2
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _AV_CODEC_ID_PCM_F32LE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_CODEC_ID_PCM_F32LE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	mov	w3, #0
LBB0_5:
	bl	_ff_get_pcm_codec_id
LBB0_6:
Lloh9:
	adrp	x8, _AV_CODEC_ID_ADPCM_IMA_WAV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_CODEC_ID_ADPCM_IMA_WAV@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	ccmp	w19, #8, #0, eq
Lloh12:
	adrp	x8, _AV_CODEC_ID_PCM_ZORK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_CODEC_ID_PCM_ZORK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	csel	w0, w8, w0, eq
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_codec_wav_tags,4,2          ; @ff_codec_wav_tags
	.comm	_AV_CODEC_ID_PCM_S16LE,4,2      ; @AV_CODEC_ID_PCM_S16LE
	.comm	_AV_CODEC_ID_PCM_F32LE,4,2      ; @AV_CODEC_ID_PCM_F32LE
	.comm	_AV_CODEC_ID_ADPCM_IMA_WAV,4,2  ; @AV_CODEC_ID_ADPCM_IMA_WAV
	.comm	_AV_CODEC_ID_PCM_ZORK,4,2       ; @AV_CODEC_ID_PCM_ZORK
.subsections_via_symbols
