	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nicvf_config_hwtstamp
_nicvf_config_hwtstamp:                 ## @nicvf_config_hwtstamp
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_netdev_priv
	cmpl	$0, 4(%rax)
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movl	(%r14), %esi
	leaq	-40(%rbp), %rdi
	movl	$16, %edx
	callq	_copy_from_user
	testq	%rax, %rax
	je	LBB0_3
LBB0_16:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	jmp	LBB0_17
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_17
LBB0_3:
	cmpq	$0, -32(%rbp)
	je	LBB0_5
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_17
LBB0_5:
	movl	-40(%rbp), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_6
## %bb.7:
	movl	-36(%rbp), %eax
	leal	-130(%rax), %ecx
	cmpl	$13, %ecx
	jae	LBB0_8
LBB0_11:
	movl	$1, (%r15)
	movl	$144, -36(%rbp)
LBB0_12:
	movq	%rbx, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movl	(%r15), %esi
	movq	%r15, %rdi
	callq	_nicvf_config_hw_rx_tstamp
LBB0_14:
	movl	(%r14), %edi
	leaq	-40(%rbp), %rsi
	movl	$16, %edx
	callq	_copy_to_user
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_8:
	cmpl	$144, %eax
	je	LBB0_11
## %bb.9:
	cmpl	$143, %eax
	jne	LBB0_6
## %bb.10:
	movl	$0, (%r15)
	jmp	LBB0_12
LBB0_6:
	movq	_ERANGE@GOTPCREL(%rip), %rcx
LBB0_17:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ERANGE,4,2                     ## @ERANGE
	.no_dead_strip	_nicvf_config_hwtstamp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nicvf_config_hwtstamp
_nicvf_config_hwtstamp:                 ; @nicvf_config_hwtstamp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x21, x0
	bl	_netdev_priv
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w1, [x19]
	mov	x0, sp
	mov	w2, #16
	bl	_copy_from_user
	cbz	x0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _EFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_16
LBB0_3:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_16
LBB0_4:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_16
LBB0_6:
	ldr	w8, [sp]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_15
; %bb.7:
	ldr	w8, [sp, #4]
	sub	w9, w8, #130
	cmp	w9, #13
	b.hs	LBB0_12
LBB0_8:
	mov	w8, #1
	str	w8, [x20]
	mov	w8, #144
	str	w8, [sp, #4]
LBB0_9:
	mov	x0, x21
	bl	_netif_running
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w1, [x20]
	mov	x0, x20
	bl	_nicvf_config_hw_rx_tstamp
LBB0_11:
	ldr	w0, [x19]
	mov	x1, sp
	mov	w2, #16
	bl	_copy_to_user
	cbnz	x0, LBB0_2
	b	LBB0_17
LBB0_12:
	cmp	w8, #144
	b.eq	LBB0_8
; %bb.13:
	cmp	w8, #143
	b.ne	LBB0_15
; %bb.14:
	str	wzr, [x20]
	b	LBB0_9
LBB0_15:
Lloh6:
	adrp	x8, _ERANGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ERANGE,4,2                     ; @ERANGE
	.no_dead_strip	_nicvf_config_hwtstamp
.subsections_via_symbols
