	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rolloff_put
_rolloff_put:                           ## @rolloff_put
	.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), %r14
	movq	8(%r14), %r12
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movq	_PCM1796_REG_BASE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	$19, %edx
	subq	%rcx, %rdx
	movl	(%rax,%rdx,4), %r13d
	movq	_PCM1796_FLT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	notl	%r15d
	andl	%r13d, %r15d
	movq	(%rbx), %rax
	cmpl	$0, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_PCM1796_FLT_SHARP@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_PCM1796_FLT_SLOW@GOTPCREL(%rip), %rax
LBB0_3:
	orl	(%rax), %r15d
	cmpl	%r13d, %r15d
	je	LBB0_7
## %bb.4:
	cmpl	$0, (%r12)
	je	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$19, %edx
	movl	%r15d, %ecx
	callq	_pcm1796_write
	incl	%ebx
	cmpl	(%r12), %ebx
	jb	LBB0_6
LBB0_7:
	xorl	%ebx, %ebx
	cmpl	%r13d, %r15d
	setne	%bl
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCM1796_REG_BASE,4,2           ## @PCM1796_REG_BASE
	.comm	_PCM1796_FLT_MASK,4,2           ## @PCM1796_FLT_MASK
	.comm	_PCM1796_FLT_SHARP,4,2          ## @PCM1796_FLT_SHARP
	.comm	_PCM1796_FLT_SLOW,4,2           ## @PCM1796_FLT_SLOW
	.no_dead_strip	_rolloff_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rolloff_put
_rolloff_put:                           ; @rolloff_put
	.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
	ldr	x19, [x0]
	ldr	x22, [x19, #8]
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _PCM1796_REG_BASE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCM1796_REG_BASE@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x9]
	mov	w10, #19
	sub	x9, x10, x9
	ldr	w23, [x8, x9, lsl #2]
Lloh3:
	adrp	x8, _PCM1796_FLT_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCM1796_FLT_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bic	w8, w23, w8
	ldr	x9, [x20]
Lloh6:
	adrp	x10, _PCM1796_FLT_SHARP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PCM1796_FLT_SHARP@GOTPAGEOFF]
Lloh8:
	adrp	x11, _PCM1796_FLT_SLOW@GOTPAGE
Lloh9:
	ldr	x11, [x11, _PCM1796_FLT_SLOW@GOTPAGEOFF]
	ldr	w9, [x9]
	cmp	w9, #0
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
	orr	w20, w9, w8
	cmp	w20, w23
	b.eq	LBB0_4
; %bb.1:
	ldr	w8, [x22]
	cbz	w8, LBB0_4
; %bb.2:
	mov	w21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	w2, #19
	mov	x3, x20
	bl	_pcm1796_write
	add	w21, w21, #1
	ldr	w8, [x22]
	cmp	w21, w8
	b.lo	LBB0_3
LBB0_4:
	cmp	w20, w23
	cset	w20, ne
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x20
	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 AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCM1796_REG_BASE,4,2           ; @PCM1796_REG_BASE
	.comm	_PCM1796_FLT_MASK,4,2           ; @PCM1796_FLT_MASK
	.comm	_PCM1796_FLT_SHARP,4,2          ; @PCM1796_FLT_SHARP
	.comm	_PCM1796_FLT_SLOW,4,2           ; @PCM1796_FLT_SLOW
	.no_dead_strip	_rolloff_put
.subsections_via_symbols
