	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_es1968_pcm_start
_snd_es1968_pcm_start:                  ## @snd_es1968_pcm_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	%rsi, %rbx
	movq	%rdi, %r14
	callq	_spin_lock
	movq	24(%rbx), %rax
	movq	32(%rbx), %rcx
	movl	(%rax), %esi
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movl	$5, %edx
	callq	___apu_set_register
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_snd_es1968_trigger_apu
	movq	(%rbx), %rax
	movq	_ESM_MODE_CAPTURE@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.1:
	movq	24(%rbx), %rax
	movq	32(%rbx), %rcx
	movl	8(%rax), %esi
	movl	8(%rcx), %ecx
	movq	%r14, %rdi
	movl	$5, %edx
	callq	___apu_set_register
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	8(%rcx), %esi
	movl	8(%rax), %edx
	movq	%r14, %rdi
	callq	_snd_es1968_trigger_apu
LBB0_2:
	movq	_ESS_FMT_STEREO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_5
## %bb.3:
	movq	24(%rbx), %rax
	movq	32(%rbx), %rcx
	movl	4(%rax), %esi
	movl	4(%rcx), %ecx
	movq	%r14, %rdi
	movl	$5, %edx
	callq	___apu_set_register
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	4(%rcx), %esi
	movl	4(%rax), %edx
	movq	%r14, %rdi
	callq	_snd_es1968_trigger_apu
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_5
## %bb.4:
	movq	24(%rbx), %rax
	movq	32(%rbx), %rcx
	movl	12(%rax), %esi
	movl	12(%rcx), %ecx
	movq	%r14, %rdi
	movl	$5, %edx
	callq	___apu_set_register
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	12(%rcx), %esi
	movl	12(%rax), %edx
	movq	%r14, %rdi
	callq	_snd_es1968_trigger_apu
LBB0_5:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ESM_MODE_CAPTURE,8,3           ## @ESM_MODE_CAPTURE
	.comm	_ESS_FMT_STEREO,4,2             ## @ESS_FMT_STEREO
	.no_dead_strip	_snd_es1968_pcm_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_es1968_pcm_start
_snd_es1968_pcm_start:                  ; @snd_es1968_pcm_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, x1
	mov	x19, x0
	bl	_spin_lock
	ldp	x8, x9, [x20, #24]
	ldr	w1, [x8]
	ldr	w3, [x9]
	mov	x0, x19
	mov	w2, #5
	bl	___apu_set_register
	ldp	x9, x8, [x20, #16]
	ldr	w1, [x8]
	ldr	w2, [x9]
	mov	x0, x19
	bl	_snd_es1968_trigger_apu
	ldr	x8, [x20]
Lloh0:
	adrp	x21, _ESM_MODE_CAPTURE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ESM_MODE_CAPTURE@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldp	x8, x9, [x20, #24]
	ldr	w1, [x8, #8]
	ldr	w3, [x9, #8]
	mov	x0, x19
	mov	w2, #5
	bl	___apu_set_register
	ldp	x9, x8, [x20, #16]
	ldr	w1, [x8, #8]
	ldr	w2, [x9, #8]
	mov	x0, x19
	bl	_snd_es1968_trigger_apu
LBB0_2:
	ldr	w8, [x20, #8]
Lloh2:
	adrp	x9, _ESS_FMT_STEREO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ESS_FMT_STEREO@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	ldp	x8, x9, [x20, #24]
	ldr	w1, [x8, #4]
	ldr	w3, [x9, #4]
	mov	x0, x19
	mov	w2, #5
	bl	___apu_set_register
	ldp	x9, x8, [x20, #16]
	ldr	w1, [x8, #4]
	ldr	w2, [x9, #4]
	mov	x0, x19
	bl	_snd_es1968_trigger_apu
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldp	x8, x9, [x20, #24]
	ldr	w1, [x8, #12]
	ldr	w3, [x9, #12]
	mov	x0, x19
	mov	w2, #5
	bl	___apu_set_register
	ldp	x9, x8, [x20, #16]
	ldr	w1, [x8, #12]
	ldr	w2, [x9, #12]
	mov	x0, x19
	bl	_snd_es1968_trigger_apu
LBB0_5:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ESM_MODE_CAPTURE,8,3           ; @ESM_MODE_CAPTURE
	.comm	_ESS_FMT_STEREO,4,2             ; @ESS_FMT_STEREO
	.no_dead_strip	_snd_es1968_pcm_start
.subsections_via_symbols
