	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_ptp_hw_cfg_filters
_qed_ptp_hw_cfg_filters:                ## @qed_ptp_hw_cfg_filters
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %ebx
	callq	_QED_LEADING_HWFN
	movq	%rax, %r15
	leal	-128(%rbx), %eax
	cmpl	$10, %eax
	jae	LBB0_1
## %bb.2:
	movq	(%r15), %r14
	cltq
	leaq	l_switch.table.qed_ptp_hw_cfg_filters(%rip), %rcx
	movl	(%rcx,%rax,4), %ebx
	leaq	l_switch.table.qed_ptp_hw_cfg_filters.1(%rip), %rcx
	movl	(%rcx,%rax,4), %r13d
	movq	_NIG_REG_LLH_PTP_PARAM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_QED_PTP_UCAST_PARAM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_qed_wr
	movq	_NIG_REG_LLH_PTP_RULE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %ecx
	callq	_qed_wr
	movq	_NIG_REG_RX_PTP_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r13d, %ecx
	callq	_qed_wr
	movq	_QED_PTP_HWTSTAMP_TX_OFF@GOTPCREL(%rip), %rax
	movq	_NIG_REG_TX_PTP_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	%r12d, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movl	$16383, %ebx                    ## imm = 0x3FFF
	movl	$2047, %ecx                     ## imm = 0x7FF
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_DP_INFO
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r13d, %ecx
	callq	_qed_wr
	movq	_QED_PTP_UCAST_PARAM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_5:
	movq	_NIG_REG_TX_LLH_PTP_PARAM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_qed_wr
	movq	_NIG_REG_TX_LLH_PTP_RULE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %ecx
	callq	_qed_wr
	movq	_NIG_REG_LLH_PTP_HOST_BUF_SEQID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_QED_TIMESTAMP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_qed_wr
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid PTP filter type %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NIG_REG_LLH_PTP_PARAM_MASK,4,2 ## @NIG_REG_LLH_PTP_PARAM_MASK
	.comm	_QED_PTP_UCAST_PARAM_MASK,4,2   ## @QED_PTP_UCAST_PARAM_MASK
	.comm	_NIG_REG_LLH_PTP_RULE_MASK,4,2  ## @NIG_REG_LLH_PTP_RULE_MASK
	.comm	_NIG_REG_RX_PTP_EN,4,2          ## @NIG_REG_RX_PTP_EN
	.comm	_QED_PTP_HWTSTAMP_TX_OFF,4,2    ## @QED_PTP_HWTSTAMP_TX_OFF
	.comm	_NIG_REG_TX_PTP_EN,4,2          ## @NIG_REG_TX_PTP_EN
	.comm	_NIG_REG_TX_LLH_PTP_PARAM_MASK,4,2 ## @NIG_REG_TX_LLH_PTP_PARAM_MASK
	.comm	_NIG_REG_TX_LLH_PTP_RULE_MASK,4,2 ## @NIG_REG_TX_LLH_PTP_RULE_MASK
	.comm	_NIG_REG_LLH_PTP_HOST_BUF_SEQID,4,2 ## @NIG_REG_LLH_PTP_HOST_BUF_SEQID
	.comm	_QED_TIMESTAMP_MASK,4,2         ## @QED_TIMESTAMP_MASK
	.no_dead_strip	_qed_ptp_hw_cfg_filters
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.qed_ptp_hw_cfg_filters
l_switch.table.qed_ptp_hw_cfg_filters:
	.long	16366                           ## 0x3fee
	.long	16298                           ## 0x3faa
	.long	16127                           ## 0x3eff
	.long	15615                           ## 0x3cff
	.long	16110                           ## 0x3eee
	.long	15530                           ## 0x3caa
	.long	16382                           ## 0x3ffe
	.long	16378                           ## 0x3ffa
	.long	16383                           ## 0x3fff
	.long	15530                           ## 0x3caa

	.p2align	2                               ## @switch.table.qed_ptp_hw_cfg_filters.1
l_switch.table.qed_ptp_hw_cfg_filters.1:
	.long	5                               ## 0x5
	.long	5                               ## 0x5
	.long	5                               ## 0x5
	.long	5                               ## 0x5
	.long	5                               ## 0x5
	.long	5                               ## 0x5
	.long	3                               ## 0x3
	.long	3                               ## 0x3
	.long	0                               ## 0x0
	.long	7                               ## 0x7

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_ptp_hw_cfg_filters
_qed_ptp_hw_cfg_filters:                ; @qed_ptp_hw_cfg_filters
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x2
	mov	x20, x1
	bl	_QED_LEADING_HWFN
	mov	x19, x0
	sub	w8, w20, #128
	cmp	w8, #10
	b.hs	LBB0_3
; %bb.1:
	ldr	x20, [x19]
	sbfiz	x8, x8, #2, #32
Lloh0:
	adrp	x9, l_switch.table.qed_ptp_hw_cfg_filters@PAGE
Lloh1:
	add	x9, x9, l_switch.table.qed_ptp_hw_cfg_filters@PAGEOFF
	ldr	w21, [x9, x8]
Lloh2:
	adrp	x9, l_switch.table.qed_ptp_hw_cfg_filters.1@PAGE
