	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ls_get_code_regular
_ls_get_code_regular:                   ## @ls_get_code_regular
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movslq	%edx, %r12
	movq	(%rsi), %rax
	movq	8(%rsi), %rcx
	movl	(%rax,%r12,4), %eax
	movl	(%rcx,%r12,4), %edx
	movl	$-1, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	movl	%eax, %esi
	movl	%ebx, %ecx
	shll	%cl, %esi
	cmpl	%edx, %esi
	jl	LBB0_1
## %bb.2:
	movl	28(%r15), %ecx
	movl	32(%r15), %edx
	movl	%ebx, %esi
	callq	_get_ur_golomb_jpegls
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %ecx
	sarl	%ecx
	negl	%ecx
	movl	%eax, %edx
	sarl	%edx
	testb	$1, %al
	cmovnel	%ecx, %edx
	orl	24(%r15), %ebx
	jne	LBB0_4
## %bb.3:
	movq	(%r15), %rax
	movq	16(%r15), %rcx
	movl	(%rcx,%r12,4), %ecx
	addl	%ecx, %ecx
	xorl	%esi, %esi
	subl	(%rax,%r12,4), %esi
	xorl	%eax, %eax
	cmpl	%esi, %ecx
	setle	%al
	negl	%eax
	xorl	%eax, %edx
LBB0_4:
	movq	%r15, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_jpegls_update_state_regular ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ls_get_code_regular
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ls_get_code_regular
_ls_get_code_regular:                   ; @ls_get_code_regular
	.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, x2
	mov	x20, x1
	sxtw	x22, w19
	sbfiz	x9, x19, #2, #32
	ldp	x8, x10, [x1]
	ldr	w8, [x8, x9]
	ldr	w9, [x10, x9]
	mov	w21, #-1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w21, w21, #1
	lsl	w10, w8, w21
	cmp	w10, w9
	b.lt	LBB0_1
; %bb.2:
	ldp	w3, w2, [x20, #28]
	mov	x1, x21
	bl	_get_ur_golomb_jpegls
	add	w8, w0, #1
	asr	w8, w8, #1
	asr	w9, w0, #1
	tst	w0, #0x1
	csneg	w2, w9, w8, eq
	ldr	w8, [x20, #24]
	orr	w8, w8, w21
	cbnz	w8, LBB0_4
; %bb.3:
	ldr	x8, [x20, #16]
	lsl	x9, x22, #2
	ldr	w8, [x8, x9]
	ldr	x10, [x20]
	ldr	w9, [x10, x9]
	neg	w9, w9
	cmp	w9, w8, lsl #1
	cinv	w2, w2, ge
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	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	_ff_jpegls_update_state_regular
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ls_get_code_regular
.subsections_via_symbols
