	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nps_enet_tx_handler
_nps_enet_tx_handler:                   ## @nps_enet_tx_handler
	.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
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_NPS_ENET_REG_TX_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_nps_enet_reg_get
	movl	%eax, %r12d
	movq	_TX_CTL_ET_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_TX_CTL_ET_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_TX_CTL_NT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	andl	%r12d, %r13d
	movq	_TX_CTL_NT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r13d
	movq	%r15, %rdi
	callq	_nps_enet_is_tx_pending
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	andl	%r12d, %ebx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %ebx
	movq	_NPS_ENET_REG_TX_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_nps_enet_reg_set
	movl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	8(%r14), %rax
	movl	$1, %r13d
	jmp	LBB0_4
LBB0_3:
	incl	4(%r14)
	movq	%r14, %rax
LBB0_4:
	addl	%r13d, (%rax)
	movq	(%r15), %rdi
	callq	_dev_kfree_skb
	movq	$0, (%r15)
	movq	%r14, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_wake_queue               ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NPS_ENET_REG_TX_CTL,4,2        ## @NPS_ENET_REG_TX_CTL
	.comm	_TX_CTL_ET_MASK,4,2             ## @TX_CTL_ET_MASK
	.comm	_TX_CTL_ET_SHIFT,4,2            ## @TX_CTL_ET_SHIFT
	.comm	_TX_CTL_NT_MASK,4,2             ## @TX_CTL_NT_MASK
	.comm	_TX_CTL_NT_SHIFT,4,2            ## @TX_CTL_NT_SHIFT
	.no_dead_strip	_nps_enet_tx_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nps_enet_tx_handler
_nps_enet_tx_handler:                   ; @nps_enet_tx_handler
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x25, _NPS_ENET_REG_TX_CTL@GOTPAGE
Lloh1:
	ldr	x25, [x25, _NPS_ENET_REG_TX_CTL@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_nps_enet_reg_get
	mov	x21, x0
Lloh2:
	adrp	x8, _TX_CTL_ET_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TX_CTL_ET_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w22, [x8]
Lloh5:
	adrp	x8, _TX_CTL_ET_SHIFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TX_CTL_ET_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w26, [x8]
Lloh8:
	adrp	x8, _TX_CTL_NT_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TX_CTL_NT_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w24, [x8]
Lloh11:
	adrp	x8, _TX_CTL_NT_SHIFT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TX_CTL_NT_SHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w23, [x8]
	mov	x0, x20
	bl	_nps_enet_is_tx_pending
	cbz	w0, LBB0_6
; %bb.1:
	and	w8, w22, w21
	asr	w22, w8, w26
	ldr	w1, [x25]
	mov	x0, x20
	mov	w2, #0
	bl	_nps_enet_reg_set
	mov	x0, x22
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.2:
	add	x9, x19, #8
	mov	w8, #1
	b	LBB0_4
LBB0_3:
	and	w8, w24, w21
	asr	w8, w8, w23
	ldr	w9, [x19, #4]
	add	w9, w9, #1
	str	w9, [x19, #4]
	mov	x9, x19
LBB0_4:
	ldr	w10, [x9]
	add	w8, w10, w8
	str	w8, [x9]
	ldr	x0, [x20]
	bl	_dev_kfree_skb
	str	xzr, [x20]
	mov	x0, x19
	bl	_netif_queue_stopped
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_netif_wake_queue
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NPS_ENET_REG_TX_CTL,4,2        ; @NPS_ENET_REG_TX_CTL
	.comm	_TX_CTL_ET_MASK,4,2             ; @TX_CTL_ET_MASK
	.comm	_TX_CTL_ET_SHIFT,4,2            ; @TX_CTL_ET_SHIFT
	.comm	_TX_CTL_NT_MASK,4,2             ; @TX_CTL_NT_MASK
	.comm	_TX_CTL_NT_SHIFT,4,2            ; @TX_CTL_NT_SHIFT
	.no_dead_strip	_nps_enet_tx_handler
.subsections_via_symbols
