	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pt_qry_decode_mode_tsx
_pt_qry_decode_mode_tsx:                ## @pt_qry_decode_mode_tsx
	.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
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.4:
	movq	%rdi, %rbx
	cmpl	$0, 16(%rdi)
	je	LBB0_5
## %bb.8:
	movq	_evb_fup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pt_evq_enqueue
	testq	%rax, %rax
	jne	LBB0_7
## %bb.9:
	movq	_pte_nomem@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_5:
	movq	%rbx, %rdi
	callq	_pt_evq_standalone
	testq	%rax, %rax
	je	LBB0_2
## %bb.6:
	movq	$0, 16(%rax)
	movl	$1, (%rax)
	movq	%rax, 8(%rbx)
LBB0_7:
	movq	_ptev_tsx@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movl	4(%r14), %ecx
	movl	%ecx, 12(%rax)
	movl	(%r14), %ecx
	movl	%ecx, 8(%rax)
	movq	%rax, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pt_qry_event_time              ## TAILCALL
LBB0_2:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_evb_fup,4,2                    ## @evb_fup
	.comm	_pte_nomem,4,2                  ## @pte_nomem
	.comm	_ptev_tsx,4,2                   ## @ptev_tsx
	.no_dead_strip	_pt_qry_decode_mode_tsx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pt_qry_decode_mode_tsx
_pt_qry_decode_mode_tsx:                ; @pt_qry_decode_mode_tsx
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_8
; %bb.2:
	mov	x19, x0
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _evb_fup@GOTPAGE
Lloh1:
	ldr	x8, [x8, _evb_fup@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_pt_evq_enqueue
	cbnz	x0, LBB0_7
; %bb.4:
Lloh3:
	adrp	x8, _pte_nomem@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pte_nomem@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
	mov	x0, x19
	bl	_pt_evq_standalone
	cbz	x0, LBB0_8
; %bb.6:
	str	xzr, [x0, #16]
	mov	w8, #1
	str	w8, [x0]
	str	x0, [x19, #8]
LBB0_7:
Lloh5:
	adrp	x8, _ptev_tsx@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ptev_tsx@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	ldr	d0, [x20]
	str	d0, [x0, #8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pt_qry_event_time
LBB0_8:
Lloh8:
	adrp	x8, _pte_internal@GOTPAGE
Lloh9:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_evb_fup,4,2                    ; @evb_fup
	.comm	_pte_nomem,4,2                  ; @pte_nomem
	.comm	_ptev_tsx,4,2                   ; @ptev_tsx
	.no_dead_strip	_pt_qry_decode_mode_tsx
.subsections_via_symbols
