	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_ptp_probe                  ## -- Begin function efx_ptp_probe
	.p2align	4, 0x90
_efx_ptp_probe:                         ## @efx_ptp_probe
	.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	%rsi, %rbx
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	$120, %edi
	callq	_kzalloc
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r14
	movq	%r15, 112(%rax)
	movq	%rbx, 104(%rax)
	movq	%r15, %rdi
	callq	_efx_nic_rev
	movq	_EFX_REV_HUNT_A0@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	setge	%dl
	movl	%edx, (%r14)
	leaq	8(%r14), %r12
	movl	(%r13), %ecx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_efx_nic_alloc_buffer
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_19
## %bb.2:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	leaq	100(%r14), %rdi
	callq	_skb_queue_head_init
	leaq	96(%r14), %rdi
	callq	_skb_queue_head_init
	leaq	L_.str(%rip), %rdi
	callq	_create_singlethread_workqueue
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%r15, %rdi
	callq	_efx_ptp_use_mac_tx_timestamps
	testq	%rax, %rax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.4:
	movq	_efx_ptp_xmit_skb_queue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SYNC_EVENTS_QUIESCENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rbx)
	jmp	LBB0_8
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_20
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_7:
	movq	_efx_ptp_xmit_skb_mc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	movl	%eax, 92(%r14)
	leaq	88(%r14), %rdi
	movq	_efx_ptp_worker@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	$0, 80(%r14)
	movq	_HWTSTAMP_TX_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%r14)
	movq	_HWTSTAMP_FILTER_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r14)
	leaq	68(%r14), %rdi
	callq	_INIT_LIST_HEAD
	leaq	48(%r14), %r13
	movq	%r13, %rdi
	callq	_INIT_LIST_HEAD
	leaq	64(%r14), %rdi
	callq	_spin_lock_init
	movq	_MAX_RECEIVE_EVENTS@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	je	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	56(%r14), %rdi
	addq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_list_add
	incq	%r15
	movl	(%r12), %eax
	addq	$4, %rbx
	cmpq	%rax, %r15
	jb	LBB0_10
LBB0_11:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_efx_ptp_get_attributes
	testl	%eax, %eax
	js	LBB0_16
## %bb.12:
	movq	%r15, %rdi
	callq	_efx_ptp_get_timestamp_corrections
	testl	%eax, %eax
	js	LBB0_16
## %bb.13:
	movq	16(%r15), %rax
	movl	(%rax), %eax
	movq	_MC_CMD_DRV_ATTACH_EXT_OUT_FLAG_PRIMARY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	jae	LBB0_23
