	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_gf1_mem_xfree              ## -- Begin function snd_gf1_mem_xfree
	.p2align	4, 0x90
_snd_gf1_mem_xfree:                     ## @snd_gf1_mem_xfree
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	24(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	decq	%rax
	movq	%rax, 24(%rbx)
	addq	$16, %rdi
	callq	_mutex_unlock
	jmp	LBB0_13
LBB0_2:
	movq	8(%rbx), %rcx
	cmpq	%rbx, 8(%rdi)
	je	LBB0_3
## %bb.5:
	movq	16(%rbx), %rax
	movq	%rcx, 8(%rax)
	movq	8(%rbx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_4
## %bb.6:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_3:
	movq	%rcx, 8(%rdi)
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_7
LBB0_4:
	movq	%rax, 16(%rcx)
	movq	%rcx, %rax
LBB0_7:
	movq	16(%rbx), %rcx
	cmpq	%rbx, (%rdi)
	je	LBB0_8
## %bb.10:
	movq	%rcx, 16(%rax)
	movq	16(%rbx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_11
	jmp	LBB0_12
LBB0_8:
	movq	%rcx, (%rdi)
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.9:
	xorl	%eax, %eax
LBB0_11:
	movq	%rax, 8(%rcx)
LBB0_12:
	movq	(%rbx), %rdi
	callq	_kfree
	movq	%rbx, %rdi
	callq	_kfree
LBB0_13:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_gf1_mem_xfree              ; -- Begin function snd_gf1_mem_xfree
	.p2align	2
_snd_gf1_mem_xfree:                     ; @snd_gf1_mem_xfree
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x8, [x1, #24]
	cbz	x8, LBB0_2
; %bb.1:
	sub	x8, x8, #1
	str	x8, [x19, #24]
	add	x0, x0, #16
	bl	_mutex_unlock
	b	LBB0_13
LBB0_2:
	ldr	x8, [x0, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x19
	b.eq	LBB0_5
; %bb.3:
	ldr	x10, [x19, #16]
	str	x9, [x10, #8]
	ldr	x9, [x19, #8]
	cbnz	x9, LBB0_6
; %bb.4:
	mov	x8, #0
	b	LBB0_7
LBB0_5:
	mov	x10, #0
	mov	x8, #0
	str	x9, [x0, #8]
	cbz	x9, LBB0_7
LBB0_6:
	str	x10, [x9, #16]
	mov	x8, x9
LBB0_7:
	ldr	x10, [x0]
	ldr	x9, [x19, #16]
	cmp	x10, x19
	b.eq	LBB0_9
; %bb.8:
	str	x9, [x8, #16]
	ldr	x9, [x19, #16]
	cbnz	x9, LBB0_11
	b	LBB0_12
LBB0_9:
	str	x9, [x0]
	cbz	x9, LBB0_12
; %bb.10:
	mov	x8, #0
LBB0_11:
	str	x8, [x9, #8]
LBB0_12:
	ldr	x0, [x19]
	bl	_kfree
	mov	x0, x19
	bl	_kfree
LBB0_13:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
