	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pcm_plug_slave_size        ## -- Begin function snd_pcm_plug_slave_size
	.p2align	4, 0x90
_snd_pcm_plug_slave_size:               ## @snd_pcm_plug_slave_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_snd_pcm_plug_stream
	movl	%eax, %r15d
	xorl	%edi, %edi
	testq	%r14, %r14
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subq	(%rax), %r12
LBB0_19:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	testq	%r12, %r12
	je	LBB0_3
## %bb.4:
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_12
## %bb.5:
	movq	%r14, %rdi
	callq	_snd_pcm_plug_first
	testq	%rax, %rax
	je	LBB0_19
## %bb.6:
	testq	%r12, %r12
	jle	LBB0_19
## %bb.7:
	movq	%rax, %rdi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rcx
	movq	24(%rdi), %rbx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rsi
	callq	*%rcx
	movq	%rax, %r12
	testq	%rax, %rax
	js	LBB0_19
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	testq	%r12, %r12
	jg	LBB0_8
	jmp	LBB0_19
LBB0_3:
	xorl	%r12d, %r12d
	jmp	LBB0_19
LBB0_12:
	movq	_SNDRV_PCM_STREAM_CAPTURE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_18
## %bb.13:
	movq	%r14, %rdi
	callq	_snd_pcm_plug_last
	testq	%rax, %rax
	je	LBB0_19
## %bb.14:
	movq	%rax, %rdi
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%rbx, %rdi
	testq	%rbx, %rbx
	je	LBB0_19
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rdi), %rcx
	movq	16(%rdi), %rbx
	testq	%rcx, %rcx
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r12, %rsi
	callq	*%rcx
	movq	%rax, %r12
	testq	%rax, %rax
	jns	LBB0_17
	jmp	LBB0_19
LBB0_18:
	xorl	%eax, %eax
	callq	_snd_BUG
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,8,3                      ## @ENXIO
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,4,2  ## @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_SNDRV_PCM_STREAM_CAPTURE,4,2   ## @SNDRV_PCM_STREAM_CAPTURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pcm_plug_slave_size        ; -- Begin function snd_pcm_plug_slave_size
	.p2align	2
_snd_pcm_plug_slave_size:               ; @snd_pcm_plug_slave_size
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	bl	_snd_pcm_plug_stream
	mov	x21, x0
	cmp	x20, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _ENXIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	neg	x19, x8
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	cbz	x19, LBB0_2
; %bb.4:
Lloh3:
	adrp	x8, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_10
; %bb.5:
	mov	x0, x20
	bl	_snd_pcm_plug_first
	cbz	x0, LBB0_2
; %bb.6:
	cmp	x19, #1
	b.ge	LBB0_8
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	cmp	x20, #0
	ccmp	x19, #0, #4, ne
	mov	x0, x20
	b.le	LBB0_2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x0, #24]
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x1, x19
	blr	x8
	mov	x19, x0
	tbz	x0, #63, LBB0_7
	b	LBB0_2
LBB0_10:
Lloh6:
	adrp	x8, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_15
; %bb.11:
	mov	x0, x20
	bl	_snd_pcm_plug_last
	cbnz	x0, LBB0_13
	b	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x20
	cbz	x20, LBB0_2
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldp	x8, x20, [x0, #8]
	cbz	x8, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x1, x19
	blr	x8
	mov	x19, x0
	tbz	x0, #63, LBB0_12
	b	LBB0_2
LBB0_15:
	bl	_snd_BUG
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,8,3                      ; @ENXIO
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,4,2  ; @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_SNDRV_PCM_STREAM_CAPTURE,4,2   ; @SNDRV_PCM_STREAM_CAPTURE
.subsections_via_symbols
