	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hwtstamp_get
_hwtstamp_get:                          ## @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
	cmpl	$129, %eax
	je	LBB0_9
## %bb.4:
	cmpl	$128, %eax
	je	LBB0_8
## %bb.5:
	testl	%eax, %eax
	jne	LBB0_10
## %bb.6:
	movq	_HWTSTAMP_FILTER_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_9:
	movq	_HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_8:
	movq	_HWTSTAMP_FILTER_PTP_V1_L4_SYNC@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movl	(%rbx), %edi
	leaq	-24(%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
	jmp	LBB0_11
LBB0_10:
	movl	$1, %edi
	callq	_WARN_ON_ONCE
	movq	_ERANGE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	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	_HWTSTAMP_FILTER_NONE,4,2       ## @HWTSTAMP_FILTER_NONE
	.comm	_HWTSTAMP_FILTER_PTP_V1_L4_SYNC,4,2 ## @HWTSTAMP_FILTER_PTP_V1_L4_SYNC
	.comm	_HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ,4,2 ## @HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_EFAULT,4,2                     ## @EFAULT
	.no_dead_strip	_hwtstamp_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hwtstamp_get
_hwtstamp_get:                          ; @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]
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _HWTSTAMP_TX_ON@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HWTSTAMP_TX_ON@GOTPAGEOFF]
Lloh2:
	adrp	x10, _HWTSTAMP_TX_OFF@GOTPAGE
Lloh3:
	ldr	x10, [x10, _HWTSTAMP_TX_OFF@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w8, [x8]
	str	w8, [sp, #4]
	ldr	w8, [x0]
	cmp	w8, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.2:
	cbnz	w8, LBB0_7
; %bb.3:
Lloh4:
	adrp	x8, _HWTSTAMP_FILTER_NONE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HWTSTAMP_FILTER_NONE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _HWTSTAMP_FILTER_PTP_V1_L4_SYNC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HWTSTAMP_FILTER_PTP_V1_L4_SYNC@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	str	w8, [sp]
	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
	b	LBB0_8
LBB0_7:
	mov	w0, #1
	bl	_WARN_ON_ONCE
Lloh13:
	adrp	x8, _ERANGE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_HWTSTAMP_TX_ON,4,2             ; @HWTSTAMP_TX_ON
	.comm	_HWTSTAMP_TX_OFF,4,2            ; @HWTSTAMP_TX_OFF
	.comm	_HWTSTAMP_FILTER_NONE,4,2       ; @HWTSTAMP_FILTER_NONE
	.comm	_HWTSTAMP_FILTER_PTP_V1_L4_SYNC,4,2 ; @HWTSTAMP_FILTER_PTP_V1_L4_SYNC
	.comm	_HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ,4,2 ; @HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_EFAULT,4,2                     ; @EFAULT
	.no_dead_strip	_hwtstamp_get
.subsections_via_symbols
