	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adrp
_adrp:                                  ## @adrp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rax), %rcx
	movq	_ARM_GPR@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	jne	LBB0_6
## %bb.1:
	movq	16(%rax), %rcx
	movq	_ARM_CONSTANT@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	jne	LBB0_3
## %bb.2:
	movl	8(%rax), %ecx
	movl	28(%rax), %edi
	shll	$24, %ecx
	addl	%edx, %ecx
	subl	%esi, %edi
	leal	3(%rdi), %eax
	testl	%edi, %edi
	cmovnsl	%edi, %eax
	sarl	$2, %eax
	movl	%eax, %edx
	shll	$16, %edx
	addl	%ecx, %edx
	shll	$5, %eax
	andl	$65280, %eax                    ## imm = 0xFF00
	addl	%edx, %eax
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
LBB0_4:
	callq	_eprintf
	movq	_UT32_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARM_GPR,8,3                    ## @ARM_GPR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Usage: adrp x0, addr\n"

	.comm	_UT32_MAX,4,2                   ## @UT32_MAX
	.comm	_ARM_CONSTANT,8,3               ## @ARM_CONSTANT
L_.str.1:                               ## @.str.1
	.asciz	"Usage: adrp, x0, addr\n"

	.no_dead_strip	_adrp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adrp
_adrp:                                  ; @adrp
	.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
	ldr	x8, [x0]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _ARM_GPR@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ARM_GPR@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.1:
	ldr	x9, [x8, #16]
Lloh3:
	adrp	x10, _ARM_CONSTANT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ARM_CONSTANT@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.2:
	ldr	w9, [x8, #8]
	add	w9, w2, w9, lsl #24
	ldr	w8, [x8, #28]
	sub	w8, w8, w1
	add	w10, w8, #3
	cmp	w8, #0
	csel	w8, w10, w8, lt
	asr	w8, w8, #2
	add	w9, w9, w8, lsl #16
	lsl	w8, w8, #5
	and	w8, w8, #0xff00
	add	w0, w9, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_5:
	bl	_eprintf
Lloh10:
	adrp	x8, _UT32_MAX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UT32_MAX@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ARM_GPR,8,3                    ; @ARM_GPR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Usage: adrp x0, addr\n"

	.comm	_UT32_MAX,4,2                   ; @UT32_MAX
	.comm	_ARM_CONSTANT,8,3               ; @ARM_CONSTANT
l_.str.1:                               ; @.str.1
	.asciz	"Usage: adrp, x0, addr\n"

	.no_dead_strip	_adrp
.subsections_via_symbols
