	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pch_tx_timestamp
_pch_tx_timestamp:                      ## @pch_tx_timestamp
	.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	$24, %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	%rdi, %r14
	movq	%rsi, %rdi
	callq	_skb_shinfo
	movq	%rax, %r15
	movq	_SKBTX_HW_TSTAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, 8(%r14)
	sete	%dil
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_3:
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_11
## %bb.4:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_SKBTX_IN_PROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movq	(%r14), %r12
	movl	$100, %r14d
	movq	_TX_SNAPSHOT_LOCKED@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_pch_ch_event_read
	movl	%eax, %ebx
	movl	(%r13), %eax
	testl	%ebx, %eax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	callq	_udelay
	decl	%r14d
	jne	LBB0_5
## %bb.7:
	movl	(%r13), %eax
LBB0_8:
	testl	%ebx, %eax
	je	LBB0_9
## %bb.10:
	movq	%r12, %rdi
	callq	_pch_tx_snap_read
	movl	%eax, %ebx
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	%ebx, %edi
	callq	_ns_to_ktime
	movl	%eax, -48(%rbp)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_skb_tstamp_tx
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_pch_ch_event_write
	jmp	LBB0_11
LBB0_9:
	movq	_SKBTX_IN_PROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r15)
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SKBTX_HW_TSTAMP,4,2            ## @SKBTX_HW_TSTAMP
	.comm	_SKBTX_IN_PROGRESS,4,2          ## @SKBTX_IN_PROGRESS
	.comm	_TX_SNAPSHOT_LOCKED,4,2         ## @TX_SNAPSHOT_LOCKED
	.no_dead_strip	_pch_tx_timestamp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pch_tx_timestamp
_pch_tx_timestamp:                      ; @pch_tx_timestamp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_skb_shinfo
	mov	x20, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _SKBTX_HW_TSTAMP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SKBTX_HW_TSTAMP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x21, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_likely
	cbnz	x0, LBB0_10
	b	LBB0_3
LBB0_2:
	mov	w0, #1
	bl	_likely
	cbnz	x0, LBB0_10
LBB0_3:
Lloh3:
	adrp	x24, _SKBTX_IN_PROGRESS@GOTPAGE
Lloh4:
	ldr	x24, [x24, _SKBTX_IN_PROGRESS@GOTPAGEOFF]
	ldr	w8, [x24]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	ldr	x21, [x21]
	mov	w25, #100
Lloh5:
	adrp	x23, _TX_SNAPSHOT_LOCKED@GOTPAGE
Lloh6:
	ldr	x23, [x23, _TX_SNAPSHOT_LOCKED@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_pch_ch_event_read
	mov	x22, x0
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	bl	_udelay
	subs	w25, w25, #1
	b.ne	LBB0_4
; %bb.6:
	ldr	w8, [x23]
LBB0_7:
	tst	w8, w22
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x21
	bl	_pch_tx_snap_read
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x20
	bl	_ns_to_ktime
	str	w0, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_skb_tstamp_tx
	ldr	w1, [x23]
	mov	x0, x21
	bl	_pch_ch_event_write
	b	LBB0_10
LBB0_9:
	ldr	w8, [x24]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SKBTX_HW_TSTAMP,4,2            ; @SKBTX_HW_TSTAMP
	.comm	_SKBTX_IN_PROGRESS,4,2          ; @SKBTX_IN_PROGRESS
	.comm	_TX_SNAPSHOT_LOCKED,4,2         ; @TX_SNAPSHOT_LOCKED
	.no_dead_strip	_pch_tx_timestamp
.subsections_via_symbols
