	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vino_queue_free_with_count
_vino_queue_free_with_count:            ## @vino_queue_free_with_count
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	$0, 32(%rdi)
	addq	$28, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	24(%r14), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	movl	%ebx, %r12d
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_dprintk
	movq	16(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_vino_free_buffer
	movq	16(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_kfree
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_2
LBB0_3:
	movq	_VINO_MEMORY_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	$0, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vino_queue_free_with_count(): freeing buffer %d\n"

	.comm	_VINO_MEMORY_NONE,4,2           ## @VINO_MEMORY_NONE
	.no_dead_strip	_vino_queue_free_with_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vino_queue_free_with_count
_vino_queue_free_with_count:            ; @vino_queue_free_with_count
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
	str	xzr, [x0, #32]
	add	x0, x0, #28
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, x19, #24
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	cbz	w21, LBB0_3
; %bb.1:
	mov	x20, #0
	mov	w22, w21
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_dprintk
	ldr	x8, [x19, #16]
	lsl	x23, x20, #2
	ldr	w0, [x8, x23]
	bl	_vino_free_buffer
	ldr	x8, [x19, #16]
	ldr	w0, [x8, x23]
	bl	_kfree
	add	x20, x20, #1
	cmp	x22, x20
	b.ne	LBB0_2
LBB0_3:
Lloh2:
	adrp	x8, _VINO_MEMORY_NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VINO_MEMORY_NONE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	str	xzr, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vino_queue_free_with_count(): freeing buffer %d\n"

	.comm	_VINO_MEMORY_NONE,4,2           ; @VINO_MEMORY_NONE
	.no_dead_strip	_vino_queue_free_with_count
.subsections_via_symbols
