	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w90p910_send_frame
_w90p910_send_frame:                    ## @w90p910_send_frame
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r12
	movq	(%rax), %r15
	movq	8(%rax), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %r13
	movq	(%rcx,%r15,8), %rdi
	cmpl	$1515, %ebx                     ## imm = 0x5EB
	jl	LBB0_2
## %bb.1:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	16(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_err
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$1514, %ebx                     ## imm = 0x5EA
LBB0_2:
	movzwl	%bx, %eax
	movl	%eax, (%r13,%r15,8)
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	movq	_TX_OWEN_DMA@GOTPCREL(%rip), %rbx
	movq	_PADDINGMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rbx), %eax
	movq	_CRCMODE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MACTXINTEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%r13,%r15,8)
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_w90p910_enable_tx
	movq	%r14, %rdi
	callq	_w90p910_trigger_tx
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	incq	%rax
	movq	%rax, (%r12)
	movq	_TX_DESC_SIZE@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpq	(%rdx), %rax
	cmovbq	%rax, %rsi
	movq	%rsi, (%r12)
	movq	8(%rcx), %rax
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
	movl	(%rbx), %ecx
	testl	%ecx, 4(%rax,%rsi,8)
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_netif_stop_queue
LBB0_4:
	xorl	%eax, %eax
	addq	$24, %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	"send data %d bytes, check it\n"

	.comm	_TX_OWEN_DMA,4,2                ## @TX_OWEN_DMA
	.comm	_PADDINGMODE,4,2                ## @PADDINGMODE
	.comm	_CRCMODE,4,2                    ## @CRCMODE
	.comm	_MACTXINTEN,4,2                 ## @MACTXINTEN
	.comm	_TX_DESC_SIZE,8,3               ## @TX_DESC_SIZE
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_w90p910_send_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function w90p910_send_frame
_w90p910_send_frame:                    ; @w90p910_send_frame
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldp	x24, x8, [x0]
	ldp	x8, x25, [x8]
	ldr	x23, [x8, x24, lsl #3]
	cmp	w22, #1515
	b.lt	LBB0_2
; %bb.1:
	ldr	x0, [x20, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	bl	_dev_err
	mov	w22, #1514
LBB0_2:
	and	w8, w22, #0xffff
	add	x24, x25, x24, lsl #3
	str	w8, [x24]
	mov	x0, x23
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
Lloh2:
	adrp	x21, _TX_OWEN_DMA@GOTPAGE
Lloh3:
	ldr	x21, [x21, _TX_OWEN_DMA@GOTPAGEOFF]
Lloh4:
	adrp	x8, _PADDINGMODE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PADDINGMODE@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh6:
	ldr	w8, [x8]
	orr	w8, w8, w9
Lloh7:
	adrp	x9, _CRCMODE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CRCMODE@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh10:
	adrp	x9, _MACTXINTEN@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MACTXINTEN@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x24, #4]
	mov	x0, x19
	mov	w1, #1
	bl	_w90p910_enable_tx
	mov	x0, x19
	bl	_w90p910_trigger_tx
	ldp	x8, x9, [x20]
	add	x10, x8, #1
	str	x10, [x20]
Lloh13:
	adrp	x11, _TX_DESC_SIZE@GOTPAGE
Lloh14:
	ldr	x11, [x11, _TX_DESC_SIZE@GOTPAGEOFF]
Lloh15:
	ldr	x11, [x11]
	cmp	x10, x11
	csinc	x8, xzr, x8, hs
	str	x8, [x20]
	ldr	x9, [x9, #8]
Lloh16:
	adrp	x10, _jiffies@GOTPAGE
Lloh17:
	ldr	x10, [x10, _jiffies@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	str	w10, [x19]
	add	x8, x9, x8, lsl #3
	ldr	w8, [x8, #4]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_netif_stop_queue
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"send data %d bytes, check it\n"

	.comm	_TX_OWEN_DMA,4,2                ; @TX_OWEN_DMA
	.comm	_PADDINGMODE,4,2                ; @PADDINGMODE
	.comm	_CRCMODE,4,2                    ; @CRCMODE
	.comm	_MACTXINTEN,4,2                 ; @MACTXINTEN
	.comm	_TX_DESC_SIZE,8,3               ; @TX_DESC_SIZE
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_w90p910_send_frame
.subsections_via_symbols
