	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_ptp_hw_disable
_qed_ptp_hw_disable:                    ## @qed_ptp_hw_disable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_QED_LEADING_HWFN
	movq	%rax, %rbx
	movq	(%rax), %r14
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_qed_ptp_res_unlock
	movq	_NIG_REG_LLH_PTP_PARAM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$2047, %ecx                     ## imm = 0x7FF
	callq	_qed_wr
	movq	_NIG_REG_LLH_PTP_RULE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$16383, %ecx                    ## imm = 0x3FFF
	callq	_qed_wr
	movq	_NIG_REG_TX_LLH_PTP_PARAM_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$2047, %ecx                     ## imm = 0x7FF
	callq	_qed_wr
	movq	_NIG_REG_TX_LLH_PTP_RULE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$16383, %ecx                    ## imm = 0x3FFF
	callq	_qed_wr
	movq	_NIG_REG_RX_PTP_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movq	_NIG_REG_TX_PTP_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_qed_ptt_release
	movq	$0, (%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIG_REG_LLH_PTP_PARAM_MASK,4,2 ## @NIG_REG_LLH_PTP_PARAM_MASK
	.comm	_NIG_REG_LLH_PTP_RULE_MASK,4,2  ## @NIG_REG_LLH_PTP_RULE_MASK
	.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_RX_PTP_EN,4,2          ## @NIG_REG_RX_PTP_EN
	.comm	_NIG_REG_TX_PTP_EN,4,2          ## @NIG_REG_TX_PTP_EN
	.no_dead_strip	_qed_ptp_hw_disable
.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_disable
_qed_ptp_hw_disable:                    ; @qed_ptp_hw_disable
	.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
	bl	_QED_LEADING_HWFN
	mov	x19, x0
	ldr	x20, [x0]
	mov	x1, x20
	bl	_qed_ptp_res_unlock
Lloh0:
	adrp	x8, _NIG_REG_LLH_PTP_PARAM_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIG_REG_LLH_PTP_PARAM_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #2047
	bl	_qed_wr
Lloh3:
	adrp	x8, _NIG_REG_LLH_PTP_RULE_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NIG_REG_LLH_PTP_RULE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #16383
	bl	_qed_wr
Lloh6:
	adrp	x8, _NIG_REG_TX_LLH_PTP_PARAM_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NIG_REG_TX_LLH_PTP_PARAM_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #2047
	bl	_qed_wr
Lloh9:
	adrp	x8, _NIG_REG_TX_LLH_PTP_RULE_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NIG_REG_TX_LLH_PTP_RULE_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #16383
	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	w3, #0
	bl	_qed_wr
Lloh15:
	adrp	x8, _NIG_REG_TX_PTP_EN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NIG_REG_TX_PTP_EN@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	bl	_qed_wr
	mov	x0, x19
	mov	x1, x20
	bl	_qed_ptt_release
	str	xzr, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NIG_REG_LLH_PTP_PARAM_MASK,4,2 ; @NIG_REG_LLH_PTP_PARAM_MASK
	.comm	_NIG_REG_LLH_PTP_RULE_MASK,4,2  ; @NIG_REG_LLH_PTP_RULE_MASK
	.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_RX_PTP_EN,4,2          ; @NIG_REG_RX_PTP_EN
	.comm	_NIG_REG_TX_PTP_EN,4,2          ; @NIG_REG_TX_PTP_EN
	.no_dead_strip	_qed_ptp_hw_disable
.subsections_via_symbols
