	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bilateral_obmc
_bilateral_obmc:                        ## @bilateral_obmc
	.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
	subq	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -168(%rbp)                ## 8-byte Spill
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	64(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	movl	%ecx, -116(%rbp)                ## 4-byte Spill
	movl	4(%rax), %eax
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
	movq	(%rsi), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	movl	%ecx, -132(%rbp)                ## 4-byte Spill
	movl	4(%rax), %eax
	movl	%eax, -128(%rbp)                ## 4-byte Spill
	movq	(%rdi), %rax
	movq	_MC_MODE_AOBMC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	leal	-1(%rbx), %esi
	xorl	%edi, %edi
	callq	_FFMAX
	movl	%eax, %r15d
	leal	2(%rbx), %edi
	movl	8(%r14), %esi
	movl	%edi, -124(%rbp)                ## 4-byte Spill
	callq	_FFMIN
	cmpl	%eax, %r15d
	jge	LBB0_10
## %bb.2:
	movq	-168(%rbp), %rax                ## 8-byte Reload
	leal	-1(%rax), %ecx
	movl	%ecx, -100(%rbp)                ## 4-byte Spill
	leal	2(%rax), %ebx
	leaq	56(%r14), %rcx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	movslq	%eax, %r12
	leal	(%r15,%r15,2), %ecx
	subl	%r12d, %ecx
	movq	-152(%rbp), %rax                ## 8-byte Reload
	leal	(%rax,%rax,2), %eax
	subl	%eax, %ecx
	addl	$4, %ecx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r15d
	movl	8(%r14), %esi
	movl	-124(%rbp), %edi                ## 4-byte Reload
	callq	_FFMIN
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	addl	$3, %ecx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	cmpl	%eax, %r15d
	jge	LBB0_10
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	xorl	%edi, %edi
	movl	-100(%rbp), %esi                ## 4-byte Reload
	callq	_FFMAX
	movl	%eax, %r13d
	movl	12(%r14), %esi
	movl	%ebx, %edi
	callq	_FFMIN
	cmpl	%eax, %r13d
	jge	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r13d, %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	movzbl	16(%r14), %ecx
	movl	%r15d, %edx
	shll	%cl, %edx
	movl	%r13d, %esi
	shll	%cl, %esi
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	addl	%esi, %ecx
	movl	4(%rax), %r8d
	addl	%edx, %r8d
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	callq	_get_sbad
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	addl	%r13d, %ecx
	movslq	%ecx, %rcx
	movl	%eax, -96(%rbp,%rcx,4)
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%r13
	movl	12(%r14), %esi
	movl	%ebx, %edi
	callq	_FFMIN
	cltq
	cmpq	%rax, %r13
	jge	LBB0_9
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r13, %r12
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpl	-152(%rbp), %r15d               ## 4-byte Folded Reload
	je	LBB0_8
	jmp	LBB0_7
LBB0_10:
	movb	16(%r14), %cl
	movq	-168(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %esi
	shll	%cl, %esi
	movl	20(%r14), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	movq	-152(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %r13d
	shll	%cl, %r13d
	sarl	%edx
	movl	%esi, -172(%rbp)                ## 4-byte Spill
	movl	%esi, %edi
	subl	%edx, %edi
	movl	%edi, -144(%rbp)                ## 4-byte Spill
	movl	%edx, -100(%rbp)                ## 4-byte Spill
	subl	%edx, %r13d
	movl	-116(%rbp), %r12d               ## 4-byte Reload
	decl	%r12d
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_av_clip
	movl	%eax, -160(%rbp)                ## 4-byte Spill
	movl	-120(%rbp), %r15d               ## 4-byte Reload
	decl	%r15d
	movl	%r13d, %edi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_av_clip
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movb	16(%r14), %cl
	movl	$2, %ebx
	movl	$2, %edi
	shll	%cl, %edi
	addl	-144(%rbp), %edi                ## 4-byte Folded Reload
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_av_clip
	movl	%eax, -144(%rbp)                ## 4-byte Spill
	movb	16(%r14), %cl
	shll	%cl, %ebx
	movl	%r13d, -120(%rbp)               ## 4-byte Spill
	addl	%r13d, %ebx
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_av_clip
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	cmpl	%eax, -112(%rbp)                ## 4-byte Folded Reload
	jge	LBB0_23
## %bb.11:
	movl	-132(%rbp), %eax                ## 4-byte Reload
	addl	%eax, %eax
	movl	%eax, -132(%rbp)                ## 4-byte Spill
	movl	-128(%rbp), %eax                ## 4-byte Reload
	addl	%eax, %eax
	movl	%eax, -128(%rbp)                ## 4-byte Spill
	movl	-144(%rbp), %ecx                ## 4-byte Reload
	movl	-160(%rbp), %eax                ## 4-byte Reload
	subl	%eax, %ecx
	movl	%ecx, -116(%rbp)                ## 4-byte Spill
	movl	-100(%rbp), %r12d               ## 4-byte Reload
	addl	%eax, %r12d
	subl	-172(%rbp), %r12d               ## 4-byte Folded Reload
	movl	%r12d, -100(%rbp)               ## 4-byte Spill
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	-112(%rbp), %eax                ## 4-byte Reload
	incl	%eax
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	cmpl	-124(%rbp), %eax                ## 4-byte Folded Reload
	je	LBB0_23
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movl	-144(%rbp), %eax                ## 4-byte Reload
	cmpl	%eax, -160(%rbp)                ## 4-byte Folded Reload
	jge	LBB0_22
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	-112(%rbp), %r12d               ## 4-byte Reload
	subl	-120(%rbp), %r12d               ## 4-byte Folded Reload
	movl	-100(%rbp), %r13d               ## 4-byte Reload
	movl	-116(%rbp), %r15d               ## 4-byte Reload
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=2
	movl	%ebx, %edi
	movl	-132(%rbp), %esi                ## 4-byte Reload
	movl	-128(%rbp), %edx                ## 4-byte Reload
	callq	_ADD_PIXELS
	incl	%r13d
	decl	%r15d
	je	LBB0_22
LBB0_14:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_obmc_tab_linear@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movslq	16(%r14), %rax
	movl	$4, %esi
	leal	1(%rax), %ecx
	movl	%r12d, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	subq	%rax, %rsi
	movq	(%rdx,%rsi,8), %rcx
	addl	%r13d, %edi
	movslq	%edi, %rdx
	movl	(%rcx,%rdx,4), %ebx
	movq	(%r14), %rcx
	movq	_MC_MODE_AOBMC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	decb	%al
	movl	%r13d, %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%r12d, %esi
	sarl	%cl, %esi
	leal	(%rdx,%rdx), %eax
	addl	$-5, %eax
	cmpl	$-3, %eax
	jb	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=2
	leal	(%rsi,%rsi), %eax
	addl	$-5, %eax
	cmpl	$-4, %eax
	ja	LBB0_21
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=2
	addl	%edx, %edx
	addl	%esi, %esi
	movl	%esi, %eax
	addl	$-3, %eax
	shrl	$31, %eax
	addl	%esi, %eax
	addl	$-3, %eax
	sarl	%eax
	movl	%edx, %ecx
	addl	$-3, %ecx
	shrl	$31, %ecx
	addl	%edx, %ecx
	addl	$-3, %ecx
	sarl	%ecx
	leal	(%rax,%rax,2), %edx
	addl	%ecx, %edx
	addl	$4, %edx
	movslq	%edx, %rdx
	movl	-96(%rbp,%rdx,4), %esi
	testl	%esi, %esi
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	_UINT64_MAX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpl	%edx, %esi
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	24(%r14), %rdi
	addl	-168(%rbp), %ecx                ## 4-byte Folded Reload
	addl	-152(%rbp), %eax                ## 4-byte Folded Reload
	imull	12(%r14), %eax
	addl	%ecx, %eax
	cltq
	shlq	$4, %rax
	movl	8(%rdi,%rax), %eax
	cmpl	%edx, %eax
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	_ALPHA_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	%ecx, %eax
	cltd
	idivl	%esi
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	%ecx, %edx
	callq	_av_clip
	imull	%ebx, %eax
	cltd
	movq	_ALPHA_MAX@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movl	%eax, %ebx
	jmp	LBB0_21
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_25
## %bb.24:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MC_MODE_AOBMC,8,3              ## @MC_MODE_AOBMC
	.comm	_obmc_tab_linear,8,3            ## @obmc_tab_linear
	.comm	_UINT64_MAX,4,2                 ## @UINT64_MAX
	.comm	_ALPHA_MAX,4,2                  ## @ALPHA_MAX
	.no_dead_strip	_bilateral_obmc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bilateral_obmc
_bilateral_obmc:                        ; @bilateral_obmc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	w3, [sp, #32]                   ; 4-byte Folded Spill
	str	x2, [sp, #24]                   ; 8-byte Folded Spill
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	ldr	x8, [x0, #64]
	ldr	x8, [x8]
	ldp	w9, w8, [x8]
	stp	w9, w8, [sp, #12]               ; 8-byte Folded Spill
	ldr	x8, [x1]
	ldr	x8, [x8]
	ldp	w9, w8, [x8]
	stp	w8, w9, [sp]                    ; 8-byte Folded Spill
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _MC_MODE_AOBMC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MC_MODE_AOBMC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.1:
	mov	x22, x1
	ldr	w19, [sp, #32]                  ; 4-byte Folded Reload
	sub	w1, w19, #1
	mov	w0, #0
	bl	_FFMAX
	mov	x23, x0
	add	w0, w19, #2
	ldr	w1, [x21, #8]
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	bl	_FFMIN
	cmp	w23, w0
	b.ge	LBB0_10
; %bb.2:
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	sub	w25, w10, #1
	add	w26, w10, #2
	add	x27, x21, #56
	sxtw	x19, w10
	add	w8, w23, w23, lsl #1
	ldr	w9, [sp, #32]                   ; 4-byte Folded Reload
	add	w9, w9, w9, lsl #1
	sub	w8, w8, w10
	sub	w8, w8, w9
	add	w20, w8, #4
	add	x24, sp, #36
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #1
	ldr	w1, [x21, #8]
	ldr	w0, [sp, #20]                   ; 4-byte Folded Reload
	bl	_FFMIN
	add	w20, w20, #3
	cmp	w23, w0
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	w0, #0
	mov	x1, x25
	bl	_FFMAX
	mov	x28, x0
	ldr	w1, [x21, #12]
	mov	x0, x26
	bl	_FFMIN
	cmp	w28, w0
	b.ge	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x28, w28
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [x21, #16]
	lsl	w2, w23, w8
	lsl	w1, w28, w8
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldp	w9, w8, [x8]
	add	w3, w9, w1
	add	w4, w8, w2
	mov	x0, x27
	bl	_get_sbad
	add	w8, w20, w28
	str	w0, [x24, w8, sxtw #2]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x28, x28, #1
	ldr	w1, [x21, #12]
	mov	x0, x26
	bl	_FFMIN
	cmp	x28, w0, sxtw
	b.ge	LBB0_3
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x19, x28
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	cmp	w23, w8
	b.eq	LBB0_7
	b	LBB0_6
LBB0_10:
	ldp	w8, w9, [x21, #16]
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	lsl	w19, w10, w8
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w20, w9, #1
	sub	w22, w19, w20
	ldr	w9, [sp, #32]                   ; 4-byte Folded Reload
	lsl	w8, w9, w8
	sub	w27, w8, w20
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	sub	w25, w8, #1
	mov	x0, x22
	mov	w1, #0
	mov	x2, x25
	bl	_av_clip
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	sub	w26, w8, #1
	mov	x0, x27
	mov	w1, #0
	mov	x2, x26
	bl	_av_clip
	mov	x24, x0
	ldr	w8, [x21, #16]
	mov	w23, #2
	lsl	w8, w23, w8
	add	w0, w8, w22
	mov	w1, #0
	mov	x2, x25
	bl	_av_clip
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	ldr	w8, [x21, #16]
	lsl	w8, w23, w8
	str	w27, [sp, #8]                   ; 4-byte Folded Spill
	add	w0, w8, w27
	mov	w1, #0
	mov	x2, x26
	bl	_av_clip
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	cmp	w24, w0
	b.ge	LBB0_22
; %bb.11:
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	lsl	w27, w8, #1
	ldr	w8, [sp]                        ; 4-byte Folded Reload
	lsl	w28, w8, #1
	ldp	w9, w8, [sp, #16]               ; 8-byte Folded Reload
	sub	w9, w9, w8
	add	w8, w8, w20
	sub	w8, w8, w19
	stp	w8, w9, [sp]                    ; 8-byte Folded Spill
Lloh6:
	adrp	x23, _obmc_tab_linear@GOTPAGE
Lloh7:
	ldr	x23, [x23, _obmc_tab_linear@GOTPAGEOFF]
	mov	w25, #4
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w24, w24, #1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w24, w8
	b.eq	LBB0_22
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	ldp	w9, w8, [sp, #16]               ; 8-byte Folded Reload
	cmp	w8, w9
	b.ge	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldp	w20, w8, [sp, #4]               ; 8-byte Folded Reload
	sub	w26, w24, w8
	ldr	w19, [sp]                       ; 4-byte Folded Reload
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	mov	x0, x22
	mov	x1, x27
	mov	x2, x28
	bl	_ADD_PIXELS
	add	w19, w19, #1
	subs	w20, w20, #1
	b.eq	LBB0_12
LBB0_16:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x23]
	ldr	w8, [x21, #16]
	sub	w10, w25, w8
	ldr	x9, [x9, w10, sxtw #3]
	add	w10, w8, #1
	lsl	w10, w26, w10
	add	w10, w19, w10
	ldr	w22, [x9, w10, sxtw #2]
	ldr	x9, [x21]
Lloh8:
	adrp	x10, _MC_MODE_AOBMC@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MC_MODE_AOBMC@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	sub	w9, w8, #1
	asr	w8, w19, w9
	lsl	w8, w8, #1
	asr	w9, w26, w9
	lsl	w9, w9, #1
	sub	w10, w8, #5
	sub	w11, w9, #5
	cmn	w10, #3
	ccmn	w11, #4, #0, hs
	b.hi	LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=2
	sub	w10, w9, #3
	sub	w9, w9, #2
	cmp	w10, #0
	csel	w11, w9, w10, lt
	asr	w9, w11, #1
	sub	w10, w8, #3
	sub	w8, w8, #2
	cmp	w10, #0
	csel	w8, w8, w10, lt
	asr	w10, w8, #1
	and	w8, w11, #0xfffffffe
	add	w8, w8, w9
	add	w8, w10, w8
	add	w8, w8, #4
	add	x11, sp, #36
	ldr	w8, [x11, w8, sxtw #2]
	cbz	w8, LBB0_15
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=2
Lloh11:
	adrp	x11, _UINT64_MAX@GOTPAGE
Lloh12:
	ldr	x11, [x11, _UINT64_MAX@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
	cmp	w8, w11
	b.eq	LBB0_15
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	x12, [x21, #24]
	ldr	x13, [sp, #24]                  ; 8-byte Folded Reload
	add	w10, w10, w13
	ldr	w13, [sp, #32]                  ; 4-byte Folded Reload
	add	w9, w9, w13
	ldr	w13, [x21, #12]
	madd	w9, w13, w9, w10
	sxtw	x9, w9
	add	x9, x12, x9, lsl #4
	ldr	w9, [x9, #8]
	cmp	w9, w11
	b.eq	LBB0_15
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=2
Lloh14:
	adrp	x10, _ALPHA_MAX@GOTPAGE
Lloh15:
	ldr	x10, [x10, _ALPHA_MAX@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x10]
	mul	w9, w2, w9
	sdiv	w0, w9, w8
	mov	w1, #0
	bl	_av_clip
	mul	w8, w0, w22
Lloh17:
	adrp	x9, _ALPHA_MAX@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ALPHA_MAX@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	sdiv	w22, w8, w9
	b	LBB0_15
LBB0_22:
	ldr	x8, [sp, #72]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_MC_MODE_AOBMC,8,3              ; @MC_MODE_AOBMC
	.comm	_obmc_tab_linear,8,3            ; @obmc_tab_linear
	.comm	_UINT64_MAX,4,2                 ; @UINT64_MAX
	.comm	_ALPHA_MAX,4,2                  ; @ALPHA_MAX
	.no_dead_strip	_bilateral_obmc
.subsections_via_symbols
