	.file	"extr_ptp.c_efx_ptp_get_ts_config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	efx_ptp_get_ts_config
	.type	efx_ptp_get_ts_config, @function
efx_ptp_get_ts_config:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, rsi
	mov	rsi, QWORD PTR [rdi]
	test	rsi, rsi
	je	.L10
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	edi, DWORD PTR [rax]
	mov	edx, 4
	call	copy_to_user@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	je	.L1
	mov	eax, DWORD PTR EFAULT[rip]
	neg	eax
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	efx_ptp_get_ts_config, .-efx_ptp_get_ts_config
	.comm	EOPNOTSUPP,4,4
	.comm	EFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ptp.c_efx_ptp_get_ts_config.c"
	.text
	.align	2
	.global	efx_ptp_get_ts_config
	.syntax unified
	.arm
	.fpu softvfp
	.type	efx_ptp_get_ts_config, %function
efx_ptp_get_ts_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0]
	cmp	r2, #0
	beq	.L11
	mov	r3, r1
	push	{r4, lr}
	mov	r1, r2
	ldr	r0, [r3]
	mov	r2, #4
	bl	copy_to_user
	cmp	r0, #0
	ldrne	r3, .L12
	ldrne	r0, [r3]
	rsbne	r0, r0, #0
	pop	{r4, pc}
.L11:
	ldr	r3, .L12+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L13:
	.align	2
.L12:
	.word	EFAULT
	.word	EOPNOTSUPP
	.size	efx_ptp_get_ts_config, .-efx_ptp_get_ts_config
	.comm	EOPNOTSUPP,4,4
	.comm	EFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
