	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pcm_plugin_build_linear    ## -- Begin function snd_pcm_plugin_build_linear
	.p2align	4, 0x90
_snd_pcm_plugin_build_linear:           ## @snd_pcm_plugin_build_linear
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	xorl	%edi, %edi
	testq	%rcx, %rcx
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	$0, (%rbx)
	movq	(%r15), %rax
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	setne	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_1
## %bb.3:
	movq	8(%r15), %rax
	xorl	%edi, %edi
	cmpq	8(%r14), %rax
	setne	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_1
## %bb.4:
	movl	16(%r15), %edi
	callq	_snd_pcm_format_linear
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	16(%r14), %edi
	callq	_snd_pcm_format_linear
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	jmp	LBB0_7
LBB0_5:
	movl	$1, %edi
LBB0_7:
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_8
LBB0_1:
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %r9
	movq	%r12, %rdi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movl	$4, %r8d
	callq	_snd_pcm_plugin_build
	testl	%eax, %eax
	js	LBB0_10
## %bb.9:
	movq	-40(%rbp), %rax
	movq	8(%rax), %rdi
	movl	16(%r15), %esi
	movl	16(%r14), %edx
	callq	_init_data
	movq	_linear_transfer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-40(%rbp), %rcx
	movl	%eax, (%rcx)
	movq	%rcx, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"linear format conversion"

	.comm	_linear_transfer,4,2            ## @linear_transfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pcm_plugin_build_linear    ; -- Begin function snd_pcm_plugin_build_linear
	.p2align	2
_snd_pcm_plugin_build_linear:           ; @snd_pcm_plugin_build_linear
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	cmp	x3, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_5
; %bb.1:
	str	xzr, [x19]
	ldr	x8, [x21]
	ldr	x9, [x20]
	cmp	x8, x9
	cset	w0, ne
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_5
; %bb.2:
	ldr	x8, [x21, #8]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	cset	w0, ne
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_5
; %bb.3:
	ldr	w0, [x21, #16]
	bl	_snd_pcm_format_linear
	cbz	w0, LBB0_7
; %bb.4:
	ldr	w0, [x20, #16]
	bl	_snd_pcm_format_linear
	cmp	w0, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_8
LBB0_5:
Lloh0:
	adrp	x8, _ENXIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	mov	w0, #1
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_5
LBB0_8:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x5, sp, #8
	mov	x0, x22
	mov	x2, x21
	mov	x3, x20
	mov	w4, #4
	bl	_snd_pcm_plugin_build
	tbnz	w0, #31, LBB0_6
; %bb.9:
	ldr	x8, [sp, #8]
	ldr	x0, [x8, #8]
	ldr	w1, [x21, #16]
	ldr	w2, [x20, #16]
	bl	_init_data
	mov	w0, #0
Lloh5:
	adrp	x8, _linear_transfer@GOTPAGE
Lloh6:
	ldr	x8, [x8, _linear_transfer@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	str	w8, [x9]
	str	x9, [x19]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"linear format conversion"

	.comm	_linear_transfer,4,2            ; @linear_transfer
.subsections_via_symbols
