	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ff_jpegls_quantize
_ff_jpegls_quantize:                    ## @ff_jpegls_quantize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	testl	%esi, %esi
	je	LBB0_10
## %bb.1:
	js	LBB0_6
## %bb.2:
	cmpl	%esi, 12(%rdi)
	jge	LBB0_10
## %bb.3:
	movl	$1, %eax
	cmpl	%esi, 8(%rdi)
	jg	LBB0_10
## %bb.4:
	movl	$2, %eax
	cmpl	%esi, 4(%rdi)
	jg	LBB0_10
## %bb.5:
	xorl	%ecx, %ecx
	cmpl	%esi, (%rdi)
	setg	%cl
	movl	$4, %eax
	subl	%ecx, %eax
LBB0_10:
	popq	%rbp
	retq
LBB0_6:
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	subl	(%rdi), %edx
	movl	$-4, %eax
	cmpl	%esi, %edx
	jge	LBB0_10
## %bb.7:
	subl	4(%rdi), %ecx
	movl	$-3, %eax
	cmpl	%esi, %ecx
	jge	LBB0_10
## %bb.8:
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	subl	8(%rdi), %edx
	movl	$-2, %eax
	cmpl	%esi, %edx
	jge	LBB0_10
## %bb.9:
	subl	12(%rdi), %ecx
	xorl	%eax, %eax
	cmpl	%esi, %ecx
	setg	%al
	negl	%eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ff_jpegls_quantize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ff_jpegls_quantize
_ff_jpegls_quantize:                    ; @ff_jpegls_quantize
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_5
; %bb.1:
	tbnz	w1, #31, LBB0_6
; %bb.2:
	ldr	w8, [x0, #12]
	cmp	w8, w1
	b.ge	LBB0_5
; %bb.3:
	ldr	w8, [x0, #8]
	cmp	w8, w1
	b.le	LBB0_11
; %bb.4:
	mov	w0, #1
	ret
LBB0_5:
	mov	w0, #0
	ret
LBB0_6:
	ldr	w8, [x0]
	neg	w8, w8
	cmp	w8, w1
	b.ge	LBB0_10
; %bb.7:
	ldr	w8, [x0, #4]
	neg	w8, w8
	cmp	w8, w1
	b.ge	LBB0_13
; %bb.8:
	ldr	w8, [x0, #8]
	neg	w8, w8
	cmp	w8, w1
	b.ge	LBB0_15
; %bb.9:
	ldr	w8, [x0, #12]
	neg	w8, w8
	cmp	w8, w1
	csetm	w0, gt
	ret
LBB0_10:
	mov	w0, #-4
	ret
LBB0_11:
	ldr	w8, [x0, #4]
	cmp	w8, w1
	b.le	LBB0_14
; %bb.12:
	mov	w0, #2
	ret
LBB0_13:
	mov	w0, #-3
	ret
LBB0_14:
	ldr	w8, [x0]
	cmp	w8, w1
	mov	w8, #3
	cinc	w0, w8, le
	ret
LBB0_15:
	mov	w0, #-2
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ff_jpegls_quantize
.subsections_via_symbols
