	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lan743x_ptp_isr                ## -- Begin function lan743x_ptp_isr
	.p2align	4, 0x90
_lan743x_ptp_isr:                       ## @lan743x_ptp_isr
	.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	%rdi, %r14
	movq	_INT_EN_CLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INT_BIT_1588_@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_lan743x_csr_write
	movq	_PTP_INT_STS@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_lan743x_csr_read
	movl	%eax, %r15d
	movq	_PTP_INT_EN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_lan743x_csr_read
	movl	%eax, %ebx
	andl	%r15d, %ebx
	movq	_PTP_INT_BIT_TX_TS_@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	testl	%r15d, %ebx
	je	LBB0_2
## %bb.1:
	movl	4(%r14), %edi
	xorl	%esi, %esi
	callq	_ptp_schedule_worker
LBB0_2:
	movq	_PTP_INT_BIT_TX_SWTS_ERR_@GOTPCREL(%rip), %r12
	testl	%ebx, (%r12)
	je	LBB0_4
## %bb.3:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_netif_err
	movl	(%r13), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_lan743x_csr_write
LBB0_4:
	movq	_PTP_INT_BIT_TIMER_B_@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ebx, %edx
	je	LBB0_6
## %bb.5:
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_lan743x_csr_write
LBB0_6:
	movq	_PTP_INT_BIT_TIMER_A_@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ebx, %edx
	je	LBB0_8
## %bb.7:
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_lan743x_csr_write
LBB0_8:
	testl	%r15d, %ebx
	je	LBB0_10
## %bb.9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_INT_EN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INT_BIT_1588_@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lan743x_csr_write              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_EN_CLR,4,2                 ## @INT_EN_CLR
	.comm	_INT_BIT_1588_,4,2              ## @INT_BIT_1588_
	.comm	_PTP_INT_STS,4,2                ## @PTP_INT_STS
	.comm	_PTP_INT_EN_SET,4,2             ## @PTP_INT_EN_SET
	.comm	_PTP_INT_BIT_TX_TS_,4,2         ## @PTP_INT_BIT_TX_TS_
	.comm	_PTP_INT_BIT_TX_SWTS_ERR_,4,2   ## @PTP_INT_BIT_TX_SWTS_ERR_
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PTP TX Software Timestamp Error\n"

	.comm	_PTP_INT_BIT_TIMER_B_,4,2       ## @PTP_INT_BIT_TIMER_B_
	.comm	_PTP_INT_BIT_TIMER_A_,4,2       ## @PTP_INT_BIT_TIMER_A_
	.comm	_INT_EN_SET,4,2                 ## @INT_EN_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lan743x_ptp_isr                ; -- Begin function lan743x_ptp_isr
	.p2align	2
_lan743x_ptp_isr:                       ; @lan743x_ptp_isr
	.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	x19, x0
Lloh0:
	adrp	x8, _INT_EN_CLR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_EN_CLR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x21, _INT_BIT_1588_@GOTPAGE
Lloh4:
	ldr	x21, [x21, _INT_BIT_1588_@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_lan743x_csr_write
Lloh5:
	adrp	x22, _PTP_INT_STS@GOTPAGE
Lloh6:
	ldr	x22, [x22, _PTP_INT_STS@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_lan743x_csr_read
	mov	x20, x0
Lloh7:
	adrp	x8, _PTP_INT_EN_SET@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PTP_INT_EN_SET@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_lan743x_csr_read
	and	w23, w0, w20
Lloh10:
	adrp	x8, _PTP_INT_BIT_TX_TS_@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PTP_INT_BIT_TX_TS_@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ands	w20, w23, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
	mov	w1, #0
	bl	_ptp_schedule_worker
LBB0_2:
Lloh13:
	adrp	x24, _PTP_INT_BIT_TX_SWTS_ERR_@GOTPAGE
Lloh14:
	ldr	x24, [x24, _PTP_INT_BIT_TX_SWTS_ERR_@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w23
	b.eq	LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, _drv@GOTPAGE
Lloh16:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [x19]
Lloh18:
	adrp	x3, l_.str@PAGE
Lloh19:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netif_err
	ldr	w1, [x22]
	ldr	w2, [x24]
	mov	x0, x19
	bl	_lan743x_csr_write
LBB0_4:
Lloh20:
	adrp	x8, _PTP_INT_BIT_TIMER_B_@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PTP_INT_BIT_TIMER_B_@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	tst	w2, w23
	b.eq	LBB0_6
; %bb.5:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_lan743x_csr_write
LBB0_6:
Lloh23:
	adrp	x8, _PTP_INT_BIT_TIMER_A_@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PTP_INT_BIT_TIMER_A_@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	tst	w2, w23
	b.eq	LBB0_8
; %bb.7:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_lan743x_csr_write
LBB0_8:
	cbz	w20, LBB0_10
; %bb.9:
	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
	ret
LBB0_10:
Lloh26:
	adrp	x8, _INT_EN_SET@GOTPAGE
Lloh27:
	ldr	x8, [x8, _INT_EN_SET@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	w2, [x21]
	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	_lan743x_csr_write
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_EN_CLR,4,2                 ; @INT_EN_CLR
	.comm	_INT_BIT_1588_,4,2              ; @INT_BIT_1588_
	.comm	_PTP_INT_STS,4,2                ; @PTP_INT_STS
	.comm	_PTP_INT_EN_SET,4,2             ; @PTP_INT_EN_SET
	.comm	_PTP_INT_BIT_TX_TS_,4,2         ; @PTP_INT_BIT_TX_TS_
	.comm	_PTP_INT_BIT_TX_SWTS_ERR_,4,2   ; @PTP_INT_BIT_TX_SWTS_ERR_
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PTP TX Software Timestamp Error\n"

	.comm	_PTP_INT_BIT_TIMER_B_,4,2       ; @PTP_INT_BIT_TIMER_B_
	.comm	_PTP_INT_BIT_TIMER_A_,4,2       ; @PTP_INT_BIT_TIMER_A_
	.comm	_INT_EN_SET,4,2                 ; @INT_EN_SET
.subsections_via_symbols
