	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pcm_plugin_build_io        ## -- Begin function snd_pcm_plugin_build_io
	.p2align	4, 0x90
_snd_pcm_plugin_build_io:               ## @snd_pcm_plugin_build_io
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%edi, %edi
	testq	%rdx, %rdx
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	$0, (%r15)
	testq	%r14, %r14
	sete	%al
	testq	%rbx, %rbx
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	callq	_params_format
	movl	%eax, -40(%rbp)
	movq	%rbx, %rdi
	callq	_params_rate
	movl	%eax, -44(%rbp)
	movq	%rbx, %rdi
	callq	_params_channels
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, -48(%rbp)
	leal	(,%rax,8), %r8d
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rcx
	leaq	-32(%rbp), %r9
	movq	%r14, %rdi
	movq	%rcx, %rdx
	callq	_snd_pcm_plugin_build
	testl	%eax, %eax
	js	LBB0_9
## %bb.4:
	movq	%rbx, %rdi
	callq	_params_access
	movq	-32(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	%r14, %rdi
	callq	_snd_pcm_plug_stream
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	movq	_io_playback_transfer@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-32(%rbp), %rax
	movl	%ecx, 8(%rax)
	movq	(%rax), %rcx
	movq	_SNDRV_PCM_ACCESS_RW_INTERLEAVED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_8
## %bb.6:
	movq	_io_src_channels@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	jmp	LBB0_8
LBB0_7:
	movq	_io_capture_transfer@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-32(%rbp), %rax
	movl	%ecx, 8(%rax)
LBB0_8:
	movq	%rax, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"I/O io"

	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ## @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_io_playback_transfer,4,2       ## @io_playback_transfer
	.comm	_SNDRV_PCM_ACCESS_RW_INTERLEAVED,8,3 ## @SNDRV_PCM_ACCESS_RW_INTERLEAVED
	.comm	_io_src_channels,4,2            ## @io_src_channels
	.comm	_io_capture_transfer,4,2        ## @io_capture_transfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pcm_plugin_build_io        ; -- Begin function snd_pcm_plugin_build_io
	.p2align	2
_snd_pcm_plugin_build_io:               ; @snd_pcm_plugin_build_io
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x21, x1
	mov	x20, x0
	cmp	x2, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_2
; %bb.1:
	str	xzr, [x19]
	cmp	x20, #0
	ccmp	x21, #0, #4, ne
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _ENXIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
	mov	x0, x21
	bl	_params_format
	str	w0, [sp, #24]
	mov	x0, x21
	bl	_params_rate
	str	w0, [sp, #20]
	mov	x0, x21
	bl	_params_channels
	str	w0, [sp, #16]
	lsl	w4, w0, #3
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #16
	add	x3, sp, #16
	add	x5, sp, #8
	mov	x0, x20
	bl	_snd_pcm_plugin_build
	tbnz	w0, #31, LBB0_3
; %bb.5:
	mov	x0, x21
	bl	_params_access
	ldr	x8, [sp, #8]
	str	x0, [x8]
	mov	x0, x20
	bl	_snd_pcm_plug_stream
Lloh5:
	adrp	x8, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.6:
Lloh8:
	adrp	x8, _io_playback_transfer@GOTPAGE
Lloh9:
	ldr	x8, [x8, _io_playback_transfer@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x8]
	ldr	x8, [sp, #8]
	str	w9, [x8, #8]
	ldr	x9, [x8]
Lloh11:
	adrp	x10, _SNDRV_PCM_ACCESS_RW_INTERLEAVED@GOTPAGE
Lloh12:
	ldr	x10, [x10, _SNDRV_PCM_ACCESS_RW_INTERLEAVED@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_9
; %bb.7:
Lloh14:
	adrp	x9, _io_src_channels@GOTPAGE
Lloh15:
	ldr	x9, [x9, _io_src_channels@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	str	w9, [x8, #12]
	b	LBB0_9
LBB0_8:
Lloh17:
	adrp	x8, _io_capture_transfer@GOTPAGE
Lloh18:
	ldr	x8, [x8, _io_capture_transfer@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x8]
	ldr	x8, [sp, #8]
	str	w9, [x8, #8]
LBB0_9:
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"I/O io"

	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ; @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_io_playback_transfer,4,2       ; @io_playback_transfer
	.comm	_SNDRV_PCM_ACCESS_RW_INTERLEAVED,8,3 ; @SNDRV_PCM_ACCESS_RW_INTERLEAVED
	.comm	_io_src_channels,4,2            ; @io_src_channels
	.comm	_io_capture_transfer,4,2        ; @io_capture_transfer
.subsections_via_symbols
