	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lan743x_ptp_tx_ts_enqueue_ts
_lan743x_ptp_tx_ts_enqueue_ts:          ## @lan743x_ptp_tx_ts_enqueue_ts
	.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	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	leaq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	8(%rbx), %rax
	movq	_LAN743X_PTP_NUMBER_OF_TX_TIMESTAMPS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_2
## %bb.1:
	movq	40(%rbx), %rcx
	movq	%r13, (%rcx,%rax,8)
	movq	32(%rbx), %rcx
	movq	%r12, (%rcx,%rax,8)
	movq	24(%rbx), %rcx
	movq	%r15, (%rcx,%rax,8)
	incq	%rax
	movq	%rax, 8(%rbx)
	jmp	LBB0_3
LBB0_2:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	callq	_netif_err
LBB0_3:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LAN743X_PTP_NUMBER_OF_TX_TIMESTAMPS,8,3 ## @LAN743X_PTP_NUMBER_OF_TX_TIMESTAMPS
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tx ts queue overflow\n"

	.no_dead_strip	_lan743x_ptp_tx_ts_enqueue_ts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lan743x_ptp_tx_ts_enqueue_ts
_lan743x_ptp_tx_ts_enqueue_ts:          ; @lan743x_ptp_tx_ts_enqueue_ts
	.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, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	add	x19, x0, #16
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x9, _LAN743X_PTP_NUMBER_OF_TX_TIMESTAMPS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LAN743X_PTP_NUMBER_OF_TX_TIMESTAMPS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.hs	LBB0_2
; %bb.1:
	ldr	x9, [x20, #40]
	lsl	x10, x8, #3
	str	x23, [x9, x10]
	ldr	x9, [x20, #32]
	str	x22, [x9, x10]
	ldr	x9, [x20, #24]
	str	x21, [x9, x10]
	add	x8, x8, #1
	str	x8, [x20, #8]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _drv@GOTPAGE
Lloh4:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x20]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netif_err
LBB0_3:
	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	_spin_unlock_bh
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LAN743X_PTP_NUMBER_OF_TX_TIMESTAMPS,8,3 ; @LAN743X_PTP_NUMBER_OF_TX_TIMESTAMPS
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tx ts queue overflow\n"

	.no_dead_strip	_lan743x_ptp_tx_ts_enqueue_ts
.subsections_via_symbols
