	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_ampm
_update_ampm:                           ## @update_ampm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_pm_dphase@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	(%rdi), %eax
	movq	_PM_DP_WIDTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	decl	%ecx
	andl	%eax, %ecx
	movl	%ecx, (%rdi)
	movq	_am_dphase@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	4(%rdi), %eax
	movq	_AM_DP_WIDTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	decl	%edi
	andl	%eax, %edi
	movl	%edi, 4(%rbx)
	movq	_amtable@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_AM_DP_BITS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_AM_PG_BITS@GOTPCREL(%rip), %rax
	subq	(%rax), %rsi
	callq	_HIGHBITS
	movl	(%r14,%rax,4), %eax
	movl	%eax, 12(%rbx)
	movq	_pmtable@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	(%rbx), %edi
	movq	_PM_DP_BITS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_PM_PG_BITS@GOTPCREL(%rip), %rax
	subq	(%rax), %rsi
	callq	_HIGHBITS
	movl	(%r14,%rax,4), %eax
	movl	%eax, 8(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pm_dphase,4,2                  ## @pm_dphase
	.comm	_PM_DP_WIDTH,4,2                ## @PM_DP_WIDTH
	.comm	_am_dphase,4,2                  ## @am_dphase
	.comm	_AM_DP_WIDTH,4,2                ## @AM_DP_WIDTH
	.comm	_amtable,8,3                    ## @amtable
	.comm	_AM_DP_BITS,8,3                 ## @AM_DP_BITS
	.comm	_AM_PG_BITS,8,3                 ## @AM_PG_BITS
	.comm	_pmtable,8,3                    ## @pmtable
	.comm	_PM_DP_BITS,8,3                 ## @PM_DP_BITS
	.comm	_PM_PG_BITS,8,3                 ## @PM_PG_BITS
	.no_dead_strip	_update_ampm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_ampm
_update_ampm:                           ; @update_ampm
	.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, x0
Lloh0:
	adrp	x8, _pm_dphase@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pm_dphase@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PM_DP_WIDTH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PM_DP_WIDTH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sub	w9, w9, #1
	ldp	w10, w11, [x0]
	add	w8, w8, w10
	and	w8, w9, w8
	str	w8, [x0]
Lloh6:
	adrp	x8, _am_dphase@GOTPAGE
Lloh7:
	ldr	x8, [x8, _am_dphase@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _AM_DP_WIDTH@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AM_DP_WIDTH@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	sub	w9, w9, #1
	add	w8, w8, w11
	and	w0, w9, w8
	str	w0, [x19, #4]
Lloh12:
	adrp	x8, _amtable@GOTPAGE
Lloh13:
	ldr	x8, [x8, _amtable@GOTPAGEOFF]
Lloh14:
	adrp	x9, _AM_DP_BITS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _AM_DP_BITS@GOTPAGEOFF]
Lloh16:
	ldr	x20, [x8]
Lloh17:
	ldr	x8, [x9]
Lloh18:
	adrp	x9, _AM_PG_BITS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _AM_PG_BITS@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	sub	x1, x8, x9
	bl	_HIGHBITS
	ldr	w8, [x20, x0, lsl #2]
	str	w8, [x19, #12]
Lloh21:
	adrp	x8, _pmtable@GOTPAGE
Lloh22:
	ldr	x8, [x8, _pmtable@GOTPAGEOFF]
Lloh23:
	ldr	x20, [x8]
Lloh24:
	adrp	x8, _PM_DP_BITS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PM_DP_BITS@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh26:
	ldr	x8, [x8]
Lloh27:
	adrp	x9, _PM_PG_BITS@GOTPAGE
Lloh28:
	ldr	x9, [x9, _PM_PG_BITS@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	sub	x1, x8, x9
	bl	_HIGHBITS
	ldr	w8, [x20, x0, lsl #2]
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pm_dphase,4,2                  ; @pm_dphase
	.comm	_PM_DP_WIDTH,4,2                ; @PM_DP_WIDTH
	.comm	_am_dphase,4,2                  ; @am_dphase
	.comm	_AM_DP_WIDTH,4,2                ; @AM_DP_WIDTH
	.comm	_amtable,8,3                    ; @amtable
	.comm	_AM_DP_BITS,8,3                 ; @AM_DP_BITS
	.comm	_AM_PG_BITS,8,3                 ; @AM_PG_BITS
	.comm	_pmtable,8,3                    ; @pmtable
	.comm	_PM_DP_BITS,8,3                 ; @PM_DP_BITS
	.comm	_PM_PG_BITS,8,3                 ; @PM_PG_BITS
	.no_dead_strip	_update_ampm
.subsections_via_symbols
