	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_ptp_init                 ## -- Begin function ixgbe_ptp_init
	.p2align	4, 0x90
_ixgbe_ptp_init:                        ## @ixgbe_ptp_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	120(%rdi), %r15
	movl	112(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_8
## %bb.3:
	xorl	%r12d, %r12d
	jmp	LBB0_4
LBB0_1:
	movl	$1, %r12d
LBB0_4:
	leaq	24(%rbx), %r14
	movl	96(%rbx), %edi
	movq	(%r15), %rcx
	leaq	L_.str(%rip), %rdx
	movl	$16, %esi
	callq	_snprintf
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 88(%rbx)
	movl	$250000000, 24(%rbx)            ## imm = 0xEE6B280
	movl	$0, 80(%rbx)
	movq	$0, 72(%rbx)
	movl	%r12d, 28(%rbx)
	movq	_ixgbe_ptp_adjfreq@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%rbx)
	movq	_ixgbe_ptp_adjtime@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%rbx)
	movq	_ixgbe_ptp_gettime@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%rbx)
	movq	_ixgbe_ptp_settime@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%rbx)
	movq	_ixgbe_ptp_enable@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	leaq	108(%rbx), %rdi
	callq	_spin_lock_init
	leaq	104(%rbx), %rdi
	movq	_ixgbe_ptp_tx_hwtstamp_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	16(%rbx), %rsi
	movq	%r14, %rdi
	callq	_ptp_clock_register
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	$0, 8(%rbx)
	leaq	L_.str.1(%rip), %rdi
	callq	_e_dev_err
	jmp	LBB0_7
LBB0_8:
	movq	$0, 8(%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	(%r15), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_e_dev_info
LBB0_7:
	movq	%rbx, %rdi
	callq	_ixgbe_ptp_reset
	movq	___IXGBE_PTP_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_THIS_MODULE,8,3                ## @THIS_MODULE
	.comm	_ixgbe_ptp_adjfreq,8,3          ## @ixgbe_ptp_adjfreq
	.comm	_ixgbe_ptp_adjtime,8,3          ## @ixgbe_ptp_adjtime
	.comm	_ixgbe_ptp_gettime,8,3          ## @ixgbe_ptp_gettime
	.comm	_ixgbe_ptp_settime,8,3          ## @ixgbe_ptp_settime
	.comm	_ixgbe_ptp_enable,8,3           ## @ixgbe_ptp_enable
	.comm	_ixgbe_ptp_tx_hwtstamp_work,4,2 ## @ixgbe_ptp_tx_hwtstamp_work
L_.str.1:                               ## @.str.1
	.asciz	"ptp_clock_register failed\n"

L_.str.2:                               ## @.str.2
	.asciz	"registered PHC device on %s\n"

	.comm	___IXGBE_PTP_RUNNING,4,2        ## @__IXGBE_PTP_RUNNING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_ptp_init                 ; -- Begin function ixgbe_ptp_init
	.p2align	2
_ixgbe_ptp_init:                        ; @ixgbe_ptp_init
	.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
	ldr	x21, [x0, #120]
	ldr	w8, [x0, #112]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.2:
	mov	w22, #0
	b	LBB0_4
LBB0_3:
	mov	w22, #1
LBB0_4:
	ldr	w0, [x19, #96]
	ldr	x3, [x21]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #16
	bl	_snprintf
Lloh2:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	mov	w9, #45696
	movk	w9, #3814, lsl #16
	mov	x20, x19
	str	w9, [x20, #24]!
	str	x8, [x20, #64]
	str	wzr, [x20, #56]
	str	xzr, [x20, #48]
	str	w22, [x20, #4]
Lloh5:
	adrp	x8, _ixgbe_ptp_adjfreq@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ixgbe_ptp_adjfreq@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [x20, #40]
Lloh8:
	adrp	x8, _ixgbe_ptp_adjtime@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ixgbe_ptp_adjtime@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _ixgbe_ptp_gettime@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ixgbe_ptp_gettime@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	stp	x9, x8, [x20, #24]
Lloh14:
	adrp	x8, _ixgbe_ptp_settime@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ixgbe_ptp_settime@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	adrp	x9, _ixgbe_ptp_enable@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ixgbe_ptp_enable@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	add	x0, x20, #84
	stp	x9, x8, [x20, #8]
	bl	_spin_lock_init
	add	x0, x20, #80
Lloh20:
	adrp	x8, _ixgbe_ptp_tx_hwtstamp_work@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ixgbe_ptp_tx_hwtstamp_work@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_INIT_WORK
	ldur	x1, [x20, #-8]
	mov	x0, x20
	bl	_ptp_clock_register
	stur	x0, [x20, #-16]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.5:
	str	xzr, [x19, #8]
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_e_dev_err
	b	LBB0_8
LBB0_6:
	str	xzr, [x19, #8]
	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
	ret
LBB0_7:
	ldr	x1, [x21]
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_e_dev_info
LBB0_8:
	mov	x0, x19
	bl	_ixgbe_ptp_reset
Lloh27:
	adrp	x8, ___IXGBE_PTP_RUNNING@GOTPAGE
Lloh28:
	ldr	x8, [x8, ___IXGBE_PTP_RUNNING@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	x1, x19
	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	_set_bit
	.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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_THIS_MODULE,8,3                ; @THIS_MODULE
	.comm	_ixgbe_ptp_adjfreq,8,3          ; @ixgbe_ptp_adjfreq
	.comm	_ixgbe_ptp_adjtime,8,3          ; @ixgbe_ptp_adjtime
	.comm	_ixgbe_ptp_gettime,8,3          ; @ixgbe_ptp_gettime
	.comm	_ixgbe_ptp_settime,8,3          ; @ixgbe_ptp_settime
	.comm	_ixgbe_ptp_enable,8,3           ; @ixgbe_ptp_enable
	.comm	_ixgbe_ptp_tx_hwtstamp_work,4,2 ; @ixgbe_ptp_tx_hwtstamp_work
l_.str.1:                               ; @.str.1
	.asciz	"ptp_clock_register failed\n"

l_.str.2:                               ; @.str.2
	.asciz	"registered PHC device on %s\n"

	.comm	___IXGBE_PTP_RUNNING,4,2        ; @__IXGBE_PTP_RUNNING
.subsections_via_symbols
