	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_config_key
_hclge_config_key:                      ## @hclge_config_key
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	leaq	(,%rsi,4), %rax
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	addq	16(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_MAX_KEY_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %r14
	shlq	$3, %r14
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	leal	(,%r15,8), %r14d
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	movq	_MAX_TUPLE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.1:
	xorl	%r12d, %r12d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movq	_MAX_TUPLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	%rax, %r12
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_tuple_key_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r12,4), %r15d
	movq	%r13, %r14
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r13d
	movl	%r12d, %edi
	callq	_BIT
	andl	%eax, %r13d
	movl	%r13d, %edi
	movq	%r14, %r13
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_hclge_fd_convert_tuple
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	7(%r15), %eax
	testl	%r15d, %r15d
	cmovnsl	%r15d, %eax
	sarl	$3, %eax
	cltq
	leaq	(%rbx,%rax,8), %rbx
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%rax,8), %r14
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_5:
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movl	8(%r12), %eax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	movq	_MAX_META_DATA_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	7(%rax), %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	sarl	$3, %edx
	subl	%edx, %ecx
	movslq	%ecx, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rsi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%rax,8), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_hclge_fd_convert_meta_data
	movl	4(%r13), %ecx
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	xorl	%edx, %edx
	movq	%rbx, %r8
	movl	$1, %r9d
	callq	_hclge_fd_tcam_config
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %ebx
	movq	(%r12), %rdi
	movl	(%r13), %edx
	leaq	L_.str(%rip), %rsi
	movl	%eax, %ecx
	callq	_dev_err
	movl	%ebx, %r15d
	jmp	LBB0_9
LBB0_7:
	movl	4(%r13), %ecx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	$1, %r9d
	callq	_hclge_fd_tcam_config
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %r14d
	movq	(%r12), %rdi
	movl	(%r13), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %ecx
	callq	_dev_err
	movl	%r14d, %r15d
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_KEY_BYTES,4,2              ## @MAX_KEY_BYTES
	.comm	_MAX_TUPLE,4,2                  ## @MAX_TUPLE
	.comm	_tuple_key_info,8,3             ## @tuple_key_info
	.comm	_MAX_META_DATA_LENGTH,4,2       ## @MAX_META_DATA_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fd key_y config fail, loc=%d, ret=%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"fd key_x config fail, loc=%d, ret=%d\n"

	.no_dead_strip	_hclge_config_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_config_key
_hclge_config_key:                      ; @hclge_config_key
	.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
	sub	sp, sp, #32
	mov	x19, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	stp	x1, x0, [x29, #-112]            ; 16-byte Folded Spill
	ldr	x8, [x0, #16]
	add	x23, x8, x1, lsl #2
Lloh3:
	adrp	x8, _MAX_KEY_BYTES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_KEY_BYTES@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x8]
	lsl	x8, x12, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x13, x10, #0xffffffff0
	sub	x0, x9, x13
	mov	sp, x0
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x24, x8, x13
	mov	sp, x24
	lsl	w25, w12, #3
	stur	x0, [x29, #-96]                 ; 8-byte Folded Spill
	mov	w1, #0
	mov	x2, x25
	bl	_memset
	mov	x0, x24
	mov	w1, #0
	mov	x2, x25
	bl	_memset
Lloh10:
	adrp	x28, _MAX_TUPLE@GOTPAGE
Lloh11:
	ldr	x28, [x28, _MAX_TUPLE@GOTPAGEOFF]
	ldr	w8, [x28]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x25, #0
Lloh12:
	adrp	x21, _tuple_key_info@GOTPAGE
Lloh13:
	ldr	x21, [x21, _tuple_key_info@GOTPAGEOFF]
	ldur	x26, [x29, #-96]                ; 8-byte Folded Reload
	mov	x27, x24
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w20, [x8, x25, lsl #2]
	ldr	w22, [x23]
	mov	x0, x25
	bl	_BIT
	and	w0, w0, w22
	mov	x1, x26
	mov	x2, x27
	mov	x3, x19
	bl	_hclge_fd_convert_tuple
	add	w8, w20, #7
	cmp	w20, #0
	csel	w8, w8, w20, lt
	asr	w8, w8, #3
	cmp	w0, #0
	csel	w8, wzr, w8, eq
	sbfiz	x8, x8, #3, #32
	add	x27, x27, x8
	add	x26, x26, x8
	add	x25, x25, #1
	ldr	w8, [x28]
	cmp	x25, x8
	b.lo	LBB0_2
LBB0_3:
	ldp	x20, x22, [x29, #-104]          ; 16-byte Folded Reload
	ldr	w8, [x20, #8]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
Lloh14:
	adrp	x9, _MAX_META_DATA_LENGTH@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MAX_META_DATA_LENGTH@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	sub	w8, w8, w9, asr #3
	sbfiz	x8, x8, #3, #32
	add	x1, x22, x8
	add	x2, x24, x8
	mov	x0, x23
	mov	x3, x19
	bl	_hclge_fd_convert_meta_data
	ldr	w3, [x19, #4]
	mov	x0, x20
	ldur	x21, [x29, #-112]               ; 8-byte Folded Reload
	mov	x1, x21
	mov	w2, #0
	mov	x4, x24
	mov	w5, #1
	bl	_hclge_fd_tcam_config
	cbz	w0, LBB0_5
; %bb.4:
	mov	x23, x0
	ldr	x0, [x20]
	ldr	w2, [x19]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_5:
	ldr	w3, [x19, #4]
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	mov	x4, x22
	mov	w5, #1
	bl	_hclge_fd_tcam_config
	mov	x23, x0
	cbz	w0, LBB0_8
; %bb.6:
	ldr	x0, [x20]
	ldr	w2, [x19]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	mov	x3, x23
	bl	_dev_err
LBB0_8:
	ldur	x8, [x29, #-88]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x23
	sub	sp, x29, #80
	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_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_KEY_BYTES,4,2              ; @MAX_KEY_BYTES
	.comm	_MAX_TUPLE,4,2                  ; @MAX_TUPLE
	.comm	_tuple_key_info,8,3             ; @tuple_key_info
	.comm	_MAX_META_DATA_LENGTH,4,2       ; @MAX_META_DATA_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fd key_y config fail, loc=%d, ret=%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"fd key_x config fail, loc=%d, ret=%d\n"

	.no_dead_strip	_hclge_config_key
.subsections_via_symbols
