	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_ptp_set_increment         ## -- Begin function i40e_ptp_set_increment
	.p2align	4, 0x90
_i40e_ptp_set_increment:                ## @i40e_ptp_set_increment
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	16(%rdi), %rbx
	movl	$1, %r15d
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_i40e_aq_get_link_info
	movl	16(%r14), %eax
	cmpl	$129, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$131, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_7
## %bb.3:
	movq	_I40E_PTP_10GB_INCVAL_MULT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_7
LBB0_4:
	movq	_I40E_PTP_1GB_INCVAL_MULT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_7
LBB0_5:
	xorl	%r15d, %r15d
	cmpl	$0, _i40e_ptp_set_increment.warn_once(%rip)
	jne	LBB0_7
## %bb.6:
	movq	8(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
	incl	_i40e_ptp_set_increment.warn_once(%rip)
LBB0_7:
	movq	_I40E_PTP_40GB_INCVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	imull	%r15d, %edx
	movq	_I40E_PRTTSYN_INC_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wr32
	movq	_I40E_PRTTSYN_INC_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wr32
	movl	(%r14), %edi
	movl	%r15d, %esi
	callq	_WRITE_ONCE
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_smp_mb                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_PTP_10GB_INCVAL_MULT,4,2  ## @I40E_PTP_10GB_INCVAL_MULT
	.comm	_I40E_PTP_1GB_INCVAL_MULT,4,2   ## @I40E_PTP_1GB_INCVAL_MULT
.zerofill __DATA,__bss,_i40e_ptp_set_increment.warn_once,4,2 ## @i40e_ptp_set_increment.warn_once
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"1588 functionality is not supported at 100 Mbps. Stopping the PHC.\n"

	.comm	_I40E_PTP_40GB_INCVAL,4,2       ## @I40E_PTP_40GB_INCVAL
	.comm	_I40E_PRTTSYN_INC_L,4,2         ## @I40E_PRTTSYN_INC_L
	.comm	_I40E_PRTTSYN_INC_H,4,2         ## @I40E_PRTTSYN_INC_H
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_ptp_set_increment         ; -- Begin function i40e_ptp_set_increment
	.p2align	2
_i40e_ptp_set_increment:                ; @i40e_ptp_set_increment
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	add	x20, x0, #16
	mov	w21, #1
	mov	x0, x20
	mov	w1, #1
	mov	x2, #0
	mov	x3, #0
	bl	_i40e_aq_get_link_info
	ldr	w8, [x19, #16]
	cmp	w8, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #131
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _I40E_PTP_10GB_INCVAL_MULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_PTP_10GB_INCVAL_MULT@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	b	LBB0_8
LBB0_4:
Lloh3:
	adrp	x8, _I40E_PTP_1GB_INCVAL_MULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_PTP_1GB_INCVAL_MULT@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	b	LBB0_8
LBB0_5:
	adrp	x22, _i40e_ptp_set_increment.warn_once@PAGE
	ldr	w8, [x22, _i40e_ptp_set_increment.warn_once@PAGEOFF]
	cbz	w8, LBB0_7
; %bb.6:
	mov	w21, #0
	b	LBB0_8
LBB0_7:
	ldr	x0, [x19, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
	mov	w21, #0
	ldr	w8, [x22, _i40e_ptp_set_increment.warn_once@PAGEOFF]
	add	w8, w8, #1
	str	w8, [x22, _i40e_ptp_set_increment.warn_once@PAGEOFF]
LBB0_8:
Lloh8:
	adrp	x8, _I40E_PTP_40GB_INCVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _I40E_PTP_40GB_INCVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	mul	w2, w8, w21
Lloh11:
	adrp	x8, _I40E_PRTTSYN_INC_L@GOTPAGE
Lloh12:
	ldr	x8, [x8, _I40E_PRTTSYN_INC_L@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wr32
Lloh14:
	adrp	x8, _I40E_PRTTSYN_INC_H@GOTPAGE
Lloh15:
	ldr	x8, [x8, _I40E_PRTTSYN_INC_H@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wr32
	ldr	w0, [x19]
	mov	x1, x21
	bl	_WRITE_ONCE
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_smp_mb
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_PTP_10GB_INCVAL_MULT,4,2  ; @I40E_PTP_10GB_INCVAL_MULT
	.comm	_I40E_PTP_1GB_INCVAL_MULT,4,2   ; @I40E_PTP_1GB_INCVAL_MULT
.zerofill __DATA,__bss,_i40e_ptp_set_increment.warn_once,4,2 ; @i40e_ptp_set_increment.warn_once
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"1588 functionality is not supported at 100 Mbps. Stopping the PHC.\n"

	.comm	_I40E_PTP_40GB_INCVAL,4,2       ; @I40E_PTP_40GB_INCVAL
	.comm	_I40E_PRTTSYN_INC_L,4,2         ; @I40E_PRTTSYN_INC_L
	.comm	_I40E_PRTTSYN_INC_H,4,2         ; @I40E_PRTTSYN_INC_H
.subsections_via_symbols
