	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ljpeg_encode_yuv_mb
_ljpeg_encode_yuv_mb:                   ## @ljpeg_encode_yuv_mb
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r10d
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	leaq	20(%rdi), %rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	leaq	16(%rdi), %rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	leaq	28(%rdi), %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	leaq	24(%rdi), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	testl	%r8d, %r8d
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	movq	%rdx, -184(%rbp)                ## 8-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_10
## %bb.1:
	testl	%r9d, %r9d
	je	LBB0_10
## %bb.2:
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	cmpq	$3, %r12
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	je	LBB0_25
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
	movq	8(%rdi), %rax
	movl	(%rax,%r12,4), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	jle	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax,%r12,4), %ecx
	movq	(%rdx), %rax
	movslq	(%rax,%r12,4), %r9
	movq	-96(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	imull	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx killed $rcx
	imull	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	%r9d, %esi
	notl	%esi
	movslq	%esi, %r14
	testq	%r12, %r12
	movslq	%ecx, %rcx
	cltq
	movq	-176(%rbp), %rbx                ## 8-byte Reload
	cmoveq	-160(%rbp), %rbx                ## 8-byte Folded Reload
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	-168(%rbp), %rbx                ## 8-byte Reload
	cmoveq	-152(%rbp), %rbx                ## 8-byte Folded Reload
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	shlq	$2, %r14
	movq	%r9, %rdi
	imulq	%rax, %rdi
	addq	%rcx, %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	leaq	-4(,%rax,4), %rax
	imulq	%r9, %rax
	leaq	(%rax,%rcx,4), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r9, -128(%rbp)                 ## 8-byte Spill
	leaq	(,%r9,4), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	incq	%rcx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	-128(%rbp), %rax                ## 8-byte Folded Reload
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-120(%rbp), %rax                ## 8-byte Reload
	addq	%rax, -64(%rbp)                 ## 8-byte Folded Spill
	cmpq	-96(%rbp), %rcx                 ## 8-byte Folded Reload
	je	LBB0_9
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	8(%rdx), %rax
	movq	(%rax,%r12,8), %rax
	leaq	(%rax,%r14), %rcx
	movl	(%rcx,%rbx,4), %esi
	movl	(%rax,%r13), %edx
	movl	-4(%rax,%rbx,4), %ecx
	movl	%r10d, %r8d
	callq	_PREDICT
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edx
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %ecx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_ff_mjpeg_encode_dc
	movq	-184(%rbp), %rdx                ## 8-byte Reload
	movl	-84(%rbp), %r10d                ## 4-byte Reload
	incq	%rbx
	addq	$4, %r13
	decq	%r15
	jne	LBB0_7
	jmp	LBB0_8
LBB0_10:
	xorl	%esi, %esi
                                        ## implicit-def: $r14d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rsi
	cmpq	$3, %rsi
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	je	LBB0_25
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
                                        ##       Child Loop BB0_15 Depth 3
	movq	8(%rdi), %rax
	movl	(%rax,%rsi,4), %ecx
	testl	%ecx, %ecx
	jle	LBB0_24
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%rdi), %rax
	movl	(%rax,%rsi,4), %edi
	movq	(%rdx), %rax
	movslq	(%rax,%rsi,4), %r8
	movl	%ecx, %ebx
	imull	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movl	%edi, %r9d
	imull	-48(%rbp), %r9d                 ## 4-byte Folded Reload
	testq	%rsi, %rsi
	movq	-176(%rbp), %rax                ## 8-byte Reload
	cmoveq	-160(%rbp), %rax                ## 8-byte Folded Reload
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-168(%rbp), %rax                ## 8-byte Reload
	cmoveq	-152(%rbp), %rax                ## 8-byte Folded Reload
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movslq	%ebx, %rax
	leaq	(,%r8,4), %rbx
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	imulq	%rax, %rbx
	leaq	-4(,%rax,4), %rdi
	imulq	%r8, %rdi
	movl	%r8d, %eax
	notl	%eax
	movslq	%eax, %r8
	movslq	%r9d, %rax
	leaq	(%rbx,%rax,4), %rbx
	leaq	(%rdi,%rax,4), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%r8,4), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	incq	%rdi
	movq	-120(%rbp), %rax                ## 8-byte Reload
	addq	%rax, %rbx
	addq	%rax, -56(%rbp)                 ## 8-byte Folded Spill
	addq	%rax, -64(%rbp)                 ## 8-byte Folded Spill
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	cmpq	%rcx, %rdi
	je	LBB0_24
