	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_queued_packets
_send_queued_packets:                   ## @send_queued_packets
	.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, %r12
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	leaq	36(%r12), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	movq	%rax, %r15
	leaq	24(%r12), %r13
	leaq	28(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_dequeue
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movq	(%r15), %rax
	movzbl	(%rax), %esi
	movq	_FC_SYNC_BIT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movq	_QUEUE_S@GOTPCREL(%rip), %rax
	andb	%sil, %cl
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_QUEUE_A0@GOTPCREL(%rip), %rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %ebx
	movl	8(%r15), %ecx
	movq	%r12, %rdi
	movl	$1, %edx
	movl	%ebx, %r8d
	callq	_hwm_tx_init
	movl	%eax, %r14d
	movq	_LAN_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_LOC_TX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%r14d, %eax
	je	LBB0_5
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	32(%r12)
	movq	(%r15), %rdi
	movl	(%r12), %esi
	callq	_CheckSourceAddress
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_HWM_GET_CURR_TXD
	movq	%rax, %rbx
	movq	(%r15), %rsi
	movl	8(%r15), %edx
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_pci_map_single
	movl	%eax, %r13d
	movq	_LAN_TX@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, 8(%rbx)
	movl	%r13d, (%rbx)
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rsi
	movl	8(%r15), %ecx
	movq	_FIRST_FRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	orl	%r14d, %r8d
	movq	_LAST_FRAG@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	_EN_IRQ_EOF@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_hwm_tx_frag
	movq	_LAN_TX@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r15), %edx
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_pci_unmap_single
	movq	%r15, %rdi
	callq	_dev_kfree_skb_irq
	jmp	LBB0_16
LBB0_17:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_debug                       ## TAILCALL
LBB0_5:
	movq	_RING_DOWN@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	jmp	LBB0_11
LBB0_7:
	movq	_OUT_OF_TXD@GOTPCREL(%rip), %rax
	movq	40(%r12), %rcx
	movl	(%rcx), %esi
	testl	%r14d, (%rax)
	je	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str.4(%rip), %rdi
LBB0_10:
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_skb_queue_head
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"send queued packets\n"

L_.str.1:                               ## @.str.1
	.asciz	"queue empty\n"

	.comm	_FC_SYNC_BIT,1,0                ## @FC_SYNC_BIT
	.comm	_QUEUE_S,4,2                    ## @QUEUE_S
	.comm	_QUEUE_A0,4,2                   ## @QUEUE_A0
	.comm	_LOC_TX,4,2                     ## @LOC_TX
	.comm	_LAN_TX,4,2                     ## @LAN_TX
	.comm	_RING_DOWN,4,2                  ## @RING_DOWN
L_.str.2:                               ## @.str.2
	.asciz	"Tx attempt while ring down.\n"

	.comm	_OUT_OF_TXD,4,2                 ## @OUT_OF_TXD
L_.str.3:                               ## @.str.3
	.asciz	"%s: out of TXDs.\n"

L_.str.4:                               ## @.str.4
	.asciz	"%s: out of transmit resources"

	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_FIRST_FRAG,4,2                 ## @FIRST_FRAG
	.comm	_LAST_FRAG,4,2                  ## @LAST_FRAG
	.comm	_EN_IRQ_EOF,4,2                 ## @EN_IRQ_EOF
	.comm	_FC_ASYNC_LLC,1,0               ## @FC_ASYNC_LLC
	.comm	_FC_LLC_PRIOR,1,0               ## @FC_LLC_PRIOR
	.no_dead_strip	_send_queued_packets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_queued_packets
_send_queued_packets:                   ; @send_queued_packets
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	add	x19, x22, #36
	mov	x0, x19
	bl	_skb_dequeue
	cbz	x0, LBB0_8
; %bb.1:
	mov	x21, x0
	add	x20, x22, #24
	add	x23, x22, #28
Lloh2:
	adrp	x27, _LAN_TX@GOTPAGE
Lloh3:
	ldr	x27, [x27, _LAN_TX@GOTPAGEOFF]
Lloh4:
	adrp	x28, _PCI_DMA_TODEVICE@GOTPAGE
Lloh5:
	ldr	x28, [x28, _PCI_DMA_TODEVICE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_skb_dequeue
	mov	x21, x0
	cbz	x0, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x8, [x21]
	ldrb	w1, [x8]
Lloh6:
	adrp	x8, _FC_SYNC_BIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FC_SYNC_BIT@GOTPAGEOFF]
	ldrb	w8, [x8]
	tst	w8, w1
Lloh8:
	adrp	x8, _QUEUE_S@GOTPAGE
