	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_prep_tx_tstamp
_xgbe_prep_tx_tstamp:                   ## @xgbe_prep_tx_tstamp
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rdx), %edi
	movq	_TX_PACKET_ATTRIBUTES@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_PTP@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	callq	_XGMAC_GET_BITS
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, 4(%r15)
	je	LBB0_3
## %bb.2:
	movl	(%rbx), %edi
	movl	(%r12), %esi
	movl	(%r13), %edx
	xorl	%ecx, %ecx
	callq	_XGMAC_SET_BITS
	jmp	LBB0_4
LBB0_3:
	movq	%r14, %rdi
	callq	_skb_get
	movl	%eax, 4(%r15)
	movq	_SKBTX_IN_PROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_skb_shinfo
	orl	%ebx, (%rax)
LBB0_4:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
LBB0_5:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_skb_tx_timestamp               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_PACKET_ATTRIBUTES,4,2       ## @TX_PACKET_ATTRIBUTES
	.comm	_PTP,4,2                        ## @PTP
	.comm	_SKBTX_IN_PROGRESS,4,2          ## @SKBTX_IN_PROGRESS
	.no_dead_strip	_xgbe_prep_tx_tstamp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_prep_tx_tstamp
_xgbe_prep_tx_tstamp:                   ; @xgbe_prep_tx_tstamp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x2]
Lloh0:
	adrp	x22, _TX_PACKET_ATTRIBUTES@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TX_PACKET_ATTRIBUTES@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x23, _PTP@GOTPAGE
Lloh3:
	ldr	x23, [x23, _PTP@GOTPAGEOFF]
	ldr	w2, [x23]
	bl	_XGMAC_GET_BITS
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	w0, [x21]
	ldr	w1, [x22]
	ldr	w2, [x23]
	mov	w3, #0
	bl	_XGMAC_SET_BITS
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_skb_get
	str	w0, [x20, #4]
Lloh4:
	adrp	x8, _SKBTX_IN_PROGRESS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SKBTX_IN_PROGRESS@GOTPAGEOFF]
Lloh6:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_skb_shinfo
	ldr	w8, [x0]
	orr	w8, w8, w21
	str	w8, [x0]
LBB0_4:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_skb_tx_timestamp
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_PACKET_ATTRIBUTES,4,2       ; @TX_PACKET_ATTRIBUTES
	.comm	_PTP,4,2                        ; @PTP
	.comm	_SKBTX_IN_PROGRESS,4,2          ; @SKBTX_IN_PROGRESS
	.no_dead_strip	_xgbe_prep_tx_tstamp
.subsections_via_symbols