## %bb.14:
	movq	_efx_phc_clock_info@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	44(%r14), %rdi
	movl	%eax, 44(%r14)
	movq	8(%r15), %rsi
	callq	_ptp_clock_register
	movq	%rax, 24(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	24(%r14), %rdi
	testq	%rax, %rax
	je	LBB0_21
## %bb.15:
	callq	_PTR_ERR
LBB0_16:
	movl	%eax, %r13d
LBB0_17:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	(%r15), %rax
	movq	16(%rax), %rdi
	callq	_destroy_workqueue
LBB0_18:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_efx_nic_free_buffer
LBB0_19:
	movq	(%r15), %rdi
	callq	_kfree
	movq	$0, (%r15)
LBB0_20:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.22:
	movq	%r14, %rdi
	addq	$40, %rdi
	movq	_efx_ptp_pps_worker@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	L_.str.1(%rip), %rdi
	callq	_create_singlethread_workqueue
	movq	%rax, 32(%r14)
	testq	%rax, %rax
	je	LBB0_24
LBB0_23:
	movl	$0, 4(%r14)
	xorl	%r13d, %r13d
	jmp	LBB0_20
LBB0_24:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	movq	(%r15), %rax
	movq	24(%rax), %rdi
	callq	_ptp_clock_unregister
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EFX_REV_HUNT_A0,8,3            ## @EFX_REV_HUNT_A0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sfc_ptp"

	.comm	_efx_ptp_xmit_skb_queue,4,2     ## @efx_ptp_xmit_skb_queue
	.comm	_SYNC_EVENTS_QUIESCENT,4,2      ## @SYNC_EVENTS_QUIESCENT
	.comm	_efx_ptp_xmit_skb_mc,4,2        ## @efx_ptp_xmit_skb_mc
	.comm	_efx_ptp_worker,4,2             ## @efx_ptp_worker
	.comm	_HWTSTAMP_TX_OFF,4,2            ## @HWTSTAMP_TX_OFF
	.comm	_HWTSTAMP_FILTER_NONE,4,2       ## @HWTSTAMP_FILTER_NONE
	.comm	_MAX_RECEIVE_EVENTS,4,2         ## @MAX_RECEIVE_EVENTS
	.comm	_MC_CMD_DRV_ATTACH_EXT_OUT_FLAG_PRIMARY,4,2 ## @MC_CMD_DRV_ATTACH_EXT_OUT_FLAG_PRIMARY
	.comm	_efx_phc_clock_info,4,2         ## @efx_phc_clock_info
	.comm	_efx_ptp_pps_worker,4,2         ## @efx_ptp_pps_worker
L_.str.1:                               ## @.str.1
	.asciz	"sfc_pps"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_ptp_probe                  ; -- Begin function efx_ptp_probe
	.p2align	2
_efx_ptp_probe:                         ; @efx_ptp_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w0, #120
	bl	_kzalloc
	str	x0, [x19]
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	stp	x22, x19, [x0, #104]
	mov	x0, x19
	bl	_efx_nic_rev
Lloh2:
	adrp	x8, _EFX_REV_HUNT_A0@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EFX_REV_HUNT_A0@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w8, ge
	str	w8, [x21]
	add	x20, x21, #8
	ldr	w3, [x23]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	bl	_efx_nic_alloc_buffer
	mov	x23, x0
	cbnz	w0, LBB0_19
; %bb.2:
	add	x0, x21, #100
	bl	_skb_queue_head_init
	add	x0, x21, #96
	bl	_skb_queue_head_init
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_create_singlethread_workqueue
	str	x0, [x21, #16]
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_efx_ptp_use_mac_tx_timestamps
	cbz	x0, LBB0_7
; %bb.4:
Lloh7:
	adrp	x8, _efx_ptp_xmit_skb_queue@GOTPAGE
Lloh8:
	ldr	x8, [x8, _efx_ptp_xmit_skb_queue@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _SYNC_EVENTS_QUIESCENT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SYNC_EVENTS_QUIESCENT@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	str	w9, [x22]
	b	LBB0_8
LBB0_5:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_20
LBB0_6:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_18
LBB0_7:
Lloh19:
	adrp	x8, _efx_ptp_xmit_skb_mc@GOTPAGE
Lloh20:
	ldr	x8, [x8, _efx_ptp_xmit_skb_mc@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
LBB0_8:
	str	w8, [x21, #92]
	add	x0, x21, #88
Lloh22:
	adrp	x8, _efx_ptp_worker@GOTPAGE
Lloh23:
	ldr	x8, [x8, _efx_ptp_worker@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	bl	_INIT_WORK
	str	xzr, [x21, #80]
Lloh25:
	adrp	x8, _HWTSTAMP_TX_OFF@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HWTSTAMP_TX_OFF@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _HWTSTAMP_FILTER_NONE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _HWTSTAMP_FILTER_NONE@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #72]
	add	x0, x21, #68
	bl	_INIT_LIST_HEAD
	add	x22, x21, #48
	mov	x0, x22
	bl	_INIT_LIST_HEAD
	add	x0, x21, #64
	bl	_spin_lock_init
Lloh31:
	adrp	x23, _MAX_RECEIVE_EVENTS@GOTPAGE
Lloh32:
	ldr	x23, [x23, _MAX_RECEIVE_EVENTS@GOTPAGEOFF]
	ldr	w8, [x23]
	cbz	w8, LBB0_11
; %bb.9:
	mov	x24, #0
	mov	x25, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #56]
	add	x0, x8, x24
	mov	x1, x22
	bl	_list_add
	add	x25, x25, #1
	ldr	w8, [x23]
	add	x24, x24, #4
	cmp	x25, x8
	b.lo	LBB0_10
LBB0_11:
	mov	x0, x19
	bl	_efx_ptp_get_attributes
	tbnz	w0, #31, LBB0_16
; %bb.12:
	mov	x0, x19
	bl	_efx_ptp_get_timestamp_corrections
	tbnz	w0, #31, LBB0_16
; %bb.13:
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _MC_CMD_DRV_ATTACH_EXT_OUT_FLAG_PRIMARY@GOTPAGE
Lloh34:
	ldr	x9, [x9, _MC_CMD_DRV_ATTACH_EXT_OUT_FLAG_PRIMARY@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	lsr	w8, w8, w9
	tbz	w8, #0, LBB0_23
; %bb.14:
Lloh36:
	adrp	x8, _efx_phc_clock_info@GOTPAGE
Lloh37:
	ldr	x8, [x8, _efx_phc_clock_info@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	mov	x22, x21
	str	w8, [x22, #44]!
	ldr	x1, [x19, #8]
	mov	x0, x22
	bl	_ptp_clock_register
	stur	x0, [x22, #-20]
	bl	_IS_ERR
	mov	x8, x0
	ldur	x0, [x22, #-20]
	cbz	x8, LBB0_21
; %bb.15:
	bl	_PTR_ERR
LBB0_16:
	mov	x23, x0
LBB0_17:
	ldr	x8, [x19]
	ldr	x0, [x8, #16]
	bl	_destroy_workqueue
LBB0_18:
	mov	x0, x19
	mov	x1, x20
	bl	_efx_nic_free_buffer
LBB0_19:
	ldr	x0, [x19]
	bl	_kfree
	str	xzr, [x19]
LBB0_20:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_21:
	cbz	x0, LBB0_23
; %bb.22:
	add	x0, x21, #40
Lloh39:
	adrp	x8, _efx_ptp_pps_worker@GOTPAGE
Lloh40:
	ldr	x8, [x8, _efx_ptp_pps_worker@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	bl	_INIT_WORK
Lloh42:
	adrp	x0, l_.str.1@PAGE
Lloh43:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_create_singlethread_workqueue
	str	x0, [x21, #32]
	cbz	x0, LBB0_24
LBB0_23:
	mov	w23, #0
	str	wzr, [x21, #4]
	b	LBB0_20
LBB0_24:
Lloh44:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	neg	w23, w8
	ldr	x8, [x19]
	ldr	x0, [x8, #24]
	bl	_ptp_clock_unregister
	b	LBB0_17
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EFX_REV_HUNT_A0,8,3            ; @EFX_REV_HUNT_A0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sfc_ptp"

	.comm	_efx_ptp_xmit_skb_queue,4,2     ; @efx_ptp_xmit_skb_queue
	.comm	_SYNC_EVENTS_QUIESCENT,4,2      ; @SYNC_EVENTS_QUIESCENT
	.comm	_efx_ptp_xmit_skb_mc,4,2        ; @efx_ptp_xmit_skb_mc
	.comm	_efx_ptp_worker,4,2             ; @efx_ptp_worker
	.comm	_HWTSTAMP_TX_OFF,4,2            ; @HWTSTAMP_TX_OFF
	.comm	_HWTSTAMP_FILTER_NONE,4,2       ; @HWTSTAMP_FILTER_NONE
	.comm	_MAX_RECEIVE_EVENTS,4,2         ; @MAX_RECEIVE_EVENTS
	.comm	_MC_CMD_DRV_ATTACH_EXT_OUT_FLAG_PRIMARY,4,2 ; @MC_CMD_DRV_ATTACH_EXT_OUT_FLAG_PRIMARY
	.comm	_efx_phc_clock_info,4,2         ; @efx_phc_clock_info
	.comm	_efx_ptp_pps_worker,4,2         ; @efx_ptp_pps_worker
l_.str.1:                               ; @.str.1
	.asciz	"sfc_pps"

.subsections_via_symbols
