	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wil_sring_free
_wil_sring_free:                        ## @wil_sring_free
	.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, %rbx
	movq	%rdi, %r15
	callq	_wil_to_dev
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	movq	16(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	movq	%rax, %r14
	movq	8(%rbx), %r12
	imulq	(%rbx), %r12
	leaq	24(%rbx), %r8
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_wil_dbg_misc
	movq	16(%rbx), %rdx
	movl	24(%rbx), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_dma_free_coherent
	movl	$0, 24(%rbx)
	movq	$0, 16(%rbx)
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"status_ring_free, size(bytes)=%zu, 0x%p:%pad\n"

	.no_dead_strip	_wil_sring_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wil_sring_free
_wil_sring_free:                        ; @wil_sring_free
	.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	x19, x1
	mov	x21, x0
	bl	_wil_to_dev
	cbz	x19, LBB0_3
; %bb.1:
	ldr	x3, [x19, #16]
	cbz	x3, LBB0_3
; %bb.2:
	mov	x20, x0
	ldp	x8, x9, [x19]
	mul	x22, x9, x8
	add	x4, x19, #24
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_wil_dbg_misc
	ldr	x2, [x19, #16]
	ldr	w3, [x19, #24]
	mov	x0, x20
	mov	x1, x22
	bl	_dma_free_coherent
	str	wzr, [x19, #24]
	str	xzr, [x19, #16]
LBB0_3:
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"status_ring_free, size(bytes)=%zu, 0x%p:%pad\n"

	.no_dead_strip	_wil_sring_free
.subsections_via_symbols
