	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_import_addr_arm
_get_import_addr_arm:                   ## @get_import_addr_arm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movl	(%rdx), %ecx
	movq	_REL_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$129, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_6
## %bb.4:
	movl	(%rsi), %eax
	leal	(%rax,%rax,2), %eax
	leal	(%rcx,%rax,4), %eax
	addl	$20, %eax
	andl	$-2, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_UT32_MAX@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movl	(%rsi), %eax
	shll	$4, %eax
	addl	%ecx, %eax
	addl	$32, %eax
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_bprintf
	movq	_UT64_MAX@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UT32_MAX,4,2                   ## @UT32_MAX
	.comm	_REL_TYPE,4,2                   ## @REL_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported relocation type for imports %d\n"

	.comm	_UT64_MAX,4,2                   ## @UT64_MAX
	.no_dead_strip	_get_import_addr_arm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_import_addr_arm
_get_import_addr_arm:                   ; @get_import_addr_arm
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x2, LBB0_4
; %bb.1:
	ldr	w9, [x2]
Lloh0:
	adrp	x8, _REL_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REL_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.3:
	ldr	w8, [x1]
	mov	w10, #12
	madd	w8, w8, w10, w9
	add	w8, w8, #20
	and	w0, w8, #0xfffffffe
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh3:
	adrp	x8, _UT32_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UT32_MAX@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	ldr	w8, [x1]
	add	w8, w9, w8, lsl #4
	add	w0, w8, #32
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x8
	bl	_bprintf
Lloh7:
	adrp	x8, _UT64_MAX@GOTPAGE
Lloh8:
	ldr	x8, [x8, _UT64_MAX@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_UT32_MAX,4,2                   ; @UT32_MAX
	.comm	_REL_TYPE,4,2                   ; @REL_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported relocation type for imports %d\n"

	.comm	_UT64_MAX,4,2                   ; @UT64_MAX
	.no_dead_strip	_get_import_addr_arm
.subsections_via_symbols
