	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_cs46xx_capture_hw_params
_snd_cs46xx_capture_hw_params:          ## @snd_cs46xx_capture_hw_params
	.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, %r15
	movq	%rdi, %r14
	callq	_snd_pcm_substream_chip
	movq	%rax, %r12
	movq	8(%r14), %rbx
	movq	_CS46XX_FRAGS@GOTPCREL(%rip), %rdx
	movq	(%rbx), %rsi
	movq	24(%rbx), %rax
	movq	(%r12), %rcx
	cmpq	(%rdx), %rsi
	jne	LBB0_4
## %bb.1:
	cmpq	%rcx, %rax
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_snd_pcm_lib_free_pages
	movq	(%r12), %rax
LBB0_3:
	movq	%rax, 24(%rbx)
	movups	8(%r12), %xmm0
	movups	%xmm0, 8(%rbx)
	movq	_snd_cs46xx_capture_ops@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	cmpq	%rcx, %rax
	jne	LBB0_6
## %bb.5:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	$0, 24(%rbx)
LBB0_6:
	movq	%r15, %rdi
	callq	_params_buffer_bytes
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_snd_pcm_lib_malloc_pages
	testl	%eax, %eax
	js	LBB0_9
## %bb.7:
	movq	_snd_cs46xx_capture_indirect_ops@GOTPCREL(%rip), %rax
LBB0_8:
	movq	%rax, (%r14)
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CS46XX_FRAGS,8,3               ## @CS46XX_FRAGS
	.comm	_snd_cs46xx_capture_ops,4,2     ## @snd_cs46xx_capture_ops
	.comm	_snd_cs46xx_capture_indirect_ops,4,2 ## @snd_cs46xx_capture_indirect_ops
	.no_dead_strip	_snd_cs46xx_capture_hw_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_cs46xx_capture_hw_params
_snd_cs46xx_capture_hw_params:          ; @snd_cs46xx_capture_hw_params
	.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	x21, x1
	mov	x19, x0
	bl	_snd_pcm_substream_chip
	ldr	x22, [x19, #8]
	ldr	x10, [x22]
Lloh0:
	adrp	x8, _CS46XX_FRAGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CS46XX_FRAGS@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x8]
	ldr	x8, [x22, #24]
	ldr	x9, [x0]
	cmp	x10, x11
	b.ne	LBB0_4
; %bb.1:
	mov	x20, x0
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_snd_pcm_lib_free_pages
	ldr	x8, [x20]
LBB0_3:
	str	x8, [x22, #24]
	ldur	q0, [x20, #8]
	stur	q0, [x22, #8]
Lloh3:
	adrp	x8, _snd_cs46xx_capture_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _snd_cs46xx_capture_ops@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	stp	xzr, xzr, [x22, #8]
	str	xzr, [x22, #24]
LBB0_6:
	mov	x0, x21
	bl	_params_buffer_bytes
	mov	x1, x0
	mov	x0, x19
	bl	_snd_pcm_lib_malloc_pages
	tbnz	w0, #31, LBB0_9
; %bb.7:
Lloh5:
	adrp	x8, _snd_cs46xx_capture_indirect_ops@GOTPAGE
Lloh6:
	ldr	x8, [x8, _snd_cs46xx_capture_indirect_ops@GOTPAGEOFF]
LBB0_8:
	mov	w0, #0
	str	x8, [x19]
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CS46XX_FRAGS,8,3               ; @CS46XX_FRAGS
	.comm	_snd_cs46xx_capture_ops,4,2     ; @snd_cs46xx_capture_ops
	.comm	_snd_cs46xx_capture_indirect_ops,4,2 ; @snd_cs46xx_capture_indirect_ops
	.no_dead_strip	_snd_cs46xx_capture_hw_params
.subsections_via_symbols
