	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_tm_info_to_ieee_ets
_hclge_tm_info_to_ieee_ets:             ## @hclge_tm_info_to_ieee_ets
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	$1, (%r15)
	movl	24(%r14), %eax
	movl	%eax, 32(%r15)
	movq	_HNAE3_MAX_TC@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	testq	%r8, %r8
	je	LBB0_5
## %bb.1:
	movq	16(%r14), %r9
	movq	24(%r15), %r10
	movq	(%r14), %r12
	movq	8(%r14), %rax
	movq	(%rax), %rdi
	movq	8(%r15), %rbx
	movq	16(%r15), %rax
	movq	_HCLGE_SCH_MODE_SP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	movq	_IEEE_8021QAZ_TSA_ETS@GOTPCREL(%rip), %r11
	movq	_IEEE_8021QAZ_TSA_STRICT@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rsi), %esi
	movl	%esi, (%rbx,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %r8
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r9,%rdx,4), %esi
	movl	%esi, (%r10,%rdx,4)
	movl	(%rdi,%rdx,4), %esi
	movl	%esi, (%rax,%rdx,4)
	movq	%r11, %rsi
	cmpq	%rcx, (%r12,%rdx,8)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rsi
	jmp	LBB0_4
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HNAE3_MAX_TC,8,3               ## @HNAE3_MAX_TC
	.comm	_HCLGE_SCH_MODE_SP,8,3          ## @HCLGE_SCH_MODE_SP
	.comm	_IEEE_8021QAZ_TSA_STRICT,4,2    ## @IEEE_8021QAZ_TSA_STRICT
	.comm	_IEEE_8021QAZ_TSA_ETS,4,2       ## @IEEE_8021QAZ_TSA_ETS
	.no_dead_strip	_hclge_tm_info_to_ieee_ets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_tm_info_to_ieee_ets
_hclge_tm_info_to_ieee_ets:             ; @hclge_tm_info_to_ieee_ets
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	mov	w8, #1
	str	w8, [x19]
	ldr	w8, [x20, #24]
	str	w8, [x19, #32]
Lloh0:
	adrp	x8, _HNAE3_MAX_TC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HNAE3_MAX_TC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	ldp	x12, x9, [x20, #8]
	ldp	x14, x10, [x19, #16]
	ldr	x11, [x20]
	ldr	x12, [x12]
Lloh3:
	adrp	x13, _HCLGE_SCH_MODE_SP@GOTPAGE
Lloh4:
	ldr	x13, [x13, _HCLGE_SCH_MODE_SP@GOTPAGEOFF]
Lloh5:
	ldr	x13, [x13]
	ldr	x15, [x19, #8]
Lloh6:
	adrp	x16, _IEEE_8021QAZ_TSA_STRICT@GOTPAGE
Lloh7:
	ldr	x16, [x16, _IEEE_8021QAZ_TSA_STRICT@GOTPAGEOFF]
Lloh8:
	adrp	x17, _IEEE_8021QAZ_TSA_ETS@GOTPAGE
Lloh9:
	ldr	x17, [x17, _IEEE_8021QAZ_TSA_ETS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x9], #4
	str	w0, [x10], #4
	ldr	w0, [x12], #4
	str	w0, [x14], #4
	ldr	x0, [x11], #8
	cmp	x0, x13
	csel	x0, x16, x17, eq
	ldr	w0, [x0]
	str	w0, [x15], #4
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HNAE3_MAX_TC,8,3               ; @HNAE3_MAX_TC
	.comm	_HCLGE_SCH_MODE_SP,8,3          ; @HCLGE_SCH_MODE_SP
	.comm	_IEEE_8021QAZ_TSA_STRICT,4,2    ; @IEEE_8021QAZ_TSA_STRICT
	.comm	_IEEE_8021QAZ_TSA_ETS,4,2       ; @IEEE_8021QAZ_TSA_ETS
	.no_dead_strip	_hclge_tm_info_to_ieee_ets
.subsections_via_symbols
