	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_b_cbp
_get_b_cbp:                             ## @get_b_cbp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_FF_MPV_FLAG_CBP_RD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.2:
	movl	%ecx, %r11d
	movq	8(%r14), %rcx
	movq	(%rcx), %rdi
	movq	8(%rcx), %r10
	movq	%rdi, %rax
	shrq	$58, %rax
	andl	$-32, %eax
	movq	%r10, %rsi
	shrq	$59, %rsi
	andl	$-16, %esi
	orl	%eax, %esi
	movq	16(%rcx), %r13
	movq	%r13, %rbx
	shrq	$60, %rbx
	andl	$-8, %ebx
	orl	%esi, %ebx
	movq	24(%rcx), %rax
	movq	%rax, %rsi
	shrq	$61, %rsi
	andl	$-4, %esi
	orl	%ebx, %esi
	movq	32(%rcx), %r15
	movq	%r15, %rbx
	shrq	$62, %rbx
	andl	$-2, %ebx
	orl	%esi, %ebx
	movq	40(%rcx), %r12
	movq	%r12, %rsi
	shrq	$63, %rsi
	orl	%ebx, %esi
	je	LBB0_3
## %bb.4:
	movl	4(%r14), %r9d
	movq	_FF_LAMBDA_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	addb	$-6, %cl
	sarl	%cl, %r9d
	movq	%rdi, %rcx
	sarq	$63, %rcx
	andl	%edi, %ecx
	movq	%r10, %rdi
	sarq	$63, %rdi
	andl	%r10d, %edi
	addl	%ecx, %edi
	movq	%r13, %rcx
	sarq	$63, %rcx
	andl	%r13d, %ecx
	addl	%edi, %ecx
	movq	%rax, %rdi
	sarq	$63, %rdi
	andl	%eax, %edi
	addl	%ecx, %edi
	movq	%r15, %rax
	sarq	$63, %rax
	andl	%r15d, %eax
	addl	%edi, %eax
	movq	%r12, %rcx
	sarq	$63, %rcx
	andl	%r12d, %ecx
	addl	%eax, %ecx
	orl	%edx, %r11d
	orl	%r8d, %r11d
	xorl	%eax, %eax
	orl	16(%r14), %r11d
	setne	%al
	leal	-10(,%rax,4), %eax
	imull	%r9d, %eax
	xorl	%ebx, %ebx
	cmpl	%ecx, %eax
	cmovgl	%esi, %ebx
	jmp	LBB0_5
LBB0_1:
	movq	24(%r14), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	shrl	$26, %ecx
	andl	$-32, %ecx
	shrl	$27, %edx
	andl	$-16, %edx
	orl	%ecx, %edx
	movl	8(%rax), %ecx
	shrl	$31, %ecx
	leal	(%rdx,%rcx,8), %ecx
	movl	12(%rax), %edx
	shrl	$31, %edx
	leal	(%rcx,%rdx,4), %ecx
	movl	16(%rax), %edx
	shrl	$31, %edx
	leal	(%rcx,%rdx,2), %ecx
	movl	20(%rax), %ebx
	notl	%ebx
	shrl	$31, %ebx
	orl	%ecx, %ebx
	xorl	$62, %ebx
	jmp	LBB0_23
LBB0_3:
	xorl	%ebx, %ebx
LBB0_5:
	movq	24(%r14), %rax
	cmpl	$0, (%rax)
	js	LBB0_8
## %bb.6:
	movl	%ebx, %ecx
	andl	$32, %ecx
	jne	LBB0_8
## %bb.7:
	movl	$-1, (%rax)
	movq	32(%r14), %rax
	movl	(%rax), %edi
	callq	*40(%r14)
	movq	24(%r14), %rax
LBB0_8:
	cmpl	$0, 4(%rax)
	js	LBB0_11
## %bb.9:
	movl	%ebx, %ecx
	andl	$16, %ecx
	jne	LBB0_11
## %bb.10:
	movl	$-1, 4(%rax)
	movq	32(%r14), %rax
	movl	4(%rax), %edi
	callq	*40(%r14)
	movq	24(%r14), %rax
LBB0_11:
	cmpl	$0, 8(%rax)
	js	LBB0_14
## %bb.12:
	movl	%ebx, %ecx
	andl	$8, %ecx
	jne	LBB0_14
## %bb.13:
	movl	$-1, 8(%rax)
	movq	32(%r14), %rax
	movl	8(%rax), %edi
	callq	*40(%r14)
	movq	24(%r14), %rax
