	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_sample
_get_sample:                            ## @get_sample
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_AV_SAMPLE_FMT_U8@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movslq	%esi, %rcx
	movl	(%rax,%rcx,4), %eax
	addl	$-128, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_AV_SAMPLE_FMT_S16@GOTPCREL(%rip), %rcx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movslq	%esi, %rsi
	movl	(%rax,%rsi,4), %esi
	movl	%esi, %eax
	sarl	$8, %eax
	cmpl	%edx, (%rcx)
	cmovel	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_SAMPLE_FMT_U8,4,2           ## @AV_SAMPLE_FMT_U8
	.comm	_AV_SAMPLE_FMT_S16,4,2          ## @AV_SAMPLE_FMT_S16
	.no_dead_strip	_get_sample
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_sample
_get_sample:                            ; @get_sample
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _AV_SAMPLE_FMT_U8@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_SAMPLE_FMT_U8@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w8, [x8, w1, sxtw #2]
	sub	w0, w8, #128
	ret
LBB0_2:
Lloh3:
	adrp	x8, _AV_SAMPLE_FMT_S16@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_SAMPLE_FMT_S16@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [x0]
	ldr	x9, [x9]
	ldr	w9, [x9, w1, sxtw #2]
	asr	w10, w9, #8
	cmp	w8, w2
	csel	w0, w9, w10, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_SAMPLE_FMT_U8,4,2           ; @AV_SAMPLE_FMT_U8
	.comm	_AV_SAMPLE_FMT_S16,4,2          ; @AV_SAMPLE_FMT_S16
	.no_dead_strip	_get_sample
.subsections_via_symbols
