	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa2xx_pcm_hw_params
_pxa2xx_pcm_hw_params:                  ## @pxa2xx_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.3:
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movq	(%rax), %r15
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	cmpq	%rbx, %rax
	je	LBB0_6
## %bb.8:
	movl	(%r15), %edi
	callq	_pxa_free_dma
LBB0_4:
	movq	%rbx, 8(%r15)
	movl	(%rbx), %edi
	movq	_DMA_PRIO_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_pxa2xx_pcm_dma_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rcx
	callq	_pxa_request_dma
	testl	%eax, %eax
	js	LBB0_2
## %bb.5:
	movl	%eax, (%r15)
LBB0_6:
	movq	%r12, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___pxa2xx_pcm_hw_params         ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_PRIO_LOW,4,2               ## @DMA_PRIO_LOW
	.comm	_pxa2xx_pcm_dma_irq,4,2         ## @pxa2xx_pcm_dma_irq
	.no_dead_strip	_pxa2xx_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 pxa2xx_pcm_hw_params
_pxa2xx_pcm_hw_params:                  ; @pxa2xx_pcm_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
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x22, [x8]
	cbz	x22, LBB0_7
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x21, [x8]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_4
; %bb.2:
	cmp	x8, x22
	b.eq	LBB0_6
; %bb.3:
	ldr	w0, [x21]
	bl	_pxa_free_dma
LBB0_4:
	str	x22, [x21, #8]
	ldr	w0, [x22]
Lloh0:
	adrp	x8, _DMA_PRIO_LOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_PRIO_LOW@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _pxa2xx_pcm_dma_irq@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pxa2xx_pcm_dma_irq@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x3, x20
	bl	_pxa_request_dma
	tbnz	w0, #31, LBB0_8
; %bb.5:
	str	w0, [x21]
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	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
	b	___pxa2xx_pcm_hw_params
LBB0_7:
	mov	w0, #0
LBB0_8:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_PRIO_LOW,4,2               ; @DMA_PRIO_LOW
	.comm	_pxa2xx_pcm_dma_irq,4,2         ; @pxa2xx_pcm_dma_irq
	.no_dead_strip	_pxa2xx_pcm_hw_params
.subsections_via_symbols
