	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_mfw_get_gen_tlv_value
_qed_mfw_get_gen_tlv_value:             ## @qed_mfw_get_gen_tlv_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movl	(%rdi), %ecx
	movl	$-1, %eax
	leal	-128(%rcx), %edx
	cmpl	$7, %edx
	ja	LBB0_16
## %bb.1:
	movq	%rsi, %rbx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_2:
	addl	$-132, %ecx
	movq	40(%rbx), %rdx
	cmpl	$0, (%rdx,%rcx,4)
	je	LBB0_16
## %bb.3:
	movq	(%rbx), %rax
	movq	(%rax,%rcx,8), %rax
	movq	%rax, 8(%r14)
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_4:
	cmpl	$0, 28(%rbx)
	je	LBB0_16
## %bb.5:
	addq	$16, %rbx
	jmp	LBB0_12
LBB0_6:
	cmpl	$0, 24(%rbx)
	je	LBB0_16
## %bb.7:
	addq	$20, %rbx
	jmp	LBB0_12
LBB0_8:
	cmpl	$0, 36(%rbx)
	je	LBB0_16
## %bb.9:
	addq	$8, %rbx
	jmp	LBB0_12
LBB0_10:
	cmpl	$0, 32(%rbx)
	je	LBB0_16
## %bb.11:
	addq	$12, %rbx
LBB0_12:
	movq	%rbx, 8(%r14)
	movl	$4, %eax
	jmp	LBB0_16
LBB0_13:
	cmpl	$0, 56(%rbx)
	je	LBB0_16
## %bb.14:
	movq	(%r14), %rdi
	movq	_QED_TLV_DATA_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	xorl	%eax, %eax
	cmpl	$0, 52(%rbx)
	setne	%al
	movq	(%r14), %rcx
	movl	%eax, (%rcx)
	xorl	%edx, %edx
	cmpl	$0, 48(%rbx)
	setne	%dl
	leal	(%rax,%rdx,2), %eax
	movl	%eax, (%rcx)
	movq	%rcx, 8(%r14)
	movq	_QED_MFW_TLV_FLAGS_SIZE@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_2
	.long	L0_0_set_13
	.long	L0_0_set_2
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_QED_TLV_DATA_MAX,4,2           ## @QED_TLV_DATA_MAX
	.comm	_QED_MFW_TLV_FLAGS_SIZE,4,2     ## @QED_MFW_TLV_FLAGS_SIZE
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_qed_mfw_get_gen_tlv_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_mfw_get_gen_tlv_value
_qed_mfw_get_gen_tlv_value:             ; @qed_mfw_get_gen_tlv_value
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	sub	w9, w8, #128
	cmp	w9, #7
	b.hi	LBB0_15
; %bb.1:
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	sub	w8, w8, #132
	ldr	x9, [x20, #40]
	ldr	w9, [x9, w8, uxtw #2]
	cbz	w9, LBB0_15
; %bb.3:
	ldr	x9, [x20]
	ldr	x8, [x9, x8, lsl #3]
	str	x8, [x19, #8]
Lloh2:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_16
LBB0_4:
	ldr	w8, [x20, #28]
	cbz	w8, LBB0_15
; %bb.5:
	add	x8, x20, #16
	b	LBB0_12
LBB0_6:
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_15
; %bb.7:
	add	x8, x20, #20
	b	LBB0_12
LBB0_8:
	ldr	w8, [x20, #36]
	cbz	w8, LBB0_15
; %bb.9:
	add	x8, x20, #8
	b	LBB0_12
LBB0_10:
	ldr	w8, [x20, #32]
	cbz	w8, LBB0_15
; %bb.11:
	add	x8, x20, #12
LBB0_12:
	str	x8, [x19, #8]
	mov	w0, #4
	b	LBB0_16
LBB0_13:
	ldr	w8, [x20, #56]
	cbz	w8, LBB0_15
; %bb.14:
	ldr	x0, [x19]
Lloh5:
	adrp	x8, _QED_TLV_DATA_MAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QED_TLV_DATA_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	ldr	w8, [x20, #52]
	cmp	w8, #0
	cset	w8, ne
	ldr	x9, [x19]
	str	w8, [x9]
	ldr	w10, [x20, #48]
	cmp	w10, #0
	cset	w10, ne
	bfi	w8, w10, #1, #1
	str	w8, [x9]
	str	x9, [x19, #8]
Lloh8:
	adrp	x8, _QED_MFW_TLV_FLAGS_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _QED_MFW_TLV_FLAGS_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	b	LBB0_16
LBB0_15:
	mov	w0, #-1
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_QED_TLV_DATA_MAX,4,2           ; @QED_TLV_DATA_MAX
	.comm	_QED_MFW_TLV_FLAGS_SIZE,4,2     ; @QED_MFW_TLV_FLAGS_SIZE
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_qed_mfw_get_gen_tlv_value
.subsections_via_symbols
