	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fec_ptp_get                    ## -- Begin function fec_ptp_get
	.p2align	4, 0x90
_fec_ptp_get:                           ## @fec_ptp_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	$0, -16(%rbp)
	cmpq	$0, 8(%rax)
	jne	LBB0_1
## %bb.2:
	movq	_HWTSTAMP_TX_OFF@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_HWTSTAMP_TX_ON@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movl	%ecx, -20(%rbp)
	cmpq	$0, (%rax)
	jne	LBB0_4
## %bb.5:
	movq	_HWTSTAMP_FILTER_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_HWTSTAMP_FILTER_ALL@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movl	(%rbx), %edi
	leaq	-24(%rbp), %rsi
	movl	$16, %edx
	callq	_copy_to_user
	movq	_EFAULT@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	xorl	%edx, %edx
	testq	%rax, %rax
	cmovel	%edx, %ecx
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HWTSTAMP_TX_ON,4,2             ## @HWTSTAMP_TX_ON
	.comm	_HWTSTAMP_TX_OFF,4,2            ## @HWTSTAMP_TX_OFF
	.comm	_HWTSTAMP_FILTER_ALL,4,2        ## @HWTSTAMP_FILTER_ALL
	.comm	_HWTSTAMP_FILTER_NONE,4,2       ## @HWTSTAMP_FILTER_NONE
	.comm	_EFAULT,4,2                     ## @EFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fec_ptp_get                    ; -- Begin function fec_ptp_get
	.p2align	2
_fec_ptp_get:                           ; @fec_ptp_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	bl	_netdev_priv
	str	xzr, [sp, #8]
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _HWTSTAMP_TX_ON@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HWTSTAMP_TX_ON@GOTPAGEOFF]
Lloh2:
	adrp	x10, _HWTSTAMP_TX_OFF@GOTPAGE
Lloh3:
	ldr	x10, [x10, _HWTSTAMP_TX_OFF@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w8, [x8]
	str	w8, [sp, #4]
Lloh4:
	adrp	x8, _HWTSTAMP_FILTER_ALL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HWTSTAMP_FILTER_ALL@GOTPAGEOFF]
Lloh6:
	adrp	x9, _HWTSTAMP_FILTER_NONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HWTSTAMP_FILTER_NONE@GOTPAGEOFF]
	ldr	x10, [x0]
	cmp	x10, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	str	w8, [sp]
	ldr	w0, [x19]
	mov	x1, sp
	mov	w2, #16
	bl	_copy_to_user
Lloh8:
	adrp	x8, _EFAULT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	x0, #0
	csneg	w0, wzr, w8, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HWTSTAMP_TX_ON,4,2             ; @HWTSTAMP_TX_ON
	.comm	_HWTSTAMP_TX_OFF,4,2            ; @HWTSTAMP_TX_OFF
	.comm	_HWTSTAMP_FILTER_ALL,4,2        ; @HWTSTAMP_FILTER_ALL
	.comm	_HWTSTAMP_FILTER_NONE,4,2       ; @HWTSTAMP_FILTER_NONE
	.comm	_EFAULT,4,2                     ; @EFAULT
.subsections_via_symbols
