	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_ptp_set_ts_config        ## -- Begin function ixgbe_ptp_set_ts_config
	.p2align	4, 0x90
_ixgbe_ptp_set_ts_config:               ## @ixgbe_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), %esi
	leaq	-32(%rbp), %rdi
	movl	$4, %edx
	callq	_copy_from_user
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_2:
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ixgbe_ptp_set_timestamp_mode
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	-32(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	(%rbx), %edi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_copy_to_user
	movq	%rax, %rcx
	movq	_EFAULT@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	subl	(%rdx), %eax
	xorl	%edx, %edx
	testq	%rcx, %rcx
	cmovel	%edx, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFAULT,4,2                     ## @EFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_ptp_set_ts_config        ; -- Begin function ixgbe_ptp_set_ts_config
	.p2align	2
_ixgbe_ptp_set_ts_config:               ; @ixgbe_ptp_set_ts_config
	.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
	mov	x20, x0
	ldr	w1, [x1]
	add	x0, sp, #8
	mov	w2, #4
	bl	_copy_from_user
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_2:
	add	x1, sp, #8
	mov	x0, x20
	bl	_ixgbe_ptp_set_timestamp_mode
	cbnz	w0, LBB0_4
; %bb.3:
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x19]
	add	x1, sp, #8
	mov	w2, #4
	bl	_copy_to_user
Lloh3:
	adrp	x8, _EFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csneg	w0, wzr, w8, eq
LBB0_4:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EFAULT,4,2                     ; @EFAULT
.subsections_via_symbols
