	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hwtstamp_ioctl
_hwtstamp_ioctl:                        ## @hwtstamp_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_netdev_priv
	movq	%rax, %r14
	movl	(%rbx), %esi
	leaq	-152(%rbp), %rdi
	movl	$24, %edx
	callq	_copy_from_user
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	cmpq	$0, -136(%rbp)
	je	LBB0_5
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_5:
	movq	8(%r14), %r15
	movq	-152(%rbp), %rax
	movq	_HWTSTAMP_TX_OFF@GOTPCREL(%rip), %rcx
	movq	_HWTSTAMP_TX_ON@GOTPCREL(%rip), %r13
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.6:
	cmpq	(%r13), %rax
	je	LBB0_8
LBB0_7:
	movq	_ERANGE@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_20
## %bb.19:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	-144(%rbp), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_7
## %bb.9:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_13:
	movl	$1, (%r14)
	movq	_V2_MODE@GOTPCREL(%rip), %rax
	movq	_CAP_MODE2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r15, %rdi
	callq	_pch_ch_control_write
	movq	_PTP_L4_MULTICAST_SA@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_10:
	movl	$0, (%r14)
	movq	_SLAVE_MODE@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_12:
	movl	$1, (%r14)
	movq	_MASTER_MODE@GOTPCREL(%rip), %rax
LBB0_11:
	movq	_CAP_MODE0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r15, %rdi
	callq	_pch_ch_control_write
	jmp	LBB0_17
LBB0_16:
	movl	$0, (%r14)
	jmp	LBB0_17
LBB0_15:
	movl	$1, (%r14)
	movq	_V2_MODE@GOTPCREL(%rip), %rax
	movq	_CAP_MODE2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r15, %rdi
	callq	_pch_ch_control_write
	movq	_PTP_L2_MULTICAST_SA@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %esi
	leaq	-128(%rbp), %r12
	movq	%r12, %rdi
	callq	_strcpy
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_pch_set_station_address
LBB0_17:
	movq	-152(%rbp), %rax
	xorl	%ecx, %ecx
	cmpq	(%r13), %rax
	sete	%cl
	movl	%ecx, 4(%r14)
	movq	_TX_SNAPSHOT_LOCKED@GOTPCREL(%rip), %rax
	movq	_RX_SNAPSHOT_LOCKED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r15, %rdi
	callq	_pch_ch_event_write
	movl	(%rbx), %edi
	leaq	-152(%rbp), %rsi
	movl	$24, %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_18
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_HWTSTAMP_TX_OFF,8,3            ## @HWTSTAMP_TX_OFF
	.comm	_HWTSTAMP_TX_ON,8,3             ## @HWTSTAMP_TX_ON
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_SLAVE_MODE,4,2                 ## @SLAVE_MODE
	.comm	_CAP_MODE0,4,2                  ## @CAP_MODE0
	.comm	_MASTER_MODE,4,2                ## @MASTER_MODE
	.comm	_V2_MODE,4,2                    ## @V2_MODE
	.comm	_CAP_MODE2,4,2                  ## @CAP_MODE2
	.comm	_PTP_L4_MULTICAST_SA,4,2        ## @PTP_L4_MULTICAST_SA
	.comm	_PTP_L2_MULTICAST_SA,4,2        ## @PTP_L2_MULTICAST_SA
	.comm	_TX_SNAPSHOT_LOCKED,4,2         ## @TX_SNAPSHOT_LOCKED
	.comm	_RX_SNAPSHOT_LOCKED,4,2         ## @RX_SNAPSHOT_LOCKED
	.no_dead_strip	_hwtstamp_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hwtstamp_ioctl
_hwtstamp_ioctl:                        ; @hwtstamp_ioctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	bl	_netdev_priv
	mov	x20, x0
	ldr	w1, [x19]
	mov	x0, sp
	mov	w2, #24
	bl	_copy_from_user
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_9
LBB0_2:
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
	ldr	x8, [sp]
Lloh7:
	adrp	x9, _HWTSTAMP_TX_OFF@GOTPAGE
