	.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_skb
_lan743x_ptp_tx_ts_enqueue_skb:         ## @lan743x_ptp_tx_ts_enqueue_skb
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	8(%rbx), %rdi
	movq	_LAN743X_PTP_NUMBER_OF_TX_TIMESTAMPS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jae	LBB0_4
## %bb.1:
	movq	24(%rbx), %rax
	movq	%r15, (%rax,%rdi,8)
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.2:
	callq	_BIT
	orl	%eax, 20(%rbx)
	movq	8(%rbx), %rdi
LBB0_3:
	incq	%rdi
	movq	%rdi, 8(%rbx)
	jmp	LBB0_5
LBB0_4:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	callq	_netif_err
	movq	%r15, %rdi
	callq	_dev_kfree_skb
LBB0_5:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	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 skb queue overflow\n"

	.no_dead_strip	_lan743x_ptp_tx_ts_enqueue_skb
.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_skb
_lan743x_ptp_tx_ts_enqueue_skb:         ; @lan743x_ptp_tx_ts_enqueue_skb
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	add	x19, x0, #16
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	x0, [x20, #8]
Lloh0:
	adrp	x8, _LAN743X_PTP_NUMBER_OF_TX_TIMESTAMPS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LAN743X_PTP_NUMBER_OF_TX_TIMESTAMPS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.hs	LBB0_4
; %bb.1:
	ldr	x8, [x20, #24]
	str	x21, [x8, x0, lsl #3]
	cbz	w22, LBB0_3
; %bb.2:
	bl	_BIT
	ldr	w8, [x20, #20]
	orr	w8, w8, w0
	str	w8, [x20, #20]
	ldr	x0, [x20, #8]
LBB0_3:
	add	x8, x0, #1
	str	x8, [x20, #8]
	b	LBB0_5
LBB0_4:
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
	mov	x0, x21
	bl	_dev_kfree_skb
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 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 skb queue overflow\n"

	.no_dead_strip	_lan743x_ptp_tx_ts_enqueue_skb
.subsections_via_symbols
