	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arc_emac_tx_avail
_arc_emac_tx_avail:                     ## @arc_emac_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	_TX_BD_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%rdi), %edx
	addl	%ecx, %edx
	movl	4(%rdi), %eax
	notl	%eax
	addl	%edx, %eax
	cltd
	idivl	%ecx
	movl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_BD_NUM,4,2                  ## @TX_BD_NUM
	.no_dead_strip	_arc_emac_tx_avail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arc_emac_tx_avail
_arc_emac_tx_avail:                     ; @arc_emac_tx_avail
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TX_BD_NUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TX_BD_NUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w10, [x0]
	mvn	w10, w10
	add	w9, w8, w9
	add	w9, w9, w10
	sdiv	w10, w9, w8
	msub	w0, w10, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_BD_NUM,4,2                  ; @TX_BD_NUM
	.no_dead_strip	_arc_emac_tx_avail
.subsections_via_symbols
