	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ravb_hwtstamp_get
_ravb_hwtstamp_get:                     ## @ravb_hwtstamp_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)
	movl	(%rax), %eax
	movq	_RAVB_RXTSTAMP_TYPE_V2_L2_EVENT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_HWTSTAMP_FILTER_PTP_V2_L2_EVENT@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_RAVB_RXTSTAMP_TYPE_ALL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:
	movq	_HWTSTAMP_FILTER_ALL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_HWTSTAMP_FILTER_NONE@GOTPCREL(%rip), %rax
LBB0_8:
	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	_RAVB_RXTSTAMP_TYPE_V2_L2_EVENT,4,2 ## @RAVB_RXTSTAMP_TYPE_V2_L2_EVENT
	.comm	_HWTSTAMP_FILTER_PTP_V2_L2_EVENT,4,2 ## @HWTSTAMP_FILTER_PTP_V2_L2_EVENT
	.comm	_RAVB_RXTSTAMP_TYPE_ALL,4,2     ## @RAVB_RXTSTAMP_TYPE_ALL
	.comm	_HWTSTAMP_FILTER_ALL,4,2        ## @HWTSTAMP_FILTER_ALL
	.comm	_HWTSTAMP_FILTER_NONE,4,2       ## @HWTSTAMP_FILTER_NONE
	.comm	_EFAULT,4,2                     ## @EFAULT
	.no_dead_strip	_ravb_hwtstamp_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ravb_hwtstamp_get
_ravb_hwtstamp_get:                     ; @ravb_hwtstamp_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]
Lloh0:
	adrp	x8, _HWTSTAMP_TX_ON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HWTSTAMP_TX_ON@GOTPAGEOFF]
	ldr	x9, [x0, #8]
Lloh2:
	adrp	x10, _HWTSTAMP_TX_OFF@GOTPAGE
Lloh3:
	ldr	x10, [x10, _HWTSTAMP_TX_OFF@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w8, [x8]
	str	w8, [sp, #4]
	ldr	w8, [x0]
Lloh4:
	adrp	x9, _RAVB_RXTSTAMP_TYPE_V2_L2_EVENT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _RAVB_RXTSTAMP_TYPE_V2_L2_EVENT@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh7:
	adrp	x8, _HWTSTAMP_FILTER_PTP_V2_L2_EVENT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HWTSTAMP_FILTER_PTP_V2_L2_EVENT@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
Lloh9:
	adrp	x9, _RAVB_RXTSTAMP_TYPE_ALL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RAVB_RXTSTAMP_TYPE_ALL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _HWTSTAMP_FILTER_ALL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HWTSTAMP_FILTER_ALL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x8, _HWTSTAMP_FILTER_NONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HWTSTAMP_FILTER_NONE@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	str	w8, [sp]
	ldr	w0, [x19]
	mov	x1, sp
	mov	w2, #16
	bl	_copy_to_user
Lloh16:
	adrp	x8, _EFAULT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh18:
	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	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_HWTSTAMP_TX_ON,4,2             ; @HWTSTAMP_TX_ON
	.comm	_HWTSTAMP_TX_OFF,4,2            ; @HWTSTAMP_TX_OFF
	.comm	_RAVB_RXTSTAMP_TYPE_V2_L2_EVENT,4,2 ; @RAVB_RXTSTAMP_TYPE_V2_L2_EVENT
	.comm	_HWTSTAMP_FILTER_PTP_V2_L2_EVENT,4,2 ; @HWTSTAMP_FILTER_PTP_V2_L2_EVENT
	.comm	_RAVB_RXTSTAMP_TYPE_ALL,4,2     ; @RAVB_RXTSTAMP_TYPE_ALL
	.comm	_HWTSTAMP_FILTER_ALL,4,2        ; @HWTSTAMP_FILTER_ALL
	.comm	_HWTSTAMP_FILTER_NONE,4,2       ; @HWTSTAMP_FILTER_NONE
	.comm	_EFAULT,4,2                     ; @EFAULT
	.no_dead_strip	_ravb_hwtstamp_get
.subsections_via_symbols
