	.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), %r15
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	(%r15), %rax
	movl	28(%rax), %r12d
	movq	(%rbx), %rax
	movq	_CS4398_FILT_SEL@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movl	%ebx, %ecx
	orl	%r12d, %ecx
	notl	%ebx
	andl	%r12d, %ebx
	cmpq	$0, (%rax)
	cmovnel	%ecx, %ebx
	cmpl	%r12d, %ebx
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movl	$7, %esi
	movl	%ebx, %edx
	callq	_cs4398_write
	movl	(%r13), %eax
	andl	%ebx, %eax
	movq	8(%r15), %rcx
	movl	16(%rcx), %ecx
	movq	_CS4362A_FILT_SEL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	orl	%ecx, %esi
	notl	%edx
	andl	%ecx, %edx
	testl	%eax, %eax
	cmovnel	%esi, %edx
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_cs4362a_write
LBB0_2:
	xorl	%r15d, %r15d
	cmpl	%r12d, %ebx
	setne	%r15b
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CS4398_FILT_SEL,4,2            ## @CS4398_FILT_SEL
	.comm	_CS4362A_FILT_SEL,4,2           ## @CS4362A_FILT_SEL
	.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]
	ldr	w21, [x8, #28]
	ldr	x8, [x20]
	ldr	x8, [x8]
Lloh0:
	adrp	x23, _CS4398_FILT_SEL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CS4398_FILT_SEL@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w10, w9, w21
	bic	w9, w21, w9
	cmp	x8, #0
	csel	w20, w9, w10, eq
	cmp	w20, w21
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #7
	mov	x2, x20
	bl	_cs4398_write
	ldr	w8, [x23]
	ldr	x9, [x22, #8]
Lloh2:
	adrp	x10, _CS4362A_FILT_SEL@GOTPAGE
Lloh3:
	ldr	x10, [x10, _CS4362A_FILT_SEL@GOTPAGEOFF]
	ldr	w9, [x9, #16]
Lloh4:
	ldr	w10, [x10]
	orr	w11, w10, w9
	bic	w9, w9, w10
	tst	w8, w20
	csel	w2, w9, w11, eq
	mov	x0, x19
	mov	w1, #4
	bl	_cs4362a_write
LBB0_2:
	cmp	w20, w21
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CS4398_FILT_SEL,4,2            ; @CS4398_FILT_SEL
	.comm	_CS4362A_FILT_SEL,4,2           ; @CS4362A_FILT_SEL
	.no_dead_strip	_rolloff_put
.subsections_via_symbols