LBB0_13:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_15 Depth 3
	cmpl	$0, -104(%rbp)                  ## 4-byte Folded Reload
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	jle	LBB0_23
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	movl	%edi, %r12d
	orl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	xorl	%r15d, %r15d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_15 Depth=3
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addq	%rax, %rcx
	movl	(%rcx,%r15,4), %esi
	addq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	movl	(%rax,%r15,4), %edx
	movl	-4(%r13,%r15,4), %ecx
	movl	%r14d, %edi
	movl	%r10d, %r8d
	callq	_PREDICT
LBB0_22:                                ##   in Loop: Header=BB0_15 Depth=3
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	(%r13,%r15,4), %esi
	subl	%r14d, %esi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %ecx
	callq	_ff_mjpeg_encode_dc
	incq	%r15
	cmpq	%r15, -104(%rbp)                ## 8-byte Folded Reload
	movl	-84(%rbp), %r10d                ## 4-byte Reload
	movq	-184(%rbp), %rdx                ## 8-byte Reload
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	je	LBB0_23
LBB0_15:                                ##   Parent Loop BB0_11 Depth=1
                                        ##     Parent Loop BB0_13 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	8(%rdx), %rax
	movq	(%rax,%rsi,8), %rax
	leaq	(%rax,%rbx), %r13
	movl	%r15d, %ecx
	orl	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	testl	%r12d, %r12d
	je	LBB0_16
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=3
	testl	%ecx, %ecx
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=3
	addq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	movl	(%rax,%r15,4), %r14d
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_15 Depth=3
	testl	%ecx, %ecx
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=3
	movl	-4(%r13,%r15,4), %r14d
	jmp	LBB0_22
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=3
	movl	$128, %r14d
	jmp	LBB0_22
