	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ymfpci_hw_start
_snd_ymfpci_hw_start:                   ## @snd_ymfpci_hw_start
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	4(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	8(%rbx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 8(%rbx)
	testl	%eax, %eax
	jg	LBB0_2
## %bb.1:
	movq	_YDSXGR_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_snd_ymfpci_readl
	orl	$3, %eax
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_snd_ymfpci_writel
	movq	_YDSXGR_CTRLSELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_snd_ymfpci_readl
	andl	$1, %eax
	movl	%eax, (%rbx)
LBB0_2:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_YDSXGR_MODE,4,2                ## @YDSXGR_MODE
	.comm	_YDSXGR_CTRLSELECT,4,2          ## @YDSXGR_CTRLSELECT
	.no_dead_strip	_snd_ymfpci_hw_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ymfpci_hw_start
_snd_ymfpci_hw_start:                   ; @snd_ymfpci_hw_start
	.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	x20, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20, #8]
	add	w9, w8, #1
	str	w9, [x20, #8]
	cmp	w8, #0
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _YDSXGR_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _YDSXGR_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_snd_ymfpci_readl
	orr	w2, w0, #0x3
	mov	x0, x20
	mov	x1, x21
	bl	_snd_ymfpci_writel
Lloh3:
	adrp	x8, _YDSXGR_CTRLSELECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _YDSXGR_CTRLSELECT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_snd_ymfpci_readl
	and	w8, w0, #0x1
	str	w8, [x20]
LBB0_2:
	mov	x0, x19
	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
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_YDSXGR_MODE,4,2                ; @YDSXGR_MODE
	.comm	_YDSXGR_CTRLSELECT,4,2          ; @YDSXGR_CTRLSELECT
	.no_dead_strip	_snd_ymfpci_hw_start
.subsections_via_symbols
