	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tlv_check
_tlv_check:                             ## @tlv_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$16, %eax
	subq	%rdi, %rax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rax,%rdx), %rdi
	cmpq	%rsi, %rdi
	ja	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	testq	%r8, %r8
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rdx), %rdi
	cmpq	(%rcx), %rdi
	jne	LBB0_2
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rdx), %rdi
	cmpq	8(%rcx), %rdi
	jne	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, (%rcx)
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	addq	%rdi, %rdx
	addq	$16, %rcx
	jmp	LBB0_1
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_tlv_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tlv_check
_tlv_check:                             ; @tlv_check
	.cfi_startproc
; %bb.0:
	mov	w8, #16
	sub	x8, x8, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x8, x2
	cmp	x9, x1
	b.hi	LBB0_7
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cbz	x4, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x9, [x2]
	ldr	x10, [x3]
	cmp	x9, x10
	b.ne	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x9, [x2, #8]
	ldr	x10, [x3, #8]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x10, [x3]
	cbz	x10, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x3, x3, #16
	add	x2, x2, x9
	b	LBB0_1
LBB0_7:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_8:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_tlv_check
.subsections_via_symbols
