	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getsgnctxno
_getsgnctxno:                           ## @getsgnctxno
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_contribtab@GOTPCREL(%rip), %r8
	movq	_JPEG2000_T1_SIG_E@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%edi, %edx
	movq	_JPEG2000_T1_SGN_E@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%edi, %ecx
	xorl	%r9d, %r9d
	cmpl	$1, %ecx
	movl	$0, %eax
	adcq	$1, %rax
	movq	(%r8), %r10
	testl	%edx, %edx
	cmoveq	%r9, %rax
	movq	(%r10,%rax,8), %r8
	movq	_JPEG2000_T1_SIG_W@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%edi, %edx
	movq	_JPEG2000_T1_SGN_W@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edi, %eax
	cmpl	$1, %eax
	movl	$0, %eax
	adcq	$1, %rax
	testl	%edx, %edx
	cmoveq	%r9, %rax
	movq	_JPEG2000_T1_SIG_S@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%edi, %edx
	movq	_JPEG2000_T1_SGN_S@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%edi, %ecx
	cmpl	$1, %ecx
	movl	$0, %ecx
	adcq	$1, %rcx
	movslq	(%r8,%rax,4), %rax
	testl	%edx, %edx
	cmoveq	%r9, %rcx
	movq	(%r10,%rcx,8), %r8
	movq	_JPEG2000_T1_SIG_N@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%edi, %edx
	movq	_JPEG2000_T1_SGN_N@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edi
	cmpl	$1, %edi
	movl	$0, %ecx
	adcq	$1, %rcx
	testl	%edx, %edx
	cmoveq	%r9, %rcx
	movslq	(%r8,%rcx,4), %rcx
	movq	_xorbittab@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	8(%rdx,%rax,8), %rdx
	movl	4(%rdx,%rcx,4), %edx
	movl	%edx, (%rsi)
	movq	_ctxlbltab@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	8(%rdx,%rax,8), %rax
	movl	4(%rax,%rcx,4), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_contribtab,8,3                 ## @contribtab
	.comm	_JPEG2000_T1_SIG_E,4,2          ## @JPEG2000_T1_SIG_E
	.comm	_JPEG2000_T1_SGN_E,4,2          ## @JPEG2000_T1_SGN_E
	.comm	_JPEG2000_T1_SIG_W,4,2          ## @JPEG2000_T1_SIG_W
	.comm	_JPEG2000_T1_SGN_W,4,2          ## @JPEG2000_T1_SGN_W
	.comm	_JPEG2000_T1_SIG_S,4,2          ## @JPEG2000_T1_SIG_S
	.comm	_JPEG2000_T1_SGN_S,4,2          ## @JPEG2000_T1_SGN_S
	.comm	_JPEG2000_T1_SIG_N,4,2          ## @JPEG2000_T1_SIG_N
	.comm	_JPEG2000_T1_SGN_N,4,2          ## @JPEG2000_T1_SGN_N
	.comm	_xorbittab,8,3                  ## @xorbittab
	.comm	_ctxlbltab,8,3                  ## @ctxlbltab
	.no_dead_strip	_getsgnctxno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getsgnctxno