LBB0_14:
	cmpl	$0, 12(%rax)
	js	LBB0_17
## %bb.15:
	movl	%ebx, %ecx
	andl	$4, %ecx
	jne	LBB0_17
## %bb.16:
	movl	$-1, 12(%rax)
	movq	32(%r14), %rax
	movl	12(%rax), %edi
	callq	*40(%r14)
	movq	24(%r14), %rax
LBB0_17:
	cmpl	$0, 16(%rax)
	js	LBB0_20
## %bb.18:
	movl	%ebx, %ecx
	andl	$2, %ecx
	jne	LBB0_20
## %bb.19:
	movl	$-1, 16(%rax)
	movq	32(%r14), %rax
	movl	16(%rax), %edi
	callq	*40(%r14)
	movq	24(%r14), %rax
LBB0_20:
	cmpl	$0, 20(%rax)
	js	LBB0_23
## %bb.21:
	movl	%ebx, %ecx
	andl	$1, %ecx
	jne	LBB0_23
## %bb.22:
	movl	$-1, 20(%rax)
	movq	32(%r14), %rax
	movl	20(%rax), %edi
	callq	*40(%r14)
LBB0_23:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_MPV_FLAG_CBP_RD,4,2         ## @FF_MPV_FLAG_CBP_RD
	.comm	_FF_LAMBDA_SHIFT,4,2            ## @FF_LAMBDA_SHIFT
	.no_dead_strip	_get_b_cbp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function get_b_cbp
lCPI0_0:
	.quad	-60                             ; 0xffffffffffffffc4
	.quad	-61                             ; 0xffffffffffffffc3
lCPI0_1:
	.quad	-58                             ; 0xffffffffffffffc6
	.quad	-59                             ; 0xffffffffffffffc5
lCPI0_4:
	.long	4294967270                      ; 0xffffffe6
	.long	4294967269                      ; 0xffffffe5
	.long	4294967268                      ; 0xffffffe4
	.long	4294967267                      ; 0xffffffe3
lCPI0_5:
	.long	32                              ; 0x20
	.long	16                              ; 0x10
	.long	8                               ; 0x8
	.long	4                               ; 0x4
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_2:
	.long	8                               ; 0x8
	.long	4                               ; 0x4
lCPI0_3:
	.long	32                              ; 0x20
	.long	16                              ; 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_get_b_cbp:                             ; @get_b_cbp
	.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	w8, [x0]
Lloh0:
	adrp	x9, _FF_MPV_FLAG_CBP_RD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FF_MPV_FLAG_CBP_RD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	ldp	q1, q0, [x8]
Lloh3:
	adrp	x9, lCPI0_0@PAGE
Lloh4:
	ldr	q2, [x9, lCPI0_0@PAGEOFF]
	ushl.2d	v2, v0, v2
Lloh5:
	adrp	x9, lCPI0_1@PAGE
Lloh6:
	ldr	q3, [x9, lCPI0_1@PAGEOFF]
	ushl.2d	v3, v1, v3
	xtn.2s	v3, v3
	xtn.2s	v2, v2
Lloh7:
	adrp	x9, lCPI0_2@PAGE
Lloh8:
	ldr	d4, [x9, lCPI0_2@PAGEOFF]
	and.8b	v2, v2, v4
Lloh9:
	adrp	x9, lCPI0_3@PAGE
