	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flv_same_audio_codec
_flv_same_audio_codec:                  ## @flv_same_audio_codec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_FLV_AUDIO_SAMPLESIZE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	xorl	%eax, %eax
	testl	%esi, %r9d
	setne	%cl
	movq	_FLV_AUDIO_CODECID_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%esi, %edx
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jne	LBB0_2
## %bb.1:
	cmpl	$0, 4(%rdi)
	je	LBB0_6
LBB0_2:
	movb	%cl, %al
	leal	8(,%rax,8), %eax
	cmpl	%eax, 8(%rdi)
	jne	LBB0_24
## %bb.3:
	leal	-128(%rdx), %eax
	cmpl	$10, %eax
	ja	LBB0_17
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movq	_AV_CODEC_ID_NELLYMOSER@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_6:
	movb	$1, %al
	jmp	LBB0_23
LBB0_7:
	testl	%esi, %r9d
	jne	LBB0_8
## %bb.13:
	movq	_AV_CODEC_ID_PCM_U8@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_10:
	cmpl	$8000, 12(%rdi)                 ## imm = 0x1F40
	jne	LBB0_24
## %bb.11:
	movq	_AV_CODEC_ID_PCM_ALAW@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_14:
	movq	_AV_CODEC_ID_MP3@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_15:
	movq	_AV_CODEC_ID_ADPCM_SWF@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_16:
	movq	_AV_CODEC_ID_AAC@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_8:
	movq	_AV_CODEC_ID_PCM_S16LE@GOTPCREL(%rip), %rax
LBB0_9:
	cmpl	%r8d, (%rax)
	jmp	LBB0_22
LBB0_17:
	movq	_FLV_AUDIO_CODECID_OFFSET@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edx
	cmpl	%edx, 4(%rdi)
	jmp	LBB0_22
LBB0_18:
	movq	_AV_CODEC_ID_SPEEX@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_19:
	cmpl	$8000, 12(%rdi)                 ## imm = 0x1F40
	jne	LBB0_24
## %bb.20:
	movq	_AV_CODEC_ID_PCM_MULAW@GOTPCREL(%rip), %rax
LBB0_21:
	cmpl	(%rax), %r8d
LBB0_22:
	sete	%al
	jmp	LBB0_23
LBB0_24:
	xorl	%eax, %eax
LBB0_23:
	movzbl	%al, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_18
	.long	L0_0_set_19
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_FLV_AUDIO_SAMPLESIZE_MASK,4,2  ## @FLV_AUDIO_SAMPLESIZE_MASK
	.comm	_FLV_AUDIO_CODECID_MASK,4,2     ## @FLV_AUDIO_CODECID_MASK
	.comm	_AV_CODEC_ID_PCM_U8,4,2         ## @AV_CODEC_ID_PCM_U8
	.comm	_AV_CODEC_ID_PCM_S16LE,4,2      ## @AV_CODEC_ID_PCM_S16LE
	.comm	_AV_CODEC_ID_AAC,4,2            ## @AV_CODEC_ID_AAC
	.comm	_AV_CODEC_ID_ADPCM_SWF,4,2      ## @AV_CODEC_ID_ADPCM_SWF
	.comm	_AV_CODEC_ID_SPEEX,4,2          ## @AV_CODEC_ID_SPEEX
	.comm	_AV_CODEC_ID_MP3,4,2            ## @AV_CODEC_ID_MP3
	.comm	_AV_CODEC_ID_NELLYMOSER,4,2     ## @AV_CODEC_ID_NELLYMOSER
	.comm	_AV_CODEC_ID_PCM_MULAW,4,2      ## @AV_CODEC_ID_PCM_MULAW
	.comm	_AV_CODEC_ID_PCM_ALAW,4,2       ## @AV_CODEC_ID_PCM_ALAW
	.comm	_FLV_AUDIO_CODECID_OFFSET,4,2   ## @FLV_AUDIO_CODECID_OFFSET
	.comm	_AV_CODEC_ID_PCM_S16BE,4,2      ## @AV_CODEC_ID_PCM_S16BE
	.no_dead_strip	_flv_same_audio_codec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flv_same_audio_codec
_flv_same_audio_codec:                  ; @flv_same_audio_codec
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _FLV_AUDIO_SAMPLESIZE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLV_AUDIO_SAMPLESIZE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ands	w9, w8, w1
	mov	w8, #16
	mov	w10, #8
	csel	w11, w10, w8, eq
