	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmmac_tx_avail
_stmmac_tx_avail:                       ## @stmmac_tx_avail
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	shlq	$4, %rsi
	movq	(%rcx,%rsi), %rax
	movq	8(%rcx,%rsi), %rcx
	cmpq	%rcx, %rax
	jle	LBB0_2
## %bb.1:
	notq	%rcx
	addq	%rcx, %rax
	popq	%rbp
	retq
LBB0_2:
	movq	_DMA_TX_SIZE@GOTPCREL(%rip), %rdx
	notq	%rcx
	addq	%rcx, %rax
	addq	(%rdx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TX_SIZE,8,3                ## @DMA_TX_SIZE
	.no_dead_strip	_stmmac_tx_avail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmmac_tx_avail
_stmmac_tx_avail:                       ; @stmmac_tx_avail
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	add	x9, x8, x1, lsl #4
	ldp	x8, x9, [x9]
	cmp	x8, x9
	b.le	LBB0_2
; %bb.1:
	mvn	x9, x9
	add	x0, x8, x9
	ret
LBB0_2:
Lloh0:
	adrp	x10, _DMA_TX_SIZE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DMA_TX_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	mvn	x9, x9
	add	x8, x8, x9
	add	x0, x8, x10
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TX_SIZE,8,3                ; @DMA_TX_SIZE
	.no_dead_strip	_stmmac_tx_avail
.subsections_via_symbols
