	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_table_limit
_check_table_limit:                     ## @check_table_limit
	.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), %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	cmpq	%rcx, 8(%rdi)
	jl	LBB0_5
## %bb.2:
	movl	(%rsi), %ecx
	movq	_TEI_FLAGS_UPDATE@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_3
## %bb.4:
	movq	_TEI_FLAGS_DONTADD@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rsi)
LBB0_5:
	popq	%rbp
	retq
LBB0_3:
	movq	_TEI_FLAGS_LIMIT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rsi)
	movq	_EFBIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TEI_FLAGS_UPDATE,4,2           ## @TEI_FLAGS_UPDATE
	.comm	_TEI_FLAGS_LIMIT,4,2            ## @TEI_FLAGS_LIMIT
	.comm	_EFBIG,4,2                      ## @EFBIG
	.comm	_TEI_FLAGS_DONTADD,4,2          ## @TEI_FLAGS_DONTADD
	.no_dead_strip	_check_table_limit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_table_limit
_check_table_limit:                     ; @check_table_limit
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x9, [x0, #8]
	cmp	x9, x8
	b.ge	LBB0_3
LBB0_2:
	mov	w0, #0
	ret
LBB0_3:
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _TEI_FLAGS_UPDATE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TEI_FLAGS_UPDATE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	mov	w0, #0
Lloh3:
	adrp	x9, _TEI_FLAGS_DONTADD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TEI_FLAGS_DONTADD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x1]
	ret
LBB0_5:
Lloh6:
	adrp	x9, _TEI_FLAGS_LIMIT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TEI_FLAGS_LIMIT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x1]
Lloh9:
	adrp	x8, _EFBIG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EFBIG@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TEI_FLAGS_UPDATE,4,2           ; @TEI_FLAGS_UPDATE
	.comm	_TEI_FLAGS_LIMIT,4,2            ; @TEI_FLAGS_LIMIT
	.comm	_EFBIG,4,2                      ; @EFBIG
	.comm	_TEI_FLAGS_DONTADD,4,2          ; @TEI_FLAGS_DONTADD
	.no_dead_strip	_check_table_limit
.subsections_via_symbols
