	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixpdev_xmit
_ixpdev_xmit:                           ## @ixpdev_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%r12), %rax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_dev_kfree_skb
	jmp	LBB0_5
LBB0_2:
	movq	_tx_pointer@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rbx
	leal	1(%rbx), %eax
	movq	_TX_BUF_COUNT@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
	movl	%edx, (%rcx)
	movq	_tx_desc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	shlq	$4, %rbx
	movq	%rcx, (%rax,%rbx)
	movl	8(%r14), %ecx
	movl	%ecx, 12(%rax,%rbx)
	movl	8(%rax,%rbx), %edi
	callq	_phys_to_virt
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_skb_copy_and_csum_dev
	movq	%r12, %rdi
	callq	_dev_kfree_skb
	movq	_RING_TX_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TX_BUF_DESC_BASE@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	%rbx, %rsi
	callq	_ixp2000_reg_write
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	callq	_local_irq_save
	movq	(%r14), %rax
	incq	%rax
	movq	%rax, (%r14)
	movq	_TX_BUF_COUNT_PER_CHAN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_netif_stop_queue
LBB0_4:
	callq	_local_irq_restore
LBB0_5:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_tx_pointer,4,2                 ## @tx_pointer
	.comm	_TX_BUF_COUNT,4,2               ## @TX_BUF_COUNT
	.comm	_tx_desc,8,3                    ## @tx_desc
	.comm	_RING_TX_PENDING,4,2            ## @RING_TX_PENDING
	.comm	_TX_BUF_DESC_BASE,8,3           ## @TX_BUF_DESC_BASE
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_TX_BUF_COUNT_PER_CHAN,8,3      ## @TX_BUF_COUNT_PER_CHAN
	.no_dead_strip	_ixpdev_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixpdev_xmit
_ixpdev_xmit:                           ; @ixpdev_xmit
	.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	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_dev_kfree_skb
	b	LBB0_5
LBB0_2:
Lloh3:
	adrp	x8, _tx_pointer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tx_pointer@GOTPAGEOFF]
	ldrsw	x9, [x8]
	add	w10, w9, #1
Lloh5:
	adrp	x11, _TX_BUF_COUNT@GOTPAGE
Lloh6:
	ldr	x11, [x11, _TX_BUF_COUNT@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
	sdiv	w12, w10, w11
	msub	w10, w12, w11, w10
	str	w10, [x8]
Lloh8:
	adrp	x8, _tx_desc@GOTPAGE
Lloh9:
	ldr	x8, [x8, _tx_desc@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x10, [x21]
	lsl	x22, x9, #4
	add	x8, x8, x22
	str	x10, [x8]
	ldr	w9, [x20, #8]
	str	w9, [x8, #12]
	ldr	w0, [x8, #8]
	bl	_phys_to_virt
	mov	x1, x0
	mov	x0, x21
	bl	_skb_copy_and_csum_dev
	mov	x0, x21
	bl	_dev_kfree_skb
Lloh11:
	adrp	x8, _RING_TX_PENDING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RING_TX_PENDING@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _TX_BUF_DESC_BASE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TX_BUF_DESC_BASE@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	add	x1, x8, x22
	bl	_ixp2000_reg_write
Lloh17:
	adrp	x8, _jiffies@GOTPAGE
Lloh18:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x19]
	bl	_local_irq_save
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [x20]
Lloh20:
	adrp	x9, _TX_BUF_COUNT_PER_CHAN@GOTPAGE
Lloh21:
	ldr	x9, [x9, _TX_BUF_COUNT_PER_CHAN@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_netif_stop_queue
LBB0_4:
	bl	_local_irq_restore
LBB0_5:
Lloh23:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh25:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_tx_pointer,4,2                 ; @tx_pointer
	.comm	_TX_BUF_COUNT,4,2               ; @TX_BUF_COUNT
	.comm	_tx_desc,8,3                    ; @tx_desc
	.comm	_RING_TX_PENDING,4,2            ; @RING_TX_PENDING
	.comm	_TX_BUF_DESC_BASE,8,3           ; @TX_BUF_DESC_BASE
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_TX_BUF_COUNT_PER_CHAN,8,3      ; @TX_BUF_COUNT_PER_CHAN
	.no_dead_strip	_ixpdev_xmit
.subsections_via_symbols
