	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_parse_cee_tlv
_ice_parse_cee_tlv:                     ## @ice_parse_cee_tlv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_ntohl
	movq	_ICE_LLDP_TLV_SUBTYPE_M@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_ICE_LLDP_TLV_SUBTYPE_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	cltq
	movq	_ICE_CEE_DCBX_TYPE@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_11
## %bb.1:
	movl	(%rbx), %edi
	callq	_ntohs
	movq	_ICE_LLDP_TLV_LEN_M@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_ICE_LLDP_TLV_LEN_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	cmpl	$13, %eax
	jl	LBB0_11
## %bb.2:
	movq	_ICE_CEE_MAX_FEAT_TYPE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_11
## %bb.3:
	addq	$12, %rbx
	xorl	%r15d, %r15d
	movq	_ICE_LLDP_TLV_TYPE_S@GOTPCREL(%rip), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ice_parse_cee_app_tlv
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	movslq	%r12d, %rax
	addq	%rax, %rbx
	addq	$4, %rbx
	movq	_ICE_CEE_MAX_FEAT_TYPE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jge	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	_ntohs
	movq	_ICE_LLDP_TLV_LEN_M@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	andl	%eax, %r12d
	movq	_ICE_LLDP_TLV_LEN_S@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	sarl	%cl, %r12d
	movq	_ICE_LLDP_TLV_TYPE_M@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movzbl	(%r13), %ecx
	sarl	%cl, %eax
	cltq
	cmpq	$130, %rax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$129, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$128, %rax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ice_parse_cee_pgcfg_tlv
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ice_parse_cee_pfccfg_tlv
	jmp	LBB0_10
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_LLDP_TLV_SUBTYPE_M,4,2     ## @ICE_LLDP_TLV_SUBTYPE_M
	.comm	_ICE_LLDP_TLV_SUBTYPE_S,4,2     ## @ICE_LLDP_TLV_SUBTYPE_S
	.comm	_ICE_CEE_DCBX_TYPE,8,3          ## @ICE_CEE_DCBX_TYPE
	.comm	_ICE_LLDP_TLV_LEN_M,4,2         ## @ICE_LLDP_TLV_LEN_M
	.comm	_ICE_LLDP_TLV_LEN_S,4,2         ## @ICE_LLDP_TLV_LEN_S
	.comm	_ICE_CEE_MAX_FEAT_TYPE,8,3      ## @ICE_CEE_MAX_FEAT_TYPE
	.comm	_ICE_LLDP_TLV_TYPE_M,4,2        ## @ICE_LLDP_TLV_TYPE_M
	.comm	_ICE_LLDP_TLV_TYPE_S,4,2        ## @ICE_LLDP_TLV_TYPE_S
	.no_dead_strip	_ice_parse_cee_tlv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_parse_cee_tlv
_ice_parse_cee_tlv:                     ; @ice_parse_cee_tlv
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_ntohl
Lloh0:
	adrp	x8, _ICE_LLDP_TLV_SUBTYPE_M@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICE_LLDP_TLV_SUBTYPE_M@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh3:
	adrp	x9, _ICE_LLDP_TLV_SUBTYPE_S@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ICE_LLDP_TLV_SUBTYPE_S@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh6:
	adrp	x9, _ICE_CEE_DCBX_TYPE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ICE_CEE_DCBX_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, w8, sxtw
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x20]
	bl	_ntohs
Lloh9:
	adrp	x8, _ICE_LLDP_TLV_LEN_M@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ICE_LLDP_TLV_LEN_M@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh12:
	adrp	x23, _ICE_LLDP_TLV_LEN_S@GOTPAGE
Lloh13:
	ldr	x23, [x23, _ICE_LLDP_TLV_LEN_S@GOTPAGEOFF]
	ldr	w9, [x23]
	asr	w8, w8, w9
Lloh14:
	adrp	x24, _ICE_CEE_MAX_FEAT_TYPE@GOTPAGE
Lloh15:
	ldr	x24, [x24, _ICE_CEE_MAX_FEAT_TYPE@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	w8, #13
	ccmp	x9, #1, #8, ge
	b.ge	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x25, #0
	add	x20, x20, #12
Lloh16:
	adrp	x26, _ICE_LLDP_TLV_TYPE_M@GOTPAGE
Lloh17:
	ldr	x26, [x26, _ICE_LLDP_TLV_TYPE_M@GOTPAGEOFF]
Lloh18:
	adrp	x27, _ICE_LLDP_TLV_TYPE_S@GOTPAGE
Lloh19:
	ldr	x27, [x27, _ICE_LLDP_TLV_TYPE_S@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_ice_parse_cee_app_tlv
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	and	w8, w22, w21
	asr	w8, w8, w28
	add	x25, x25, #1
	add	x8, x20, w8, sxtw
	add	x20, x8, #4
	ldr	x8, [x24]
	cmp	x25, x8
	b.ge	LBB0_2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_ntohs
	mov	x21, x0
Lloh20:
	adrp	x8, _ICE_LLDP_TLV_LEN_M@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ICE_LLDP_TLV_LEN_M@GOTPAGEOFF]
Lloh22:
	ldr	w22, [x8]
	ldr	w28, [x23]
	ldr	w8, [x26]
	and	w8, w8, w0
	ldr	w9, [x27]
	asr	w8, w8, w9
	sxtw	x8, w8
	cmp	x8, #130
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x8, #129
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x8, #128
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_ice_parse_cee_pgcfg_tlv
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_ice_parse_cee_pfccfg_tlv
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_LLDP_TLV_SUBTYPE_M,4,2     ; @ICE_LLDP_TLV_SUBTYPE_M
	.comm	_ICE_LLDP_TLV_SUBTYPE_S,4,2     ; @ICE_LLDP_TLV_SUBTYPE_S
	.comm	_ICE_CEE_DCBX_TYPE,8,3          ; @ICE_CEE_DCBX_TYPE
	.comm	_ICE_LLDP_TLV_LEN_M,4,2         ; @ICE_LLDP_TLV_LEN_M
	.comm	_ICE_LLDP_TLV_LEN_S,4,2         ; @ICE_LLDP_TLV_LEN_S
	.comm	_ICE_CEE_MAX_FEAT_TYPE,8,3      ; @ICE_CEE_MAX_FEAT_TYPE
	.comm	_ICE_LLDP_TLV_TYPE_M,4,2        ; @ICE_LLDP_TLV_TYPE_M
	.comm	_ICE_LLDP_TLV_TYPE_S,4,2        ; @ICE_LLDP_TLV_TYPE_S
	.no_dead_strip	_ice_parse_cee_tlv
.subsections_via_symbols
