	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pcm_playback_silence       ## -- Begin function snd_pcm_playback_silence
	.p2align	4, 0x90
_snd_pcm_playback_silence:              ## @snd_pcm_playback_silence
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	8(%rdi), %r12
	movslq	4(%r12), %rax
	cmpl	%eax, (%r12)
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	jge	LBB0_7
## %bb.1:
	movq	80(%r12), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	subl	8(%r12), %edx
	jne	LBB0_3
## %bb.2:
	movq	16(%r12), %rax
	cmpq	24(%r12), %rax
	jl	LBB0_5
	jmp	LBB0_36
LBB0_7:
	movq	_ULONG_MAX@GOTPCREL(%rip), %rcx
	cmpq	%rsi, (%rcx)
	jne	LBB0_11
## %bb.8:
	movq	%r12, %rdi
	callq	_snd_pcm_playback_hw_avail
	xorl	%r8d, %r8d
	testq	%rax, %rax
	cmovgq	%rax, %r8
	movq	%r8, 16(%r12)
	movq	72(%r12), %rax
	movslq	(%rax), %rax
	addq	%r8, %rax
	movslq	4(%r12), %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_9
## %bb.10:
	cqto
	idivq	%rsi
	jmp	LBB0_13
LBB0_3:
	movslq	%edx, %rdx
	movl	%edx, %esi
	sarl	$31, %esi
	andl	%eax, %esi
	movslq	%esi, %rsi
	addq	%rdx, %rsi
	movq	16(%r12), %rdx
	xorl	%eax, %eax
	subq	%rsi, %rdx
	cmovgq	%rdx, %rax
	movq	%rax, 16(%r12)
	movl	%ecx, 8(%r12)
	cmpq	24(%r12), %rax
	jge	LBB0_36
LBB0_5:
	movq	%r12, %rdi
	callq	_snd_pcm_playback_hw_avail
	addq	16(%r12), %rax
	movq	32(%r12), %rcx
	subq	%rax, %rcx
	jle	LBB0_36
## %bb.6:
	movslq	(%r12), %rbx
	cmpq	%rbx, %rcx
	cmovlq	%rcx, %rbx
	movq	24(%r12), %rax
	jmp	LBB0_14
LBB0_11:
	movq	16(%r12), %r8
	movq	72(%r12), %rdx
	movslq	(%rdx), %rdx
	movq	%rsi, %rcx
	subq	%rdx, %rcx
	movq	%rcx, %rdi
	sarq	$63, %rdi
	andq	%rax, %rdi
	addq	%rcx, %rdi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	subq	%rdi, %r8
	movq	%r8, 16(%r12)
	jns	LBB0_13
## %bb.12:
	movq	$0, 16(%r12)
	xorl	%r8d, %r8d
	movl	%esi, %edx
	jmp	LBB0_13
LBB0_9:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
LBB0_13:
	movl	%edx, 8(%r12)
	movq	24(%r12), %rax
	movq	%rax, %rbx
	subq	%r8, %rbx
LBB0_14:
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	setg	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_36
## %bb.15:
	testq	%rbx, %rbx
	je	LBB0_36
## %bb.16:
	jle	LBB0_36
## %bb.17:
	movslq	8(%r12), %rax
	movq	24(%r12), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_18
## %bb.19:
	cqto
	idivq	%rcx
	movq	%rdx, %r8
	jmp	LBB0_20
LBB0_18:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %r8d
LBB0_20:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_21:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_30 Depth 2
                                        ##     Child Loop BB0_33 Depth 2
	leaq	(%rbx,%r8), %rax
	movq	%rcx, %rdx
	subq	%r8, %rdx
	cmpq	%rcx, %rax
	cmovleq	%rbx, %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	40(%r12), %rax
	movq	_SNDRV_PCM_ACCESS_RW_INTERLEAVED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	_SNDRV_PCM_ACCESS_MMAP_INTERLEAVED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_23
## %bb.26:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	56(%r12), %r15
	movq	(%r13), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	je	LBB0_31
## %bb.27:                              ##   in Loop: Header=BB0_21 Depth=1
	testl	%r15d, %r15d
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_34
## %bb.28:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	%r8, %rdx
	movq	%r12, %rcx
	callq	*%rax
	shrl	$31, %eax
	movl	%eax, %edi
	callq	_snd_BUG_ON
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	cmpl	$1, %r15d
	je	LBB0_34
