	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_ptp_process_times
_efx_ptp_process_times:                 ## @efx_ptp_process_times
	.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	%rcx, %r14
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	_PTP_OUT_SYNCHRONIZE_TIMESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %rdi
	callq	_MCDI_VAR_ARRAY_LEN
	testl	%eax, %eax
	je	LBB0_13
## %bb.1:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r13
	movl	%eax, %eax
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %r15
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	48(%r13)
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$24, %r14
	incl	%ebx
	cmpq	%r14, %r15
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_PTP_OUT_SYNCHRONIZE_TIMESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	movl	%ebx, %edx
	callq	_MCDI_ARRAY_STRUCT_PTR
	movq	24(%r13), %rsi
	addq	%r14, %rsi
	movl	%eax, %edi
	callq	_efx_ptp_read_timeset
	movq	24(%r13), %rax
	movl	20(%rax,%r14), %esi
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	*32(%r13)
	movl	%eax, %edi
	callq	_ktime_to_timespec64
	movq	24(%r13), %rcx
	movq	(%rcx,%r14), %rcx
	movq	_SYNCHRONISATION_GRANULARITY_NS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jl	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	subq	%rax, %rcx
	movq	_MAX_SYNCHRONISATION_NS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jge	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r13), %rcx
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	40(%r13)
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	44(%r13)
	jmp	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	-48(%rbp)                       ## 4-byte Folded Spill
	movl	%ebx, %eax
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_9
LBB0_10:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.14:
	movq	24(%r13), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	leaq	(%rcx,%rcx,2), %rdx
	movslq	8(%rax,%rdx,8), %rsi
	movq	_MC_NANOSECOND_BITS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%esi, %edi
	sarl	%cl, %edi
	movq	_MC_SECOND_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %ebx
	andl	%ecx, %ebx
	movl	%ebx, %r12d
	subl	%edi, %r12d
	je	LBB0_17
## %bb.15:
	incl	%edi
	andl	%ecx, %edi
	cmpl	%ebx, %edi
	jne	LBB0_16
LBB0_17:
	andl	$1, %r12d
	movq	8(%r14), %r15
	movq	_MC_NANOSECOND_MASK@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	andq	%rsi, %rcx
	subq	%rcx, %r15
	movl	12(%rax,%rdx,8), %esi
	movl	16(%rax,%rdx,8), %edi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	*32(%r13)
	movl	%eax, %edi
	callq	_ktime_to_timespec64
	addq	%rax, %r15
	movups	(%r14), %xmm0
	movups	%xmm0, 8(%r13)
	addq	$8, %r13
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_pps_sub_ts
	jmp	LBB0_18
LBB0_11:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi), %edx
	leaq	L_.str(%rip), %rcx
	jmp	LBB0_12
LBB0_16:
	movq	_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi), %edx
	leaq	L_.str.1(%rip), %rcx
LBB0_12:
	callq	_netif_warn
LBB0_13:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTP_OUT_SYNCHRONIZE_TIMESET,4,2 ## @PTP_OUT_SYNCHRONIZE_TIMESET
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_SYNCHRONISATION_GRANULARITY_NS,8,3 ## @SYNCHRONISATION_GRANULARITY_NS
	.comm	_MAX_SYNCHRONISATION_NS,8,3     ## @MAX_SYNCHRONISATION_NS
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PTP no suitable synchronisations\n"

	.comm	_MC_NANOSECOND_BITS,4,2         ## @MC_NANOSECOND_BITS
	.comm	_MC_SECOND_MASK,4,2             ## @MC_SECOND_MASK
	.comm	_hw,4,2                         ## @hw
