	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arc_cons_fix_new               ## -- Begin function arc_cons_fix_new
	.p2align	4, 0x90
_arc_cons_fix_new:                      ## @arc_cons_fix_new
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	cmpl	$2, %edx
	je	LBB0_3
## %bb.1:
	cmpl	$4, %edx
	jne	LBB0_4
## %bb.2:
	movq	_BFD_RELOC_32@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %r15
	movl	$1, %edi
	movq	%rcx, %rdx
	movq	%r15, %rcx
	callq	_get_arc_exp_reloc_type
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$4, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	movl	%eax, %r9d
	callq	_fix_new_exp
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_BFD_RELOC_16@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	cmpl	$8, %edx
	jne	LBB0_5
## %bb.6:
	movq	_BFD_RELOC_64@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_BFD_RELOC_32@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %r9d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fix_new_exp                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BFD_RELOC_32,4,2               ## @BFD_RELOC_32
	.comm	_BFD_RELOC_16,4,2               ## @BFD_RELOC_16
	.comm	_BFD_RELOC_64,4,2               ## @BFD_RELOC_64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arc_cons_fix_new               ; -- Begin function arc_cons_fix_new
	.p2align	2
_arc_cons_fix_new:                      ; @arc_cons_fix_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x8, x3
	mov	x19, x1
	mov	x20, x0
	cmp	w2, #2
	b.eq	LBB0_3
; %bb.1:
	cmp	w2, #4
	b.ne	LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, _BFD_RELOC_32@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BFD_RELOC_32@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	add	x3, sp, #12
	mov	w0, #1
	mov	x2, x8
	bl	_get_arc_exp_reloc_type
	mov	x5, x0
	add	x3, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	w2, #4
	mov	w4, #0
	bl	_fix_new_exp
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_3:
Lloh3:
	adrp	x9, _BFD_RELOC_16@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BFD_RELOC_16@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x9, _BFD_RELOC_64@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BFD_RELOC_64@GOTPAGEOFF]
Lloh7:
	adrp	x10, _BFD_RELOC_32@GOTPAGE
Lloh8:
	ldr	x10, [x10, _BFD_RELOC_32@GOTPAGEOFF]
	cmp	w2, #8
	csel	x9, x9, x10, eq
LBB0_5:
	ldr	w5, [x9]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x8
	mov	w4, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_fix_new_exp
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_BFD_RELOC_32,4,2               ; @BFD_RELOC_32
	.comm	_BFD_RELOC_16,4,2               ; @BFD_RELOC_16
	.comm	_BFD_RELOC_64,4,2               ; @BFD_RELOC_64
.subsections_via_symbols
