	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_ptp_setup_sdp_X550
_ixgbe_ptp_setup_sdp_X550:              ## @ixgbe_ptp_setup_sdp_X550
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	12(%rdi), %r14
	movq	_IXGBE_TSAUXC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_IXGBE_WRITE_REG
	movq	%r14, %rdi
	callq	_IXGBE_WRITE_FLUSH
	movq	_IXGBE_FLAG2_PTP_PPS_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_IXGBE_ESDP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_ESDP_SDP0_DIR@GOTPCREL(%rip), %rdx
	movq	_IXGBE_ESDP_SDP0_NATIVE@GOTPCREL(%rip), %rcx
	orl	(%rdx), %eax
	orl	(%rcx), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_IXGBE_TSAUXC_EN_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_IXGBE_TSAUXC_ST0@GOTPCREL(%rip), %rax
	movq	_IXGBE_TSAUXC_EN_TT0@GOTPCREL(%rip), %rcx
	orl	(%rax), %r13d
	orl	(%rcx), %r13d
	movq	_IXGBE_TSAUXC_SDP0_INT@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movq	_IXGBE_TSSDP_TS_SDP0_EN@GOTPCREL(%rip), %rax
	movq	_IXGBE_TSSDP_TS_SDP0_CLK0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	orl	$1073741824, %r13d              ## imm = 0x40000000
	movq	_NS_PER_HALF_SEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movb	16(%rbx), %cl
	shll	%cl, %edi
	movl	20(%rbx), %esi
	callq	_div_u64
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leaq	4(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	leaq	8(%rbx), %rdi
	callq	_timecounter_read
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	8(%rbx), %r12d
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	_NS_PER_SEC@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-44(%rbp), %rdx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_div_u64_rem
	movl	(%r15), %edi
	subl	-44(%rbp), %edi
	movl	%edi, -44(%rbp)
	movb	16(%rbx), %cl
	shll	%cl, %edi
	movl	20(%rbx), %esi
	callq	_div_u64
	addl	%eax, %r12d
	movl	%r12d, %edi
	callq	_ns_to_timespec64
	movq	%rax, %r15
	movq	%rdx, %rbx
	movq	_IXGBE_FREQOUT0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_TRGTTIML0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_TRGTTIMH0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_ESDP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_TSSDP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_TSAUXC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_IXGBE_WRITE_REG
	movq	%r14, %rdi
	callq	_IXGBE_WRITE_FLUSH
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_TSAUXC,4,2               ## @IXGBE_TSAUXC
	.comm	_IXGBE_FLAG2_PTP_PPS_ENABLED,4,2 ## @IXGBE_FLAG2_PTP_PPS_ENABLED
	.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_ST0,4,2           ## @IXGBE_TSAUXC_ST0
	.comm	_IXGBE_TSAUXC_EN_TT0,4,2        ## @IXGBE_TSAUXC_EN_TT0
	.comm	_IXGBE_TSAUXC_SDP0_INT,4,2      ## @IXGBE_TSAUXC_SDP0_INT
	.comm	_IXGBE_TSSDP_TS_SDP0_EN,4,2     ## @IXGBE_TSSDP_TS_SDP0_EN
	.comm	_IXGBE_TSSDP_TS_SDP0_CLK0,4,2   ## @IXGBE_TSSDP_TS_SDP0_CLK0
	.comm	_NS_PER_HALF_SEC,4,2            ## @NS_PER_HALF_SEC
	.comm	_NS_PER_SEC,4,2                 ## @NS_PER_SEC
	.comm	_IXGBE_FREQOUT0,4,2             ## @IXGBE_FREQOUT0
	.comm	_IXGBE_TRGTTIML0,4,2            ## @IXGBE_TRGTTIML0
	.comm	_IXGBE_TRGTTIMH0,4,2            ## @IXGBE_TRGTTIMH0
	.comm	_IXGBE_TSSDP,4,2                ## @IXGBE_TSSDP
	.comm	_IXGBE_TSAUXC_DIS_TS_CLEAR,4,2  ## @IXGBE_TSAUXC_DIS_TS_CLEAR
	.no_dead_strip	_ixgbe_ptp_setup_sdp_X550
.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_X550
_ixgbe_ptp_setup_sdp_X550:              ; @ixgbe_ptp_setup_sdp_X550
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
	add	x19, x0, #12
Lloh0:
	adrp	x27, _IXGBE_TSAUXC@GOTPAGE
Lloh1:
	ldr	x27, [x27, _IXGBE_TSAUXC@GOTPAG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_INT@GOTPAGE
Lloh24:
	ldr	x11, [x11, _IXGBE_TSAUXC_SDP0_INT@GOTPAGEOFF]
Lloh25:
	ldr	w11, [x11]
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w8, w8, w11
Lloh26:
	adrp	x9, _IXGBE_TSSDP_TS_SDP0_EN@GOTPAGE
Lloh27:
	ldr	x9, [x9, _IXGBE_TSSDP_TS_SDP0_EN@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
Lloh29:
	adrp	x10, _IXGBE_TSSDP_TS_SDP0_CLK0@GOTPAGE
Lloh30:
	ldr	x10, [x10, _IXGBE_TSSDP_TS_SDP0_CLK0@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
Lloh32:
	adrp	x11, _NS_PER_HALF_SEC@GOTPAGE
Lloh33:
	ldr	x11, [x11, _NS_PER_HALF_SEC@GOTPAGEOFF]
	orr	w23, w10, w9
Lloh34:
	ldr	w9, [x11]
	ldp	w10, w1, [x21, #16]
	lsl	w0, w9, w10
	orr	w22, w8, #0x40000000
	bl	_div_u64
	mov	x24, x0
	add	x25, x21, #4
	mov	x0, x25
	bl	_spin_lock_irqsave
	add	x0, x21, #8
	bl	_timecounter_read
	mov	x26, x0
	ldr	w28, [x21, #8]
	mov	x0, x25
	bl	_spin_unlock_irqrestore
Lloh35:
	adrp	x25, _NS_PER_SEC@GOTPAGE
Lloh36:
	ldr	x25, [x25, _NS_PER_SEC@GOTPAGEOFF]
	ldr	w1, [x25]
	add	x2, sp, #12
	mov	x0, x26
	bl	_div_u64_rem
	ldr	w8, [x25]
	ldr	w9, [sp, #12]
	sub	w8, w8, w9
	str	w8, [sp, #12]
	ldp	w9, w1, [x21, #16]
	lsl	w0, w8, w9
	bl	_div_u64
	add	w0, w0, w28
	bl	_ns_to_timespec64
	mov	x21, x0
	mov	x25, x1
Lloh37:
	adrp	x8, _IXGBE_FREQOUT0@GOTPAGE
Lloh38:
	ldr	x8, [x8, _IXGBE_FREQOUT0@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x24
	bl	_IXGBE_WRITE_REG
Lloh40:
	adrp	x8, _IXGBE_TRGTTIML0@GOTPAGE
Lloh41:
	ldr	x8, [x8, _IXGBE_TRGTTIML0@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x25
	bl	_IXGBE_WRITE_REG
Lloh43:
	adrp	x8, _IXGBE_TRGTTIMH0@GOTPAGE
Lloh44:
	ldr	x8, [x8, _IXGBE_TRGTTIMH0@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_IXGBE_WRITE_REG
Lloh46:
	adrp	x8, _IXGBE_ESDP@GOTPAGE
Lloh47:
	ldr	x8, [x8, _IXGBE_ESDP@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_IXGBE_WRITE_REG
Lloh49:
	adrp	x8, _IXGBE_TSSDP@GOTPAGE
Lloh50:
	ldr	x8, [x8, _IXGBE_TSSDP@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x23
	bl	_IXGBE_WRITE_REG
	ldr	w1, [x27]
	mov	x0, x19
	mov	x2, x22
	bl	_IXGBE_WRITE_REG
	mov	x0, x19
	bl	_IXGBE_WRITE_FLUSH
LBB0_2:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_TSAUXC,4,2               ; @IXGBE_TSAUXC
	.comm	_IXGBE_FLAG2_PTP_PPS_ENABLED,4,2 ; @IXGBE_FLAG2_PTP_PPS_ENABLED
	.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_ST0,4,2           ; @IXGBE_TSAUXC_ST0
	.comm	_IXGBE_TSAUXC_EN_TT0,4,2        ; @IXGBE_TSAUXC_EN_TT0
	.comm	_IXGBE_TSAUXC_SDP0_INT,4,2      ; @IXGBE_TSAUXC_SDP0_INT
	.comm	_IXGBE_TSSDP_TS_SDP0_EN,4,2     ; @IXGBE_TSSDP_TS_SDP0_EN
	.comm	_IXGBE_TSSDP_TS_SDP0_CLK0,4,2   ; @IXGBE_TSSDP_TS_SDP0_CLK0
	.comm	_NS_PER_HALF_SEC,4,2            ; @NS_PER_HALF_SEC
	.comm	_NS_PER_SEC,4,2                 ; @NS_PER_SEC
	.comm	_IXGBE_FREQOUT0,4,2             ; @IXGBE_FREQOUT0
	.comm	_IXGBE_TRGTTIML0,4,2            ; @IXGBE_TRGTTIML0
	.comm	_IXGBE_TRGTTIMH0,4,2            ; @IXGBE_TRGTTIMH0
	.comm	_IXGBE_TSSDP,4,2                ; @IXGBE_TSSDP
	.comm	_IXGBE_TSAUXC_DIS_TS_CLEAR,4,2  ; @IXGBE_TSAUXC_DIS_TS_CLEAR
	.no_dead_strip	_ixgbe_ptp_setup_sdp_X550
.subsections_via_symbols