Lloh3:
	adrp	x8, _FLV_AUDIO_CODECID_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FLV_AUDIO_CODECID_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x8]
	ldr	w8, [x0]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	w12, [x0, #4]
	cbz	w12, LBB0_6
LBB0_2:
	ldr	w12, [x0, #8]
	cmp	w12, w11
	b.ne	LBB0_15
; %bb.3:
	and	w10, w10, w1
	sub	w11, w10, #128
	cmp	w11, #10
	b.hi	LBB0_12
; %bb.4:
Lloh6:
	adrp	x10, lJTI0_0@PAGE
Lloh7:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x12, LBB0_5
	ldrb	w13, [x10, x11]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_5:
Lloh8:
	adrp	x9, _AV_CODEC_ID_NELLYMOSER@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AV_CODEC_ID_NELLYMOSER@GOTPAGEOFF]
	b	LBB0_18
LBB0_6:
	mov	w0, #1
	ret
LBB0_7:
Lloh10:
	adrp	x10, _AV_CODEC_ID_PCM_U8@GOTPAGE
Lloh11:
	ldr	x10, [x10, _AV_CODEC_ID_PCM_U8@GOTPAGEOFF]
Lloh12:
	adrp	x11, _AV_CODEC_ID_PCM_S16LE@GOTPAGE
Lloh13:
	ldr	x11, [x11, _AV_CODEC_ID_PCM_S16LE@GOTPAGEOFF]
	cmp	w9, #0
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
	cmp	w9, w8
	cset	w0, eq
	ret
LBB0_8:
Lloh14:
	adrp	x9, _AV_CODEC_ID_SPEEX@GOTPAGE
Lloh15:
	ldr	x9, [x9, _AV_CODEC_ID_SPEEX@GOTPAGEOFF]
	b	LBB0_18
LBB0_9:
	ldr	w9, [x0, #12]
	mov	w10, #8000
	cmp	w9, w10
	b.ne	LBB0_15
; %bb.10:
Lloh16:
	adrp	x9, _AV_CODEC_ID_PCM_ALAW@GOTPAGE
Lloh17:
	ldr	x9, [x9, _AV_CODEC_ID_PCM_ALAW@GOTPAGEOFF]
	b	LBB0_18
LBB0_11:
Lloh18:
	adrp	x9, _AV_CODEC_ID_ADPCM_SWF@GOTPAGE
Lloh19:
	ldr	x9, [x9, _AV_CODEC_ID_ADPCM_SWF@GOTPAGEOFF]
	b	LBB0_18
LBB0_12:
	ldr	w8, [x0, #4]
Lloh20:
	adrp	x9, _FLV_AUDIO_CODECID_OFFSET@GOTPAGE
Lloh21:
	ldr	x9, [x9, _FLV_AUDIO_CODECID_OFFSET@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	asr	w9, w10, w9
	b	LBB0_19
LBB0_13:
	ldr	w9, [x0, #12]
	mov	w10, #8000
	cmp	w9, w10
	b.ne	LBB0_15
; %bb.14:
Lloh23:
	adrp	x9, _AV_CODEC_ID_PCM_MULAW@GOTPAGE
Lloh24:
	ldr	x9, [x9, _AV_CODEC_ID_PCM_MULAW@GOTPAGEOFF]
	b	LBB0_18
LBB0_15:
	mov	w0, #0
	ret
LBB0_16:
Lloh25:
	adrp	x9, _AV_CODEC_ID_MP3@GOTPAGE
Lloh26:
	ldr	x9, [x9, _AV_CODEC_ID_MP3@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh27:
	adrp	x9, _AV_CODEC_ID_AAC@GOTPAGE
Lloh28:
	ldr	x9, [x9, _AV_CODEC_ID_AAC@GOTPAGEOFF]
LBB0_18:
	ldr	w9, [x9]
LBB0_19:
	cmp	w8, w9
	cset	w0, eq
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_16-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
                                        ; -- End function
	.comm	_FLV_AUDIO_SAMPLESIZE_MASK,4,2  ; @FLV_AUDIO_SAMPLESIZE_MASK
	.comm	_FLV_AUDIO_CODECID_MASK,4,2     ; @FLV_AUDIO_CODECID_MASK
	.comm	_AV_CODEC_ID_PCM_U8,4,2         ; @AV_CODEC_ID_PCM_U8
	.comm	_AV_CODEC_ID_PCM_S16LE,4,2      ; @AV_CODEC_ID_PCM_S16LE
	.comm	_AV_CODEC_ID_AAC,4,2            ; @AV_CODEC_ID_AAC
	.comm	_AV_CODEC_ID_ADPCM_SWF,4,2      ; @AV_CODEC_ID_ADPCM_SWF
	.comm	_AV_CODEC_ID_SPEEX,4,2          ; @AV_CODEC_ID_SPEEX
	.comm	_AV_CODEC_ID_MP3,4,2            ; @AV_CODEC_ID_MP3
	.comm	_AV_CODEC_ID_NELLYMOSER,4,2     ; @AV_CODEC_ID_NELLYMOSER
	.comm	_AV_CODEC_ID_PCM_MULAW,4,2      ; @AV_CODEC_ID_PCM_MULAW
	.comm	_AV_CODEC_ID_PCM_ALAW,4,2       ; @AV_CODEC_ID_PCM_ALAW
	.comm	_FLV_AUDIO_CODECID_OFFSET,4,2   ; @FLV_AUDIO_CODECID_OFFSET
	.comm	_AV_CODEC_ID_PCM_S16BE,4,2      ; @AV_CODEC_ID_PCM_S16BE
	.no_dead_strip	_flv_same_audio_codec
.subsections_via_symbols
