	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ether3_tx
_ether3_tx:                             ## @ether3_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, %r14
	callq	_priv
	movl	(%rax), %ebx
	leaq	4(%r14), %r15
	leaq	12(%r14), %r12
	movl	$-14, %r13d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	(%rsi)
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	andl	$15, %ebx
	incl	%r13d
	je	LBB0_8
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_buffer_read@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %eax
	shll	$9, %eax
	leal	(%rax,%rax,2), %edx
	movq	%r14, %rdi
	callq	_ether3_setbuffer
	movq	%r14, %rdi
	callq	_ether3_readlong
	movq	_TXHDR_TRANSMIT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_TXSTAT_DONE@GOTPCREL(%rip), %rdx
	orq	(%rdx), %rcx
	movq	%rax, %rdx
	notq	%rdx
	testq	%rdx, %rcx
	jne	LBB0_8
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_TXSTAT_BABBLED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_TXSTAT_16COLLISIONS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, %rdi
	orq	%rcx, %rdi
	movq	%r12, %rsi
	testq	%rax, %rdi
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	8(%r14)
	testq	%rax, %rdx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	addl	$16, (%r14)
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rsi
	testq	%rax, %rcx
	jne	LBB0_6
	jmp	LBB0_7
LBB0_8:
	movq	%r14, %rdi
	callq	_priv
	cmpl	%ebx, (%rax)
	jne	LBB0_10
## %bb.9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r14, %rdi
	callq	_priv
	movl	%ebx, (%rax)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_wake_queue               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_buffer_read,4,2                ## @buffer_read
	.comm	_TXSTAT_DONE,8,3                ## @TXSTAT_DONE
	.comm	_TXHDR_TRANSMIT,8,3             ## @TXHDR_TRANSMIT
	.comm	_TXSTAT_BABBLED,8,3             ## @TXSTAT_BABBLED
	.comm	_TXSTAT_16COLLISIONS,8,3        ## @TXSTAT_16COLLISIONS
	.no_dead_strip	_ether3_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ether3_tx
_ether3_tx:                             ; @ether3_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	_priv
	ldr	w20, [x0]
	add	x21, x19, #4
	add	x22, x19, #12
	mov	w23, #-14
Lloh0:
	adrp	x24, _buffer_read@GOTPAGE
Lloh1:
	ldr	x24, [x24, _buffer_read@GOTPAGEOFF]
Lloh2:
	adrp	x25, _TXSTAT_DONE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _TXSTAT_DONE@GOTPAGEOFF]
Lloh4:
	adrp	x26, _TXHDR_TRANSMIT@GOTPAGE
Lloh5:
	ldr	x26, [x26, _TXHDR_TRANSMIT@GOTPAGEOFF]
Lloh6:
	adrp	x27, _TXSTAT_BABBLED@GOTPAGE
Lloh7:
	ldr	x27, [x27, _TXSTAT_BABBLED@GOTPAGEOFF]
Lloh8:
	adrp	x28, _TXSTAT_16COLLISIONS@GOTPAGE
Lloh9:
	ldr	x28, [x28, _TXSTAT_16COLLISIONS@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x10]
	add	w8, w8, #1
	str	w8, [x10]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w20, #1
	and	w20, w8, #0xf
	adds	w23, w23, #1
	b.hs	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	add	w8, w20, w20, lsl #1
	lsl	w2, w8, #9
	mov	x0, x19
	bl	_ether3_setbuffer
	mov	x0, x19
	bl	_ether3_readlong
	ldr	x8, [x25]
	ldr	x9, [x26]
	orr	x8, x9, x8
	bics	xzr, x8, x0
	b.ne	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x27]
	ldr	x9, [x28]
	orr	x11, x9, x8
	mov	x10, x22
	tst	x11, x0
	b.eq	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x19, #8]
	add	w10, w10, #1
	str	w10, [x19, #8]
	tst	x9, x0
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x19]
	add	w9, w9, #16
	str	w9, [x19]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x10, x21
	tst	x8, x0
	b.ne	LBB0_1
	b	LBB0_2
LBB0_8:
	mov	x0, x19
	bl	_priv
	ldr	w8, [x0]
	cmp	w8, w20
	b.ne	LBB0_10
; %bb.9:
	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_10:
	mov	x0, x19
	bl	_priv
	str	w20, [x0]
	mov	x0, x19
	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
	b	_netif_wake_queue
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_buffer_read,4,2                ; @buffer_read
	.comm	_TXSTAT_DONE,8,3                ; @TXSTAT_DONE
	.comm	_TXHDR_TRANSMIT,8,3             ; @TXHDR_TRANSMIT
	.comm	_TXSTAT_BABBLED,8,3             ; @TXSTAT_BABBLED
	.comm	_TXSTAT_16COLLISIONS,8,3        ; @TXSTAT_16COLLISIONS
	.no_dead_strip	_ether3_tx
.subsections_via_symbols
