	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_pcm_hw_params
_omap_pcm_hw_params:                    ## @omap_pcm_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	%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	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r13
	xorl	%r15d, %r15d
	testq	%r13, %r13
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	8(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rsi
	callq	_snd_pcm_set_runtime_buffer
	movq	%r12, %rdi
	callq	_params_buffer_bytes
	movl	%eax, (%r14)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	cmpq	$0, 8(%r14)
	jne	LBB0_4
## %bb.2:
	movq	%r13, 8(%r14)
	movl	(%r13), %esi
	movl	4(%r13), %edi
	movq	_omap_pcm_dma_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rcx
	movq	%r14, %r8
	callq	_omap_request_dma
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	movl	%edi, %esi
	callq	_omap_dma_link_lch
	xorl	%r15d, %r15d
LBB0_4:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_omap_pcm_dma_irq,4,2           ## @omap_pcm_dma_irq
	.no_dead_strip	_omap_pcm_hw_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_pcm_hw_params
_omap_pcm_hw_params:                    ; @omap_pcm_hw_params
	.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
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x22, [x8]
	cbz	x22, LBB0_2
; %bb.1:
	mov	x21, x1
	mov	x20, x0
	ldr	x23, [x0, #16]
	ldr	x19, [x23, #8]
	mov	x1, x0
	bl	_snd_pcm_set_runtime_buffer
	mov	x0, x21
	bl	_params_buffer_bytes
	str	w0, [x23]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	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
LBB0_4:
	str	x22, [x19, #8]
	ldp	w1, w0, [x22]
Lloh0:
	adrp	x8, _omap_pcm_dma_irq@GOTPAGE
Lloh1:
	ldr	x8, [x8, _omap_pcm_dma_irq@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x3, x20
	mov	x4, x19
	bl	_omap_request_dma
	cbnz	w0, LBB0_3
; %bb.5:
	ldr	w0, [x19]
	mov	x1, x0
	bl	_omap_dma_link_lch
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_omap_pcm_dma_irq,4,2           ; @omap_pcm_dma_irq
	.no_dead_strip	_omap_pcm_hw_params
.subsections_via_symbols
