	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function go_tx
_go_tx:                                 ## @go_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_D_DURING@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	*48(%rbx)
	movl	(%rbx), %r8d
	movl	4(%rbx), %r9d
	movl	8(%rbx), %ecx
	movl	%ecx, (%rsp)
	leaq	L_.str(%rip), %rdx
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%eax, %ecx
	callq	_arc_printk
	xorl	%eax, %eax
	cmpl	$-1, 8(%rbx)
	jne	LBB0_5
## %bb.1:
	cmpl	$-1, 4(%rbx)
	je	LBB0_5
## %bb.2:
	movq	_D_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BUGLVL
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	4(%rbx), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_arcnet_dump_packet
LBB0_4:
	movl	4(%rbx), %esi
	movl	%esi, 8(%rbx)
	movl	$-1, 4(%rbx)
	movq	_TXcmd@GOTPCREL(%rip), %rax
	shll	$3, %esi
	orl	(%rax), %esi
	movq	%r14, %rdi
	callq	*40(%rbx)
	incl	(%r14)
	movq	24(%rbx), %rax
	movq	%rax, 32(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movq	_TXFREEflag@GOTPCREL(%rip), %rax
	movq	_EXCNAKflag@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%rbx)
	movl	$1, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D_DURING,4,2                   ## @D_DURING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"go_tx: status=%Xh, intmask=%Xh, next_tx=%d, cur_tx=%d\n"

	.comm	_D_TX,4,2                       ## @D_TX
L_.str.1:                               ## @.str.1
	.asciz	"go_tx"

	.comm	_TXcmd,4,2                      ## @TXcmd
	.comm	_TXFREEflag,4,2                 ## @TXFREEflag
	.comm	_EXCNAKflag,4,2                 ## @EXCNAKflag
	.no_dead_strip	_go_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function go_tx
_go_tx:                                 ; @go_tx
	.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, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _D_DURING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D_DURING@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	x8, [x0, #48]
	mov	x0, x20
	blr	x8
	mov	x3, x0
	ldp	w4, w5, [x19]
	ldr	w6, [x19, #8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_arc_printk
	ldr	w8, [x19, #8]
	cmn	w8, #1
	b.eq	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_6
LBB0_2:
	ldr	w8, [x19, #4]
	cmn	w8, #1
	b.eq	LBB0_1
; %bb.3:
Lloh5:
	adrp	x8, _D_TX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _D_TX@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_BUGLVL
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w1, [x19, #4]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w3, #0
	bl	_arcnet_dump_packet
LBB0_5:
	ldr	w8, [x19, #4]
	mov	w9, #-1
	stp	w9, w8, [x19, #4]
	ldr	x9, [x19, #40]
Lloh10:
	adrp	x10, _TXcmd@GOTPAGE
Lloh11:
	ldr	x10, [x10, _TXcmd@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	orr	w1, w10, w8, lsl #3
	mov	x0, x20
	blr	x9
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	ldr	x8, [x19, #24]
	stp	xzr, x8, [x19, #24]
	str	xzr, [x19, #16]
Lloh13:
	adrp	x8, _TXFREEflag@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TXFREEflag@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _EXCNAKflag@GOTPAGE
Lloh17:
	ldr	x9, [x9, _EXCNAKflag@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	mov	w0, #1
LBB0_6:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_D_DURING,4,2                   ; @D_DURING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"go_tx: status=%Xh, intmask=%Xh, next_tx=%d, cur_tx=%d\n"

	.comm	_D_TX,4,2                       ; @D_TX
l_.str.1:                               ; @.str.1
	.asciz	"go_tx"

	.comm	_TXcmd,4,2                      ; @TXcmd
	.comm	_TXFREEflag,4,2                 ; @TXFREEflag
	.comm	_EXCNAKflag,4,2                 ; @EXCNAKflag
	.no_dead_strip	_go_tx
.subsections_via_symbols