Lloh9:
	ldr	x8, [x8, _QUEUE_S@GOTPAGEOFF]
Lloh10:
	adrp	x9, _QUEUE_A0@GOTPAGE
Lloh11:
	ldr	x9, [x9, _QUEUE_A0@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w25, [x8]
	ldr	w3, [x21, #8]
	mov	x0, x22
	mov	w2, #1
	mov	x4, x25
	bl	_hwm_tx_init
	mov	x24, x0
Lloh12:
	adrp	x8, _LOC_TX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LOC_TX@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x27]
	orr	w8, w9, w8
	tst	w8, w0
	b.eq	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22, #32]
	add	w8, w8, #1
	str	w8, [x22, #32]
	ldr	x0, [x21]
	ldr	w1, [x22]
	bl	_CheckSourceAddress
	mov	x0, x22
	mov	x1, x25
	bl	_HWM_GET_CURR_TXD
	mov	x26, x0
	ldr	x1, [x21]
	ldr	w2, [x21, #8]
	ldr	w3, [x28]
	mov	x0, x23
	bl	_pci_map_single
	mov	x25, x0
	ldr	w8, [x27]
	tst	w8, w24
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x21, [x26, #8]
	str	w25, [x26]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x21]
	ldr	w3, [x21, #8]
Lloh15:
	adrp	x8, _FIRST_FRAG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FIRST_FRAG@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	orr	w8, w8, w24
Lloh18:
	adrp	x9, _LAST_FRAG@GOTPAGE
Lloh19:
	ldr	x9, [x9, _LAST_FRAG@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _EN_IRQ_EOF@GOTPAGE
Lloh22:
	ldr	x9, [x9, _EN_IRQ_EOF@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w4, w8, w9
	mov	x0, x22
	mov	x2, x25
	bl	_hwm_tx_frag
	ldr	w8, [x27]
	tst	w8, w24
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x21, #8]
	ldr	w3, [x28]
	mov	x0, x23
	mov	x1, x25
	bl	_pci_unmap_single
	mov	x0, x21
	bl	_dev_kfree_skb_irq
	b	LBB0_2
LBB0_8:
Lloh24:
	adrp	x0, l_.str.1@PAGE
Lloh25:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_pr_debug
LBB0_9:
Lloh26:
	adrp	x8, _RING_DOWN@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RING_DOWN@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_11
; %bb.10:
Lloh29:
	adrp	x0, l_.str.2@PAGE
Lloh30:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_11:
Lloh31:
	adrp	x8, _OUT_OF_TXD@GOTPAGE
Lloh32:
	ldr	x8, [x8, _OUT_OF_TXD@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x8]
	ldr	x8, [x22, #40]
	ldr	w8, [x8]
	tst	w9, w24
	b.eq	LBB0_13
; %bb.12:
	str	x8, [sp]
Lloh34:
	adrp	x0, l_.str.3@PAGE
Lloh35:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_13:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh36:
	adrp	x0, l_.str.4@PAGE
Lloh37:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_14:
	bl	_pr_debug
	mov	x0, x19
	mov	x1, x21
	bl	_skb_queue_head
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_spin_unlock_irqrestore
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"send queued packets\n"

l_.str.1:                               ; @.str.1
	.asciz	"queue empty\n"

	.comm	_FC_SYNC_BIT,1,0                ; @FC_SYNC_BIT
	.comm	_QUEUE_S,4,2                    ; @QUEUE_S
	.comm	_QUEUE_A0,4,2                   ; @QUEUE_A0
	.comm	_LOC_TX,4,2                     ; @LOC_TX
	.comm	_LAN_TX,4,2                     ; @LAN_TX
	.comm	_RING_DOWN,4,2                  ; @RING_DOWN
l_.str.2:                               ; @.str.2
	.asciz	"Tx attempt while ring down.\n"

	.comm	_OUT_OF_TXD,4,2                 ; @OUT_OF_TXD
l_.str.3:                               ; @.str.3
	.asciz	"%s: out of TXDs.\n"

l_.str.4:                               ; @.str.4
	.asciz	"%s: out of transmit resources"

	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_FIRST_FRAG,4,2                 ; @FIRST_FRAG
	.comm	_LAST_FRAG,4,2                  ; @LAST_FRAG
	.comm	_EN_IRQ_EOF,4,2                 ; @EN_IRQ_EOF
	.comm	_FC_ASYNC_LLC,1,0               ; @FC_ASYNC_LLC
	.comm	_FC_LLC_PRIOR,1,0               ; @FC_LLC_PRIOR
	.no_dead_strip	_send_queued_packets
.subsections_via_symbols
