	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_kctl_0dB_offset
_get_kctl_0dB_offset:                   ## @get_kctl_0dB_offset
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	16(%rdi), %rax
	movl	(%rax), %ecx
	movq	_SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_get_fs
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_get_ds
	movl	%eax, %edi
	callq	_set_fs
	leaq	-48(%rbp), %r14
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	movq	%r14, %rcx
	callq	*8(%rbx)
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_set_fs
	movl	$-1, %eax
	testl	%ebx, %ebx
	jne	LBB0_6
	jmp	LBB0_4
LBB0_2:
	movq	_SNDRV_CTL_ELEM_ACCESS_TLV_READ@GOTPCREL(%rip), %rdx
	movl	$-1, %eax
	testl	%ecx, (%rdx)
	je	LBB0_6
## %bb.3:
	movq	(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_6
LBB0_4:
	movl	(%r14), %ecx
	movq	_SNDRV_CTL_TLVT_DB_SCALE@GOTPCREL(%rip), %rdx
	movl	$-1, %eax
	cmpl	(%rdx), %ecx
	jne	LBB0_6
## %bb.5:
	movl	8(%r14), %eax
	cltd
	idivl	12(%r14)
	negl	%eax
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK,4,2 ## @SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK
	.comm	_SNDRV_CTL_ELEM_ACCESS_TLV_READ,4,2 ## @SNDRV_CTL_ELEM_ACCESS_TLV_READ
	.comm	_SNDRV_CTL_TLVT_DB_SCALE,4,2    ## @SNDRV_CTL_TLVT_DB_SCALE
	.no_dead_strip	_get_kctl_0dB_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_kctl_0dB_offset
_get_kctl_0dB_offset:                   ; @get_kctl_0dB_offset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x8, [x0, #16]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	bl	_get_fs
	mov	x20, x0
	bl	_get_ds
	bl	_set_fs
	ldr	x8, [x19, #8]
	add	x21, sp, #8
	add	x3, sp, #8
	mov	x0, x19
	mov	w1, #0
	mov	w2, #16
	blr	x8
	mov	x19, x0
	mov	x0, x20
	bl	_set_fs
	cbnz	w19, LBB0_6
	b	LBB0_4
LBB0_2:
Lloh6:
	adrp	x9, _SNDRV_CTL_ELEM_ACCESS_TLV_READ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SNDRV_CTL_ELEM_ACCESS_TLV_READ@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.3:
	ldr	x21, [x19]
	cbz	x21, LBB0_6
LBB0_4:
	ldr	w8, [x21]
Lloh9:
	adrp	x9, _SNDRV_CTL_TLVT_DB_SCALE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SNDRV_CTL_TLVT_DB_SCALE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.5:
	ldp	w8, w9, [x21, #8]
	sdiv	w8, w8, w9
	neg	w0, w8
	b	LBB0_7
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldr	x8, [sp, #24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK,4,2 ; @SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK
	.comm	_SNDRV_CTL_ELEM_ACCESS_TLV_READ,4,2 ; @SNDRV_CTL_ELEM_ACCESS_TLV_READ
	.comm	_SNDRV_CTL_TLVT_DB_SCALE,4,2    ; @SNDRV_CTL_TLVT_DB_SCALE
	.no_dead_strip	_get_kctl_0dB_offset
.subsections_via_symbols
