	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_fill_generic_tlv_data
_qed_fill_generic_tlv_data:             ## @qed_fill_generic_tlv_data
	.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	%r12
	pushq	%rbx
	subq	$112, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	(%r14), %edi
	movq	%r15, %rsi
	callq	*(%rbx)
	movl	-48(%rbp), %eax
	movq	_QED_TLV_IP_CSUM@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	$1, 64(%r12)
LBB0_2:
	movq	_QED_TLV_LSO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movl	$1, 68(%r12)
LBB0_4:
	movl	$1, 72(%r12)
	movq	_QED_TLV_MAC_COUNT@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_9
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-40(%rbp), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_is_valid_ether_addr
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	56(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	movq	-40(%rbp), %rax
	movl	(%rax,%rbx,4), %esi
	callq	_ether_addr_copy
	movq	(%r12), %rax
	movl	$1, (%rax,%rbx,4)
	jmp	LBB0_8
LBB0_9:
	leaq	-144(%rbp), %rsi
	movq	%r14, %rdi
	callq	_qed_get_vport_stats
	movq	-64(%rbp), %rax
	addq	-56(%rbp), %rax
	addq	-72(%rbp), %rax
	movq	%rax, 48(%r12)
	movl	$1, 8(%r12)
	movq	-88(%rbp), %rax
	addq	-80(%rbp), %rax
	addq	-96(%rbp), %rax
	movq	%rax, 40(%r12)
	movq	-112(%rbp), %rax
	addq	-104(%rbp), %rax
	addq	-120(%rbp), %rax
	movq	%rax, 32(%r12)
	movl	$1, 16(%r12)
	movq	-136(%rbp), %rax
	addq	-128(%rbp), %rax
	addq	-144(%rbp), %rax
	movq	%rax, 24(%r12)
	movl	$1, 12(%r12)
	addq	$112, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_TLV_IP_CSUM,4,2            ## @QED_TLV_IP_CSUM
	.comm	_QED_TLV_LSO,4,2                ## @QED_TLV_LSO
	.comm	_QED_TLV_MAC_COUNT,4,2          ## @QED_TLV_MAC_COUNT
	.no_dead_strip	_qed_fill_generic_tlv_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_fill_generic_tlv_data
_qed_fill_generic_tlv_data:             ; @qed_fill_generic_tlv_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0, #8]
	sub	x0, x29, #64
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	x8, [x21]
	ldr	w0, [x20]
	sub	x1, x29, #64
	blr	x8
	ldur	w8, [x29, #-64]
Lloh0:
	adrp	x9, _QED_TLV_IP_CSUM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QED_TLV_IP_CSUM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w9, #1
	str	w9, [x19, #64]
LBB0_2:
Lloh3:
	adrp	x9, _QED_TLV_LSO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QED_TLV_LSO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x19, #68]
LBB0_4:
	mov	w21, #1
	str	w21, [x19, #72]
Lloh6:
	adrp	x22, _QED_TLV_MAC_COUNT@GOTPAGE
Lloh7:
	ldr	x22, [x22, _QED_TLV_MAC_COUNT@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.5:
	mov	x23, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8
	b.ge	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x29, #-56]
	ldr	w0, [x8, x23, lsl #2]
	bl	_is_valid_ether_addr
	cbz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #56]
	lsl	x24, x23, #2
	ldr	w0, [x8, x24]
	ldur	x8, [x29, #-56]
	ldr	w1, [x8, x24]
	bl	_ether_addr_copy
	ldr	x8, [x19]
	str	w21, [x8, x24]
	b	LBB0_6
LBB0_9:
	mov	x1, sp
	mov	x0, x20
	bl	_qed_get_vport_stats
	ldp	x9, x8, [sp, #80]
	ldp	x11, x10, [sp, #64]
	add	x8, x9, x8
	add	x8, x8, x10
	ldp	x10, x9, [sp, #48]
	add	x9, x9, x11
	add	x9, x9, x10
	stp	x9, x8, [x19, #40]
	ldp	x9, x8, [sp, #32]
	ldp	x11, x10, [sp, #16]
	add	x8, x9, x8
	add	x8, x8, x10
	str	w21, [x19, #16]
	ldp	x10, x9, [sp]
	add	x9, x9, x11
	add	x9, x9, x10
	stp	x9, x8, [x19, #24]
	movi.2s	v0, #1
	str	d0, [x19, #8]
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_TLV_IP_CSUM,4,2            ; @QED_TLV_IP_CSUM
	.comm	_QED_TLV_LSO,4,2                ; @QED_TLV_LSO
	.comm	_QED_TLV_MAC_COUNT,4,2          ; @QED_TLV_MAC_COUNT
	.no_dead_strip	_qed_fill_generic_tlv_data
.subsections_via_symbols
