	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_ptp_ts_init
_efx_ptp_ts_init:                       ## @efx_ptp_ts_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
	cmpq	$0, 16(%rsi)
	je	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movq	_HWTSTAMP_TX_OFF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_6
## %bb.4:
	movq	_HWTSTAMP_TX_ON@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_5
LBB0_6:
	movl	8(%rbx), %edi
	addl	$-128, %edi
	cmpl	$12, %edi
	ja	LBB0_5
## %bb.7:
	movq	(%r14), %rdx
	movq	_MC_CMD_PTP_MODE_V1@GOTPCREL(%rip), %r8
	movl	$138, %r9d
	xorl	%r10d, %r10d
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdi,4), %rdi
	addq	%rsi, %rdi
	jmpq	*%rdi
LBB0_5:
	movq	_ERANGE@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_MC_CMD_PTP_MODE_V2_ENHANCED@GOTPCREL(%rip), %r8
	movl	$130, %r9d
LBB0_9:
	movl	%r9d, 8(%rbx)
	movl	$1, %r10d
	movq	%r8, %rdx
LBB0_10:
	cmpq	%rcx, %rax
	movl	(%rdx), %r12d
	movl	$1, %r15d
	cmovel	%r10d, %r15d
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_efx_ptp_change_mode
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:
	movq	_MC_CMD_PTP_MODE_V2_ENHANCED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r12d
	jne	LBB0_14
## %bb.12:
	movq	_MC_CMD_PTP_MODE_V2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_efx_ptp_change_mode
	testl	%eax, %eax
	jne	LBB0_14
LBB0_13:
	movq	(%r14), %rax
	movq	16(%rbx), %rcx
	movq	%rcx, 24(%rax)
	movups	(%rbx), %xmm0
	movups	%xmm0, 8(%rax)
	xorl	%eax, %eax
	jmp	LBB0_14
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_HWTSTAMP_TX_OFF,8,3            ## @HWTSTAMP_TX_OFF
	.comm	_HWTSTAMP_TX_ON,8,3             ## @HWTSTAMP_TX_ON
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_MC_CMD_PTP_MODE_V1,4,2         ## @MC_CMD_PTP_MODE_V1
	.comm	_MC_CMD_PTP_MODE_V2_ENHANCED,4,2 ## @MC_CMD_PTP_MODE_V2_ENHANCED
	.comm	_MC_CMD_PTP_MODE_V2,4,2         ## @MC_CMD_PTP_MODE_V2
	.no_dead_strip	_efx_ptp_ts_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_ptp_ts_init
_efx_ptp_ts_init:                       ; @efx_ptp_ts_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
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	mov	x19, x1
	ldr	x8, [x1]
Lloh2:
	adrp	x9, _HWTSTAMP_TX_OFF@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HWTSTAMP_TX_OFF@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _HWTSTAMP_TX_ON@GOTPAGE
Lloh6:
	ldr	x10, [x10, _HWTSTAMP_TX_ON@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_5
; %bb.3:
	ldr	w10, [x19, #8]
	sub	w14, w10, #128
	cmp	w14, #12
	b.hi	LBB0_5
; %bb.4:
	mov	x20, x0
	mov	w11, #0
	ldr	x13, [x0]
Lloh8:
	adrp	x10, _MC_CMD_PTP_MODE_V1@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MC_CMD_PTP_MODE_V1@GOTPAGEOFF]
	mov	w12, #138
Lloh10:
	adrp	x15, lJTI0_0@PAGE
Lloh11:
	add	x15, x15, lJTI0_0@PAGEOFF
	adr	x16, LBB0_5
	ldrb	w17, [x15, x14]
	add	x16, x16, x17, lsl #2
	br	x16
LBB0_5:
Lloh12:
	adrp	x8, _ERANGE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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_8:
Lloh14:
	adrp	x10, _MC_CMD_PTP_MODE_V2_ENHANCED@GOTPAGE
Lloh15:
	ldr	x10, [x10, _MC_CMD_PTP_MODE_V2_ENHANCED@GOTPAGEOFF]
	mov	w12, #130
LBB0_9:
	str	w12, [x19, #8]
	mov	w11, #1
	mov	x13, x10
LBB0_10:
	ldr	w22, [x13]
	cmp	x8, x9
	csinc	w21, w11, wzr, eq
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_efx_ptp_change_mode
	cbz	w0, LBB0_13
; %bb.11:
Lloh16:
	adrp	x8, _MC_CMD_PTP_MODE_V2_ENHANCED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MC_CMD_PTP_MODE_V2_ENHANCED@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ne	LBB0_7
; %bb.12:
Lloh19:
	adrp	x8, _MC_CMD_PTP_MODE_V2@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MC_CMD_PTP_MODE_V2@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_efx_ptp_change_mode
	cbnz	w0, LBB0_7
LBB0_13:
	mov	w0, #0
	ldr	x8, [x20]
	ldr	q0, [x19]
	ldr	x9, [x19, #16]
	str	x9, [x8, #24]
	stur	q0, [x8, #8]
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_HWTSTAMP_TX_OFF,8,3            ; @HWTSTAMP_TX_OFF
	.comm	_HWTSTAMP_TX_ON,8,3             ; @HWTSTAMP_TX_ON
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_MC_CMD_PTP_MODE_V1,4,2         ; @MC_CMD_PTP_MODE_V1
	.comm	_MC_CMD_PTP_MODE_V2_ENHANCED,4,2 ; @MC_CMD_PTP_MODE_V2_ENHANCED
	.comm	_MC_CMD_PTP_MODE_V2,4,2         ; @MC_CMD_PTP_MODE_V2
	.no_dead_strip	_efx_ptp_ts_init
.subsections_via_symbols
