	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_act2000_isa_send               ## -- Begin function act2000_isa_send
	.p2align	4, 0x90
_act2000_isa_send:                      ## @act2000_isa_send
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_ACT2000_LOCK_TX@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	32(%rbx), %r14
	movq	%r14, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_1
## %bb.15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	36(%rbx), %r15
	leaq	40(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	8(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_dev_kfree_skb
	movq	$0, (%rbx)
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	cmpq	$0, (%rbx)
	je	LBB0_3
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	(%rbx), %r13
	testq	%r13, %r13
	je	LBB0_16
	.p2align	4, 0x90
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%r13)
	je	LBB0_11
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_act2000_isa_writeb
	testq	%rax, %rax
	jne	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_skb_pull
	cmpq	$0, 8(%r13)
	jne	LBB0_9
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rax
	cmpl	$134, 8(%rax)
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%rax)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, (%r13)
	movq	16(%rbx), %rcx
	movq	%rcx, (%rax)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_skb_queue_tail
	movq	$0, (%rbx)
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_dequeue
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	cmpl	$134, 8(%rax)
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%rax)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rcx
	movq	%rcx, 16(%rbx)
	movq	$0, (%rax)
	jmp	LBB0_7
LBB0_17:
	movl	(%r12), %edi
	movq	%r14, %rsi
	callq	_test_and_clear_bit
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_act2000_schedule_tx            ## TAILCALL
LBB0_16:
	movl	(%r12), %edi
	movq	%r14, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_test_and_clear_bit             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ACT2000_LOCK_TX,4,2            ## @ACT2000_LOCK_TX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_act2000_isa_send               ; -- Begin function act2000_isa_send
	.p2align	2
_act2000_isa_send:                      ; @act2000_isa_send
	.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
Lloh0:
	adrp	x25, _ACT2000_LOCK_TX@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ACT2000_LOCK_TX@GOTPAGEOFF]
	ldr	w0, [x25]
	add	x20, x19, #32
	mov	x1, x20
	bl	_test_and_set_bit
	cbz	x0, LBB0_2
; %bb.1:
	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
LBB0_2:
	add	x21, x19, #36
	add	x22, x19, #40
	add	x23, x19, #8
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_dev_kfree_skb
	str	xzr, [x19]
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x8, [x19]
	cbz	x8, LBB0_12
LBB0_5:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	ldr	x24, [x19]
	cbz	x24, LBB0_17
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24, #8]
	cbz	x8, LBB0_9
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x24]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_act2000_isa_writeb
	cbnz	x0, LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x24
	mov	w1, #1
	bl	_skb_pull
	ldr	x8, [x24, #8]
	cbnz	x8, LBB0_7
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #24]
	ldr	w9, [x8, #8]
	cmp	w9, #134
	b.ne	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x8, #16]
	cbnz	x9, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	str	x8, [x24]
	ldr	x9, [x19, #16]
	str	x9, [x8]
	mov	x0, x23
	mov	x1, x24
	bl	_skb_queue_tail
	str	xzr, [x19]
	b	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_skb_dequeue
	str	x0, [x19]
	cbz	x0, LBB0_5
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x0]
	str	x8, [x19, #24]
	ldr	w9, [x8, #8]
	cmp	w9, #134
	b.ne	LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x8, #16]
	cbnz	x9, LBB0_5
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x8]
	str	x9, [x19, #16]
	str	xzr, [x8]
	b	LBB0_5
LBB0_16:
	ldr	w0, [x25]
	mov	x1, x20
	bl	_test_and_clear_bit
	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	_act2000_schedule_tx
LBB0_17:
	ldr	w0, [x25]
	mov	x1, x20
	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	_test_and_clear_bit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ACT2000_LOCK_TX,4,2            ; @ACT2000_LOCK_TX
.subsections_via_symbols
