	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arc_limm_fixup_adjust          ## -- Begin function arc_limm_fixup_adjust
	.p2align	4, 0x90
_arc_limm_fixup_adjust:                 ## @arc_limm_fixup_adjust
	.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	%edi, %ebx
	movl	$-1, %edi
	callq	_I
	movl	%eax, %r14d
	movl	$-1, %edi
	callq	_C
	movl	%eax, %r15d
	orl	%r14d, %r15d
	movl	$-1, %edi
	callq	_B
	movl	%eax, %r14d
	orl	%r15d, %r14d
	andl	%ebx, %r14d
	movl	$2, %edi
	callq	_I
	movl	%eax, %r15d
	movq	_ARC_REG_SHIMM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_C
	movl	%eax, %r12d
	orl	%r15d, %r12d
	movq	_ARC_REG_LIMM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_B
	orl	%r12d, %eax
	movl	%ebx, %ecx
	andl	$511, %ecx                      ## imm = 0x1FF
	andl	$256, %ebx                      ## imm = 0x100
	addl	%ebx, %ebx
	subl	%ecx, %ebx
	xorl	%ecx, %ecx
	cmpl	%eax, %r14d
	cmovel	%ebx, %ecx
	movl	%ecx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARC_REG_SHIMM,4,2              ## @ARC_REG_SHIMM
	.comm	_ARC_REG_LIMM,4,2               ## @ARC_REG_LIMM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arc_limm_fixup_adjust          ; -- Begin function arc_limm_fixup_adjust
	.p2align	2
_arc_limm_fixup_adjust:                 ; @arc_limm_fixup_adjust
	.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, x0
	mov	w0, #-1
	bl	_I
	mov	x20, x0
	mov	w0, #-1
	bl	_C
	orr	w20, w0, w20
	mov	w0, #-1
	bl	_B
	orr	w8, w20, w0
	and	w21, w8, w19
	mov	w0, #2
	bl	_I
	mov	x20, x0
Lloh0:
	adrp	x8, _ARC_REG_SHIMM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARC_REG_SHIMM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_C
	orr	w20, w0, w20
Lloh3:
	adrp	x8, _ARC_REG_LIMM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARC_REG_LIMM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_B
	orr	w8, w20, w0
	and	w9, w19, #0x1ff
	lsl	w10, w19, #1
	and	w10, w10, #0x200
	sub	w9, w10, w9
	cmp	w21, w8
	csel	w0, w9, wzr, eq
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARC_REG_SHIMM,4,2              ; @ARC_REG_SHIMM
	.comm	_ARC_REG_LIMM,4,2               ; @ARC_REG_LIMM
.subsections_via_symbols
