	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___pxa2xx_pcm_hw_params         ## -- Begin function __pxa2xx_pcm_hw_params
	.p2align	4, 0x90
___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	%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, %rbx
	movq	%rdi, %r15
	movq	16(%rdi), %r13
	movq	16(%r13), %r12
	movq	%rsi, %rdi
	callq	_params_buffer_bytes
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_params_period_bytes
	movq	%rax, %rbx
	leaq	8(%r15), %rsi
	movq	%r15, %rdi
	callq	_snd_pcm_set_runtime_buffer
	movq	%r14, (%r13)
	movq	16(%r12), %rdi
	movl	(%r12), %r8d
	movl	8(%r13), %ecx
	movq	(%r15), %r9
	movq	_SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movq	8(%r12), %rax
	movq	8(%rax), %r11
	movq	_DCMD_ENDIRQEN@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	leal	24(%r8), %edx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %rsi
	cmpq	%r10, %r9
	movl	%edx, (%rdi)
	movq	8(%r12), %rdi
	movl	(%rdi), %edi
	movl	%edi, %eax
	cmovel	%ecx, %eax
	cmovnel	%ecx, %edi
	movl	%eax, 4(%rsi)
	cmpq	%r14, %rbx
	cmovaeq	%r14, %rbx
	movl	%edi, 8(%rsi)
	movq	%r11, %rax
	orq	%rbx, %rax
	orq	%r15, %rax
	movq	%rax, 16(%rsi)
	addl	%ebx, %ecx
	addl	$24, %edx
	leaq	24(%rsi), %rdi
	subq	%rbx, %r14
	jne	LBB0_1
## %bb.2:
	movl	%r8d, (%rsi)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ## @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_DCMD_ENDIRQEN,8,3              ## @DCMD_ENDIRQEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___pxa2xx_pcm_hw_params         ; -- Begin function __pxa2xx_pcm_hw_params
	.p2align	2
___pxa2xx_pcm_hw_params:                ; @__pxa2xx_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
	mov	x20, x1
	mov	x21, x0
	ldr	x23, [x0, #16]
	ldr	x22, [x23, #16]
	mov	x0, x1
	bl	_params_buffer_bytes
	mov	x19, x0
	mov	x0, x20
	bl	_params_period_bytes
	mov	x20, x0
	add	x1, x21, #8
	mov	x0, x21
	bl	_snd_pcm_set_runtime_buffer
	mov	x8, #0
	str	x19, [x23]
	ldr	w9, [x22]
	ldr	w10, [x23, #8]
	ldr	x11, [x21]
Lloh0:
	adrp	x12, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE
Lloh1:
	ldr	x12, [x12, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF]
Lloh2:
	ldr	x13, [x12]
	ldp	x14, x12, [x22, #8]
	ldr	x14, [x14, #8]
Lloh3:
	adrp	x15, _DCMD_ENDIRQEN@GOTPAGE
Lloh4:
	ldr	x15, [x15, _DCMD_ENDIRQEN@GOTPAGEOFF]
Lloh5:
	ldr	x15, [x15]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w16, w9, w8
	add	w16, w16, #24
	add	x17, x12, x8
	ldr	x0, [x22, #8]
	ldr	w0, [x0]
	cmp	x11, x13
	csel	w1, w10, w0, eq
	csel	w0, w0, w10, eq
	stp	w16, w1, [x17]
	str	w0, [x17, #8]
	cmp	x20, x19
	csel	x20, x20, x19, lo
	orr	x16, x14, x20
	orr	x16, x16, x15
	str	x16, [x17, #16]
	add	w10, w10, w20
	add	x8, x8, #24
	subs	x19, x19, x20
	b.ne	LBB0_1
; %bb.2:
	add	x8, x12, x8
	stur	w9, [x8, #-24]
	mov	w0, #0
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_PCM_STREAM_PLAYBACK,8,3  ; @SNDRV_PCM_STREAM_PLAYBACK
	.comm	_DCMD_ENDIRQEN,8,3              ; @DCMD_ENDIRQEN
.subsections_via_symbols
