	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_ptp_setup_sdp
_ixgbe_ptp_setup_sdp:                   ## @ixgbe_ptp_setup_sdp
	.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
	leaq	16(%rdi), %r12
	movq	_IXGBE_FLAG2_PTP_PPS_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_3
## %bb.1:
	movq	(%r12), %rax
	movq	_ixgbe_mac_X540@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	%rdi, %rbx
	movl	8(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_IXGBE_TSAUXC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_IXGBE_WRITE_REG
	movq	%r12, %rdi
	callq	_IXGBE_WRITE_FLUSH
	movq	_IXGBE_ESDP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_IXGBE_READ_REG
	movl	%eax, %r14d
	movq	_IXGBE_ESDP_SDP0_DIR@GOTPCREL(%rip), %rax
	movq	_IXGBE_ESDP_SDP0_NATIVE@GOTPCREL(%rip), %rcx
	orl	(%rax), %r14d
	orl	(%rcx), %r14d
	movq	_IXGBE_TSAUXC_EN_CLK@GOTPCREL(%rip), %rax
	movq	_IXGBE_TSAUXC_SYNCLK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	orl	(%rax), %r15d
	movq	_IXGBE_TSAUXC_SDP0_INT@GOTPCREL(%rip), %rax
	movq	_NSECS_PER_SEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r13d
	orl	(%rax), %r15d
	movq	_IXGBE_SYSTIML@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_SYSTIMH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_IXGBE_READ_REG
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_timecounter_cyc2time
	movq	_NSECS_PER_SEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-48(%rbp), %rdx
	movl	%eax, %edi
	callq	_div_u64_rem
	movq	_IXGBE_CLKTIML@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_CLKTIMH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_TRGTTIML0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_TRGTTIMH0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_ESDP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_TSAUXC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r15d, %edx
	jmp	LBB0_4
LBB0_3:
	movq	_IXGBE_TSAUXC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
LBB0_4:
	callq	_IXGBE_WRITE_REG
	movq	%r12, %rdi
	callq	_IXGBE_WRITE_FLUSH
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_FLAG2_PTP_PPS_ENABLED,4,2 ## @IXGBE_FLAG2_PTP_PPS_ENABLED
	.comm	_ixgbe_mac_X540,8,3             ## @ixgbe_mac_X540
	.comm	_IXGBE_TSAUXC,4,2               ## @IXGBE_TSAUXC
	.comm	_IXGBE_ESDP,4,2                 ## @IXGBE_ESDP
	.comm	_IXGBE_ESDP_SDP0_DIR,4,2        ## @IXGBE_ESDP_SDP0_DIR
	.comm	_IXGBE_ESDP_SDP0_NATIVE,4,2     ## @IXGBE_ESDP_SDP0_NATIVE
	.comm	_IXGBE_TSAUXC_EN_CLK,4,2        ## @IXGBE_TSAUXC_EN_CLK
	.comm	_IXGBE_TSAUXC_SYNCLK,4,2        ## @IXGBE_TSAUXC_SYNCLK
	.comm	_IXGBE_TSAUXC_SDP0_INT,4,2      ## @IXGBE_TSAUXC_SDP0_INT
	.comm	_NSECS_PER_SEC,4,2              ## @NSECS_PER_SEC
	.comm	_IXGBE_SYSTIML,4,2              ## @IXGBE_SYSTIML
	.comm	_IXGBE_SYSTIMH,4,2              ## @IXGBE_SYSTIMH
	.comm	_IXGBE_CLKTIML,4,2              ## @IXGBE_CLKTIML
	.comm	_IXGBE_CLKTIMH,4,2              ## @IXGBE_CLKTIMH
	.comm	_IXGBE_TRGTTIML0,4,2            ## @IXGBE_TRGTTIML0
	.comm	_IXGBE_TRGTTIMH0,4,2            ## @IXGBE_TRGTTIMH0
	.no_dead_strip	_ixgbe_ptp_setup_sdp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_ptp_setup_sdp
_ixgbe_ptp_setup_sdp:                   ; @ixgbe_ptp_setup_sdp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	add	x19, x0, #16
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IXGBE_FLAG2_PTP_PPS_ENABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IXGBE_FLAG2_PTP_PPS_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _ixgbe_mac_X540@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ixgbe_mac_X540@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	x22, x0
	ldr	w23, [x0, #8]
Lloh6:
	adrp	x24, _IXGBE_TSAUXC@GOTPAGE
Lloh7:
	ldr	x24, [x24, _IXGBE_TSAUXC@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #0
	bl	_IXGBE_WRITE_REG
	mov	x0, x19
	bl	_IXGBE_WRITE_FLUSH
Lloh8:
	adrp	x25, _IXGBE_ESDP@GOTPAGE
Lloh9:
	ldr	x25, [x25, _IXGBE_ESDP@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	bl	_IXGBE_READ_REG
Lloh10:
	adrp	x8, _IXGBE_ESDP_SDP0_DIR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IXGBE_ESDP_SDP0_DIR@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _IXGBE_ESDP_SDP0_NATIVE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IXGBE_ESDP_SDP0_NATIVE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w8, w0
	orr	w20, w8, w9
Lloh16:
	adrp	x8, _IXGBE_TSAUXC_EN_CLK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IXGBE_TSAUXC_EN_CLK@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _IXGBE_TSAUXC_SYNCLK@GOTPAGE
Lloh20:
	ldr	x9, [x9, _IXGBE_TSAUXC_SYNCLK@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh22:
	adrp	x9, _IXGBE_TSAUXC_SDP0_INT@GOTPAGE
Lloh23:
	ldr	x9, [x9, _IXGBE_TSAUXC_SDP0_INT@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
Lloh25:
	adrp	x26, _NSECS_PER_SEC@GOTPAGE
Lloh26:
	ldr	x26, [x26, _NSECS_PER_SEC@GOTPAGEOFF]
	orr	w21, w8, w9
	ldr	w8, [x26]
	lsl	w23, w8, w23
Lloh27:
	adrp	x8, _IXGBE_SYSTIML@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IXGBE_SYSTIML@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IXGBE_READ_REG
Lloh30:
	adrp	x8, _IXGBE_SYSTIMH@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IXGBE_SYSTIMH@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	add	x0, x22, #4
	bl	_timecounter_cyc2time
	ldr	w1, [x26]
	add	x2, sp, #12
	bl	_div_u64_rem
Lloh33:
	adrp	x8, _IXGBE_CLKTIML@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IXGBE_CLKTIML@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x23
	bl	_IXGBE_WRITE_REG
Lloh36:
	adrp	x8, _IXGBE_CLKTIMH@GOTPAGE
Lloh37:
	ldr	x8, [x8, _IXGBE_CLKTIMH@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
Lloh39:
	adrp	x8, _IXGBE_TRGTTIML0@GOTPAGE
Lloh40:
	ldr	x8, [x8, _IXGBE_TRGTTIML0@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
Lloh42:
	adrp	x8, _IXGBE_TRGTTIMH0@GOTPAGE
Lloh43:
	ldr	x8, [x8, _IXGBE_TRGTTIMH0@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x20
	bl	_IXGBE_WRITE_REG
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x21
	b	LBB0_4
LBB0_3:
Lloh45:
	adrp	x8, _IXGBE_TSAUXC@GOTPAGE
Lloh46:
	ldr	x8, [x8, _IXGBE_TSAUXC@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
LBB0_4:
	bl	_IXGBE_WRITE_REG
	mov	x0, x19
	bl	_IXGBE_WRITE_FLUSH
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_FLAG2_PTP_PPS_ENABLED,4,2 ; @IXGBE_FLAG2_PTP_PPS_ENABLED
	.comm	_ixgbe_mac_X540,8,3             ; @ixgbe_mac_X540
	.comm	_IXGBE_TSAUXC,4,2               ; @IXGBE_TSAUXC
	.comm	_IXGBE_ESDP,4,2                 ; @IXGBE_ESDP
	.comm	_IXGBE_ESDP_SDP0_DIR,4,2        ; @IXGBE_ESDP_SDP0_DIR
	.comm	_IXGBE_ESDP_SDP0_NATIVE,4,2     ; @IXGBE_ESDP_SDP0_NATIVE
	.comm	_IXGBE_TSAUXC_EN_CLK,4,2        ; @IXGBE_TSAUXC_EN_CLK
	.comm	_IXGBE_TSAUXC_SYNCLK,4,2        ; @IXGBE_TSAUXC_SYNCLK
	.comm	_IXGBE_TSAUXC_SDP0_INT,4,2      ; @IXGBE_TSAUXC_SDP0_INT
	.comm	_NSECS_PER_SEC,4,2              ; @NSECS_PER_SEC
	.comm	_IXGBE_SYSTIML,4,2              ; @IXGBE_SYSTIML
	.comm	_IXGBE_SYSTIMH,4,2              ; @IXGBE_SYSTIMH
	.comm	_IXGBE_CLKTIML,4,2              ; @IXGBE_CLKTIML
	.comm	_IXGBE_CLKTIMH,4,2              ; @IXGBE_CLKTIMH
	.comm	_IXGBE_TRGTTIML0,4,2            ; @IXGBE_TRGTTIML0
	.comm	_IXGBE_TRGTTIMH0,4,2            ; @IXGBE_TRGTTIMH0
	.no_dead_strip	_ixgbe_ptp_setup_sdp
.subsections_via_symbols
