	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_ringmemory
_free_ringmemory:                       ## @free_ringmemory
	.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), %rax
	movq	_B43_DMA_64BIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_B43_DMA64_RINGMEMSIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_B43_DMA32_RINGMEMSIZE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	12(%rdi), %edx
	movl	8(%rdi), %ecx
	movl	%eax, %edi
	popq	%rbp
	jmp	_dma_free_coherent              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_DMA_64BIT,8,3              ## @B43_DMA_64BIT
	.comm	_B43_DMA64_RINGMEMSIZE,4,2      ## @B43_DMA64_RINGMEMSIZE
	.comm	_B43_DMA32_RINGMEMSIZE,4,2      ## @B43_DMA32_RINGMEMSIZE
	.no_dead_strip	_free_ringmemory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_ringmemory
_free_ringmemory:                       ; @free_ringmemory
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _B43_DMA_64BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_DMA_64BIT@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x10, _B43_DMA64_RINGMEMSIZE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _B43_DMA64_RINGMEMSIZE@GOTPAGEOFF]
Lloh5:
	adrp	x11, _B43_DMA32_RINGMEMSIZE@GOTPAGE
Lloh6:
	ldr	x11, [x11, _B43_DMA32_RINGMEMSIZE@GOTPAGEOFF]
	cmp	x9, x8
	csel	x8, x10, x11, eq
	ldr	w1, [x8]
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	ldr	w8, [x8]
	ldp	w3, w2, [x0, #8]
	mov	x0, x8
	b	_dma_free_coherent
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_DMA_64BIT,8,3              ; @B43_DMA_64BIT
	.comm	_B43_DMA64_RINGMEMSIZE,4,2      ; @B43_DMA64_RINGMEMSIZE
	.comm	_B43_DMA32_RINGMEMSIZE,4,2      ; @B43_DMA32_RINGMEMSIZE
	.no_dead_strip	_free_ringmemory
.subsections_via_symbols
