	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_amp_max_value
_get_amp_max_value:                     ## @get_amp_max_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%ecx, %ebx
	callq	_query_amp_caps
	movq	_AC_AMPCAP_NUM_STEPS@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_AC_AMPCAP_NUM_STEPS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrl	%cl, %eax
	xorl	%ecx, %ecx
	cmpl	%ebx, %eax
	cmoval	%ebx, %ecx
	subl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC_AMPCAP_NUM_STEPS,4,2        ## @AC_AMPCAP_NUM_STEPS
	.comm	_AC_AMPCAP_NUM_STEPS_SHIFT,4,2  ## @AC_AMPCAP_NUM_STEPS_SHIFT
	.no_dead_strip	_get_amp_max_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_amp_max_value
_get_amp_max_value:                     ; @get_amp_max_value
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	bl	_query_amp_caps
Lloh0:
	adrp	x8, _AC_AMPCAP_NUM_STEPS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC_AMPCAP_NUM_STEPS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh3:
	adrp	x9, _AC_AMPCAP_NUM_STEPS_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AC_AMPCAP_NUM_STEPS_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsr	w8, w8, w9
	cmp	w8, w19
	csel	w9, w19, wzr, hi
	sub	w0, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AC_AMPCAP_NUM_STEPS,4,2        ; @AC_AMPCAP_NUM_STEPS
	.comm	_AC_AMPCAP_NUM_STEPS_SHIFT,4,2  ; @AC_AMPCAP_NUM_STEPS_SHIFT
	.no_dead_strip	_get_amp_max_value
.subsections_via_symbols
