	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcm_sanity_check
_pcm_sanity_check:                      ## @pcm_sanity_check
	.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	_PCM_RUNTIME_CHECK
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_2:
	movq	(%rbx), %rax
	movq	8(%rbx), %rbx
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	jne	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	cmpl	$0, 8(%rbx)
	sete	%dil
LBB0_4:
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_6:
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	movq	_SNDRV_PCM_STATE_OPEN@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.7:
	movq	_EBADFD@GOTPCREL(%rip), %rcx
LBB0_8:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SNDRV_PCM_STATE_OPEN,8,3       ## @SNDRV_PCM_STATE_OPEN
	.comm	_EBADFD,4,2                     ## @EBADFD
	.no_dead_strip	_pcm_sanity_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcm_sanity_check
_pcm_sanity_check:                      ; @pcm_sanity_check
	.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	_PCM_RUNTIME_CHECK
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENXIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_8
LBB0_2:
	ldp	x8, x20, [x19]
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.3:
	mov	w0, #0
	bl	_snd_BUG_ON
	cbz	x0, LBB0_6
LBB0_4:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	ldr	w8, [x20, #8]
	cmp	w8, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_4
LBB0_6:
	ldr	x8, [x20]
	ldr	x8, [x8]
Lloh4:
	adrp	x9, _SNDRV_PCM_STATE_OPEN@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SNDRV_PCM_STATE_OPEN@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.7:
Lloh7:
	adrp	x8, _EBADFD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EBADFD@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	w0, #0
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SNDRV_PCM_STATE_OPEN,8,3       ; @SNDRV_PCM_STATE_OPEN
	.comm	_EBADFD,4,2                     ; @EBADFD
	.no_dead_strip	_pcm_sanity_check
.subsections_via_symbols
