	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_gf1_dma_init               ## -- Begin function snd_gf1_dma_init
	.p2align	4, 0x90
_snd_gf1_dma_init:                      ## @snd_gf1_dma_init
	.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	%rdi, %rbx
	callq	_mutex_lock
	movl	8(%rbx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 8(%rbx)
	testl	%eax, %eax
	jg	LBB0_2
## %bb.1:
	movq	_snd_gf1_dma_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movl	$0, 32(%rbx)
LBB0_2:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snd_gf1_dma_interrupt,4,2      ## @snd_gf1_dma_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_gf1_dma_init               ; -- Begin function snd_gf1_dma_init
	.p2align	2
_snd_gf1_dma_init:                      ; @snd_gf1_dma_init
	.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, x0
	bl	_mutex_lock
	ldr	w8, [x19, #8]
	add	w9, w8, #1
	str	w9, [x19, #8]
	cmp	w8, #0
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _snd_gf1_dma_interrupt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _snd_gf1_dma_interrupt@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	xzr, xzr, [x19, #16]
	stp	wzr, w8, [x19, #32]
LBB0_2:
	mov	x0, x19
	bl	_mutex_unlock
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_snd_gf1_dma_interrupt,4,2      ; @snd_gf1_dma_interrupt
.subsections_via_symbols
