	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_dbg_fd_tcam_read
_hclge_dbg_fd_tcam_read:                ## @hclge_dbg_fd_tcam_read
	.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
	movl	%ecx, -100(%rbp)                ## 4-byte Spill
	movl	%edx, %r15d
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_HCLGE_OPC_FD_TCAM_OP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-96(%rbp), %rdi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	movq	_HCLGE_CMD_FLAG_NEXT@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_cpu_to_le16
	orl	%eax, -88(%rbp)
	leaq	-80(%rbp), %rdi
	movl	(%rbx), %esi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	movl	(%r14), %edi
	callq	_cpu_to_le16
	orl	%eax, -72(%rbp)
	leaq	-64(%rbp), %rdi
	movl	(%rbx), %esi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	movq	-96(%rbp), %rbx
	movq	-80(%rbp), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %r14
	movl	%r13d, 20(%rbx)
	movl	%r15d, %r13d
	movl	-100(%rbp), %r15d               ## 4-byte Reload
	xorl	%eax, %eax
	testl	%r13d, %r13d
	setne	%al
	movl	%eax, (%rbx)
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movl	%eax, 16(%rbx)
	leaq	8(%r12), %rdi
	leaq	-96(%rbp), %rsi
	movl	$3, %edx
	callq	_hclge_cmd_send
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	testl	%r13d, %r13d
	movq	(%r12), %rdi
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_dev_info
	movq	8(%rbx), %rbx
	movq	(%r12), %rdi
	movslq	(%rbx), %rdx
	movq	%r14, %r15
	leaq	L_.str.3(%rip), %r14
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	(%r12), %rdi
	movslq	4(%rbx), %rdx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rbx
	movq	(%r12), %rdi
	movslq	(%rbx), %rdx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	(%r12), %rdi
	movslq	4(%rbx), %rdx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	(%r12), %rdi
	movslq	8(%rbx), %rdx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	(%r12), %rdi
	movslq	12(%rbx), %rdx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	(%r12), %rdi
	movslq	16(%rbx), %rdx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	(%r12), %rdi
	movslq	20(%rbx), %rdx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	(%r15), %rbx
	movq	(%r12), %rdi
	movslq	(%rbx), %rdx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	(%r12), %rdi
	movslq	4(%rbx), %rdx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	(%r12), %rdi
	movslq	8(%rbx), %rdx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	(%r12), %rdi
	movslq	12(%rbx), %rdx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	(%r12), %rdi
	movslq	16(%rbx), %rdx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_dev_info
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_OPC_FD_TCAM_OP,4,2       ## @HCLGE_OPC_FD_TCAM_OP
	.comm	_HCLGE_CMD_FLAG_NEXT,4,2        ## @HCLGE_CMD_FLAG_NEXT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" read result tcam key %s(%u):\n"

L_.str.1:                               ## @.str.1
	.asciz	"x"

L_.str.2:                               ## @.str.2
	.asciz	"y"

L_.str.3:                               ## @.str.3
	.asciz	"%08x\n"

	.no_dead_strip	_hclge_dbg_fd_tcam_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_dbg_fd_tcam_read
_hclge_dbg_fd_tcam_read:                ; @hclge_dbg_fd_tcam_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
Lloh3:
	adrp	x23, _HCLGE_OPC_FD_TCAM_OP@GOTPAGE
Lloh4:
	ldr	x23, [x23, _HCLGE_OPC_FD_TCAM_OP@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x24, sp, #8
	add	x0, sp, #8
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
Lloh5:
	adrp	x25, _HCLGE_CMD_FLAG_NEXT@GOTPAGE
Lloh6:
	ldr	x25, [x25, _HCLGE_CMD_FLAG_NEXT@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_cpu_to_le16
	ldr	w8, [sp, #16]
	orr	w8, w8, w0
	str	w8, [sp, #16]
	add	x0, x24, #16
	ldr	w1, [x23]
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
	ldr	w0, [x25]
	bl	_cpu_to_le16
	ldr	w8, [sp, #32]
	orr	w8, w8, w0
	str	w8, [sp, #32]
	add	x0, x24, #32
	ldr	w1, [x23]
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
	ldr	x25, [sp, #8]
	ldr	x24, [sp, #24]
	ldr	x23, [sp, #40]
	str	w22, [x25, #20]
	cmp	w21, #0
	cset	w8, ne
	str	w8, [x25]
	mov	x0, x20
	bl	_cpu_to_le32
	str	w0, [x25, #16]
	add	x0, x19, #8
	add	x1, sp, #8
	mov	w2, #3
	bl	_hclge_cmd_send
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x0, [x19]
Lloh7:
	adrp	x8, l_.str.1@PAGE
Lloh8:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh9:
	adrp	x9, l_.str.2@PAGE
Lloh10:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w21, #0
	csel	x2, x9, x8, eq
	str	x20, [sp]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	ldr	x21, [x25, #8]
	ldr	x0, [x19]
	ldrsw	x2, [x21]
Lloh13:
	adrp	x20, l_.str.3@PAGE
Lloh14:
	add	x20, x20, l_.str.3@PAGEOFF
	mov	x1, x20
	bl	_dev_info
	ldr	x0, [x19]
	ldrsw	x2, [x21, #4]
	mov	x1, x20
	bl	_dev_info
	ldr	x21, [x24]
	ldr	x0, [x19]
	ldrsw	x2, [x21]
	mov	x1, x20
	bl	_dev_info
	ldr	x0, [x19]
	ldrsw	x2, [x21, #4]
	mov	x1, x20
	bl	_dev_info
	ldr	x0, [x19]
	ldrsw	x2, [x21, #8]
	mov	x1, x20
	bl	_dev_info
	ldr	x0, [x19]
	ldrsw	x2, [x21, #12]
	mov	x1, x20
	bl	_dev_info
	ldr	x0, [x19]
	ldrsw	x2, [x21, #16]
	mov	x1, x20
	bl	_dev_info
	ldr	x0, [x19]
	ldrsw	x2, [x21, #20]
	mov	x1, x20
	bl	_dev_info
	ldr	x21, [x23]
	ldr	x0, [x19]
	ldrsw	x2, [x21]
	mov	x1, x20
	bl	_dev_info
	ldr	x0, [x19]
	ldrsw	x2, [x21, #4]
	mov	x1, x20
	bl	_dev_info
	ldr	x0, [x19]
	ldrsw	x2, [x21, #8]
	mov	x1, x20
	bl	_dev_info
	ldr	x0, [x19]
	ldrsw	x2, [x21, #12]
	mov	x1, x20
	bl	_dev_info
	ldr	x0, [x19]
	ldrsw	x2, [x21, #16]
	mov	x1, x20
	bl	_dev_info
LBB0_2:
	ldr	x8, [sp, #56]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_OPC_FD_TCAM_OP,4,2       ; @HCLGE_OPC_FD_TCAM_OP
	.comm	_HCLGE_CMD_FLAG_NEXT,4,2        ; @HCLGE_CMD_FLAG_NEXT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" read result tcam key %s(%u):\n"

l_.str.1:                               ; @.str.1
	.asciz	"x"

l_.str.2:                               ; @.str.2
	.asciz	"y"

l_.str.3:                               ; @.str.3
	.asciz	"%08x\n"

	.no_dead_strip	_hclge_dbg_fd_tcam_read
.subsections_via_symbols