Lloh3:
	add	x9, x9, l_switch.table.qed_ptp_hw_cfg_filters.1@PAGEOFF
	ldr	w23, [x9, x8]
Lloh4:
	adrp	x8, _NIG_REG_LLH_PTP_PARAM_MASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NIG_REG_LLH_PTP_PARAM_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x24, _QED_PTP_UCAST_PARAM_MASK@GOTPAGE
Lloh8:
	ldr	x24, [x24, _QED_PTP_UCAST_PARAM_MASK@GOTPAGEOFF]
	ldr	w3, [x24]
	mov	x0, x19
	mov	x1, x20
	bl	_qed_wr
Lloh9:
	adrp	x8, _NIG_REG_LLH_PTP_RULE_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NIG_REG_LLH_PTP_RULE_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, x21
	bl	_qed_wr
Lloh12:
	adrp	x8, _NIG_REG_RX_PTP_EN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NIG_REG_RX_PTP_EN@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, x23
	bl	_qed_wr
Lloh15:
	adrp	x8, _QED_PTP_HWTSTAMP_TX_OFF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _QED_PTP_HWTSTAMP_TX_OFF@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _NIG_REG_TX_PTP_EN@GOTPAGE
Lloh19:
	ldr	x9, [x9, _NIG_REG_TX_PTP_EN@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x9]
	mov	x0, x19
	mov	x1, x20
	cmp	w8, w22
	b.ne	LBB0_4
; %bb.2:
	mov	w3, #0
	bl	_qed_wr
	mov	w21, #16383
	mov	w3, #2047
	b	LBB0_5
LBB0_3:
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_DP_INFO
Lloh23:
	adrp	x8, _EINVAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_4:
	mov	x3, x23
	bl	_qed_wr
	ldr	w3, [x24]
LBB0_5:
Lloh26:
	adrp	x8, _NIG_REG_TX_LLH_PTP_PARAM_MASK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _NIG_REG_TX_LLH_PTP_PARAM_MASK@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_qed_wr
Lloh29:
	adrp	x8, _NIG_REG_TX_LLH_PTP_RULE_MASK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _NIG_REG_TX_LLH_PTP_RULE_MASK@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, x21
	bl	_qed_wr
Lloh32:
	adrp	x8, _NIG_REG_LLH_PTP_HOST_BUF_SEQID@GOTPAGE
Lloh33:
	ldr	x8, [x8, _NIG_REG_LLH_PTP_HOST_BUF_SEQID@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
Lloh35:
	adrp	x8, _QED_TIMESTAMP_MASK@GOTPAGE
Lloh36:
	ldr	x8, [x8, _QED_TIMESTAMP_MASK@GOTPAGEOFF]
Lloh37:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_qed_wr
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid PTP filter type %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NIG_REG_LLH_PTP_PARAM_MASK,4,2 ; @NIG_REG_LLH_PTP_PARAM_MASK
	.comm	_QED_PTP_UCAST_PARAM_MASK,4,2   ; @QED_PTP_UCAST_PARAM_MASK
	.comm	_NIG_REG_LLH_PTP_RULE_MASK,4,2  ; @NIG_REG_LLH_PTP_RULE_MASK
	.comm	_NIG_REG_RX_PTP_EN,4,2          ; @NIG_REG_RX_PTP_EN
	.comm	_QED_PTP_HWTSTAMP_TX_OFF,4,2    ; @QED_PTP_HWTSTAMP_TX_OFF
	.comm	_NIG_REG_TX_PTP_EN,4,2          ; @NIG_REG_TX_PTP_EN
	.comm	_NIG_REG_TX_LLH_PTP_PARAM_MASK,4,2 ; @NIG_REG_TX_LLH_PTP_PARAM_MASK
	.comm	_NIG_REG_TX_LLH_PTP_RULE_MASK,4,2 ; @NIG_REG_TX_LLH_PTP_RULE_MASK
	.comm	_NIG_REG_LLH_PTP_HOST_BUF_SEQID,4,2 ; @NIG_REG_LLH_PTP_HOST_BUF_SEQID
	.comm	_QED_TIMESTAMP_MASK,4,2         ; @QED_TIMESTAMP_MASK
	.no_dead_strip	_qed_ptp_hw_cfg_filters
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.qed_ptp_hw_cfg_filters
l_switch.table.qed_ptp_hw_cfg_filters:
	.long	16366                           ; 0x3fee
	.long	16298                           ; 0x3faa
	.long	16127                           ; 0x3eff
	.long	15615                           ; 0x3cff
	.long	16110                           ; 0x3eee
	.long	15530                           ; 0x3caa
	.long	16382                           ; 0x3ffe
	.long	16378                           ; 0x3ffa
	.long	16383                           ; 0x3fff
	.long	15530                           ; 0x3caa

	.p2align	2                               ; @switch.table.qed_ptp_hw_cfg_filters.1
l_switch.table.qed_ptp_hw_cfg_filters.1:
	.long	5                               ; 0x5
	.long	5                               ; 0x5
	.long	5                               ; 0x5
	.long	5                               ; 0x5
	.long	5                               ; 0x5
	.long	5                               ; 0x5
	.long	3                               ; 0x3
	.long	3                               ; 0x3
	.long	0                               ; 0x0
	.long	7                               ; 0x7

.subsections_via_symbols
