	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function de4x5_queue_pkt
_de4x5_queue_pkt:                       ## @de4x5_queue_pkt
	.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	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_netif_stop_queue
	cmpl	$0, 56(%r13)
	je	LBB0_25
## %bb.1:
	leaq	32(%r13), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_spin_lock_irqsave
	movq	%r15, %rdi
	callq	_de4x5_tx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_spin_unlock_irqrestore
	leaq	16(%r13), %r14
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	cmpq	$0, 48(%r13)
	je	LBB0_25
LBB0_3:
	movq	%r15, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_5
## %bb.4:
	movq	(%r13), %rax
	movq	40(%r13), %rcx
	cmpl	$2, (%rcx,%rax,8)
	jl	LBB0_10
LBB0_5:
	cmpq	$0, 48(%r13)
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_de4x5_putb_cache
	jmp	LBB0_8
LBB0_25:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb_any
	jmp	LBB0_26
LBB0_7:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_de4x5_put_cache
LBB0_8:
	movq	_de4x5_debug@GOTPCREL(%rip), %rax
	movq	_DEBUG_TX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_24
## %bb.9:
	movl	4(%r15), %r12d
	movq	_DE4X5_STS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inl
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_netif_queue_stopped
	movq	%rax, %r15
	movq	_DE4X5_IMR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inl
	movl	%eax, %ebx
	movq	_DE4X5_OMR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inl
	movq	(%r13), %rcx
	movq	40(%r13), %rdx
	cmpl	$2, (%rdx,%rcx,8)
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %rdx
	cmovgeq	%rcx, %rdx
	movq	%rdx, (%rsp)
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	movq	%r15, %rcx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	callq	_printk
LBB0_24:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
LBB0_26:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	cmpl	$0, (%rbx)
	jle	LBB0_24
## %bb.11:
	movq	%r13, %rdi
	addq	$24, %rdi
	callq	_skb_queue_empty
	testl	%eax, %eax
	jne	LBB0_14
## %bb.12:
	cmpq	$0, 48(%r13)
	jne	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_de4x5_put_cache
	movq	%r15, %rdi
	callq	_de4x5_get_cache
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_24
LBB0_14:
	movq	_TX_BUFFS_AVAIL@GOTPCREL(%rip), %r14
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%r15, %rdi
	callq	_de4x5_get_cache
	movq	%rax, %rbx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_spin_unlock_irqrestore
	testq	%rbx, %rbx
	je	LBB0_24
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	jne	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	(%r13), %rax
	movq	40(%r13), %rcx
	cmpl	$1, (%rcx,%rax,8)
	jg	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_spin_lock_irqsave
	movq	%r15, %rdi
	callq	_netif_stop_queue
	movl	4(%rbx), %esi
	movq	_TD_LS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_TD_IC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_TD_FS@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	orl	(%rbx), %edx
	movq	%r15, %rdi
	movq	%rbx, %rcx
	callq	_load_packet
	movl	(%rbx), %eax
	addl	%eax, 36(%r13)
	movq	_POLL_DEMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DE4X5_TPD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_outl
	movq	(%r13), %rax
	incq	%rax
	movslq	8(%r13), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_20:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%rdx, (%r13)
	cmpq	$0, (%r14)
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r15, %rdi
	callq	_netif_start_queue
	jmp	LBB0_22
LBB0_23:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_de4x5_putb_cache
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_de4x5_debug,4,2                ## @de4x5_debug
	.comm	_DEBUG_TX,4,2                   ## @DEBUG_TX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: transmit busy, lost media or stale skb found:\n  STS:%08x\n  tbusy:%d\n  IMR:%08x\n  OMR:%08x\n Stale skb: %s\n"

	.comm	_DE4X5_STS,4,2                  ## @DE4X5_STS
	.comm	_DE4X5_IMR,4,2                  ## @DE4X5_IMR
	.comm	_DE4X5_OMR,4,2                  ## @DE4X5_OMR
L_.str.1:                               ## @.str.1
	.asciz	"YES"

