	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pcm_pre_stop
_snd_pcm_pre_stop:                      ## @snd_pcm_pre_stop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	8(%rax), %rcx
	movq	(%rcx), %rcx
	movq	_SNDRV_PCM_STATE_OPEN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_EBADFD@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	%rdi, (%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_STATE_OPEN,8,3       ## @SNDRV_PCM_STATE_OPEN
	.comm	_EBADFD,4,2                     ## @EBADFD
	.no_dead_strip	_snd_pcm_pre_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_pcm_pre_stop
_snd_pcm_pre_stop:                      ; @snd_pcm_pre_stop
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	ldr	x10, [x9, #8]
	ldr	x10, [x10]
Lloh0:
	adrp	x11, _SNDRV_PCM_STATE_OPEN@GOTPAGE
Lloh1:
	ldr	x11, [x11, _SNDRV_PCM_STATE_OPEN@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EBADFD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBADFD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
	mov	x8, x0
	mov	w0, #0
	str	x8, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_STATE_OPEN,8,3       ; @SNDRV_PCM_STATE_OPEN
	.comm	_EBADFD,4,2                     ; @EBADFD
	.no_dead_strip	_snd_pcm_pre_stop
.subsections_via_symbols