Lloh10:
	ldr	d4, [x9, lCPI0_3@PAGEOFF]
	and.8b	v3, v3, v4
	orr.8b	v2, v3, v2
	mov.s	w9, v2[1]
	fmov	w10, s2
	orr	w11, w10, w9
	ldp	x9, x10, [x8, #32]
	lsr	x8, x9, #62
	and	w8, w8, #0x2
	orr	w8, w8, w11
	lsr	x11, x10, #63
	orr	w8, w8, w11
	cbz	w8, LBB0_4
; %bb.2:
	ldr	w11, [x19, #4]
Lloh11:
	adrp	x12, _FF_LAMBDA_SHIFT@GOTPAGE
Lloh12:
	ldr	x12, [x12, _FF_LAMBDA_SHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w12, [x12]
	sub	w12, w12, #6
	asr	w11, w11, w12
	cmlt.2d	v2, v1, #0
	and.16b	v1, v1, v2
	cmlt.2d	v2, v0, #0
	and.16b	v0, v0, v2
	uzp1.4s	v0, v1, v0
	cmp	x9, #0
	csel	x9, x9, xzr, lt
	cmp	x10, #0
	csel	x10, x10, xzr, lt
	addv.4s	s0, v0
	fmov	w12, s0
	add	w9, w12, w9
	add	w9, w9, w10
	orr	w10, w3, w2
	ldr	w12, [x19, #16]
	orr	w10, w10, w4
	orr	w10, w10, w12
	mov	w12, #-6
	mov	w13, #-10
	cmp	w10, #0
	csel	w10, w13, w12, eq
	mul	w10, w10, w11
	cmp	w10, w9
	csel	w20, w8, wzr, gt
	b	LBB0_5
LBB0_3:
	ldr	x8, [x19, #24]
	ldr	q0, [x8]
Lloh14:
	adrp	x9, lCPI0_4@PAGE
Lloh15:
	ldr	q1, [x9, lCPI0_4@PAGEOFF]
	ushl.4s	v0, v0, v1
Lloh16:
	adrp	x9, lCPI0_5@PAGE
Lloh17:
	ldr	q1, [x9, lCPI0_5@PAGEOFF]
	and.16b	v0, v0, v1
	ldp	w9, w8, [x8, #16]
	lsr	w9, w9, #30
	and	w9, w9, #0x2
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	mov.s	w10, v0[1]
	mvn	w8, w8
	fmov	w11, s0
	orr	w10, w11, w10
	orr	w9, w10, w9
	orr	w8, w9, w8, lsr #31
	eor	w20, w8, #0x3e
	b	LBB0_23
LBB0_4:
	mov	w20, #0
LBB0_5:
	ldr	x8, [x19, #24]
	ldr	w9, [x8]
	tbnz	w9, #31, LBB0_8
; %bb.6:
	tbnz	w20, #5, LBB0_8
; %bb.7:
	mov	w9, #-1
	str	w9, [x8]
	ldp	x9, x8, [x19, #32]
	ldr	w0, [x9]
	blr	x8
	ldr	x8, [x19, #24]
LBB0_8:
	ldr	w9, [x8, #4]
	tbnz	w9, #31, LBB0_11
; %bb.9:
	tbnz	w20, #4, LBB0_11
; %bb.10:
	mov	w9, #-1
	str	w9, [x8, #4]
	ldp	x9, x8, [x19, #32]
	ldr	w0, [x9, #4]
	blr	x8
	ldr	x8, [x19, #24]
LBB0_11:
	ldr	w9, [x8, #8]
	tbnz	w9, #31, LBB0_14
; %bb.12:
	tbnz	w20, #3, LBB0_14
; %bb.13:
	mov	w9, #-1
	str	w9, [x8, #8]
	ldp	x9, x8, [x19, #32]
	ldr	w0, [x9, #8]
	blr	x8
	ldr	x8, [x19, #24]
LBB0_14:
	ldr	w9, [x8, #12]
	tbnz	w9, #31, LBB0_17
; %bb.15:
	tbnz	w20, #2, LBB0_17
; %bb.16:
	mov	w9, #-1
	str	w9, [x8, #12]
	ldp	x9, x8, [x19, #32]
	ldr	w0, [x9, #12]
	blr	x8
	ldr	x8, [x19, #24]
LBB0_17:
	ldr	w9, [x8, #16]
	tbnz	w9, #31, LBB0_20
; %bb.18:
	tbnz	w20, #1, LBB0_20
; %bb.19:
	mov	w9, #-1
	str	w9, [x8, #16]
	ldp	x9, x8, [x19, #32]
	ldr	w0, [x9, #16]
	blr	x8
	ldr	x8, [x19, #24]
LBB0_20:
	ldr	w9, [x8, #20]
	tbnz	w9, #31, LBB0_23
; %bb.21:
	tbnz	w20, #0, LBB0_23
; %bb.22:
	mov	w9, #-1
	str	w9, [x8, #20]
	ldp	x9, x8, [x19, #32]
	ldr	w0, [x9, #20]
	blr	x8
LBB0_23:
	mov	x0, x20
	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 AdrpLdr	Lloh9, Lloh10
	.loh AdrpAdrp	Lloh7, Lloh9
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpAdrp	Lloh5, Lloh7
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpAdrp	Lloh14, Lloh16
	.loh AdrpLdr	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_MPV_FLAG_CBP_RD,4,2         ; @FF_MPV_FLAG_CBP_RD
	.comm	_FF_LAMBDA_SHIFT,4,2            ; @FF_LAMBDA_SHIFT
	.no_dead_strip	_get_b_cbp
.subsections_via_symbols
