	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_hash_filter               ## -- Begin function init_hash_filter
	.p2align	4, 0x90
_init_hash_filter:                      ## @init_hash_filter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_is_t6
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rbx, %rdi
	callq	_is_offload
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_TP_GLOBAL_CONFIG_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_t4_read_reg
	movq	_ACTIVEFILTERCOUNTS_F@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_8
## %bb.3:
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_9:
	movl	8(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_4
LBB0_5:
	movq	_LE_DB_RSP_CODE_0_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_t4_read_reg
	movl	%eax, %edi
	callq	_TCAM_ACTV_HIT_G
	cmpl	$4, %eax
	jne	LBB0_6
## %bb.7:
	movq	_LE_DB_RSP_CODE_1_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_t4_read_reg
	movl	%eax, %edi
	callq	_HASH_ACTV_HIT_G
	cmpl	$4, %eax
	jne	LBB0_6
LBB0_8:
	movl	$1, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	movl	8(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TP_GLOBAL_CONFIG_A,4,2         ## @TP_GLOBAL_CONFIG_A
	.comm	_ACTIVEFILTERCOUNTS_F,4,2       ## @ACTIVEFILTERCOUNTS_F
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid hash filter + ofld config\n"

	.comm	_LE_DB_RSP_CODE_0_A,4,2         ## @LE_DB_RSP_CODE_0_A
L_.str.1:                               ## @.str.1
	.asciz	"Invalid hash filter config\n"

	.comm	_LE_DB_RSP_CODE_1_A,4,2         ## @LE_DB_RSP_CODE_1_A
L_.str.2:                               ## @.str.2
	.asciz	"Hash filter supported only on T6\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_hash_filter               ; -- Begin function init_hash_filter
	.p2align	2
_init_hash_filter:                      ; @init_hash_filter
	.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, x0
	ldr	w0, [x0, #4]
	bl	_is_t6
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_is_offload
	cbz	x0, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _TP_GLOBAL_CONFIG_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TP_GLOBAL_CONFIG_A@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_t4_read_reg
Lloh3:
	adrp	x8, _ACTIVEFILTERCOUNTS_F@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ACTIVEFILTERCOUNTS_F@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_7
; %bb.3:
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_9
LBB0_4:
	ldr	w0, [x19, #8]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_5:
Lloh10:
	adrp	x8, _LE_DB_RSP_CODE_0_A@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LE_DB_RSP_CODE_0_A@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_t4_read_reg
	bl	_TCAM_ACTV_HIT_G
	cmp	w0, #4
	b.ne	LBB0_8
; %bb.6:
Lloh13:
	adrp	x8, _LE_DB_RSP_CODE_1_A@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LE_DB_RSP_CODE_1_A@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_t4_read_reg
	bl	_HASH_ACTV_HIT_G
	cmp	w0, #4
	b.ne	LBB0_8
LBB0_7:
	mov	w8, #1
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w0, [x19, #8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_err
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TP_GLOBAL_CONFIG_A,4,2         ; @TP_GLOBAL_CONFIG_A
	.comm	_ACTIVEFILTERCOUNTS_F,4,2       ; @ACTIVEFILTERCOUNTS_F
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid hash filter + ofld config\n"

	.comm	_LE_DB_RSP_CODE_0_A,4,2         ; @LE_DB_RSP_CODE_0_A
l_.str.1:                               ; @.str.1
	.asciz	"Invalid hash filter config\n"

	.comm	_LE_DB_RSP_CODE_1_A,4,2         ; @LE_DB_RSP_CODE_1_A
l_.str.2:                               ; @.str.2
	.asciz	"Hash filter supported only on T6\n"

.subsections_via_symbols
