	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pcm_oss_get_trigger
_snd_pcm_oss_get_trigger:               ## @snd_pcm_oss_get_trigger
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rcx
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rcx,%rax,8), %rax
	movq	_SNDRV_PCM_STREAM_CAPTURE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rbx
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.2:
	callq	_oss_runtime
	xorl	%r14d, %r14d
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_PCM_ENABLE_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_4:
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.5:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.6:
	callq	_oss_runtime
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_PCM_ENABLE_INPUT@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ## @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_SNDRV_PCM_STREAM_CAPTURE,8,3   ## @SNDRV_PCM_STREAM_CAPTURE
	.comm	_PCM_ENABLE_OUTPUT,4,2          ## @PCM_ENABLE_OUTPUT
	.comm	_PCM_ENABLE_INPUT,4,2           ## @PCM_ENABLE_INPUT
	.no_dead_strip	_snd_pcm_oss_get_trigger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_pcm_oss_get_trigger
_snd_pcm_oss_get_trigger:               ; @snd_pcm_oss_get_trigger
	.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
	ldr	x9, [x0]
Lloh0:
	adrp	x8, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x9, x8, lsl #3]
Lloh3:
	adrp	x10, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	x20, [x9, x10, lsl #3]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x0, [x8]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_oss_runtime
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _PCM_ENABLE_OUTPUT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PCM_ENABLE_OUTPUT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w19, wzr, w9, eq
	cbnz	x20, LBB0_4
	b	LBB0_7
LBB0_3:
	mov	w19, #0
	cbz	x20, LBB0_7
LBB0_4:
	ldr	x0, [x20]
	cbz	x0, LBB0_7
; %bb.5:
	bl	_oss_runtime
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.6:
Lloh9:
	adrp	x8, _PCM_ENABLE_INPUT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PCM_ENABLE_INPUT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w19, w8, w19
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ; @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_SNDRV_PCM_STREAM_CAPTURE,8,3   ; @SNDRV_PCM_STREAM_CAPTURE
	.comm	_PCM_ENABLE_OUTPUT,4,2          ; @PCM_ENABLE_OUTPUT
	.comm	_PCM_ENABLE_INPUT,4,2           ; @PCM_ENABLE_INPUT
	.no_dead_strip	_snd_pcm_oss_get_trigger
.subsections_via_symbols
