	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pcm_pre_prepare
_snd_pcm_pre_prepare:                   ## @snd_pcm_pre_prepare
	.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	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_SNDRV_PCM_STATE_OPEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_SNDRV_PCM_STATE_DISCONNECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.4:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_snd_pcm_running
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_EBADFD@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movl	%r14d, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_STATE_OPEN,8,3       ## @SNDRV_PCM_STATE_OPEN
	.comm	_SNDRV_PCM_STATE_DISCONNECTED,8,3 ## @SNDRV_PCM_STATE_DISCONNECTED
	.comm	_EBADFD,4,2                     ## @EBADFD
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_snd_pcm_pre_prepare
.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_prepare
_snd_pcm_pre_prepare:                   ; @snd_pcm_pre_prepare
	.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	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _SNDRV_PCM_STATE_OPEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SNDRV_PCM_STATE_OPEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _SNDRV_PCM_STATE_DISCONNECTED@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SNDRV_PCM_STATE_DISCONNECTED@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _EBADFD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EBADFD@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	mov	x19, x1
	mov	x20, x0
	bl	_snd_pcm_running
	cbz	x0, LBB0_5
; %bb.3:
Lloh8:
	adrp	x8, _EBUSY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_5:
	str	w19, [x20]
LBB0_6:
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_STATE_OPEN,8,3       ; @SNDRV_PCM_STATE_OPEN
	.comm	_SNDRV_PCM_STATE_DISCONNECTED,8,3 ; @SNDRV_PCM_STATE_DISCONNECTED
	.comm	_EBADFD,4,2                     ; @EBADFD
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_snd_pcm_pre_prepare
.subsections_via_symbols
