	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ri_NullCheck
_ri_NullCheck:                          ## @ri_NullCheck
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%cl
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rdx)
	jle	LBB0_7
## %bb.1:
	movq	%rsi, %r13
	movb	%cl, %al
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx,%rax,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %ebx
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movl	$1, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r15,4), %esi
	movq	%r13, %rdi
	callq	_slot_attisnull
	testq	%rax, %rax
	cmovel	%r14d, %r12d
	cmovnel	%r14d, %ebx
	incq	%r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jl	LBB0_2
## %bb.3:
	testl	%ebx, %ebx
	jne	LBB0_4
## %bb.5:
	movq	_RI_KEYS_SOME_NULL@GOTPCREL(%rip), %rax
	testl	%r12d, %r12d
	jne	LBB0_7
	jmp	LBB0_8
LBB0_4:
	movq	_RI_KEYS_NONE_NULL@GOTPCREL(%rip), %rax
	testl	%r12d, %r12d
	je	LBB0_8
LBB0_7:
	movq	_RI_KEYS_ALL_NULL@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RI_KEYS_ALL_NULL,4,2           ## @RI_KEYS_ALL_NULL
	.comm	_RI_KEYS_NONE_NULL,4,2          ## @RI_KEYS_NONE_NULL
	.comm	_RI_KEYS_SOME_NULL,4,2          ## @RI_KEYS_SOME_NULL
	.no_dead_strip	_ri_NullCheck
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ri_NullCheck
_ri_NullCheck:                          ; @ri_NullCheck
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cmp	w3, #0
	mov	w8, #16
	mov	w9, #8
	csel	x8, x9, x8, eq
	ldr	w9, [x2]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x22, #0
	ldr	x23, [x2, x8]
	mov	w21, #1
	mov	w24, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23, x22, lsl #2]
	mov	x0, x20
	bl	_slot_attisnull
	cmp	x0, #0
	csel	w24, wzr, w24, eq
	csel	w21, w21, wzr, eq
	add	x22, x22, #1
	ldrsw	x8, [x19]
	cmp	x22, x8
	b.lt	LBB0_2
; %bb.3:
Lloh0:
	adrp	x8, _RI_KEYS_SOME_NULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RI_KEYS_SOME_NULL@GOTPAGEOFF]
Lloh2:
	adrp	x9, _RI_KEYS_NONE_NULL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RI_KEYS_NONE_NULL@GOTPAGEOFF]
Lloh4:
	adrp	x10, _RI_KEYS_ALL_NULL@GOTPAGE
Lloh5:
	ldr	x10, [x10, _RI_KEYS_ALL_NULL@GOTPAGEOFF]
	cmp	w21, #0
	csel	x8, x8, x9, eq
	cmp	w24, #0
	csel	x8, x8, x10, eq
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _RI_KEYS_ALL_NULL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RI_KEYS_ALL_NULL@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RI_KEYS_ALL_NULL,4,2           ; @RI_KEYS_ALL_NULL
	.comm	_RI_KEYS_NONE_NULL,4,2          ; @RI_KEYS_NONE_NULL
	.comm	_RI_KEYS_SOME_NULL,4,2          ; @RI_KEYS_SOME_NULL
	.no_dead_strip	_ri_NullCheck
.subsections_via_symbols
