	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_bs
_get_bs:                                ## @get_bs
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_REF_INTRA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$2, %r15d
	cmpq	%rax, (%rdi)
	je	LBB0_10
## %bb.1:
	movq	%rsi, %r14
	cmpq	%rax, (%rsi)
	je	LBB0_10
## %bb.2:
	movl	%edx, %r12d
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	subq	16(%r14), %rdi
	callq	_abs
	movl	$1, %r15d
	cmpl	$3, %eax
	jg	LBB0_10
## %bb.3:
	movq	8(%rbx), %rdi
	subq	8(%r14), %rdi
	callq	_abs
	cmpl	$3, %eax
	jg	LBB0_10
## %bb.4:
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_10
## %bb.5:
	testl	%r12d, %r12d
	je	LBB0_9
## %bb.6:
	movq	_MV_BWD_OFFS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %r12
	movq	16(%rbx,%r12), %rdi
	subq	16(%r14,%r12), %rdi
	callq	_abs
	cmpl	$3, %eax
	jg	LBB0_10
## %bb.7:
	movq	8(%rbx,%r12), %rdi
	subq	8(%r14,%r12), %rdi
	callq	_abs
	cmpl	$3, %eax
	jg	LBB0_10
## %bb.8:
	movq	(%rbx,%r12), %rax
	cmpq	(%r14,%r12), %rax
	jne	LBB0_10
LBB0_9:
	xorl	%r15d, %r15d
LBB0_10:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REF_INTRA,8,3                  ## @REF_INTRA
	.comm	_MV_BWD_OFFS,4,2                ## @MV_BWD_OFFS
	.no_dead_strip	_get_bs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_bs
_get_bs:                                ; @get_bs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x9, [x0]
Lloh0:
	adrp	x8, _REF_INTRA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REF_INTRA@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x19, x1
	ldr	x9, [x1]
	cmp	x9, x8
	b.ne	LBB0_3
LBB0_2:
	mov	w0, #2
	b	LBB0_12
LBB0_3:
	mov	x21, x2
	mov	x20, x0
	ldr	x8, [x0, #16]
	ldr	x9, [x19, #16]
	sub	x0, x8, x9
	bl	_abs
	cmp	w0, #3
	b.gt	LBB0_11
; %bb.4:
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #8]
	sub	x0, x8, x9
	bl	_abs
	cmp	w0, #3
	b.gt	LBB0_11
; %bb.5:
	ldr	x8, [x20]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.6:
	cbz	w21, LBB0_10
; %bb.7:
Lloh3:
	adrp	x8, _MV_BWD_OFFS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MV_BWD_OFFS@GOTPAGEOFF]
Lloh5:
	ldrsw	x21, [x8]
	add	x8, x21, x21, lsl #1
	lsl	x8, x8, #3
	add	x22, x20, x8
	ldr	x9, [x22, #16]
	add	x23, x19, x8
	ldr	x8, [x23, #16]
	sub	x0, x9, x8
	bl	_abs
	cmp	w0, #3
	b.gt	LBB0_11
; %bb.8:
	ldr	x8, [x22, #8]
	ldr	x9, [x23, #8]
	sub	x0, x8, x9
	bl	_abs
	cmp	w0, #3
	b.gt	LBB0_11
; %bb.9:
	add	x8, x21, x21, lsl #1
	lsl	x8, x8, #3
	ldr	x9, [x20, x8]
	ldr	x8, [x19, x8]
	cmp	x9, x8
	b.ne	LBB0_11
LBB0_10:
	mov	w0, #0
	b	LBB0_12
LBB0_11:
	mov	w0, #1
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_REF_INTRA,8,3                  ; @REF_INTRA
	.comm	_MV_BWD_OFFS,4,2                ; @MV_BWD_OFFS
	.no_dead_strip	_get_bs
.subsections_via_symbols
