	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kern_check_static
_kern_check_static:                     ## @kern_check_static
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, (%rdi)
	je	LBB0_7
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	%r14, -24(%rbp)
	movl	16(%rbx), %eax
	movl	%eax, -32(%rbp)
	testq	%r14, %r14
	jne	LBB0_3
## %bb.2:
	movq	_loopaddr@GOTPCREL(%rip), %r14
LBB0_3:
	movl	(%r14), %eax
	movl	%eax, -36(%rbp)
	movq	(%rbx), %rax
	movq	%rax, -48(%rbp)
	movq	_now@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	callq	_rtget
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	(%rax), %ecx
	movq	_RS_STATIC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	testl	%ecx, %esi
	jne	LBB0_7
## %bb.5:
	orl	%ecx, %esi
	leaq	-48(%rbp), %rdx
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_rtchange
	jmp	LBB0_7
LBB0_6:
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	movq	_RS_STATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	callq	_rtadd
LBB0_7:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_loopaddr,4,2                   ## @loopaddr
	.comm	_now,4,2                        ## @now
	.comm	_RS_STATIC,4,2                  ## @RS_STATIC
	.no_dead_strip	_kern_check_static
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kern_check_static
_kern_check_static:                     ; @kern_check_static
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	str	x20, [sp, #24]
	ldp	w0, w8, [x19, #12]
	str	w8, [sp, #16]
Lloh0:
	adrp	x8, _loopaddr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _loopaddr@GOTPAGEOFF]
	cmp	x20, #0
	csel	x8, x8, x20, eq
	ldr	x9, [x19]
	str	x9, [sp]
Lloh2:
	adrp	x9, _now@GOTPAGE
Lloh3:
	ldr	x9, [x9, _now@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh4:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
	ldr	w1, [x19, #8]
	bl	_rtget
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w8, [x0]
Lloh5:
	adrp	x9, _RS_STATIC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RS_STATIC@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.3:
	orr	w1, w9, w8
	mov	x2, sp
	mov	w3, #0
	bl	_rtchange
	b	LBB0_5
LBB0_4:
	ldp	w1, w0, [x19, #8]
Lloh8:
	adrp	x8, _RS_STATIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RS_STATIC@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x3, sp
	bl	_rtadd
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_loopaddr,4,2                   ; @loopaddr
	.comm	_now,4,2                        ; @now
	.comm	_RS_STATIC,4,2                  ; @RS_STATIC
	.no_dead_strip	_kern_check_static
.subsections_via_symbols