L_.str.1:                               ## @.str.1
	.asciz	"PTP bad synchronisation seconds\n"

	.comm	_MC_NANOSECOND_MASK,4,2         ## @MC_NANOSECOND_MASK
	.no_dead_strip	_efx_ptp_process_times
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_ptp_process_times
_efx_ptp_process_times:                 ; @efx_ptp_process_times
	.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	x19, x3
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x25, _PTP_OUT_SYNCHRONIZE_TIMESET@GOTPAGE
Lloh1:
	ldr	x25, [x25, _PTP_OUT_SYNCHRONIZE_TIMESET@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x2
	bl	_MCDI_VAR_ARRAY_LEN
	cbz	w0, LBB0_16
; %bb.1:
	stp	x20, x19, [sp]                  ; 16-byte Folded Spill
	mov	w22, #0
	mov	x27, #0
	mov	w26, #0
	mov	w24, #0
	ldr	x23, [x20, #8]
	mov	w8, #24
	umull	x28, w0, w8
Lloh2:
	adrp	x19, _SYNCHRONISATION_GRANULARITY_NS@GOTPAGE
Lloh3:
	ldr	x19, [x19, _SYNCHRONISATION_GRANULARITY_NS@GOTPAGEOFF]
Lloh4:
	adrp	x20, _MAX_SYNCHRONISATION_NS@GOTPAGE
Lloh5:
	ldr	x20, [x20, _MAX_SYNCHRONISATION_NS@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23, #48]
	add	w8, w8, #1
	str	w8, [x23, #48]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x27, x27, #24
	add	w22, w22, #1
	cmp	x28, x27
	b.eq	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	mov	x0, x21
	mov	x2, x22
	bl	_MCDI_ARRAY_STRUCT_PTR
	ldr	x8, [x23, #24]
	add	x1, x8, x27
	bl	_efx_ptp_read_timeset
	ldp	x9, x8, [x23, #24]
	add	x9, x9, x27
	ldr	w1, [x9, #20]
	mov	w0, #0
	mov	w2, #0
	blr	x8
	bl	_ktime_to_timespec64
	ldr	x8, [x23, #24]
	ldr	x8, [x8, x27]
	ldr	x9, [x19]
	cmp	x8, x9
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x20]
	sub	x8, x8, x0
	cmp	x8, x9
	b.ge	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x23]
	cmp	x8, x9
	b.ge	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23, #40]
	add	w8, w8, #1
	str	w8, [x23, #40]
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23, #44]
	add	w8, w8, #1
	str	w8, [x23, #44]
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w26, w26, #1
	mov	x24, x22
	b	LBB0_3
LBB0_10:
	cbz	w26, LBB0_13
; %bb.11:
	ldr	x8, [x23, #24]
	mov	w9, #24
	umaddl	x9, w24, w9, x8
Lloh6:
	adrp	x10, _MC_NANOSECOND_BITS@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MC_NANOSECOND_BITS@GOTPAGEOFF]
	ldrsw	x9, [x9, #8]
Lloh8:
	ldr	w10, [x10]
	asr	w11, w9, w10
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w10, [x21]
Lloh9:
	adrp	x12, _MC_SECOND_MASK@GOTPAGE
Lloh10:
	ldr	x12, [x12, _MC_SECOND_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	and	w13, w12, w10
	subs	w10, w13, w11
	add	w11, w11, #1
	and	w11, w11, w12
	ccmp	w11, w13, #4, ne
	b.ne	LBB0_14
; %bb.12:
	mov	w11, w24
	and	w20, w10, #0x1
	ldr	x10, [x21, #8]
Lloh12:
	adrp	x12, _MC_NANOSECOND_MASK@GOTPAGE
Lloh13:
	ldr	x12, [x12, _MC_NANOSECOND_MASK@GOTPAGEOFF]
Lloh14:
	ldrsw	x12, [x12]
	and	x9, x12, x9
	sub	x19, x10, x9
	ldr	x9, [x23, #32]
	mov	w10, #24
	madd	x8, x11, x10, x8
	ldp	w1, w0, [x8, #12]
	mov	w2, #0
	blr	x9
	bl	_ktime_to_timespec64
	add	x1, x19, x0
	add	x0, x23, #8
	ldr	q0, [x21]
	stur	q0, [x23, #8]
	mov	x2, x20
	bl	_pps_sub_ts
	mov	w0, #0
	b	LBB0_17
LBB0_13:
Lloh15:
	adrp	x8, _drv@GOTPAGE
Lloh16:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	ldr	w2, [x0]
Lloh18:
	adrp	x3, l_.str@PAGE
Lloh19:
	add	x3, x3, l_.str@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh20:
	adrp	x8, _hw@GOTPAGE
Lloh21:
	ldr	x8, [x8, _hw@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	ldr	w2, [x0]
Lloh23:
	adrp	x3, l_.str.1@PAGE
Lloh24:
	add	x3, x3, l_.str.1@PAGEOFF
LBB0_15:
	bl	_netif_warn
LBB0_16:
Lloh25:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_17:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_PTP_OUT_SYNCHRONIZE_TIMESET,4,2 ; @PTP_OUT_SYNCHRONIZE_TIMESET
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_SYNCHRONISATION_GRANULARITY_NS,8,3 ; @SYNCHRONISATION_GRANULARITY_NS
	.comm	_MAX_SYNCHRONISATION_NS,8,3     ; @MAX_SYNCHRONISATION_NS
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PTP no suitable synchronisations\n"

	.comm	_MC_NANOSECOND_BITS,4,2         ; @MC_NANOSECOND_BITS
	.comm	_MC_SECOND_MASK,4,2             ; @MC_SECOND_MASK
	.comm	_hw,4,2                         ; @hw
l_.str.1:                               ; @.str.1
	.asciz	"PTP bad synchronisation seconds\n"

	.comm	_MC_NANOSECOND_MASK,4,2         ; @MC_NANOSECOND_MASK
	.no_dead_strip	_efx_ptp_process_times
.subsections_via_symbols