Lloh8:
	ldr	x9, [x9, _HWTSTAMP_TX_OFF@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
Lloh10:
	adrp	x22, _HWTSTAMP_TX_ON@GOTPAGE
Lloh11:
	ldr	x22, [x22, _HWTSTAMP_TX_ON@GOTPAGEOFF]
	ldr	x10, [x22]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_8
; %bb.5:
	ldr	w8, [sp, #8]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_8
; %bb.6:
	ldr	x21, [x20, #8]
Lloh12:
	adrp	x9, lJTI0_0@PAGE
Lloh13:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	mov	w8, #1
Lloh14:
	adrp	x9, _V2_MODE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _V2_MODE@GOTPAGEOFF]
	str	w8, [x20]
Lloh16:
	ldr	w8, [x9]
Lloh17:
	adrp	x9, _CAP_MODE2@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CAP_MODE2@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x21
	bl	_pch_ch_control_write
Lloh20:
	adrp	x8, _PTP_L4_MULTICAST_SA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PTP_L4_MULTICAST_SA@GOTPAGEOFF]
	b	LBB0_15
LBB0_8:
Lloh22:
	adrp	x8, _ERANGE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldur	x8, [x29, #-40]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.11:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_12:
Lloh27:
	adrp	x8, _SLAVE_MODE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SLAVE_MODE@GOTPAGEOFF]
	str	wzr, [x20]
Lloh29:
	ldr	w8, [x8]
	b	LBB0_17
LBB0_13:
	str	wzr, [x20]
	b	LBB0_18
LBB0_14:
	mov	w8, #1
Lloh30:
	adrp	x9, _V2_MODE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _V2_MODE@GOTPAGEOFF]
	str	w8, [x20]
Lloh32:
	ldr	w8, [x9]
Lloh33:
	adrp	x9, _CAP_MODE2@GOTPAGE
Lloh34:
	ldr	x9, [x9, _CAP_MODE2@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x21
	bl	_pch_ch_control_write
Lloh36:
	adrp	x8, _PTP_L2_MULTICAST_SA@GOTPAGE
Lloh37:
	ldr	x8, [x8, _PTP_L2_MULTICAST_SA@GOTPAGEOFF]
LBB0_15:
	ldr	w1, [x8]
	add	x0, sp, #24
	bl	_strcpy
	add	x0, sp, #24
	mov	x1, x21
	bl	_pch_set_station_address
	b	LBB0_18
LBB0_16:
	mov	w8, #1
Lloh38:
	adrp	x9, _MASTER_MODE@GOTPAGE
Lloh39:
	ldr	x9, [x9, _MASTER_MODE@GOTPAGEOFF]
	str	w8, [x20]
Lloh40:
	ldr	w8, [x9]
LBB0_17:
Lloh41:
	adrp	x9, _CAP_MODE0@GOTPAGE
Lloh42:
	ldr	x9, [x9, _CAP_MODE0@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x21
	bl	_pch_ch_control_write
LBB0_18:
	ldr	x8, [sp]
	ldr	x9, [x22]
	cmp	x8, x9
	cset	w8, eq
Lloh44:
	adrp	x9, _TX_SNAPSHOT_LOCKED@GOTPAGE
Lloh45:
	ldr	x9, [x9, _TX_SNAPSHOT_LOCKED@GOTPAGEOFF]
	str	w8, [x20, #4]
Lloh46:
	ldr	w8, [x9]
Lloh47:
	adrp	x9, _RX_SNAPSHOT_LOCKED@GOTPAGE
Lloh48:
	ldr	x9, [x9, _RX_SNAPSHOT_LOCKED@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x21
	bl	_pch_ch_event_write
	ldr	w0, [x19]
	mov	x1, sp
	mov	w2, #24
	bl	_copy_to_user
Lloh50:
	adrp	x8, _EFAULT@GOTPAGE
Lloh51:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	cmp	x0, #0
	csneg	w0, wzr, w8, eq
	b	LBB0_10
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_12-LBB0_7)>>2
	.byte	(LBB0_16-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
                                        ; -- End function
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_HWTSTAMP_TX_OFF,8,3            ; @HWTSTAMP_TX_OFF
	.comm	_HWTSTAMP_TX_ON,8,3             ; @HWTSTAMP_TX_ON
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_SLAVE_MODE,4,2                 ; @SLAVE_MODE
	.comm	_CAP_MODE0,4,2                  ; @CAP_MODE0
	.comm	_MASTER_MODE,4,2                ; @MASTER_MODE
	.comm	_V2_MODE,4,2                    ; @V2_MODE
	.comm	_CAP_MODE2,4,2                  ; @CAP_MODE2
	.comm	_PTP_L4_MULTICAST_SA,4,2        ; @PTP_L4_MULTICAST_SA
	.comm	_PTP_L2_MULTICAST_SA,4,2        ; @PTP_L2_MULTICAST_SA
	.comm	_TX_SNAPSHOT_LOCKED,4,2         ; @TX_SNAPSHOT_LOCKED
	.comm	_RX_SNAPSHOT_LOCKED,4,2         ; @RX_SNAPSHOT_LOCKED
	.no_dead_strip	_hwtstamp_ioctl
.subsections_via_symbols