LBB0_25:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ljpeg_encode_yuv_mb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ljpeg_encode_yuv_mb
_ljpeg_encode_yuv_mb:                   ; @ljpeg_encode_yuv_mb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	mov	x13, x3
	stur	x1, [x29, #-96]                 ; 8-byte Folded Spill
	add	x9, x0, #20
	add	x8, x0, #16
	stp	x8, x9, [sp, #24]               ; 16-byte Folded Spill
	add	x9, x0, #28
	add	x8, x0, #24
	stp	x8, x9, [sp, #8]                ; 16-byte Folded Spill
	stur	w4, [x29, #-100]                ; 4-byte Folded Spill
	stur	w3, [x29, #-84]                 ; 4-byte Folded Spill
	mov	x23, x2
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	str	w5, [sp, #52]                   ; 4-byte Folded Spill
	cbz	w4, LBB0_10
; %bb.1:
	cbz	w5, LBB0_10
; %bb.2:
	mov	x19, #0
	ldur	x24, [x29, #-96]                ; 8-byte Folded Reload
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #1
	cmp	x19, #3
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	b.eq	LBB0_25
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
	ldr	x8, [x0, #8]
	ldr	w8, [x8, x19, lsl #2]
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, #0
	ldp	x14, x8, [sp, #32]              ; 16-byte Folded Reload
	ldr	x8, [x8]
	lsl	x9, x19, #2
	ldr	w11, [x8, x9]
	ldr	x8, [x2]
	ldrsw	x8, [x8, x9]
	ldr	w9, [sp, #52]                   ; 4-byte Folded Reload
	ldr	x10, [sp, #72]                  ; 8-byte Folded Reload
	mul	w9, w10, w9
	ldur	w10, [x29, #-100]               ; 4-byte Folded Reload
	str	x11, [sp, #80]                  ; 8-byte Folded Spill
	mul	w10, w11, w10
	mvn	w11, w8
	sxtw	x12, w9
	cmp	x19, #0
	ldr	x15, [sp, #16]                  ; 8-byte Folded Reload
	csel	x21, x15, x14, eq
	ldr	x14, [sp, #24]                  ; 8-byte Folded Reload
	ldr	x15, [sp, #8]                   ; 8-byte Folded Reload
	csel	x26, x15, x14, eq
	sbfiz	x27, x11, #2, #32
	sbfiz	x10, x10, #2, #32
	sbfiz	x9, x9, #2, #32
	sub	x9, x9, #4
	madd	x9, x9, x8, x10
	lsl	x8, x8, #2
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	madd	x8, x8, x12, x10
	stp	x8, x9, [sp, #88]               ; 16-byte Folded Spill
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x22, x22, #1
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	add	x8, x8, x9
	str	x8, [sp, #88]                   ; 8-byte Folded Spill
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	add	x8, x8, x9
	str	x8, [sp, #96]                   ; 8-byte Folded Spill
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	cmp	x22, x8
	b.eq	LBB0_3
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldp	x20, x25, [sp, #80]             ; 16-byte Folded Reload
	ldr	x28, [sp, #96]                  ; 8-byte Folded Reload
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x8, [x2, #8]
	ldr	x8, [x8, x19, lsl #3]
	add	x9, x8, x27
	ldr	w1, [x9, x25]
	ldr	w2, [x8, x28]
	add	x8, x8, x25
	ldur	w3, [x8, #-4]
	mov	x4, x13
	bl	_PREDICT
	ldr	w2, [x21]
	ldr	w3, [x26]
	mov	x0, x24
	bl	_ff_mjpeg_encode_dc
	mov	x2, x23
	ldur	w13, [x29, #-84]                ; 4-byte Folded Reload
	add	x25, x25, #4
	add	x28, x28, #4
	subs	x20, x20, #1
	b.ne	LBB0_9
	b	LBB0_6
LBB0_10:
	mov	x16, #0
                                        ; implicit-def: $w25
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x16, x16, #1
	cmp	x16, #3
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	b.eq	LBB0_25
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;       Child Loop BB0_19 Depth 3
	ldr	x8, [x0, #8]
	ldr	w17, [x8, x16, lsl #2]
	cmp	w17, #1
	b.lt	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x1, #0
	ldr	x8, [x0]
	lsl	x9, x16, #2
	ldr	w11, [x8, x9]
	ldr	x8, [x2]
	ldrsw	x8, [x8, x9]
	ldr	w9, [sp, #52]                   ; 4-byte Folded Reload
	mul	w9, w17, w9
	ldur	w10, [x29, #-100]               ; 4-byte Folded Reload
	mov	x22, x11
	mul	w10, w11, w10
	mvn	w11, w8
	sxtw	x12, w9
	cmp	x16, #0
	ldr	x14, [sp, #32]                  ; 8-byte Folded Reload
	ldr	x15, [sp, #16]                  ; 8-byte Folded Reload
	csel	x19, x15, x14, eq
	sbfiz	x9, x9, #2, #32
	sub	x9, x9, #4
	sbfiz	x10, x10, #2, #32
	madd	x9, x9, x8, x10
	str	x9, [sp, #96]                   ; 8-byte Folded Spill
	lsl	x8, x8, #2
	stp	x8, x17, [sp, #56]              ; 16-byte Folded Spill
	madd	x8, x8, x12, x10
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	csel	x26, x10, x9, eq
	add	x9, x8, w11, sxtw #2
	str	x9, [sp, #88]                   ; 8-byte Folded Spill
	sub	x27, x8, #4
	mov	x24, x16
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	ldp	x27, x1, [sp, #72]              ; 16-byte Folded Reload
	add	x1, x1, #1
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	ldp	x9, x17, [sp, #56]              ; 16-byte Folded Reload
	add	x8, x8, x9
	str	x8, [sp, #96]                   ; 8-byte Folded Spill
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	add	x8, x8, x9
	str	x8, [sp, #88]                   ; 8-byte Folded Spill
	add	x27, x27, x9
	cmp	x1, x17
	b.eq	LBB0_11
LBB0_15:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_19 Depth 3
	cmp	w22, #1
	stp	x27, x1, [sp, #72]              ; 16-byte Folded Spill
	b.lt	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	x21, #0
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	orr	w20, w1, w8
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=3
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	add	x8, x28, x8
	lsl	x9, x21, #2
	ldr	w1, [x8, x9]
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	add	x8, x28, x8
	ldr	w2, [x8, x9]
	ldr	w3, [x28, x27]
	mov	x0, x25
	mov	x4, x13
	bl	_PREDICT
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=3
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
	add	x8, x28, x27
	ldr	w8, [x8, #4]
	sub	w1, w8, w25
	ldr	w2, [x19]
	ldr	w3, [x26]
	bl	_ff_mjpeg_encode_dc
	add	x21, x21, #1
	add	x27, x27, #4
	cmp	x22, x21
	ldur	w13, [x29, #-84]                ; 4-byte Folded Reload
	mov	x2, x23
	mov	x16, x24
	b.eq	LBB0_14
LBB0_19:                                ;   Parent Loop BB0_12 Depth=1
                                        ;     Parent Loop BB0_15 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x8, [x2, #8]
	ldr	x28, [x8, x16, lsl #3]
	ldur	w8, [x29, #-100]                ; 4-byte Folded Reload
	orr	w8, w21, w8
	cbz	w20, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=3
	cbnz	w8, LBB0_17
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=3
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	add	x8, x28, x8
	ldr	w25, [x8, x21, lsl #2]
	b	LBB0_18
LBB0_22:                                ;   in Loop: Header=BB0_19 Depth=3
	cbz	w8, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=3
	ldr	w25, [x28, x27]
	b	LBB0_18
LBB0_24:                                ;   in Loop: Header=BB0_19 Depth=3
	mov	w25, #128
	b	LBB0_18
LBB0_25:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ljpeg_encode_yuv_mb
.subsections_via_symbols
