	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pcm_channel_info
_snd_pcm_channel_info:                  ## @snd_pcm_channel_info
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rsi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%rdi), %r12
	callq	_snd_pcm_stream_lock_irq
	movq	8(%r12), %rax
	movq	(%rax), %r13
	movq	_SNDRV_PCM_STATE_OPEN@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%rbx, %rdi
	callq	_snd_pcm_stream_unlock_irq
	cmpq	%r15, %r13
	jne	LBB0_3
## %bb.1:
	movq	_EBADFD@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	cmpl	(%r12), %r15d
	jae	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	%r15d, (%r14)
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_SNDRV_PCM_IOCTL1_CHANNEL_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_STATE_OPEN,8,3       ## @SNDRV_PCM_STATE_OPEN
	.comm	_EBADFD,4,2                     ## @EBADFD
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SNDRV_PCM_IOCTL1_CHANNEL_INFO,4,2 ## @SNDRV_PCM_IOCTL1_CHANNEL_INFO
	.no_dead_strip	_snd_pcm_channel_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_pcm_channel_info
_snd_pcm_channel_info:                  ; @snd_pcm_channel_info
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	w21, [x1]
	ldr	x22, [x0, #8]
	bl	_snd_pcm_stream_lock_irq
	ldr	x8, [x22, #8]
	ldr	x23, [x8]
Lloh0:
	adrp	x8, _SNDRV_PCM_STATE_OPEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_PCM_STATE_OPEN@GOTPAGEOFF]
Lloh2:
	ldr	x24, [x8]
	mov	x0, x20
	bl	_snd_pcm_stream_unlock_irq
	cmp	x23, x24
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EBADFD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBADFD@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	ldr	w8, [x22]
	cmp	w21, w8
	b.hs	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	str	w21, [x19]
	ldr	x8, [x20]
	ldr	x3, [x8]
Lloh5:
	adrp	x8, _SNDRV_PCM_IOCTL1_CHANNEL_INFO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SNDRV_PCM_IOCTL1_CHANNEL_INFO@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	br	x3
LBB0_4:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_STATE_OPEN,8,3       ; @SNDRV_PCM_STATE_OPEN
	.comm	_EBADFD,4,2                     ; @EBADFD
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SNDRV_PCM_IOCTL1_CHANNEL_INFO,4,2 ; @SNDRV_PCM_IOCTL1_CHANNEL_INFO
	.no_dead_strip	_snd_pcm_channel_info
.subsections_via_symbols
