	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dv_audio_12to16
_dv_audio_12to16:                       ## @dv_audio_12to16
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	orl	$61440, %eax                    ## imm = 0xF000
	cmpl	$2048, %edi                     ## imm = 0x800
	cmovll	%edi, %eax
	movl	%eax, %ecx
	shrl	$8, %ecx
	andl	$15, %ecx
	leal	-14(%rcx), %edx
	cmpl	$-12, %edx
	jb	LBB0_4
## %bb.1:
	cmpl	$7, %ecx
	ja	LBB0_3
## %bb.2:
	decl	%ecx
	movl	%ecx, %edx
	shll	$8, %edx
	subl	%edx, %eax
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %eax
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_3:
	movl	$14, %edx
	subl	%ecx, %edx
	movl	%edx, %ecx
	shll	$8, %ecx
	addl	%ecx, %eax
	incl	%eax
	movl	%edx, %ecx
	shll	%cl, %eax
	decl	%eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dv_audio_12to16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dv_audio_12to16
_dv_audio_12to16:                       ; @dv_audio_12to16
	.cfi_startproc
; %bb.0:
	orr	w8, w0, #0xf000
	cmp	w0, #2048
	csel	w0, w0, w8, lt
	ubfx	w8, w0, #8, #4
	sub	w9, w8, #14
	cmn	w9, #12
	b.lo	LBB0_2
; %bb.1:
	mov	w9, #14
	sub	w9, w9, w8
	add	w10, w0, w9, lsl #8
	add	w10, w10, #1
	lsl	w9, w10, w9
	sub	w9, w9, #1
	sub	w10, w8, #1
	sub	w11, w0, w10, lsl #8
	lsl	w10, w11, w10
	cmp	w8, #7
	csel	w0, w9, w10, hi
LBB0_2:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dv_audio_12to16
.subsections_via_symbols
