	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpaa2_eth_ts_ioctl
_dpaa2_eth_ts_ioctl:                    ## @dpaa2_eth_ts_ioctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movl	(%rbx), %esi
	leaq	-32(%rbp), %rdi
	movl	$16, %edx
	callq	_copy_from_user
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_3:
	xorl	%eax, %eax
	movl	-32(%rbp), %edx
	movl	$0, %ecx
	cmpl	$129, %edx
	je	LBB0_6
## %bb.4:
	cmpl	$128, %edx
	jne	LBB0_10
## %bb.5:
	movl	$1, %ecx
LBB0_6:
	movl	%ecx, (%r14)
	movq	-24(%rbp), %rcx
	movq	_HWTSTAMP_FILTER_NONE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_8
## %bb.7:
	movq	_HWTSTAMP_FILTER_ALL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movl	$1, %eax
LBB0_8:
	movl	%eax, 4(%r14)
	movl	(%rbx), %edi
	leaq	-32(%rbp), %rsi
	movl	$16, %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_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	movq	_ERANGE@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_HWTSTAMP_FILTER_NONE,8,3       ## @HWTSTAMP_FILTER_NONE
	.comm	_HWTSTAMP_FILTER_ALL,8,3        ## @HWTSTAMP_FILTER_ALL
	.no_dead_strip	_dpaa2_eth_ts_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpaa2_eth_ts_ioctl
_dpaa2_eth_ts_ioctl:                    ; @dpaa2_eth_ts_ioctl
	.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
	mov	x20, x0
	ldr	w1, [x19]
	mov	x0, sp
	mov	w2, #16
	bl	_copy_from_user
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _EFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_3:
	ldr	w8, [sp]
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.4:
	cmp	w8, #128
	b.ne	LBB0_9
; %bb.5:
	mov	w8, #1
	b	LBB0_7
LBB0_6:
	mov	w8, #0
LBB0_7:
	str	w8, [x20]
	ldr	x8, [sp, #8]
Lloh2:
	adrp	x9, _HWTSTAMP_FILTER_NONE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HWTSTAMP_FILTER_NONE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	mov	w8, #0
	b	LBB0_11
LBB0_9:
Lloh5:
	adrp	x8, _ERANGE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
	b	LBB0_2
LBB0_10:
Lloh7:
	adrp	x8, _HWTSTAMP_FILTER_ALL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HWTSTAMP_FILTER_ALL@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	mov	w8, #1
LBB0_11:
	str	w8, [x20, #4]
	ldr	w0, [x19]
	mov	x1, sp
	mov	w2, #16
	bl	_copy_to_user
Lloh10:
	adrp	x8, _EFAULT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	x0, #0
	csneg	w0, wzr, w8, eq
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_HWTSTAMP_FILTER_NONE,8,3       ; @HWTSTAMP_FILTER_NONE
	.comm	_HWTSTAMP_FILTER_ALL,8,3        ; @HWTSTAMP_FILTER_ALL
	.no_dead_strip	_dpaa2_eth_ts_ioctl
.subsections_via_symbols
