	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function el3_start_xmit
_el3_start_xmit:                        ## @el3_start_xmit
	.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, %r12
	movq	%rdi, %r14
	movl	(%rsi), %ebx
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movslq	(%r14), %r13
	movq	_EL3_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_inw
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_netdev_dbg
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movl	(%r14), %edi
	addl	%edi, 4(%r12)
	movq	_TX_FIFO@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	addq	%rbx, %rsi
	callq	_outw
	movq	(%r13), %rsi
	addq	%rbx, %rsi
	xorl	%edi, %edi
	callq	_outw
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	movl	(%r14), %edx
	movl	4(%r14), %esi
	addl	$3, %edx
	sarl	$2, %edx
	callq	_outsl
	movq	_TX_FREE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_inw
	cmpl	$1536, %eax                     ## imm = 0x600
	jg	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_netif_stop_queue
	movq	_SetTxThreshold@GOTPCREL(%rip), %rax
	movl	$1536, %edi                     ## imm = 0x600
	addl	(%rax), %edi
	movq	_EL3_CMD@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	%rbx, %rsi
	callq	_outw
LBB0_2:
	movq	%r12, %rdi
	callq	_pop_tx_status
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r14, %rdi
	callq	_dev_kfree_skb
	movq	_NETDEV_TX_OK@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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"el3_start_xmit(length = %ld) called, status %4.4x.\n"

	.comm	_EL3_STATUS,8,3                 ## @EL3_STATUS
	.comm	_TX_FIFO,8,3                    ## @TX_FIFO
	.comm	_TX_FREE,8,3                    ## @TX_FREE
	.comm	_SetTxThreshold,4,2             ## @SetTxThreshold
	.comm	_EL3_CMD,8,3                    ## @EL3_CMD
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_el3_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function el3_start_xmit
_el3_start_xmit:                        ; @el3_start_xmit
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w23, [x1]
	mov	x0, x1
	bl	_netdev_priv
	mov	x21, x0
	ldrsw	x22, [x19]
Lloh0:
	adrp	x8, _EL3_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EL3_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x0, x8, x23
	bl	_inw
	mov	x3, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_netdev_dbg
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	w0, [x19]
	ldr	w8, [x20, #4]
	add	w8, w8, w0
	str	w8, [x20, #4]
Lloh5:
	adrp	x22, _TX_FIFO@GOTPAGE
Lloh6:
	ldr	x22, [x22, _TX_FIFO@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x1, x8, x23
	bl	_outw
	ldr	x8, [x22]
	add	x1, x8, x23
	mov	w0, #0
	bl	_outw
	ldr	x8, [x22]
	add	x0, x8, x23
	ldp	w8, w1, [x19]
	add	w8, w8, #3
	asr	w2, w8, #2
	bl	_outsl
Lloh7:
	adrp	x8, _TX_FREE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TX_FREE@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	add	x0, x8, x23
	bl	_inw
	cmp	w0, #1536
	b.gt	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_netif_stop_queue
Lloh10:
	adrp	x8, _SetTxThreshold@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SetTxThreshold@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	add	w0, w8, #1536
Lloh13:
	adrp	x8, _EL3_CMD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EL3_CMD@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	add	x1, x8, x23
	bl	_outw
LBB0_2:
	mov	x0, x20
	bl	_pop_tx_status
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_dev_kfree_skb
Lloh16:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"el3_start_xmit(length = %ld) called, status %4.4x.\n"

	.comm	_EL3_STATUS,8,3                 ; @EL3_STATUS
	.comm	_TX_FIFO,8,3                    ; @TX_FIFO
	.comm	_TX_FREE,8,3                    ; @TX_FREE
	.comm	_SetTxThreshold,4,2             ; @SetTxThreshold
	.comm	_EL3_CMD,8,3                    ; @EL3_CMD
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_el3_start_xmit
.subsections_via_symbols
