	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_time_update_tma             ## -- Begin function pt_time_update_tma
	.p2align	4, 0x90
_pt_time_update_tma:                    ## @pt_time_update_tma
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.5:
	cmpl	$0, 24(%rdi)
	je	LBB0_6
## %bb.7:
	cmpl	$0, (%rdi)
	je	LBB0_8
LBB0_6:
	movq	_pte_bad_context@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_8:
	cmpl	$0, 4(%rdi)
	je	LBB0_9
LBB0_3:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_9:
	movl	(%rsi), %eax
	movl	8(%rsi), %esi
	movq	_pt_pl_mtc_bit_size@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	(%rdx), %ecx
	movl	$-1, %edx
	shll	%cl, %edx
	movl	$1, (%rdi)
	subl	%esi, 20(%rdi)
	addl	%esi, 16(%rdi)
	notl	%edx
	movq	_pt_pl_tma_ctc_bit_size@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %ecx
	ja	LBB0_11
## %bb.10:
	movl	$1, 4(%rdi)
LBB0_11:
	andl	%edx, %eax
	movl	%eax, 12(%rdi)
	movl	%eax, 8(%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_pte_bad_context,4,2            ## @pte_bad_context
	.comm	_pt_pl_mtc_bit_size,4,2         ## @pt_pl_mtc_bit_size
	.comm	_pt_pl_tma_ctc_bit_size,4,2     ## @pt_pl_tma_ctc_bit_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_time_update_tma             ; -- Begin function pt_time_update_tma
	.p2align	2
_pt_time_update_tma:                    ; @pt_time_update_tma
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_7
; %bb.1:
	cbz	x1, LBB0_7
; %bb.2:
	cbz	x2, LBB0_7
; %bb.3:
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_5
; %bb.4:
	ldr	w8, [x0]
	cbz	w8, LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _pte_bad_context@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_bad_context@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_9
LBB0_7:
Lloh2:
	adrp	x8, _pte_internal@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_9:
	ldr	w9, [x1]
	ldr	w11, [x1, #8]
Lloh4:
	adrp	x8, _pt_pl_mtc_bit_size@GOTPAGE
Lloh5:
	ldr	x8, [x8, _pt_pl_mtc_bit_size@GOTPAGEOFF]
	ldr	w10, [x2]
Lloh6:
	ldr	w12, [x8]
	mov	w13, #-1
	mov	w8, #1
Lloh7:
	adrp	x14, _pt_pl_tma_ctc_bit_size@GOTPAGE
Lloh8:
	ldr	x14, [x14, _pt_pl_tma_ctc_bit_size@GOTPAGEOFF]
	str	w8, [x0]
Lloh9:
	ldr	w14, [x14]
	add	w10, w12, w10
	cmp	w10, w14
	lsl	w10, w13, w10
	mvn	w10, w10
	ldp	w13, w12, [x0, #16]
	sub	w12, w12, w11
	add	w11, w13, w11
	stp	w11, w12, [x0, #16]
	b.hi	LBB0_11
; %bb.10:
	str	w8, [x0, #4]
LBB0_11:
	and	w9, w9, w10
	stp	w9, w9, [x0, #8]
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_pte_bad_context,4,2            ; @pte_bad_context
	.comm	_pt_pl_mtc_bit_size,4,2         ; @pt_pl_mtc_bit_size
	.comm	_pt_pl_tma_ctc_bit_size,4,2     ; @pt_pl_tma_ctc_bit_size
.subsections_via_symbols
