	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tncs_get_imv
_tncs_get_imv:                          ## @tncs_get_imv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TNC_MAX_IMV_ID@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	%rdi, (%rcx)
	jle	LBB0_7
## %bb.1:
	movq	_tncs_global_data@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.2:
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, (%rax)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_4
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TNC_MAX_IMV_ID,8,3             ## @TNC_MAX_IMV_ID
	.comm	_tncs_global_data,8,3           ## @tncs_global_data
	.no_dead_strip	_tncs_get_imv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tncs_get_imv
_tncs_get_imv:                          ; @tncs_get_imv
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TNC_MAX_IMV_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TNC_MAX_IMV_ID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _tncs_global_data@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tncs_global_data@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x9, x0
	ccmp	x8, #0, #4, gt
	b.ne	LBB0_2
; %bb.1:
	mov	x0, #0
	ret
LBB0_2:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8]
	cmp	x9, x0
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_3
LBB0_5:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TNC_MAX_IMV_ID,8,3             ; @TNC_MAX_IMV_ID
	.comm	_tncs_global_data,8,3           ; @tncs_global_data
	.no_dead_strip	_tncs_get_imv
.subsections_via_symbols
