	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function net_send_packet
_net_send_packet:                       ## @net_send_packet
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_tx_queued@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rax
	movq	8(%r14), %r8
	movq	_ETH_ALEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,8), %r9d
	shll	$8, %r9d
	orl	4(%rax,%rcx,8), %r9d
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_netif_dbg
	callq	_local_irq_save
	movq	%rbx, %rdi
	callq	_netif_stop_queue
	movq	_PP_TxCMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r15), %rdx
	movq	%rbx, %rdi
	callq	_writereg
	movq	_PP_TxLength@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rdx
	movq	%rbx, %rdi
	callq	_writereg
	movq	_PP_BusST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_readreg
	movq	_READY_FOR_TX_NOW@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	_PP_TxFrame@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movq	8(%r14), %rdx
	incq	%rdx
	movq	%r14, %rdi
	callq	_skb_copy_from_linear_data
	callq	_local_irq_restore
	movq	%r14, %rdi
	callq	_dev_kfree_skb
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	callq	_local_irq_restore
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tx_queued,4,2                  ## @tx_queued
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sent %d byte packet of type %x\n"

	.comm	_ETH_ALEN,8,3                   ## @ETH_ALEN
	.comm	_PP_TxCMD,4,2                   ## @PP_TxCMD
	.comm	_PP_TxLength,4,2                ## @PP_TxLength
	.comm	_PP_BusST,4,2                   ## @PP_BusST
	.comm	_READY_FOR_TX_NOW,4,2           ## @READY_FOR_TX_NOW
	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_PP_TxFrame,8,3                 ## @PP_TxFrame
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_net_send_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function net_send_packet
_net_send_packet:                       ; @net_send_packet
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x21, x0
Lloh0:
	adrp	x8, _tx_queued@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tx_queued@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
	ldp	x9, x4, [x19]
Lloh5:
	ldr	x8, [x8]
	add	x8, x9, x8, lsl #3
	ldp	w9, w8, [x8]
	orr	w5, w8, w9, lsl #8
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x2, x20
	bl	_netif_dbg
	bl	_local_irq_save
	mov	x0, x20
	bl	_netif_stop_queue
Lloh8:
	adrp	x8, _PP_TxCMD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PP_TxCMD@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	x2, [x21]
	mov	x0, x20
	bl	_writereg
Lloh11:
	adrp	x8, _PP_TxLength@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PP_TxLength@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	x2, [x19, #8]
	mov	x0, x20
	bl	_writereg
Lloh14:
	adrp	x8, _PP_BusST@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PP_BusST@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_readreg
Lloh17:
	adrp	x8, _READY_FOR_TX_NOW@GOTPAGE
Lloh18:
	ldr	x8, [x8, _READY_FOR_TX_NOW@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x20]
Lloh20:
	adrp	x9, _PP_TxFrame@GOTPAGE
Lloh21:
	ldr	x9, [x9, _PP_TxFrame@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldr	x8, [x19, #8]
	add	x2, x8, #1
	mov	x0, x19
	bl	_skb_copy_from_linear_data
	bl	_local_irq_restore
	mov	x0, x19
	bl	_dev_kfree_skb
Lloh23:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	bl	_local_irq_restore
Lloh25:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_tx_queued,4,2                  ; @tx_queued
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sent %d byte packet of type %x\n"

	.comm	_ETH_ALEN,8,3                   ; @ETH_ALEN
	.comm	_PP_TxCMD,4,2                   ; @PP_TxCMD
	.comm	_PP_TxLength,4,2                ; @PP_TxLength
	.comm	_PP_BusST,4,2                   ; @PP_BusST
	.comm	_READY_FOR_TX_NOW,4,2           ; @READY_FOR_TX_NOW
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_PP_TxFrame,8,3                 ; @PP_TxFrame
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_net_send_packet
.subsections_via_symbols
