	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_gf1_pcm_block_change
_snd_gf1_pcm_block_change:              ## @snd_gf1_pcm_block_change
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movl	%esi, %r13d
	movq	(%rdi), %r14
	movq	24(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %ebx
	andl	$31, %ebx
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	_SNDRV_GF1_DMA_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movl	16(%r14), %edi
	callq	_snd_pcm_format_unsigned
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_SNDRV_GF1_DMA_UNSIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -56(%rbp)
LBB0_2:
	addl	%r12d, %ebx
	andl	$-32, %r13d
	movl	16(%r14), %edi
	callq	_snd_pcm_format_width
	cmpl	$16, %eax
	jne	LBB0_4
## %bb.3:
	movq	_SNDRV_GF1_DMA_16BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -56(%rbp)
LBB0_4:
	andl	$-32, %r15d
	movl	%r15d, -96(%rbp)
	movl	%r13d, %eax
	movdqu	(%r14), %xmm0
	movq	%rax, %xmm1
	pshufd	$68, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,0,1]
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, -72(%rbp)
	movl	%ebx, -92(%rbp)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, -80(%rbp)
	movq	_snd_gf1_pcm_block_change_ack@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movl	4(%rbx), %edi
	leaq	-96(%rbp), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_snd_gf1_dma_transfer_block
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_atomic_inc
LBB0_6:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_GF1_DMA_IRQ,4,2          ## @SNDRV_GF1_DMA_IRQ
	.comm	_SNDRV_GF1_DMA_UNSIGNED,4,2     ## @SNDRV_GF1_DMA_UNSIGNED
	.comm	_SNDRV_GF1_DMA_16BIT,4,2        ## @SNDRV_GF1_DMA_16BIT
	.comm	_snd_gf1_pcm_block_change_ack,4,2 ## @snd_gf1_pcm_block_change_ack
	.no_dead_strip	_snd_gf1_pcm_block_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_gf1_pcm_block_change
_snd_gf1_pcm_block_change:              ; @snd_gf1_pcm_block_change
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x3
	mov	x20, x2
	mov	x22, x1
	ldr	x23, [x0]
	ldr	x19, [x23, #24]
	and	w24, w1, #0x1f
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_memset
Lloh0:
	adrp	x8, _SNDRV_GF1_DMA_IRQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_GF1_DMA_IRQ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	ldr	w0, [x23, #16]
	bl	_snd_pcm_format_unsigned
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SNDRV_GF1_DMA_UNSIGNED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SNDRV_GF1_DMA_UNSIGNED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [sp, #40]
	orr	w8, w9, w8
	str	w8, [sp, #40]
LBB0_2:
	add	w21, w24, w21
	and	w22, w22, #0xffffffe0
	ldr	w0, [x23, #16]
	bl	_snd_pcm_format_width
	cmp	w0, #16
	b.ne	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _SNDRV_GF1_DMA_16BIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SNDRV_GF1_DMA_16BIT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [sp, #40]
	orr	w8, w9, w8
	str	w8, [sp, #40]
LBB0_4:
	and	w8, w20, #0xffffffe0
	str	w8, [sp]
	ldr	q0, [x23]
	dup.2d	v1, x22
	add.2d	v0, v0, v1
	stur	q0, [sp, #24]
	str	x19, [sp, #16]
Lloh9:
	adrp	x8, _snd_gf1_pcm_block_change_ack@GOTPAGE
Lloh10:
	ldr	x8, [x8, _snd_gf1_pcm_block_change_ack@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w21, w8, [sp, #4]
	ldr	w0, [x19, #4]
	mov	x1, sp
	mov	w2, #0
	mov	w3, #0
	bl	_snd_gf1_dma_transfer_block
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_atomic_inc
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_GF1_DMA_IRQ,4,2          ; @SNDRV_GF1_DMA_IRQ
	.comm	_SNDRV_GF1_DMA_UNSIGNED,4,2     ; @SNDRV_GF1_DMA_UNSIGNED
	.comm	_SNDRV_GF1_DMA_16BIT,4,2        ; @SNDRV_GF1_DMA_16BIT
	.comm	_snd_gf1_pcm_block_change_ack,4,2 ; @snd_gf1_pcm_block_change_ack
	.no_dead_strip	_snd_gf1_pcm_block_change
.subsections_via_symbols