## %bb.29:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	movl	%ebx, %esi
	movq	%r12, %rcx
	callq	*(%rax)
	shrl	$31, %eax
	movl	%eax, %edi
	callq	_snd_BUG_ON
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	incl	%ebx
	cmpl	%ebx, %r15d
	jne	LBB0_30
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	(%r13), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r13, %rdi
	movl	$-1, %esi
	movq	%r8, %rdx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rcx
	callq	*%rax
	shrl	$31, %eax
	movl	%eax, %edi
	callq	_snd_BUG_ON
	jmp	LBB0_34
LBB0_25:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	48(%r12), %r15
	movq	%r12, %rdi
	movq	%r8, %rsi
	callq	_frames_to_bytes
	movslq	%eax, %rsi
	addq	%r15, %rsi
	movl	68(%r12), %edi
	movq	56(%r12), %rdx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	imulq	%r12, %rdx
	callq	_snd_pcm_format_set_silence
	jmp	LBB0_34
LBB0_31:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	64(%r12), %eax
	xorl	%edx, %edx
	divl	%r15d
	testl	%r15d, %r15d
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	%eax, %r14d
	movl	%r15d, %r15d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_33:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rbx
	imulq	%r14, %rbx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	addq	48(%r12), %rbx
	movq	%r12, %rdi
	movq	%r8, %rsi
	callq	_samples_to_bytes
	movslq	%eax, %rsi
	addq	%rbx, %rsi
	movl	68(%r12), %edi
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_snd_pcm_format_set_silence
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	incq	%r13
	decq	%r15
	jne	LBB0_33
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r12, %rax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	addq	%rax, 16(%r12)
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	subq	%rax, %rbx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jle	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	24(%r12), %rcx
	xorl	%r8d, %r8d
	jmp	LBB0_21
LBB0_36:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ULONG_MAX,8,3                  ## @ULONG_MAX
	.comm	_SNDRV_PCM_ACCESS_RW_INTERLEAVED,8,3 ## @SNDRV_PCM_ACCESS_RW_INTERLEAVED
	.comm	_SNDRV_PCM_ACCESS_MMAP_INTERLEAVED,8,3 ## @SNDRV_PCM_ACCESS_MMAP_INTERLEAVED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pcm_playback_silence       ; -- Begin function snd_pcm_playback_silence
	.p2align	2
