	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_mpeg1waveformatex
_parse_mpeg1waveformatex:               ## @parse_mpeg1waveformatex
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rax), %rdi
	callq	_AV_RL16
	cmpl	$1, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$2, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$4, %eax
	jne	LBB0_3
## %bb.6:
	movq	_AV_CODEC_ID_MP3@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_AV_CODEC_ID_MP1@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_AV_CODEC_ID_MP2@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %ecx
	movq	(%rbx), %rax
	movl	%ecx, 20(%rax)
	jmp	LBB0_8
LBB0_3:
	movq	(%rbx), %rax
LBB0_8:
	movq	8(%rax), %rdi
	addq	$2, %rdi
	callq	_AV_RL32
	movq	(%rbx), %rcx
	movl	%eax, 16(%rcx)
	movq	8(%rcx), %rdi
	addq	$6, %rdi
	callq	_AV_RL16
	decl	%eax
	cmpl	$7, %eax
	ja	LBB0_11
## %bb.9:
	movl	$139, %ecx
	btl	%eax, %ecx
	jae	LBB0_11
## %bb.10:
	cltq
	leaq	l_switch.table.parse_mpeg1waveformatex(%rip), %rcx
	movl	(%rcx,%rax,4), %ecx
	leaq	l_switch.table.parse_mpeg1waveformatex.1(%rip), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	(%rbx), %rdx
	movl	%ecx, (%rdx)
	movl	(%rax), %eax
	movl	%eax, 4(%rdx)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_CODEC_ID_MP1,4,2            ## @AV_CODEC_ID_MP1
	.comm	_AV_CODEC_ID_MP2,4,2            ## @AV_CODEC_ID_MP2
	.comm	_AV_CODEC_ID_MP3,4,2            ## @AV_CODEC_ID_MP3
	.comm	_AV_CH_LAYOUT_STEREO,4,2        ## @AV_CH_LAYOUT_STEREO
	.comm	_AV_CH_LAYOUT_MONO,4,2          ## @AV_CH_LAYOUT_MONO
	.no_dead_strip	_parse_mpeg1waveformatex
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.parse_mpeg1waveformatex
l_switch.table.parse_mpeg1waveformatex:
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	1                               ## 0x1

	.section	__DATA,__const
	.p2align	3                               ## @switch.table.parse_mpeg1waveformatex.1
l_switch.table.parse_mpeg1waveformatex.1:
	.quad	_AV_CH_LAYOUT_STEREO
	.quad	_AV_CH_LAYOUT_STEREO
	.quad	_AV_CH_LAYOUT_STEREO
	.quad	_AV_CH_LAYOUT_STEREO
	.quad	_AV_CH_LAYOUT_STEREO
	.quad	_AV_CH_LAYOUT_STEREO
	.quad	_AV_CH_LAYOUT_STEREO
	.quad	_AV_CH_LAYOUT_MONO

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_mpeg1waveformatex
_parse_mpeg1waveformatex:               ; @parse_mpeg1waveformatex
	.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, x0
	ldr	x8, [x0]
	ldr	x0, [x8, #8]
	bl	_AV_RL16
	cmp	w0, #1
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #2
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #4
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _AV_CODEC_ID_MP3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_CODEC_ID_MP3@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh2:
	adrp	x8, _AV_CODEC_ID_MP1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_CODEC_ID_MP1@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x8, _AV_CODEC_ID_MP2@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AV_CODEC_ID_MP2@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x8]
	ldr	x8, [x19]
	str	w9, [x8, #20]
	b	LBB0_8
LBB0_7:
	ldr	x8, [x19]
LBB0_8:
	ldr	x8, [x8, #8]
	add	x0, x8, #2
	bl	_AV_RL32
	ldr	x8, [x19]
	str	w0, [x8, #16]
	ldr	x8, [x8, #8]
	add	x0, x8, #6
	bl	_AV_RL16
	sub	w8, w0, #1
	cmp	w8, #7
	b.hi	LBB0_11
; %bb.9:
	mov	w9, #139
	lsr	w9, w9, w8
	tbz	w9, #0, LBB0_11
; %bb.10:
Lloh6:
	adrp	x9, l_switch.table.parse_mpeg1waveformatex@PAGE
Lloh7:
	add	x9, x9, l_switch.table.parse_mpeg1waveformatex@PAGEOFF
	ldr	w9, [x9, w8, sxtw #2]
Lloh8:
	adrp	x10, l_switch.table.parse_mpeg1waveformatex.1@PAGE
Lloh9:
	add	x10, x10, l_switch.table.parse_mpeg1waveformatex.1@PAGEOFF
	ldr	x8, [x10, w8, sxtw #3]
	ldr	x10, [x19]
	str	w9, [x10]
	ldr	w8, [x8]
	str	w8, [x10, #4]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_CODEC_ID_MP1,4,2            ; @AV_CODEC_ID_MP1
	.comm	_AV_CODEC_ID_MP2,4,2            ; @AV_CODEC_ID_MP2
	.comm	_AV_CODEC_ID_MP3,4,2            ; @AV_CODEC_ID_MP3
	.comm	_AV_CH_LAYOUT_STEREO,4,2        ; @AV_CH_LAYOUT_STEREO
	.comm	_AV_CH_LAYOUT_MONO,4,2          ; @AV_CH_LAYOUT_MONO
	.no_dead_strip	_parse_mpeg1waveformatex
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.parse_mpeg1waveformatex
l_switch.table.parse_mpeg1waveformatex:
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	1                               ; 0x1

	.section	__DATA,__const
	.p2align	3                               ; @switch.table.parse_mpeg1waveformatex.1
l_switch.table.parse_mpeg1waveformatex.1:
	.quad	_AV_CH_LAYOUT_STEREO
	.quad	_AV_CH_LAYOUT_STEREO
	.quad	_AV_CH_LAYOUT_STEREO
	.quad	_AV_CH_LAYOUT_STEREO
	.quad	_AV_CH_LAYOUT_STEREO
	.quad	_AV_CH_LAYOUT_STEREO
	.quad	_AV_CH_LAYOUT_STEREO
	.quad	_AV_CH_LAYOUT_MONO

.subsections_via_symbols
