	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function checkref
LCPI0_0:
	.quad	0x4008000000000000              ## double 3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_checkref:                              ## @checkref
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_PARAM@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jl	LBB0_4
## %bb.1:
	movl	40(%rbx), %edi
	callq	_isvolatile
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	40(%rbx), %edi
	callq	_isfunc
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movl	$1, 8(%rbx)
LBB0_4:
	movq	_Aflag@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_15
## %bb.5:
	cmpq	$0, 48(%rbx)
	je	LBB0_15
## %bb.6:
	movsd	16(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jne	LBB0_15
	jp	LBB0_15
## %bb.7:
	movq	24(%rbx), %rax
	movq	_STATIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_14
LBB0_9:
	movq	(%rbx), %rcx
	cmpq	(%r14), %rcx
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_14
LBB0_11:
	movq	_LOCAL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jl	LBB0_15
## %bb.12:
	movq	_EXTERN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.13:
	leaq	L_.str.2(%rip), %rdi
LBB0_14:
	movl	40(%rbx), %esi
	movq	32(%rbx), %rdx
	callq	_warning
LBB0_15:
	movq	24(%rbx), %rax
	movq	_AUTO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.16:
	movq	(%rbx), %rax
	movq	(%r14), %rcx
	xorq	%rax, %rcx
	movq	_regcount@GOTPCREL(%rip), %rdx
	orq	(%rdx), %rcx
	je	LBB0_18
## %bb.17:
	movq	_LOCAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_22
LBB0_18:
	cmpl	$0, 8(%rbx)
	je	LBB0_19
LBB0_22:
	movq	_level@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_GLOBAL@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_28
## %bb.23:
	movq	24(%rbx), %rax
	movq	_STATIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_28
## %bb.24:
	cmpq	$0, 48(%rbx)
	je	LBB0_25
LBB0_28:
	movq	(%r14), %rax
	movl	$1, %edi
	cmpq	(%r15), %rax
	jne	LBB0_32
## %bb.29:
	movq	24(%rbx), %rax
	movq	_STATIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_32
## %bb.30:
	cmpq	$0, 48(%rbx)
	jne	LBB0_32
## %bb.31:
	movl	40(%rbx), %edi
	callq	_isfunc
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_32:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
LBB0_19:
	movl	40(%rbx), %edi
	callq	_isscalar
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:
	movsd	16(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	ucomisd	LCPI0_0(%rip), %xmm0
	jb	LBB0_22
## %bb.21:
	movq	_REGISTER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	jmp	LBB0_22
LBB0_25:
	movl	40(%rbx), %edi
	callq	_isfunc
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:
	movsd	16(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jne	LBB0_27
	jnp	LBB0_28
LBB0_27:
	movl	40(%rbx), %esi
	movq	32(%rbx), %rdx
	leaq	L_.str.3(%rip), %rdi
	callq	_error
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_PARAM,8,3                      ## @PARAM
	.comm	_Aflag,4,2                      ## @Aflag
	.comm	_STATIC,8,3                     ## @STATIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"static `%t %s' is not referenced\n"

L_.str.1:                               ## @.str.1
	.asciz	"parameter `%t %s' is not referenced\n"

	.comm	_LOCAL,8,3                      ## @LOCAL
	.comm	_EXTERN,8,3                     ## @EXTERN
L_.str.2:                               ## @.str.2
	.asciz	"local `%t %s' is not referenced\n"

	.comm	_AUTO,8,3                       ## @AUTO
	.comm	_regcount,8,3                   ## @regcount
	.comm	_REGISTER,8,3                   ## @REGISTER
	.comm	_level,8,3                      ## @level
	.comm	_GLOBAL,8,3                     ## @GLOBAL
L_.str.3:                               ## @.str.3
	.asciz	"undefined static `%t %s'\n"

	.no_dead_strip	_checkref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkref
_checkref:                              ; @checkref
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x20, _PARAM@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PARAM@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.lt	LBB0_4
; %bb.1:
	ldr	w0, [x19, #40]
	bl	_isvolatile
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x19, #40]
	bl	_isfunc
	cbz	x0, LBB0_4
LBB0_3:
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_4:
Lloh2:
	adrp	x8, _Aflag@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Aflag@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_14
; %bb.5:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_14
; %bb.6:
	ldr	d0, [x19, #16]
	fcmp	d0, #0.0
	b.ne	LBB0_14
; %bb.7:
	ldr	x8, [x19, #24]
Lloh5:
	adrp	x9, _STATIC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _STATIC@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_13
LBB0_9:
	ldr	x9, [x19]
	ldr	x10, [x20]
	cmp	x9, x10
	b.ne	LBB0_11
; %bb.10:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_11:
Lloh12:
	adrp	x10, _LOCAL@GOTPAGE
Lloh13:
	ldr	x10, [x10, _LOCAL@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
Lloh15:
	adrp	x11, _EXTERN@GOTPAGE
Lloh16:
	ldr	x11, [x11, _EXTERN@GOTPAGEOFF]
Lloh17:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x8, x11, #4, ge
	b.eq	LBB0_14
; %bb.12:
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_13:
	ldr	w1, [x19, #40]
	ldr	x2, [x19, #32]
	bl	_warning
LBB0_14:
	ldr	x8, [x19, #24]
Lloh20:
	adrp	x9, _AUTO@GOTPAGE
Lloh21:
	ldr	x9, [x9, _AUTO@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.15:
	ldr	x8, [x19]
	ldr	x9, [x20]
Lloh23:
	adrp	x10, _regcount@GOTPAGE
Lloh24:
	ldr	x10, [x10, _regcount@GOTPAGEOFF]
Lloh25:
	ldr	x10, [x10]
	cmp	x10, #0
	ccmp	x8, x9, #0, eq
Lloh26:
	adrp	x9, _LOCAL@GOTPAGE
Lloh27:
	ldr	x9, [x9, _LOCAL@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	ccmp	x8, x9, #0, ne
	b.lt	LBB0_17
; %bb.16:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_25
LBB0_17:
Lloh29:
	adrp	x20, _level@GOTPAGE
Lloh30:
	ldr	x20, [x20, _level@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh31:
	adrp	x21, _GLOBAL@GOTPAGE
Lloh32:
	ldr	x21, [x21, _GLOBAL@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.18:
	ldr	x8, [x19, #24]
Lloh33:
	adrp	x9, _STATIC@GOTPAGE
Lloh34:
	ldr	x9, [x9, _STATIC@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.19:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_28
LBB0_20:
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.21:
	ldr	x8, [x19, #24]
Lloh36:
	adrp	x9, _STATIC@GOTPAGE
Lloh37:
	ldr	x9, [x9, _STATIC@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.22:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_31
LBB0_23:
	mov	w0, #1
LBB0_24:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_assert
LBB0_25:
	ldr	w0, [x19, #40]
	bl	_isscalar
	cbz	x0, LBB0_17
; %bb.26:
	ldr	d0, [x19, #16]
	fmov	d1, #3.00000000
	fcmp	d0, d1
	b.lt	LBB0_17
; %bb.27:
Lloh39:
	adrp	x8, _REGISTER@GOTPAGE
Lloh40:
	ldr	x8, [x8, _REGISTER@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	b	LBB0_17
LBB0_28:
	ldr	w0, [x19, #40]
	bl	_isfunc
	cbz	x0, LBB0_20
; %bb.29:
	ldr	d0, [x19, #16]
	fcmp	d0, #0.0
	b.eq	LBB0_20
; %bb.30:
	ldr	w1, [x19, #40]
	ldr	x2, [x19, #32]
Lloh42:
	adrp	x0, l_.str.3@PAGE
Lloh43:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_error
	b	LBB0_20
LBB0_31:
	ldr	w0, [x19, #40]
	bl	_isfunc
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_24
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_PARAM,8,3                      ; @PARAM
	.comm	_Aflag,4,2                      ; @Aflag
	.comm	_STATIC,8,3                     ; @STATIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"static `%t %s' is not referenced\n"

l_.str.1:                               ; @.str.1
	.asciz	"parameter `%t %s' is not referenced\n"

	.comm	_LOCAL,8,3                      ; @LOCAL
	.comm	_EXTERN,8,3                     ; @EXTERN
l_.str.2:                               ; @.str.2
	.asciz	"local `%t %s' is not referenced\n"

	.comm	_AUTO,8,3                       ; @AUTO
	.comm	_regcount,8,3                   ; @regcount
	.comm	_REGISTER,8,3                   ; @REGISTER
	.comm	_level,8,3                      ; @level
	.comm	_GLOBAL,8,3                     ; @GLOBAL
l_.str.3:                               ; @.str.3
	.asciz	"undefined static `%t %s'\n"

	.no_dead_strip	_checkref
.subsections_via_symbols
