	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_relative_address
_check_relative_address:                ## @check_relative_address
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	movl	(%rdi), %r9d
	movq	_LAST_ADDR_INVALID@GOTPCREL(%rip), %r8
	xorl	%eax, %eax
	cmpl	(%r8), %r9d
	je	LBB0_4
## %bb.1:
	movl	%r9d, %edi
	shrl	$21, %edi
	andl	$3, %edi
	cmpl	%esi, %edi
	jne	LBB0_4
## %bb.2:
	andl	$2097151, %r9d                  ## imm = 0x1FFFFF
	subl	%r9d, %edx
	leal	-256(%rdx), %esi
	cmpl	$-512, %esi                     ## imm = 0xFE00
	jb	LBB0_4
## %bb.3:
	movl	%edx, (%rcx)
	movl	$1, %eax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LAST_ADDR_INVALID,4,2          ## @LAST_ADDR_INVALID
	.no_dead_strip	_check_relative_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_relative_address
_check_relative_address:                ; @check_relative_address
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _LAST_ADDR_INVALID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LAST_ADDR_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_3
; %bb.1:
	ubfx	w9, w8, #21, #2
	cmp	w9, w1
	b.ne	LBB0_3
; %bb.2:
	and	w8, w8, #0x1fffff
	sub	w8, w2, w8
	sub	w9, w8, #256
	cmn	w9, #512
	b.hs	LBB0_4
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
	str	w8, [x3]
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LAST_ADDR_INVALID,4,2          ; @LAST_ADDR_INVALID
	.no_dead_strip	_check_relative_address
.subsections_via_symbols
