	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bmac_txdma_intr
_bmac_txdma_intr:                       ## @bmac_txdma_intr
	.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	%rsi, %r15
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%rax, %rdi
	addq	$16, %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movq	_txintcount@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%rdx)
	cmpl	$9, %eax
	jg	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_XXDEBUG
LBB0_2:
	movq	(%r12), %rbx
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, (%rcx,%rax,8)
	movq	$0, 24(%r12)
	movq	%r15, %rdi
	callq	_netif_wake_queue
	movq	(%r12), %rbx
	incq	%rbx
	movq	%rbx, (%r12)
	movq	_N_TX_RING@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	cmovaeq	%r14, %rbx
	movq	%rbx, (%r12)
	cmpq	8(%r12), %rbx
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	shlq	$2, %rbx
	addq	48(%r12), %rbx
	movq	%rbx, %rdi
	callq	_ld_le16
	movl	%eax, %r13d
	movq	_txintcount@GOTPCREL(%rip), %rax
	cmpl	$9, (%rax)
	jg	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r13d, %rdi
	callq	_XXDEBUG
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_ACTIVE@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	40(%r12), %rdi
	callq	_in_le32
	movl	%eax, %edi
	callq	_bus_to_virt
	cmpq	%rax, %rbx
	je	LBB0_10
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	movq	32(%r12), %rcx
	movq	(%rcx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	(%r15)
	callq	_dev_kfree_skb_irq
	movq	(%r12), %rax
	movq	32(%r12), %rcx
	jmp	LBB0_9
LBB0_10:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	movq	_txintcount@GOTPCREL(%rip), %rax
	cmpl	$9, (%rax)
	jg	LBB0_12
## %bb.11:
	leaq	L_.str.2(%rip), %rdi
	callq	_XXDEBUG
LBB0_12:
	movq	%r15, %rdi
	callq	_bmac_start
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_txintcount,4,2                 ## @txintcount
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bmac_txdma_intr\n"

	.comm	_ACTIVE,4,2                     ## @ACTIVE
	.comm	_N_TX_RING,8,3                  ## @N_TX_RING
L_.str.2:                               ## @.str.2
	.asciz	"bmac_txdma_intr done->bmac_start\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_bmac_txdma_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bmac_txdma_intr
_bmac_txdma_intr:                       ; @bmac_txdma_intr
	.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, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x21, x0
	add	x20, x0, #16
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x24, _txintcount@GOTPAGE
Lloh1:
	ldr	x24, [x24, _txintcount@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w9, w8, #1
	str	w9, [x24]
	cmp	w8, #9
	b.gt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_XXDEBUG
LBB0_2:
	ldr	x8, [x21]
Lloh4:
	adrp	x25, _ACTIVE@GOTPAGE
Lloh5:
	ldr	x25, [x25, _ACTIVE@GOTPAGEOFF]
Lloh6:
	adrp	x26, _N_TX_RING@GOTPAGE
Lloh7:
	ldr	x26, [x26, _N_TX_RING@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x8, x9, lsl #3]
	str	xzr, [x21, #24]
	mov	x0, x19
	bl	_netif_wake_queue
	ldp	x8, x9, [x21]
	add	x10, x8, #1
	str	x10, [x21]
	ldr	x11, [x26]
	cmp	x10, x11
	csinc	x8, xzr, x8, hs
	str	x8, [x21]
	cmp	x8, x9
	b.eq	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, #48]
	add	x22, x9, x8, lsl #2
	mov	x0, x22
	bl	_ld_le16
	mov	x23, x0
	ldr	w8, [x24]
	cmp	w8, #9
	b.gt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x0, w23
	bl	_XXDEBUG
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x25]
	tst	w8, w23
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x21, #40]
	bl	_in_le32
	bl	_bus_to_virt
	cmp	x22, x0
	b.eq	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #32]
	ldr	x9, [x21]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	bl	_dev_kfree_skb_irq
	ldr	x8, [x21, #32]
	ldr	x9, [x21]
	b	LBB0_3
LBB0_10:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	w8, [x24]
	cmp	w8, #9
	b.gt	LBB0_12
; %bb.11:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_XXDEBUG
LBB0_12:
	mov	x0, x19
	bl	_bmac_start
Lloh10:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_txintcount,4,2                 ; @txintcount
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bmac_txdma_intr\n"

	.comm	_ACTIVE,4,2                     ; @ACTIVE
	.comm	_N_TX_RING,8,3                  ; @N_TX_RING
l_.str.2:                               ; @.str.2
	.asciz	"bmac_txdma_intr done->bmac_start\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_bmac_txdma_intr
.subsections_via_symbols
