	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91_irq_tx
_at91_irq_tx:                           ## @at91_irq_tx
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r12
	movq	(%rax), %rax
	cmpq	8(%r12), %rax
	jle	LBB0_7
## %bb.1:
	movq	_AT91_MSR_MABT@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	incq	%rcx
	movq	%rcx, 8(%r12)
	cmpq	%rcx, %rax
	jle	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_get_tx_echo_mb
	movl	%eax, %ebx
	movl	$1, %edx
	movl	%ebx, %ecx
	shll	%cl, %edx
	btl	%eax, %r15d
	jae	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_AT91_IDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_at91_write
	movl	%ebx, %edi
	callq	_AT91_MSR
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_at91_read
	movq	_AT91_MSR_MRDY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%cl
	notl	%eax
	andl	(%r13), %eax
	setne	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %esi
	movq	_AT91_MB_TX_FIRST@GOTPCREL(%rip), %rax
	subq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_can_get_echo_skb
	incl	(%r14)
	jmp	LBB0_6
LBB0_3:
	movq	(%r12), %rax
LBB0_7:
	movq	_AT91_NEXT_MASK@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	testq	%rcx, %rax
	je	LBB0_8
LBB0_10:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_wake_queue               ## TAILCALL
LBB0_8:
	testq	%rcx, 8(%r12)
	je	LBB0_10
## %bb.9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AT91_IDR,4,2                   ## @AT91_IDR
	.comm	_AT91_MSR_MRDY,4,2              ## @AT91_MSR_MRDY
	.comm	_AT91_MSR_MABT,4,2              ## @AT91_MSR_MABT
	.comm	_AT91_MB_TX_FIRST,8,3           ## @AT91_MB_TX_FIRST
	.comm	_AT91_NEXT_MASK,4,2             ## @AT91_NEXT_MASK
	.no_dead_strip	_at91_irq_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91_irq_tx
_at91_irq_tx:                           ; @at91_irq_tx
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldp	x8, x9, [x0]
	cmp	x8, x9
	b.le	LBB0_7
; %bb.1:
	mov	w23, #1
Lloh0:
	adrp	x24, _AT91_IDR@GOTPAGE
Lloh1:
	ldr	x24, [x24, _AT91_IDR@GOTPAGEOFF]
Lloh2:
	adrp	x25, _AT91_MSR_MRDY@GOTPAGE
Lloh3:
	ldr	x25, [x25, _AT91_MSR_MRDY@GOTPAGEOFF]
Lloh4:
	adrp	x26, _AT91_MSR_MABT@GOTPAGE
Lloh5:
	ldr	x26, [x26, _AT91_MSR_MABT@GOTPAGEOFF]
Lloh6:
	adrp	x27, _AT91_MB_TX_FIRST@GOTPAGE
Lloh7:
	ldr	x27, [x27, _AT91_MB_TX_FIRST@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldp	x8, x9, [x20]
	add	x9, x9, #1
	str	x9, [x20, #8]
	cmp	x8, x9
	b.le	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_get_tx_echo_mb
	lsl	w2, w23, w0
	tst	w2, w21
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
	ldr	w1, [x24]
	mov	x0, x20
	bl	_at91_write
	mov	x0, x22
	bl	_AT91_MSR
	mov	x1, x0
	mov	x0, x20
	bl	_at91_read
	ldr	w8, [x25]
	tst	w8, w0
	cset	w8, ne
	ldr	w9, [x26]
	bics	wzr, w9, w0
	cset	w9, ne
	and	w0, w8, w9
	bl	_likely
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, w22
	ldr	x9, [x27]
	sub	x1, x8, x9
	mov	x0, x19
	bl	_can_get_echo_skb
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_2
LBB0_6:
	ldr	x8, [x20]
LBB0_7:
Lloh8:
	adrp	x9, _AT91_NEXT_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AT91_NEXT_MASK@GOTPAGEOFF]
Lloh10:
	ldrsw	x9, [x9]
	tst	x8, x9
	b.eq	LBB0_9
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_netif_wake_queue
LBB0_9:
	ldr	x8, [x20, #8]
	tst	x8, x9
	b.eq	LBB0_8
; %bb.10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AT91_IDR,4,2                   ; @AT91_IDR
	.comm	_AT91_MSR_MRDY,4,2              ; @AT91_MSR_MRDY
	.comm	_AT91_MSR_MABT,4,2              ; @AT91_MSR_MABT
	.comm	_AT91_MB_TX_FIRST,8,3           ; @AT91_MB_TX_FIRST
	.comm	_AT91_NEXT_MASK,4,2             ; @AT91_NEXT_MASK
	.no_dead_strip	_at91_irq_tx
.subsections_via_symbols