_getsgnctxno:                           ; @getsgnctxno
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _contribtab@GOTPAGE
Lloh1:
	ldr	x8, [x8, _contribtab@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _JPEG2000_T1_SIG_E@GOTPAGE
Lloh4:
	ldr	x9, [x9, _JPEG2000_T1_SIG_E@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _JPEG2000_T1_SGN_E@GOTPAGE
Lloh7:
	ldr	x10, [x10, _JPEG2000_T1_SGN_E@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w0
	mov	w10, #1
	cinc	x11, x10, eq
	tst	w9, w0
	csel	x9, xzr, x11, eq
	ldr	x9, [x8, x9, lsl #3]
Lloh9:
	adrp	x11, _JPEG2000_T1_SIG_W@GOTPAGE
Lloh10:
	ldr	x11, [x11, _JPEG2000_T1_SIG_W@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
Lloh12:
	adrp	x12, _JPEG2000_T1_SGN_W@GOTPAGE
Lloh13:
	ldr	x12, [x12, _JPEG2000_T1_SGN_W@GOTPAGEOFF]
Lloh14:
	ldr	w12, [x12]
	tst	w12, w0
	cinc	x12, x10, eq
	tst	w11, w0
	csel	x11, xzr, x12, eq
	ldrsw	x9, [x9, x11, lsl #2]
Lloh15:
	adrp	x11, _JPEG2000_T1_SIG_S@GOTPAGE
Lloh16:
	ldr	x11, [x11, _JPEG2000_T1_SIG_S@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
Lloh18:
	adrp	x12, _JPEG2000_T1_SGN_S@GOTPAGE
Lloh19:
	ldr	x12, [x12, _JPEG2000_T1_SGN_S@GOTPAGEOFF]
Lloh20:
	ldr	w12, [x12]
	tst	w12, w0
	cinc	x12, x10, eq
	tst	w11, w0
	csel	x11, xzr, x12, eq
	ldr	x8, [x8, x11, lsl #3]
Lloh21:
	adrp	x11, _JPEG2000_T1_SIG_N@GOTPAGE
Lloh22:
	ldr	x11, [x11, _JPEG2000_T1_SIG_N@GOTPAGEOFF]
Lloh23:
	ldr	w11, [x11]
Lloh24:
	adrp	x12, _JPEG2000_T1_SGN_N@GOTPAGE
Lloh25:
	ldr	x12, [x12, _JPEG2000_T1_SGN_N@GOTPAGEOFF]
Lloh26:
	ldr	w12, [x12]
	tst	w12, w0
	cinc	x10, x10, eq
	tst	w11, w0
	csel	x10, xzr, x10, eq
	lsl	x9, x9, #3
	ldrsw	x8, [x8, x10, lsl #2]
	lsl	x8, x8, #2
Lloh27:
	adrp	x10, _xorbittab@GOTPAGE
Lloh28:
	ldr	x10, [x10, _xorbittab@GOTPAGEOFF]
Lloh29:
	ldr	x10, [x10]
	add	x9, x9, #8
	ldr	x10, [x10, x9]
	add	x8, x8, #4
	ldr	w10, [x10, x8]
	str	w10, [x1]
Lloh30:
	adrp	x10, _ctxlbltab@GOTPAGE
Lloh31:
	ldr	x10, [x10, _ctxlbltab@GOTPAGEOFF]
Lloh32:
	ldr	x10, [x10]
	ldr	x9, [x10, x9]
	ldr	w0, [x9, x8]
	ret
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_contribtab,8,3                 ; @contribtab
	.comm	_JPEG2000_T1_SIG_E,4,2          ; @JPEG2000_T1_SIG_E
	.comm	_JPEG2000_T1_SGN_E,4,2          ; @JPEG2000_T1_SGN_E
	.comm	_JPEG2000_T1_SIG_W,4,2          ; @JPEG2000_T1_SIG_W
	.comm	_JPEG2000_T1_SGN_W,4,2          ; @JPEG2000_T1_SGN_W
	.comm	_JPEG2000_T1_SIG_S,4,2          ; @JPEG2000_T1_SIG_S
	.comm	_JPEG2000_T1_SGN_S,4,2          ; @JPEG2000_T1_SGN_S
	.comm	_JPEG2000_T1_SIG_N,4,2          ; @JPEG2000_T1_SIG_N
	.comm	_JPEG2000_T1_SGN_N,4,2          ; @JPEG2000_T1_SGN_N
	.comm	_xorbittab,8,3                  ; @xorbittab
	.comm	_ctxlbltab,8,3                  ; @ctxlbltab
	.no_dead_strip	_getsgnctxno
.subsections_via_symbols
