	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qcaspi_tx_ring_has_space
_qcaspi_tx_ring_has_space:              ## @qcaspi_tx_ring_has_space
	.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
	movq	16(%rdi), %rdx
	xorl	%eax, %eax
	cmpq	$0, (%rdx,%rcx,8)
	je	LBB0_1
## %bb.2:
	popq	%rbp
	retq
LBB0_1:
	movq	_QCAFRM_MAX_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	addq	8(%rdi), %rcx
	movq	_QCASPI_HW_BUF_LEN@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	setl	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QCAFRM_MAX_LEN,8,3             ## @QCAFRM_MAX_LEN
	.comm	_QCASPI_HW_BUF_LEN,8,3          ## @QCASPI_HW_BUF_LEN
	.no_dead_strip	_qcaspi_tx_ring_has_space
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qcaspi_tx_ring_has_space
_qcaspi_tx_ring_has_space:              ; @qcaspi_tx_ring_has_space
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	ldr	x9, [x0]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _QCAFRM_MAX_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QCAFRM_MAX_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _QCASPI_HW_BUF_LEN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _QCASPI_HW_BUF_LEN@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x8, x9, x8
	cmp	x8, x10
	cset	w0, lt
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QCAFRM_MAX_LEN,8,3             ; @QCAFRM_MAX_LEN
	.comm	_QCASPI_HW_BUF_LEN,8,3          ; @QCASPI_HW_BUF_LEN
	.no_dead_strip	_qcaspi_tx_ring_has_space
.subsections_via_symbols