L_.str.2:                               ## @.str.2
	.asciz	"NO"

	.comm	_TD_IC,4,2                      ## @TD_IC
	.comm	_TD_LS,4,2                      ## @TD_LS
	.comm	_TD_FS,4,2                      ## @TD_FS
	.comm	_POLL_DEMAND,4,2                ## @POLL_DEMAND
	.comm	_DE4X5_TPD,4,2                  ## @DE4X5_TPD
	.comm	_TX_BUFFS_AVAIL,8,3             ## @TX_BUFFS_AVAIL
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_de4x5_queue_pkt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function de4x5_queue_pkt
_de4x5_queue_pkt:                       ; @de4x5_queue_pkt
	.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	x23, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	mov	x0, x21
	bl	_netif_stop_queue
	ldr	w8, [x20, #56]
	cbz	w8, LBB0_7
; %bb.1:
	add	x22, x20, #32
	mov	x0, x22
	mov	w1, #0
	bl	_spin_lock_irqsave
	mov	x0, x21
	bl	_de4x5_tx
	mov	x0, x22
	mov	w1, #0
	bl	_spin_unlock_irqrestore
	add	x19, x20, #16
	mov	w0, #0
	mov	x1, x19
	bl	_test_and_set_bit
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_7
LBB0_3:
	mov	x0, x21
	bl	_netif_queue_stopped
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x20, #40]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	cmp	w8, #1
	b.le	LBB0_13
LBB0_5:
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_8
; %bb.6:
	mov	x0, x21
	mov	x1, x23
	bl	_de4x5_putb_cache
	b	LBB0_9
LBB0_7:
	mov	x0, x23
	bl	_dev_kfree_skb_any
	b	LBB0_12
LBB0_8:
	mov	x0, x21
	mov	x1, x23
	bl	_de4x5_put_cache
LBB0_9:
Lloh0:
	adrp	x8, _de4x5_debug@GOTPAGE
Lloh1:
	ldr	x8, [x8, _de4x5_debug@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DEBUG_TX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DEBUG_TX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
	ldr	w22, [x21, #4]
Lloh6:
	adrp	x8, _DE4X5_STS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DE4X5_STS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_inl
	mov	x23, x0
	mov	x0, x21
	bl	_netif_queue_stopped
	mov	x21, x0
Lloh9:
	adrp	x8, _DE4X5_IMR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DE4X5_IMR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_inl
	mov	x24, x0
Lloh12:
	adrp	x8, _DE4X5_OMR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DE4X5_OMR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_inl
	mov	x5, x0
	ldr	x8, [x20, #40]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
Lloh15:
	adrp	x9, l_.str.2@PAGE
Lloh16:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh17:
	adrp	x10, l_.str.1@PAGE
Lloh18:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, #1
	csel	x6, x10, x9, gt
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	mov	x4, x24
	bl	_printk
LBB0_11:
	str	xzr, [x19]
LBB0_12:
Lloh21:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	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
LBB0_13:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.14:
	add	x0, x20, #24
	bl	_skb_queue_empty
	cbnz	w0, LBB0_17
; %bb.15:
	ldr	x8, [x20, #48]
	cbnz	x8, LBB0_17
; %bb.16:
	mov	x0, x21
	mov	x1, x23
	bl	_de4x5_put_cache
	mov	x0, x21
	bl	_de4x5_get_cache
	mov	x23, x0
	cbz	x0, LBB0_11
LBB0_17:
Lloh24:
	adrp	x25, _TD_LS@GOTPAGE
Lloh25:
	ldr	x25, [x25, _TD_LS@GOTPAGEOFF]
Lloh26:
	adrp	x26, _TD_FS@GOTPAGE
Lloh27:
	ldr	x26, [x26, _TD_FS@GOTPAGEOFF]
Lloh28:
	adrp	x27, _POLL_DEMAND@GOTPAGE
Lloh29:
	ldr	x27, [x27, _POLL_DEMAND@GOTPAGEOFF]
Lloh30:
	adrp	x28, _DE4X5_TPD@GOTPAGE
Lloh31:
	ldr	x28, [x28, _DE4X5_TPD@GOTPAGEOFF]
Lloh32:
	adrp	x24, _TX_BUFFS_AVAIL@GOTPAGE
Lloh33:
	ldr	x24, [x24, _TX_BUFFS_AVAIL@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x21
	bl	_de4x5_get_cache
	mov	x23, x0
	mov	x0, x22
	mov	w1, #0
	bl	_spin_unlock_irqrestore
	cbz	x23, LBB0_11
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_netif_queue_stopped
	cbnz	x0, LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x20, #40]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	cmp	w8, #1
	b.gt	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x22
	mov	w1, #0
	bl	_spin_lock_irqsave
	mov	x0, x21
	bl	_netif_stop_queue
Lloh34:
	adrp	x8, _TD_IC@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TD_IC@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	ldr	w9, [x25]
	orr	w8, w9, w8
	ldr	w9, [x26]
	orr	w8, w8, w9
	ldp	w9, w1, [x23]
	orr	w2, w8, w9
	mov	x0, x21
	mov	x3, x23
	bl	_load_packet
	ldr	w8, [x23]
	ldr	w9, [x20, #36]
	add	w8, w9, w8
	str	w8, [x20, #36]
	ldr	w0, [x27]
	ldr	w1, [x28]
	bl	_outl
	ldr	x8, [x20]
	add	x8, x8, #1
	ldrsw	x9, [x20, #8]
	udiv	x10, x8, x9
	msub	x8, x10, x9, x8
	str	x8, [x20]
	ldr	x8, [x24]
	cbz	x8, LBB0_18
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x21
	bl	_netif_start_queue
	b	LBB0_18
LBB0_23:
	mov	x0, x21
	mov	x1, x23
	bl	_de4x5_putb_cache
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_de4x5_debug,4,2                ; @de4x5_debug
	.comm	_DEBUG_TX,4,2                   ; @DEBUG_TX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: transmit busy, lost media or stale skb found:\n  STS:%08x\n  tbusy:%d\n  IMR:%08x\n  OMR:%08x\n Stale skb: %s\n"

	.comm	_DE4X5_STS,4,2                  ; @DE4X5_STS
	.comm	_DE4X5_IMR,4,2                  ; @DE4X5_IMR
	.comm	_DE4X5_OMR,4,2                  ; @DE4X5_OMR
l_.str.1:                               ; @.str.1
	.asciz	"YES"

l_.str.2:                               ; @.str.2
	.asciz	"NO"

	.comm	_TD_IC,4,2                      ; @TD_IC
	.comm	_TD_LS,4,2                      ; @TD_LS
	.comm	_TD_FS,4,2                      ; @TD_FS
	.comm	_POLL_DEMAND,4,2                ; @POLL_DEMAND
	.comm	_DE4X5_TPD,4,2                  ; @DE4X5_TPD
	.comm	_TX_BUFFS_AVAIL,8,3             ; @TX_BUFFS_AVAIL
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_de4x5_queue_pkt
.subsections_via_symbols
