	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sb16_audio_prepare_for_input
_sb16_audio_prepare_for_input:          ## @sb16_audio_prepare_for_input
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_audio_devs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	16(%rcx), %rax
	cmpl	$0, 24(%rax)
	movq	(%rax), %rdx
	movq	_AFMT_S16_LE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	je	LBB0_1
## %bb.2:
	cmpq	%rsi, %rdx
	jne	LBB0_4
## %bb.3:
	movl	16(%rax), %edx
	movq	8(%rcx), %rsi
	movl	%edx, (%rsi)
	movl	20(%rax), %edx
	jmp	LBB0_5
LBB0_1:
	xorl	%edi, %edi
	cmpq	%rsi, %rdx
	sete	%dil
	movl	16(%rax,%rdi,4), %edx
	movq	(%rcx), %rsi
	movl	%edx, (%rsi)
	movq	8(%rcx), %rcx
	jmp	LBB0_6
LBB0_4:
	movl	20(%rax), %edx
	movq	8(%rcx), %rsi
	movl	%edx, (%rsi)
	movl	16(%rax), %edx
LBB0_5:
	movq	(%rcx), %rcx
LBB0_6:
	movl	%edx, (%rcx)
	movq	$0, 8(%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_audio_devs,8,3                 ## @audio_devs
	.comm	_AFMT_S16_LE,8,3                ## @AFMT_S16_LE
	.no_dead_strip	_sb16_audio_prepare_for_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sb16_audio_prepare_for_input
_sb16_audio_prepare_for_input:          ; @sb16_audio_prepare_for_input
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _audio_devs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _audio_devs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x8, w0, sxtw #3]
	ldr	x8, [x9, #16]
	ldr	w12, [x8, #24]
	ldr	x10, [x8]
Lloh3:
	adrp	x11, _AFMT_S16_LE@GOTPAGE
Lloh4:
	ldr	x11, [x11, _AFMT_S16_LE@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cbz	w12, LBB0_3
; %bb.1:
	cmp	x10, x11
	b.ne	LBB0_4
; %bb.2:
	ldp	w10, w11, [x8, #16]
	b	LBB0_5
LBB0_3:
	mov	w12, #16
	mov	w13, #20
	cmp	x10, x11
	csel	x10, x13, x12, eq
	ldr	w10, [x8, x10]
	ldp	x11, x9, [x9]
	str	w10, [x11]
	str	w10, [x9]
	b	LBB0_6
LBB0_4:
	ldp	w11, w10, [x8, #16]
LBB0_5:
	ldp	x9, x12, [x9]
	str	w10, [x12]
	str	w11, [x9]
LBB0_6:
	str	xzr, [x8, #8]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_audio_devs,8,3                 ; @audio_devs
	.comm	_AFMT_S16_LE,8,3                ; @AFMT_S16_LE
	.no_dead_strip	_sb16_audio_prepare_for_input
.subsections_via_symbols
