	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pcm_pre_pause
_snd_pcm_pre_pause:                     ## @snd_pcm_pre_pause
	.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	_SNDRV_PCM_INFO_PAUSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.3:
	movq	16(%rax), %rcx
	movq	(%rcx), %rcx
	testl	%esi, %esi
	je	LBB0_7
## %bb.4:
	movq	_SNDRV_PCM_STATE_RUNNING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
LBB0_8:
	movq	%rdi, 8(%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_ENOSYS@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_7:
	movq	_SNDRV_PCM_STATE_PAUSED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_8
LBB0_6:
	movq	_EBADFD@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_INFO_PAUSE,4,2       ## @SNDRV_PCM_INFO_PAUSE
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_SNDRV_PCM_STATE_RUNNING,8,3    ## @SNDRV_PCM_STATE_RUNNING
	.comm	_EBADFD,4,2                     ## @EBADFD
	.comm	_SNDRV_PCM_STATE_PAUSED,8,3     ## @SNDRV_PCM_STATE_PAUSED
	.no_dead_strip	_snd_pcm_pre_pause
.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_pause
_snd_pcm_pre_pause:                     ; @snd_pcm_pre_pause
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	ldr	w8, [x9]
Lloh0:
	adrp	x10, _SNDRV_PCM_INFO_PAUSE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SNDRV_PCM_INFO_PAUSE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x9, #16]
	ldr	x8, [x8]
	cbz	w1, LBB0_4
; %bb.2:
Lloh3:
	adrp	x10, _SNDRV_PCM_STATE_RUNNING@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SNDRV_PCM_STATE_RUNNING@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
Lloh7:
	adrp	x10, _SNDRV_PCM_STATE_PAUSED@GOTPAGE
Lloh8:
	ldr	x10, [x10, _SNDRV_PCM_STATE_PAUSED@GOTPAGEOFF]
LBB0_5:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_7
; %bb.6:
	str	x0, [x9, #8]
	mov	w0, #0
	ret
LBB0_7:
Lloh9:
	adrp	x8, _EBADFD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EBADFD@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_INFO_PAUSE,4,2       ; @SNDRV_PCM_INFO_PAUSE
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_SNDRV_PCM_STATE_RUNNING,8,3    ; @SNDRV_PCM_STATE_RUNNING
	.comm	_EBADFD,4,2                     ; @EBADFD
	.comm	_SNDRV_PCM_STATE_PAUSED,8,3     ; @SNDRV_PCM_STATE_PAUSED
	.no_dead_strip	_snd_pcm_pre_pause
.subsections_via_symbols
