	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ds_suspend_bts                 ## -- Begin function ds_suspend_bts
	.p2align	4, 0x90
_ds_suspend_bts:                        ## @ds_suspend_bts
	.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
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	$0, 8(%rdi)
	movq	(%rdi), %rax
	movq	8(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.4:
	xorl	%edi, %edi
	callq	_WARN_ON
	movq	_BTS_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	notq	%rsi
	andq	(%rbx), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_update_task_debugctlmsr        ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_irqs_disabled
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_WARN_ON
	movl	%ebx, %edi
	callq	_get_debugctlmsr_on_cpu
	movq	_BTS_CONTROL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	notq	%rsi
	andq	%rax, %rsi
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_update_debugctlmsr_on_cpu      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BTS_CONTROL,8,3                ## @BTS_CONTROL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ds_suspend_bts                 ; -- Begin function ds_suspend_bts
	.p2align	2
_ds_suspend_bts:                        ; @ds_suspend_bts
	.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_3
; %bb.1:
	str	xzr, [x0, #8]
	ldr	x8, [x0]
	ldr	x19, [x8, #8]
	cbz	x19, LBB0_4
; %bb.2:
	mov	w0, #0
	bl	_WARN_ON
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _BTS_CONTROL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BTS_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	bic	x1, x8, x9
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_update_task_debugctlmsr
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w19, [x8]
	bl	_irqs_disabled
	cmp	x0, #0
	cset	w0, ne
	bl	_WARN_ON
	mov	x0, x19
	bl	_get_debugctlmsr_on_cpu
Lloh3:
	adrp	x8, _BTS_CONTROL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BTS_CONTROL@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	bic	x1, x0, x8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_update_debugctlmsr_on_cpu
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BTS_CONTROL,8,3                ; @BTS_CONTROL
.subsections_via_symbols
