	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hamachi_tx
_hamachi_tx:                            ## @hamachi_tx
	.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	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r15
	movslq	8(%rax), %rax
	cmpq	%rax, (%r15)
	jle	LBB0_8
## %bb.1:
	movq	16(%r15), %rcx
	movq	_TX_RING_SIZE@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
	movslq	8(%r15), %rax
	incq	%rax
	movl	%eax, 8(%r15)
	cmpq	%rax, (%r15)
	jle	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	(%r13)
	movslq	%edx, %r14
	movl	(%rcx,%r14,8), %ebx
	movq	_DescOwn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	testl	%ebx, %eax
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r15), %rax
	movq	(%rax,%r14,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	32(%r15), %r12d
	movq	16(%r15), %rax
	movl	4(%rax,%r14,8), %edi
	callq	_leXX_to_cpu
	movl	(%rbx), %edx
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_pci_unmap_single
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	movq	24(%r15), %rax
	movq	$0, (%rax,%r14,8)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rcx
	movl	$0, (%rcx,%r14,8)
	movl	(%r13), %eax
	decl	%eax
	cmpl	%eax, %r14d
	jl	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_DescEndRing@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	16(%r15), %rcx
	movslq	(%r13), %rdx
	orl	%eax, -8(%rcx,%rdx,8)
	jmp	LBB0_7
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_RING_SIZE,4,2               ## @TX_RING_SIZE
	.comm	_DescOwn,4,2                    ## @DescOwn
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_DescEndRing,4,2                ## @DescEndRing
	.no_dead_strip	_hamachi_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hamachi_tx
_hamachi_tx:                            ; @hamachi_tx
	.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	x19, x0
	bl	_netdev_priv
	ldr	x8, [x0]
	ldrsw	x9, [x0, #8]
	cmp	x8, x9
	b.le	LBB0_8
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x23, _TX_RING_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TX_RING_SIZE@GOTPAGEOFF]
Lloh2:
	adrp	x24, _DescOwn@GOTPAGE
Lloh3:
	ldr	x24, [x24, _DescOwn@GOTPAGEOFF]
	ldr	x8, [x0, #16]
Lloh4:
	adrp	x25, _DescEndRing@GOTPAGE
Lloh5:
	ldr	x25, [x25, _DescEndRing@GOTPAGEOFF]
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
Lloh6:
	adrp	x26, _PCI_DMA_TODEVICE@GOTPAGE
Lloh7:
	ldr	x26, [x26, _PCI_DMA_TODEVICE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x19]
	add	w9, w9, #1
	str	w9, [x19]
	ldrsw	x9, [x20, #8]
	add	x9, x9, #1
	str	w9, [x20, #8]
	ldr	x10, [x20]
	cmp	x10, x9
	b.le	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x23]
	sdiv	w11, w9, w10
	msub	w21, w11, w10, w9
	sbfiz	x9, x21, #3, #32
	ldr	w22, [x8, x9]
	ldr	w0, [x24]
	bl	_cpu_to_le32
	tst	w0, w22
	b.ne	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x27, w21
	ldr	x8, [x20, #24]
	ldr	x21, [x8, x27, lsl #3]
	lsl	x28, x27, #3
	cbz	x21, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w22, [x20, #32]
	ldr	x8, [x20, #16]
	add	x8, x8, x28
	ldr	w0, [x8, #4]
	bl	_leXX_to_cpu
	mov	x1, x0
	ldr	w2, [x21]
	ldr	w3, [x26]
	mov	x0, x22
	bl	_pci_unmap_single
	mov	x0, x21
	bl	_dev_kfree_skb
	ldr	x8, [x20, #24]
	str	xzr, [x8, x28]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #16]
	str	wzr, [x8, x28]
	ldr	w9, [x23]
	sub	w9, w9, #1
	cmp	w27, w9
	b.lt	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x25]
	bl	_cpu_to_le32
	ldr	x8, [x20, #16]
	ldrsw	x9, [x23]
	add	x9, x8, x9, lsl #3
	ldur	w10, [x9, #-8]
	orr	w10, w10, w0
	stur	w10, [x9, #-8]
	b	LBB0_2
LBB0_8:
	mov	w0, #0
	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
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_RING_SIZE,4,2               ; @TX_RING_SIZE
	.comm	_DescOwn,4,2                    ; @DescOwn
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_DescEndRing,4,2                ; @DescEndRing
	.no_dead_strip	_hamachi_tx
.subsections_via_symbols
