	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extract_ld_offset
_extract_ld_offset:                     ## @extract_ld_offset
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	(%rdi), %r14d
	movl	$-1, %edi
	callq	_I
	testl	%r14d, %eax
	je	LBB0_4
## %bb.1:
	movl	(%rbx), %eax
	movl	%eax, %ecx
	andl	$511, %ecx                      ## imm = 0x1FF
	movq	_ARC_OPERAND_SIGNED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%r13)
	sete	%dl
	testl	$256, %eax                      ## imm = 0x100
	sete	%al
	orb	%dl, %al
	movzbl	%al, %eax
	shll	$9, %eax
	orl	%ecx, %eax
	addl	$-512, %eax                     ## imm = 0xFE00
	je	LBB0_3
## %bb.2:
	movq	_OP_SHIMM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_ls_operand@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_LS_OFFSET@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	%ecx, (%rdx,%rsi,4)
LBB0_3:
	cltq
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_arc_operands@GOTPCREL(%rip), %rax
	movq	_arc_operand_map@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	792(%rcx), %rsi
	shlq	$2, %rsi
	addq	(%rax), %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	movq	%r15, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_extract_reg                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ARC_OPERAND_SIGNED,4,2         ## @ARC_OPERAND_SIGNED
	.comm	_OP_SHIMM,4,2                   ## @OP_SHIMM
	.comm	_ls_operand,8,3                 ## @ls_operand
	.comm	_LS_OFFSET,8,3                  ## @LS_OFFSET
	.comm	_arc_operands,8,3               ## @arc_operands
	.comm	_arc_operand_map,8,3            ## @arc_operand_map
	.no_dead_strip	_extract_ld_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extract_ld_offset
_extract_ld_offset:                     ; @extract_ld_offset
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x22, x0
	ldr	w24, [x0]
	mov	w0, #-1
	bl	_I
	tst	w0, w24
	b.eq	LBB0_4
; %bb.1:
	ldr	w9, [x22]
	ldr	w8, [x23]
Lloh0:
	adrp	x10, _ARC_OPERAND_SIGNED@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ARC_OPERAND_SIGNED@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	and	w8, w10, w8
	tst	w9, #0x100
	ccmp	w8, #0, #4, ne
	mov	w8, #-512
	csel	w8, wzr, w8, eq
	bfxil	w8, w9, #0, #9
	cbz	w8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x9, _OP_SHIMM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OP_SHIMM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _ls_operand@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ls_operand@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
Lloh9:
	adrp	x11, _LS_OFFSET@GOTPAGE
Lloh10:
	ldr	x11, [x11, _LS_OFFSET@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
	str	w9, [x10, x11, lsl #2]
LBB0_3:
	sxtw	x0, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh12:
	adrp	x8, _arc_operands@GOTPAGE
Lloh13:
	ldr	x8, [x8, _arc_operands@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _arc_operand_map@GOTPAGE
Lloh16:
	ldr	x9, [x9, _arc_operand_map@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldr	x9, [x9, #792]
	add	x1, x8, x9, lsl #2
	mov	x0, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_extract_reg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ARC_OPERAND_SIGNED,4,2         ; @ARC_OPERAND_SIGNED
	.comm	_OP_SHIMM,4,2                   ; @OP_SHIMM
	.comm	_ls_operand,8,3                 ; @ls_operand
	.comm	_LS_OFFSET,8,3                  ; @LS_OFFSET
	.comm	_arc_operands,8,3               ; @arc_operands
	.comm	_arc_operand_map,8,3            ; @arc_operand_map
	.no_dead_strip	_extract_ld_offset
.subsections_via_symbols
