	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipvideo_decode_block_opcode_0x3
_ipvideo_decode_block_opcode_0x3:       ## @ipvideo_decode_block_opcode_0x3
	.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	%rsi, %r14
	movq	%rdi, %r15
	xorl	%eax, %eax
	cmpl	$0, 12(%rdi)
	sete	%al
	leaq	(%rdi,%rax,4), %rdi
	addq	$4, %rdi
	callq	_bytestream2_get_byte
	movzbl	%al, %edx
	cmpb	$55, %al
	ja	LBB0_2
## %bb.1:
	leal	(%rdx,%rdx,8), %ecx
	leal	(%rdx,%rcx,4), %esi
	shrl	$8, %esi
	movl	%eax, %ecx
	subb	%sil, %cl
	shrb	%cl
	addb	%sil, %cl
	shrb	$2, %cl
	movzbl	%cl, %esi
	leal	(,%rsi,8), %edi
	subl	%esi, %edi
	subb	%dil, %al
	movzbl	%al, %eax
	movl	$-8, %r12d
	subl	%eax, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_2:
	addb	$-56, %al
	movzbl	%al, %eax
	leal	(%rax,%rax,8), %ecx
	leal	(%rcx,%rcx,2), %esi
	shrl	$8, %esi
	movl	%eax, %ecx
	subb	%sil, %cl
	shrb	%cl
	addb	%sil, %cl
	shrb	$4, %cl
	movzbl	%cl, %esi
	leal	(%rsi,%rsi,8), %edi
	leal	(%rdi,%rdi,2), %edi
	addl	%esi, %edi
	addl	%esi, %edi
	subb	%dil, %al
	movzbl	%al, %eax
	movl	$14, %r12d
	subl	%eax, %r12d
	movl	$-8, %ebx
LBB0_3:
	movzbl	%cl, %eax
	subl	%eax, %ebx
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r12d, %ecx
	movl	%ebx, %r8d
	callq	_ff_tlog
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r14, %rdx
	movl	%r12d, %ecx
	movl	%ebx, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_copy_from                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"motion byte = %d, (x, y) = (%d, %d)\n"

	.no_dead_strip	_ipvideo_decode_block_opcode_0x3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipvideo_decode_block_opcode_0x3
_ipvideo_decode_block_opcode_0x3:       ; @ipvideo_decode_block_opcode_0x3
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0, #12]
	add	x9, x0, #4
	add	x10, x0, #8
	cmp	w8, #0
	csel	x0, x10, x9, eq
	bl	_bytestream2_get_byte
	mov	x2, x0
	sub	w8, w0, #56
	and	w9, w8, #0xff
	mov	w10, #27
	mul	w9, w9, w10
	lsr	w9, w9, #8
	sub	w10, w8, w9
	and	w10, w10, #0xfe
	add	w9, w9, w10, lsr #1
	lsr	w9, w9, #4
	mov	w10, #29
	msub	w8, w9, w10, w8
	mov	w10, #-8
	mov	w11, #14
	and	w12, w0, #0xff
	mov	w13, #37
	mul	w12, w12, w13
	lsr	w12, w12, #8
	sub	w13, w0, w12
	and	w13, w13, #0xfe
	add	w12, w12, w13, lsr #1
	lsr	w12, w12, #2
	sub	w13, w12, w12, lsl #3
	add	w13, w0, w13
	mov	w14, #-8
	cmp	w0, #55
	csel	w8, w8, w13, hi
	csel	w11, w11, w14, hi
	csel	w9, w9, w12, hi
	csel	w10, w10, wzr, hi
	sub	w21, w11, w8, uxtb
	sub	w22, w10, w9
	ldr	w0, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x21
	mov	x4, x22
	bl	_ff_tlog
	mov	x0, x20
	mov	x1, x19
	mov	x2, x19
	mov	x3, x21
	mov	x4, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_copy_from
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"motion byte = %d, (x, y) = (%d, %d)\n"

	.no_dead_strip	_ipvideo_decode_block_opcode_0x3
.subsections_via_symbols
