	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ttlv_valid
_ttlv_valid:                            ## @ttlv_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	xorl	%eax, %eax
	testl	%edi, %edi
	jle	LBB0_6
## %bb.1:
	movl	$1, %eax
	leal	-272(%rdi), %ecx
	cmpl	$7, %ecx
	jb	LBB0_6
## %bb.2:
	cmpl	$17, %edi
	ja	LBB0_3
## %bb.5:
	movl	$196610, %ecx                   ## imm = 0x30002
	btl	%edi, %ecx
	jb	LBB0_6
LBB0_3:
	cmpl	$4096, %edi                     ## imm = 0x1000
	jne	LBB0_4
LBB0_6:
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ttlv_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ttlv_valid
_ttlv_valid:                            ; @ttlv_valid
	.cfi_startproc
; %bb.0:
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x8, x0
	mov	w0, #1
	sub	w9, w8, #272
	cmp	w9, #7
	b.lo	LBB0_4
; %bb.2:
	cmp	w8, #17
	b.hi	LBB0_6
; %bb.3:
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #2
	movk	w10, #3, lsl #16
	tst	w9, w10
	b.eq	LBB0_6
LBB0_4:
	ret
LBB0_5:
	mov	w0, #0
	ret
LBB0_6:
	cmp	w8, #1, lsl #12                 ; =4096
	csel	w0, w0, wzr, eq
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ttlv_valid
.subsections_via_symbols
