	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pch_gbe_xmit_frame
_pch_gbe_xmit_frame:                    ## @pch_gbe_xmit_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_spin_trylock_irqsave
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_PCH_GBE_DESC_UNUSED
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_netif_stop_queue
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_NETDEV_TX_LOCKED@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_pch_gbe_tx_queue
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETDEV_TX_LOCKED,4,2           ## @NETDEV_TX_LOCKED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Return : BUSY  next_to use : 0x%08x  next_to clean : 0x%08x\n"

	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_pch_gbe_xmit_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pch_gbe_xmit_frame
_pch_gbe_xmit_frame:                    ; @pch_gbe_xmit_frame
	.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	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x22, x0
	ldr	x19, [x0]
	mov	x0, x19
	bl	_spin_trylock_irqsave
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_PCH_GBE_DESC_UNUSED
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_netif_stop_queue
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	ldp	w2, w1, [x19, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
Lloh2:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh4:
	adrp	x8, _NETDEV_TX_LOCKED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NETDEV_TX_LOCKED@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	bl	_pch_gbe_tx_queue
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh6:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_5:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NETDEV_TX_LOCKED,4,2           ; @NETDEV_TX_LOCKED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Return : BUSY  next_to use : 0x%08x  next_to clean : 0x%08x\n"

	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_pch_gbe_xmit_frame
.subsections_via_symbols
