	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_ef10_ptp_set_ts_config
_efx_ef10_ptp_set_ts_config:            ## @efx_ef10_ptp_set_ts_config
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %eax
	leal	-128(%rax), %ecx
	cmpl	$13, %ecx
	jae	LBB0_1
LBB0_4:
	movl	$142, (%rbx)
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_efx_ptp_change_mode
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_efx_ef10_ptp_set_ts_sync_events
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_8
LBB0_6:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_efx_ptp_change_mode
	movl	%ebx, %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	cmpl	$142, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$141, %eax
	jne	LBB0_7
## %bb.3:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_efx_ef10_ptp_set_ts_sync_events
	movl	4(%rbx), %eax
	movq	_HWTSTAMP_TX_OFF@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	cmpl	(%rcx), %eax
	setne	%sil
	movq	%r14, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_efx_ptp_change_mode            ## TAILCALL
LBB0_7:
	movq	_ERANGE@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_HWTSTAMP_TX_OFF,4,2            ## @HWTSTAMP_TX_OFF
	.comm	_ERANGE,4,2                     ## @ERANGE
	.no_dead_strip	_efx_ef10_ptp_set_ts_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_ef10_ptp_set_ts_config
_efx_ef10_ptp_set_ts_config:            ; @efx_ef10_ptp_set_ts_config
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
	sub	w9, w8, #128
	cmp	w9, #13
	b.hs	LBB0_5
LBB0_1:
	mov	w8, #142
	str	w8, [x20]
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_efx_ptp_change_mode
	mov	x20, x0
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_efx_ef10_ptp_set_ts_sync_events
	mov	x20, x0
	cbz	w0, LBB0_4
LBB0_3:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_efx_ptp_change_mode
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	cmp	w8, #142
	b.eq	LBB0_1
; %bb.6:
	cmp	w8, #141
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_efx_ef10_ptp_set_ts_sync_events
	ldr	w8, [x20, #4]
Lloh0:
	adrp	x9, _HWTSTAMP_TX_OFF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HWTSTAMP_TX_OFF@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w1, ne
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_efx_ptp_change_mode
LBB0_8:
Lloh3:
	adrp	x8, _ERANGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HWTSTAMP_TX_OFF,4,2            ; @HWTSTAMP_TX_OFF
	.comm	_ERANGE,4,2                     ; @ERANGE
	.no_dead_strip	_efx_ef10_ptp_set_ts_config
.subsections_via_symbols