_snd_pcm_playback_silence:              ; @snd_pcm_playback_silence
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x20, [x0, #8]
	ldp	w9, w8, [x20]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	cmp	w9, w8
	b.ge	LBB0_3
; %bb.1:
	ldr	w10, [x20, #8]
	ldr	x9, [x20, #80]
	ldr	w9, [x9]
	subs	w10, w9, w10
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x20, #16]
	b	LBB0_6
LBB0_3:
Lloh0:
	adrp	x9, _ULONG_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ULONG_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, x1
	b.ne	LBB0_9
; %bb.4:
	mov	x0, x20
	bl	_snd_pcm_playback_hw_avail
	cmp	x0, #0
	csel	x8, x0, xzr, gt
	str	x8, [x20, #16]
	ldr	x9, [x20, #72]
	ldrsw	x9, [x9]
	add	x9, x8, x9
	ldrsw	x10, [x20, #4]
	sdiv	x11, x9, x10
	msub	w9, w11, w10, w9
	b	LBB0_11
LBB0_5:
	and	w8, w8, w10, asr #31
	sxtw	x8, w8
	add	x8, x8, w10, sxtw
	ldr	x10, [x20, #16]
	subs	x8, x10, x8
	csel	x8, x8, xzr, gt
	str	x8, [x20, #16]
	str	w9, [x20, #8]
LBB0_6:
	ldr	x9, [x20, #24]
	cmp	x8, x9
	b.ge	LBB0_13
; %bb.7:
	mov	x0, x20
	bl	_snd_pcm_playback_hw_avail
	ldr	x8, [x20, #16]
	ldr	x9, [x20, #32]
	add	x8, x8, x0
	subs	x8, x9, x8
	b.le	LBB0_13
; %bb.8:
	ldrsw	x9, [x20]
	cmp	x8, x9
	csel	x24, x8, x9, lt
	ldr	x9, [x20, #24]
	b	LBB0_12
LBB0_9:
	ldr	x9, [x20, #72]
	ldrsw	x9, [x9]
	sub	x10, x1, x9
	and	x8, x8, x10, asr #63
	ldr	x11, [x20, #16]
	add	x8, x10, x8
	subs	x8, x11, x8
	str	x8, [x20, #16]
	b.pl	LBB0_11
; %bb.10:
	mov	x8, #0
	str	xzr, [x20, #16]
	mov	x9, x1
LBB0_11:
	str	w9, [x20, #8]
	ldr	x9, [x20, #24]
	sub	x24, x9, x8
LBB0_12:
	cmp	x24, x9
	cset	w0, gt
	bl	_snd_BUG_ON
	cmp	x0, #0
	ccmp	x24, #0, #4, eq
	ccmp	x24, #1, #8, ne
	b.ge	LBB0_14
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
	ldrsw	x9, [x20, #8]
	ldr	x8, [x20, #24]
	sdiv	x10, x9, x8
	msub	x22, x10, x8, x9
Lloh3:
	adrp	x26, _SNDRV_PCM_ACCESS_MMAP_INTERLEAVED@GOTPAGE
Lloh4:
	ldr	x26, [x26, _SNDRV_PCM_ACCESS_MMAP_INTERLEAVED@GOTPAGEOFF]
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
                                        ;     Child Loop BB0_26 Depth 2
	sub	x9, x8, x22
	add	x10, x24, x22
	cmp	x10, x8
	csel	x21, x9, x24, gt
	ldr	x8, [x20, #40]
Lloh5:
	adrp	x9, _SNDRV_PCM_ACCESS_RW_INTERLEAVED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SNDRV_PCM_ACCESS_RW_INTERLEAVED@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x10, [x26]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x19
	mov	w1, #-1
	mov	x2, x22
	mov	x3, x21
	blr	x8
	lsr	w0, w0, #31
	bl	_snd_BUG_ON
	b	LBB0_27
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x27, [x20, #56]
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	cbz	w27, LBB0_27
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x19
	mov	w1, #0
	mov	x2, x22
	mov	x3, x21
	blr	x8
	lsr	w0, w0, #31
	bl	_snd_BUG_ON
	cmp	w27, #1
	b.eq	LBB0_27
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w23, #1
LBB0_22:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	blr	x8
	lsr	w0, w0, #31
	bl	_snd_BUG_ON
	add	w23, w23, #1
	cmp	w27, w23
	b.ne	LBB0_22
	b	LBB0_27
LBB0_23:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x23, [x20, #48]
	mov	x0, x20
	mov	x1, x22
	bl	_frames_to_bytes
	add	x1, x23, w0, sxtw
	ldr	w0, [x20, #68]
	ldr	x8, [x20, #56]
	mul	x2, x8, x21
	bl	_snd_pcm_format_set_silence
	b	LBB0_27
LBB0_24:                                ;   in Loop: Header=BB0_15 Depth=1
	cbz	w27, LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x23, #0
	and	x28, x27, #0xffffffff
	ldr	w8, [x20, #64]
	udiv	w27, w8, w27
LBB0_26:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #48]
	madd	x25, x23, x27, x8
	mov	x0, x20
	mov	x1, x22
	bl	_samples_to_bytes
	add	x1, x25, w0, sxtw
	ldr	w0, [x20, #68]
	mov	x2, x21
	bl	_snd_pcm_format_set_silence
	add	x23, x23, #1
	subs	x28, x28, #1
	b.ne	LBB0_26
LBB0_27:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x20, #16]
	add	x8, x8, x21
	str	x8, [x20, #16]
	sub	x24, x24, x21
	cmp	x24, #1
	b.lt	LBB0_13
; %bb.28:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x22, #0
	ldr	x8, [x20, #24]
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ULONG_MAX,8,3                  ; @ULONG_MAX
	.comm	_SNDRV_PCM_ACCESS_RW_INTERLEAVED,8,3 ; @SNDRV_PCM_ACCESS_RW_INTERLEAVED
	.comm	_SNDRV_PCM_ACCESS_MMAP_INTERLEAVED,8,3 ; @SNDRV_PCM_ACCESS_MMAP_INTERLEAVED
.subsections_via_symbols
